@refine-studio/ui 0.0.0-stage → 0.1.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 (211) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +102 -2
  3. package/dist/components/accordion/accordion.d.ts +15 -0
  4. package/dist/components/accordion/accordion.js +58 -0
  5. package/dist/components/accordion/accordion.js.map +1 -0
  6. package/dist/components/alert/alert.d.ts +24 -0
  7. package/dist/components/alert/alert.js +98 -0
  8. package/dist/components/alert/alert.js.map +1 -0
  9. package/dist/components/alert-dialog/alert-dialog.d.ts +36 -0
  10. package/dist/components/alert-dialog/alert-dialog.js +112 -0
  11. package/dist/components/alert-dialog/alert-dialog.js.map +1 -0
  12. package/dist/components/app-shell/app-shell.d.ts +77 -0
  13. package/dist/components/app-shell/app-shell.js +224 -0
  14. package/dist/components/app-shell/app-shell.js.map +1 -0
  15. package/dist/components/avatar/avatar.d.ts +32 -0
  16. package/dist/components/avatar/avatar.js +83 -0
  17. package/dist/components/avatar/avatar.js.map +1 -0
  18. package/dist/components/badge/badge.d.ts +15 -0
  19. package/dist/components/badge/badge.js +50 -0
  20. package/dist/components/badge/badge.js.map +1 -0
  21. package/dist/components/breadcrumb/breadcrumb.d.ts +24 -0
  22. package/dist/components/breadcrumb/breadcrumb.js +82 -0
  23. package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
  24. package/dist/components/button/button.d.ts +15 -0
  25. package/dist/components/button/button.js +75 -0
  26. package/dist/components/button/button.js.map +1 -0
  27. package/dist/components/card/card.d.ts +46 -0
  28. package/dist/components/card/card.js +124 -0
  29. package/dist/components/card/card.js.map +1 -0
  30. package/dist/components/checkbox/checkbox.d.ts +6 -0
  31. package/dist/components/checkbox/checkbox.js +31 -0
  32. package/dist/components/checkbox/checkbox.js.map +1 -0
  33. package/dist/components/chip/chip.d.ts +25 -0
  34. package/dist/components/chip/chip.js +54 -0
  35. package/dist/components/chip/chip.js.map +1 -0
  36. package/dist/components/code/code.d.ts +15 -0
  37. package/dist/components/code/code.js +63 -0
  38. package/dist/components/code/code.js.map +1 -0
  39. package/dist/components/collapsible/collapsible.d.ts +14 -0
  40. package/dist/components/collapsible/collapsible.js +55 -0
  41. package/dist/components/collapsible/collapsible.js.map +1 -0
  42. package/dist/components/combobox/combobox.d.ts +33 -0
  43. package/dist/components/combobox/combobox.js +244 -0
  44. package/dist/components/combobox/combobox.js.map +1 -0
  45. package/dist/components/command-menu/command-menu.d.ts +35 -0
  46. package/dist/components/command-menu/command-menu.js +116 -0
  47. package/dist/components/command-menu/command-menu.js.map +1 -0
  48. package/dist/components/context-menu/context-menu.d.ts +45 -0
  49. package/dist/components/context-menu/context-menu.js +136 -0
  50. package/dist/components/context-menu/context-menu.js.map +1 -0
  51. package/dist/components/data-table/data-table.d.ts +49 -0
  52. package/dist/components/data-table/data-table.js +171 -0
  53. package/dist/components/data-table/data-table.js.map +1 -0
  54. package/dist/components/data-table/sort-rows.d.ts +6 -0
  55. package/dist/components/data-table/sort-rows.js +33 -0
  56. package/dist/components/data-table/sort-rows.js.map +1 -0
  57. package/dist/components/dialog/dialog.d.ts +42 -0
  58. package/dist/components/dialog/dialog.js +118 -0
  59. package/dist/components/dialog/dialog.js.map +1 -0
  60. package/dist/components/dropdown-menu/dropdown-menu.d.ts +45 -0
  61. package/dist/components/dropdown-menu/dropdown-menu.js +137 -0
  62. package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -0
  63. package/dist/components/dropdown-menu/menu-styles.d.ts +10 -0
  64. package/dist/components/dropdown-menu/menu-styles.js +34 -0
  65. package/dist/components/dropdown-menu/menu-styles.js.map +1 -0
  66. package/dist/components/empty-state/empty-state.d.ts +12 -0
  67. package/dist/components/empty-state/empty-state.js +46 -0
  68. package/dist/components/empty-state/empty-state.js.map +1 -0
  69. package/dist/components/eyebrow/eyebrow.d.ts +9 -0
  70. package/dist/components/eyebrow/eyebrow.js +25 -0
  71. package/dist/components/eyebrow/eyebrow.js.map +1 -0
  72. package/dist/components/field/field.d.ts +56 -0
  73. package/dist/components/field/field.js +135 -0
  74. package/dist/components/field/field.js.map +1 -0
  75. package/dist/components/glow-border/glow-border.d.ts +9 -0
  76. package/dist/components/glow-border/glow-border.js +39 -0
  77. package/dist/components/glow-border/glow-border.js.map +1 -0
  78. package/dist/components/hex-field/hex-field.d.ts +12 -0
  79. package/dist/components/hex-field/hex-field.js +86 -0
  80. package/dist/components/hex-field/hex-field.js.map +1 -0
  81. package/dist/components/input/input.d.ts +14 -0
  82. package/dist/components/input/input.js +52 -0
  83. package/dist/components/input/input.js.map +1 -0
  84. package/dist/components/kbd/kbd.d.ts +9 -0
  85. package/dist/components/kbd/kbd.js +26 -0
  86. package/dist/components/kbd/kbd.js.map +1 -0
  87. package/dist/components/label/label.d.ts +6 -0
  88. package/dist/components/label/label.js +17 -0
  89. package/dist/components/label/label.js.map +1 -0
  90. package/dist/components/logo/logo-paths.d.ts +5 -0
  91. package/dist/components/logo/logo-paths.js +20 -0
  92. package/dist/components/logo/logo-paths.js.map +1 -0
  93. package/dist/components/logo/logo.d.ts +18 -0
  94. package/dist/components/logo/logo.js +94 -0
  95. package/dist/components/logo/logo.js.map +1 -0
  96. package/dist/components/marquee/marquee.d.ts +15 -0
  97. package/dist/components/marquee/marquee.js +54 -0
  98. package/dist/components/marquee/marquee.js.map +1 -0
  99. package/dist/components/page-header/page-header.d.ts +15 -0
  100. package/dist/components/page-header/page-header.js +50 -0
  101. package/dist/components/page-header/page-header.js.map +1 -0
  102. package/dist/components/pagination/pagination.d.ts +28 -0
  103. package/dist/components/pagination/pagination.js +95 -0
  104. package/dist/components/pagination/pagination.js.map +1 -0
  105. package/dist/components/popover/popover.d.ts +14 -0
  106. package/dist/components/popover/popover.js +48 -0
  107. package/dist/components/popover/popover.js.map +1 -0
  108. package/dist/components/progress/progress.d.ts +14 -0
  109. package/dist/components/progress/progress.js +41 -0
  110. package/dist/components/progress/progress.js.map +1 -0
  111. package/dist/components/radio-group/radio-group.d.ts +10 -0
  112. package/dist/components/radio-group/radio-group.js +33 -0
  113. package/dist/components/radio-group/radio-group.js.map +1 -0
  114. package/dist/components/section-heading/section-heading.d.ts +18 -0
  115. package/dist/components/section-heading/section-heading.js +57 -0
  116. package/dist/components/section-heading/section-heading.js.map +1 -0
  117. package/dist/components/select/select.d.ts +32 -0
  118. package/dist/components/select/select.js +100 -0
  119. package/dist/components/select/select.js.map +1 -0
  120. package/dist/components/separator/separator.d.ts +10 -0
  121. package/dist/components/separator/separator.js +37 -0
  122. package/dist/components/separator/separator.js.map +1 -0
  123. package/dist/components/sheet/sheet.d.ts +29 -0
  124. package/dist/components/sheet/sheet.js +130 -0
  125. package/dist/components/sheet/sheet.js.map +1 -0
  126. package/dist/components/skeleton/skeleton.d.ts +5 -0
  127. package/dist/components/skeleton/skeleton.js +18 -0
  128. package/dist/components/skeleton/skeleton.js.map +1 -0
  129. package/dist/components/slider/slider.d.ts +10 -0
  130. package/dist/components/slider/slider.js +36 -0
  131. package/dist/components/slider/slider.js.map +1 -0
  132. package/dist/components/spinner/spinner.d.ts +9 -0
  133. package/dist/components/spinner/spinner.js +40 -0
  134. package/dist/components/spinner/spinner.js.map +1 -0
  135. package/dist/components/spotlight/spotlight.d.ts +9 -0
  136. package/dist/components/spotlight/spotlight.js +32 -0
  137. package/dist/components/spotlight/spotlight.js.map +1 -0
  138. package/dist/components/starfield/starfield.d.ts +11 -0
  139. package/dist/components/starfield/starfield.js +76 -0
  140. package/dist/components/starfield/starfield.js.map +1 -0
  141. package/dist/components/stat/stat.d.ts +28 -0
  142. package/dist/components/stat/stat.js +100 -0
  143. package/dist/components/stat/stat.js.map +1 -0
  144. package/dist/components/switch/switch.d.ts +13 -0
  145. package/dist/components/switch/switch.js +44 -0
  146. package/dist/components/switch/switch.js.map +1 -0
  147. package/dist/components/table/table.d.ts +52 -0
  148. package/dist/components/table/table.js +96 -0
  149. package/dist/components/table/table.js.map +1 -0
  150. package/dist/components/tabs/tabs.d.ts +24 -0
  151. package/dist/components/tabs/tabs.js +89 -0
  152. package/dist/components/tabs/tabs.js.map +1 -0
  153. package/dist/components/textarea/textarea.d.ts +5 -0
  154. package/dist/components/textarea/textarea.js +20 -0
  155. package/dist/components/textarea/textarea.js.map +1 -0
  156. package/dist/components/theme-switcher/theme-switcher.d.ts +7 -0
  157. package/dist/components/theme-switcher/theme-switcher.js +57 -0
  158. package/dist/components/theme-switcher/theme-switcher.js.map +1 -0
  159. package/dist/components/toaster/toaster.d.ts +7 -0
  160. package/dist/components/toaster/toaster.js +43 -0
  161. package/dist/components/toaster/toaster.js.map +1 -0
  162. package/dist/components/toggle-group/toggle-group.d.ts +24 -0
  163. package/dist/components/toggle-group/toggle-group.js +84 -0
  164. package/dist/components/toggle-group/toggle-group.js.map +1 -0
  165. package/dist/components/tooltip/tooltip.d.ts +19 -0
  166. package/dist/components/tooltip/tooltip.js +49 -0
  167. package/dist/components/tooltip/tooltip.js.map +1 -0
  168. package/dist/fonts/geist-cyrillic-ext-wght-normal.woff2 +0 -0
  169. package/dist/fonts/geist-cyrillic-wght-normal.woff2 +0 -0
  170. package/dist/fonts/geist-latin-ext-wght-normal.woff2 +0 -0
  171. package/dist/fonts/geist-latin-wght-normal.woff2 +0 -0
  172. package/dist/fonts/geist-mono-cyrillic-ext-wght-normal.woff2 +0 -0
  173. package/dist/fonts/geist-mono-cyrillic-wght-normal.woff2 +0 -0
  174. package/dist/fonts/geist-mono-latin-ext-wght-normal.woff2 +0 -0
  175. package/dist/fonts/geist-mono-latin-wght-normal.woff2 +0 -0
  176. package/dist/fonts/geist-mono-symbols2-wght-normal.woff2 +0 -0
  177. package/dist/fonts/geist-mono-vietnamese-wght-normal.woff2 +0 -0
  178. package/dist/fonts/geist-mono.LICENSE +93 -0
  179. package/dist/fonts/geist-vietnamese-wght-normal.woff2 +0 -0
  180. package/dist/fonts/geist.LICENSE +93 -0
  181. package/dist/icons/create-refine-icon.d.ts +13 -0
  182. package/dist/icons/create-refine-icon.js +37 -0
  183. package/dist/icons/create-refine-icon.js.map +1 -0
  184. package/dist/icons/icon.d.ts +10 -0
  185. package/dist/icons/icon.js +13 -0
  186. package/dist/icons/icon.js.map +1 -0
  187. package/dist/icons/refine-icon-names.d.ts +1857 -0
  188. package/dist/icons/refine-icon-names.js +471 -0
  189. package/dist/icons/refine-icon-names.js.map +1 -0
  190. package/dist/icons/refine-icons.d.ts +1852 -0
  191. package/dist/icons/refine-icons.js +604 -0
  192. package/dist/icons/refine-icons.js.map +1 -0
  193. package/dist/index.d.ts +61 -0
  194. package/dist/index.js +61 -0
  195. package/dist/lib/cn.d.ts +5 -0
  196. package/dist/lib/cn.js +49 -0
  197. package/dist/lib/cn.js.map +1 -0
  198. package/dist/lib/use-breakpoint.d.ts +16 -0
  199. package/dist/lib/use-breakpoint.js +52 -0
  200. package/dist/lib/use-breakpoint.js.map +1 -0
  201. package/dist/styles.css +697 -0
  202. package/dist/theme/theme-provider.d.ts +31 -0
  203. package/dist/theme/theme-provider.js +115 -0
  204. package/dist/theme/theme-provider.js.map +1 -0
  205. package/dist/theme/theme-scope.d.ts +12 -0
  206. package/dist/theme/theme-scope.js +22 -0
  207. package/dist/theme/theme-scope.js.map +1 -0
  208. package/dist/theme/theme.d.ts +20 -0
  209. package/dist/theme/theme.js +37 -0
  210. package/dist/theme/theme.js.map +1 -0
  211. package/package.json +92 -4
@@ -0,0 +1,61 @@
1
+ export * from './components/accordion/accordion';
2
+ export * from './components/alert-dialog/alert-dialog';
3
+ export * from './components/alert/alert';
4
+ export * from './components/app-shell/app-shell';
5
+ export * from './components/avatar/avatar';
6
+ export * from './components/badge/badge';
7
+ export * from './components/breadcrumb/breadcrumb';
8
+ export * from './components/button/button';
9
+ export * from './components/card/card';
10
+ export * from './components/checkbox/checkbox';
11
+ export * from './components/chip/chip';
12
+ export * from './components/code/code';
13
+ export * from './components/collapsible/collapsible';
14
+ export * from './components/combobox/combobox';
15
+ export * from './components/command-menu/command-menu';
16
+ export * from './components/context-menu/context-menu';
17
+ export * from './components/data-table/data-table';
18
+ export * from './components/dialog/dialog';
19
+ export * from './components/dropdown-menu/dropdown-menu';
20
+ export * from './components/empty-state/empty-state';
21
+ export * from './components/eyebrow/eyebrow';
22
+ export * from './components/field/field';
23
+ export * from './components/glow-border/glow-border';
24
+ export * from './components/hex-field/hex-field';
25
+ export * from './components/input/input';
26
+ export * from './components/kbd/kbd';
27
+ export * from './components/label/label';
28
+ export * from './components/logo/logo';
29
+ export * from './components/marquee/marquee';
30
+ export * from './components/page-header/page-header';
31
+ export * from './components/pagination/pagination';
32
+ export * from './components/popover/popover';
33
+ export * from './components/progress/progress';
34
+ export * from './components/radio-group/radio-group';
35
+ export * from './components/section-heading/section-heading';
36
+ export * from './components/select/select';
37
+ export * from './components/separator/separator';
38
+ export * from './components/sheet/sheet';
39
+ export * from './components/skeleton/skeleton';
40
+ export * from './components/slider/slider';
41
+ export * from './components/spinner/spinner';
42
+ export * from './components/spotlight/spotlight';
43
+ export * from './components/starfield/starfield';
44
+ export * from './components/stat/stat';
45
+ export * from './components/switch/switch';
46
+ export * from './components/table/table';
47
+ export * from './components/tabs/tabs';
48
+ export * from './components/textarea/textarea';
49
+ export * from './components/theme-switcher/theme-switcher';
50
+ export * from './components/toaster/toaster';
51
+ export * from './components/toggle-group/toggle-group';
52
+ export * from './components/tooltip/tooltip';
53
+ export type { RefineIconProps } from './icons/create-refine-icon';
54
+ export * from './icons/icon';
55
+ export * from './icons/refine-icon-names';
56
+ export * from './icons/refine-icons';
57
+ export * from './lib/cn';
58
+ export * from './lib/use-breakpoint';
59
+ export * from './theme/theme';
60
+ export * from './theme/theme-provider';
61
+ export * from './theme/theme-scope';
package/dist/index.js ADDED
@@ -0,0 +1,61 @@
1
+ import { cn } from "./lib/cn.js";
2
+ import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/accordion/accordion.js";
3
+ import { Spinner } from "./components/spinner/spinner.js";
4
+ import { Button, buttonVariants } from "./components/button/button.js";
5
+ import { DIALOG_CLOSE_CLASS_NAME, DIALOG_OVERLAY_CLASS_NAME, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "./components/dialog/dialog.js";
6
+ import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, AlertDialogTitle, AlertDialogTrigger } from "./components/alert-dialog/alert-dialog.js";
7
+ import { Alert, AlertDescription, AlertTitle, alertVariants } from "./components/alert/alert.js";
8
+ import { BREAKPOINTS, useBreakpoint } from "./lib/use-breakpoint.js";
9
+ import { AppShell, AppShellContent, AppShellHeader, AppShellMain, AppShellSidebar, AppShellSidebarTrigger, SidebarContent, SidebarFooter, SidebarHeader, SidebarItem, SidebarSection, useAppShell } from "./components/app-shell/app-shell.js";
10
+ import { Avatar, AvatarGroup, avatarVariants } from "./components/avatar/avatar.js";
11
+ import { Badge, badgeVariants } from "./components/badge/badge.js";
12
+ import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/breadcrumb/breadcrumb.js";
13
+ import { Card, CardAction, CardContent, CardDescription, CardEyebrow, CardFooter, CardHeader, CardMedia, CardTitle, cardVariants } from "./components/card/card.js";
14
+ import { Field, FieldDescription, FieldError, FieldLabel, useField, useFieldControl } from "./components/field/field.js";
15
+ import { Checkbox } from "./components/checkbox/checkbox.js";
16
+ import { Chip, chipVariants } from "./components/chip/chip.js";
17
+ import { Code, CodeBlock } from "./components/code/code.js";
18
+ import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/collapsible/collapsible.js";
19
+ import { RefineIconAddColumn, RefineIconAddMinusSquare, RefineIconAddPlus, RefineIconAddPlusCircle, RefineIconAddPlusSquare, RefineIconAddRow, RefineIconAddToQueue, RefineIconAirplay, RefineIconAlarm, RefineIconArchive, RefineIconArrowCircleDown, RefineIconArrowCircleDownLeft, RefineIconArrowCircleDownRight, RefineIconArrowCircleLeft, RefineIconArrowCircleRight, RefineIconArrowCircleUp, RefineIconArrowCircleUpLeft, RefineIconArrowCircleUpRight, RefineIconArrowDownLG, RefineIconArrowDownLeftLG, RefineIconArrowDownLeftMD, RefineIconArrowDownLeftSM, RefineIconArrowDownMD, RefineIconArrowDownRightLG, RefineIconArrowDownRightMD, RefineIconArrowDownRightSM, RefineIconArrowDownSM, RefineIconArrowDownUp, RefineIconArrowLeftLG, RefineIconArrowLeftMD, RefineIconArrowLeftRight, RefineIconArrowLeftSM, RefineIconArrowReload02, RefineIconArrowRightLG, RefineIconArrowRightMD, RefineIconArrowRightSM, RefineIconArrowSubDownLeft, RefineIconArrowSubDownRight, RefineIconArrowSubLeftDown, RefineIconArrowSubLeftUp, RefineIconArrowSubRightDown, RefineIconArrowSubRightUp, RefineIconArrowSubUpLeft, RefineIconArrowSubUpRight, RefineIconArrowUndoDownLeft, RefineIconArrowUndoDownRight, RefineIconArrowUndoUpLeft, RefineIconArrowUndoUpRight, RefineIconArrowUpLG, RefineIconArrowUpLeftLG, RefineIconArrowUpLeftMD, RefineIconArrowUpLeftSM, RefineIconArrowUpMD, RefineIconArrowUpRightLG, RefineIconArrowUpRightMD, RefineIconArrowUpRightSM, RefineIconArrowUpSM, RefineIconArrowsReload01, RefineIconBarBottom, RefineIconBarLeft, RefineIconBarRight, RefineIconBarTop, RefineIconBell, RefineIconBellAdd, RefineIconBellClose, RefineIconBellNotification, RefineIconBellOff, RefineIconBellRemove, RefineIconBellRing, RefineIconBold, RefineIconBook, RefineIconBookOpen, RefineIconBookmark, RefineIconBuilding01, RefineIconBuilding02, RefineIconBuilding03, RefineIconBuilding04, RefineIconBulb, RefineIconCalendar, RefineIconCalendarAdd, RefineIconCalendarCheck, RefineIconCalendarClose, RefineIconCalendarDays, RefineIconCalendarEvent, RefineIconCalendarRemove, RefineIconCalendarWeek, RefineIconCamera, RefineIconCarAuto, RefineIconCaretCircleDown, RefineIconCaretCircleLeft, RefineIconCaretCircleRight, RefineIconCaretCircleUp, RefineIconCaretDownMD, RefineIconCaretDownSM, RefineIconCaretLeftSM, RefineIconCaretRightSM, RefineIconCaretUpMD, RefineIconCaretUpSM, RefineIconChartBarHorizontal01, RefineIconChartBarVertical01, RefineIconChartLine, RefineIconChartPie, RefineIconChat, RefineIconChatAdd, RefineIconChatCheck, RefineIconChatCircle, RefineIconChatCircleAdd, RefineIconChatCircleCheck, RefineIconChatCircleClose, RefineIconChatCircleDots, RefineIconChatCircleRemove, RefineIconChatClose, RefineIconChatConversation, RefineIconChatConversationCircle, RefineIconChatDots, RefineIconChatRemove, RefineIconCheck, RefineIconCheckAll, RefineIconCheckAllBig, RefineIconCheckBig, RefineIconCheckboxCheck, RefineIconCheckboxFill, RefineIconCheckboxUnchecked, RefineIconChevronDown, RefineIconChevronDownDuo, RefineIconChevronLeft, RefineIconChevronLeftDuo, RefineIconChevronLeftMD, RefineIconChevronRight, RefineIconChevronRightDuo, RefineIconChevronRightMD, RefineIconChevronUp, RefineIconChevronUpDuo, RefineIconChromecast, RefineIconCircle, RefineIconCircleCheck, RefineIconCircleFilled, RefineIconCircleHelp, RefineIconCircleWarning, RefineIconClock, RefineIconCloseCircle, RefineIconCloseLG, RefineIconCloseMD, RefineIconCloseSM, RefineIconCloseSquare, RefineIconCloud, RefineIconCloudAdd, RefineIconCloudCheck, RefineIconCloudClose, RefineIconCloudDownload, RefineIconCloudOff, RefineIconCloudRemove, RefineIconCloudUpload, RefineIconCode, RefineIconCoffee, RefineIconCoffeeToGo, RefineIconCoins, RefineIconColumns, RefineIconCombineCells, RefineIconCommand, RefineIconCompass, RefineIconCookie, RefineIconCopy, RefineIconCreditCard01, RefineIconCreditCard02, RefineIconCrop, RefineIconCup, RefineIconCupcake, RefineIconCylinder, RefineIconData, RefineIconDeleteColumn, RefineIconDeleteRow, RefineIconDesktop, RefineIconDesktopTower, RefineIconDevices, RefineIconDoubleQuotesL, RefineIconDoubleQuotesR, RefineIconDownload, RefineIconDownloadPackage, RefineIconDragHorizontal, RefineIconDragVertical, RefineIconDummyCircle, RefineIconDummyCircleSmall, RefineIconDummySquare, RefineIconDummySquareSmall, RefineIconEditPencil01, RefineIconEditPencil02, RefineIconEditPencilLine01, RefineIconEditPencilLine02, RefineIconEmoji01, RefineIconEmoji02, RefineIconExit, RefineIconExpand, RefineIconExternalLink, RefineIconFastShipping, RefineIconFigma, RefineIconFileAdd, RefineIconFileBlank, RefineIconFileCheck, RefineIconFileClose, RefineIconFileCode, RefineIconFileDocument, RefineIconFileDownload, RefineIconFileEdit, RefineIconFileRemove, RefineIconFileSearch, RefineIconFileUpload, RefineIconFiles, RefineIconFilter, RefineIconFilterOff, RefineIconFirstAid, RefineIconFlag, RefineIconFlipHorizontal, RefineIconFlipVertical, RefineIconFolder, RefineIconFolderAdd, RefineIconFolderCheck, RefineIconFolderClose, RefineIconFolderCode, RefineIconFolderDocument, RefineIconFolderDownload, RefineIconFolderEdit, RefineIconFolderOpen, RefineIconFolderRemove, RefineIconFolderSearch, RefineIconFolderUpload, RefineIconFolders, RefineIconFont, RefineIconForward, RefineIconGif, RefineIconGift, RefineIconGlobe, RefineIconHamburgerLG, RefineIconHamburgerMD, RefineIconHandbag, RefineIconHeading, RefineIconHeadingH1, RefineIconHeadingH2, RefineIconHeadingH3, RefineIconHeadingH4, RefineIconHeadingH5, RefineIconHeadingH6, RefineIconHeadphones, RefineIconHeart01, RefineIconHeart02, RefineIconHeartSolid, RefineIconHelp, RefineIconHide, RefineIconHouse01, RefineIconHouse02, RefineIconHouse03, RefineIconHouseAdd, RefineIconHouseCheck, RefineIconHouseClose, RefineIconHouseRemove, RefineIconImage01, RefineIconImage02, RefineIconInfo, RefineIconInstance, RefineIconItalic, RefineIconKeyboard, RefineIconLabel, RefineIconLaptop, RefineIconLayer, RefineIconLayers, RefineIconLeaf, RefineIconLineL, RefineIconLineM, RefineIconLineS, RefineIconLineXl, RefineIconLink, RefineIconLinkBreak, RefineIconLinkHorizontal, RefineIconLinkHorizontalOff, RefineIconLinkVertical, RefineIconListAdd, RefineIconListCheck, RefineIconListChecklist, RefineIconListOrdered, RefineIconListRemove, RefineIconListUnordered, RefineIconLoading, RefineIconLoading02, RefineIconLock, RefineIconLockOpen, RefineIconLogOut, RefineIconMagnifyingGlassMinus, RefineIconMagnifyingGlassPlus, RefineIconMail, RefineIconMailOpen, RefineIconMainComponent, RefineIconMap, RefineIconMapPin, RefineIconMention, RefineIconMenuAlt01, RefineIconMenuAlt02, RefineIconMenuAlt03, RefineIconMenuAlt04, RefineIconMenuAlt05, RefineIconMenuDuoLG, RefineIconMenuDuoMD, RefineIconMobile, RefineIconMobileButton, RefineIconMonitor, RefineIconMonitorPlay, RefineIconMoon, RefineIconMoreGridBig, RefineIconMoreGridSmall, RefineIconMoreHorizontal, RefineIconMoreVertical, RefineIconMouse, RefineIconMove, RefineIconMoveHorizontal, RefineIconMoveVertical, RefineIconMovingDesk, RefineIconNavigation, RefineIconNote, RefineIconNoteEdit, RefineIconNoteSearch, RefineIconNotebook, RefineIconNumber, RefineIconOctagon, RefineIconOctagonCheck, RefineIconOctagonHelp, RefineIconOctagonWarning, RefineIconOption, RefineIconPaperPlane, RefineIconPaperclipAttachmentHorizontal, RefineIconPaperclipAttachmentTilt, RefineIconParagraph, RefineIconPath, RefineIconPause, RefineIconPauseCircle, RefineIconPhone, RefineIconPin, RefineIconPinLeft, RefineIconPinRight, RefineIconPlanet, RefineIconPlay, RefineIconPlayCircle, RefineIconPrinter, RefineIconPuzzle, RefineIconQrCode, RefineIconRadioFill, RefineIconRadioUnchecked, RefineIconRainbow, RefineIconRedo, RefineIconRemoveMinus, RefineIconRemoveMinusCircle, RefineIconRewind, RefineIconRotateRight, RefineIconRows, RefineIconRuler, RefineIconSandClock, RefineIconSave, RefineIconScanDocument, RefineIconSearchMagnifyingGlass, RefineIconSelectMultiple, RefineIconSettings, RefineIconSettingsFuture, RefineIconShareAndroid, RefineIconShareIOSExport, RefineIconShield, RefineIconShieldCheck, RefineIconShieldWarning, RefineIconShopSearch, RefineIconShoppingBag01, RefineIconShoppingBag02, RefineIconShoppingCart01, RefineIconShoppingCart02, RefineIconShow, RefineIconShrink, RefineIconShuffle, RefineIconSingleQuotesL, RefineIconSingleQuotesR, RefineIconSkipBack, RefineIconSkipForward, RefineIconSlider01, RefineIconSlider02, RefineIconSlider03, RefineIconSortAscending, RefineIconSortDescending, RefineIconSquare, RefineIconSquareCheck, RefineIconSquareHelp, RefineIconSquareWarning, RefineIconStar, RefineIconStarSolid, RefineIconStop, RefineIconStopCircle, RefineIconStopSign, RefineIconStrikethrough, RefineIconSuitcase, RefineIconSun, RefineIconSwatchesPalette, RefineIconSwitchLeft, RefineIconSwitchRight, RefineIconTable, RefineIconTableAdd, RefineIconTableRemove, RefineIconTablet, RefineIconTabletButton, RefineIconTag, RefineIconTerminal, RefineIconText, RefineIconTextAlignCenter, RefineIconTextAlignJustify, RefineIconTextAlignLeft, RefineIconTextAlignRight, RefineIconTicketVoucher, RefineIconTimer, RefineIconTimerAdd, RefineIconTimerClose, RefineIconTimerRemove, RefineIconTrashEmpty, RefineIconTrashFull, RefineIconTrendingDown, RefineIconTrendingUp, RefineIconTriangle, RefineIconTriangleCheck, RefineIconTriangleWarning, RefineIconUnderline, RefineIconUndo, RefineIconUnfoldLess, RefineIconUnfoldMore, RefineIconUser01, RefineIconUser02, RefineIconUser03, RefineIconUserAdd, RefineIconUserCardID, RefineIconUserCheck, RefineIconUserCircle, RefineIconUserClose, RefineIconUserRemove, RefineIconUserSquare, RefineIconUserVoice, RefineIconUsers, RefineIconUsersGroup, RefineIconVolumeMax, RefineIconVolumeMin, RefineIconVolumeMinus, RefineIconVolumeOff, RefineIconVolumeOff02, RefineIconVolumePlus, RefineIconWarning, RefineIconWaterDrop, RefineIconWavy, RefineIconWavyCheck, RefineIconWavyCheckFilled, RefineIconWavyHelp, RefineIconWavyWarning, RefineIconWifiHigh, RefineIconWifiLow, RefineIconWifiMedium, RefineIconWifiNone, RefineIconWifiOff, RefineIconWifiProblem, RefineIconWindow, RefineIconWindowCheck, RefineIconWindowClose, RefineIconWindowCodeBlock, RefineIconWindowSidebar, RefineIconWindowTerminal } from "./icons/refine-icons.js";
20
+ import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandMenu, CommandSeparator, CommandShortcut } from "./components/command-menu/command-menu.js";
21
+ import { FLOATING_ANIMATION_CLASS_NAME, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger } from "./components/popover/popover.js";
22
+ import { Combobox } from "./components/combobox/combobox.js";
23
+ import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/context-menu/context-menu.js";
24
+ import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/table/table.js";
25
+ import { DataTable, TableHeadSortable } from "./components/data-table/data-table.js";
26
+ import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/dropdown-menu/dropdown-menu.js";
27
+ import { EmptyState } from "./components/empty-state/empty-state.js";
28
+ import { Eyebrow } from "./components/eyebrow/eyebrow.js";
29
+ import { GlowBorder } from "./components/glow-border/glow-border.js";
30
+ import { HexField } from "./components/hex-field/hex-field.js";
31
+ import { Input, inputShellVariants } from "./components/input/input.js";
32
+ import { Kbd, KbdGroup } from "./components/kbd/kbd.js";
33
+ import { Label } from "./components/label/label.js";
34
+ import { Logo, LogoMark } from "./components/logo/logo.js";
35
+ import { Marquee } from "./components/marquee/marquee.js";
36
+ import { PageHeader } from "./components/page-header/page-header.js";
37
+ import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./components/pagination/pagination.js";
38
+ import { Progress, progressVariants } from "./components/progress/progress.js";
39
+ import { RadioGroup, RadioGroupItem } from "./components/radio-group/radio-group.js";
40
+ import { SectionHeading } from "./components/section-heading/section-heading.js";
41
+ import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "./components/select/select.js";
42
+ import { Separator } from "./components/separator/separator.js";
43
+ import { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger } from "./components/sheet/sheet.js";
44
+ import { Skeleton } from "./components/skeleton/skeleton.js";
45
+ import { Slider } from "./components/slider/slider.js";
46
+ import { Spotlight } from "./components/spotlight/spotlight.js";
47
+ import { Starfield } from "./components/starfield/starfield.js";
48
+ import { Sparkline, Stat } from "./components/stat/stat.js";
49
+ import { Switch } from "./components/switch/switch.js";
50
+ import { Tabs, TabsContent, TabsList, TabsTrigger } from "./components/tabs/tabs.js";
51
+ import { Textarea } from "./components/textarea/textarea.js";
52
+ import { DEFAULT_THEME, DENSITIES, MODES, applyTheme, resolveMode } from "./theme/theme.js";
53
+ import { ThemeProvider, themeScript, useTheme } from "./theme/theme-provider.js";
54
+ import { ThemeSwitcher } from "./components/theme-switcher/theme-switcher.js";
55
+ import { Toaster, toast } from "./components/toaster/toaster.js";
56
+ import { Toggle, ToggleGroup, ToggleGroupItem, toggleVariants } from "./components/toggle-group/toggle-group.js";
57
+ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/tooltip/tooltip.js";
58
+ import { REFINE_ICON_NAMES } from "./icons/refine-icon-names.js";
59
+ import { Icon } from "./icons/icon.js";
60
+ import { ThemeScope } from "./theme/theme-scope.js";
61
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AppShell, AppShellContent, AppShellHeader, AppShellMain, AppShellSidebar, AppShellSidebarTrigger, Avatar, AvatarGroup, BREAKPOINTS, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardAction, CardContent, CardDescription, CardEyebrow, CardFooter, CardHeader, CardMedia, CardTitle, Checkbox, Chip, Code, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandMenu, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_THEME, DENSITIES, DIALOG_CLOSE_CLASS_NAME, DIALOG_OVERLAY_CLASS_NAME, DataTable, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, Eyebrow, FLOATING_ANIMATION_CLASS_NAME, Field, FieldDescription, FieldError, FieldLabel, GlowBorder, HexField, Icon, Input, Kbd, KbdGroup, Label, Logo, LogoMark, MODES, Marquee, PageHeader, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, Progress, REFINE_ICON_NAMES, RadioGroup, RadioGroupItem, RefineIconAddColumn, RefineIconAddMinusSquare, RefineIconAddPlus, RefineIconAddPlusCircle, RefineIconAddPlusSquare, RefineIconAddRow, RefineIconAddToQueue, RefineIconAirplay, RefineIconAlarm, RefineIconArchive, RefineIconArrowCircleDown, RefineIconArrowCircleDownLeft, RefineIconArrowCircleDownRight, RefineIconArrowCircleLeft, RefineIconArrowCircleRight, RefineIconArrowCircleUp, RefineIconArrowCircleUpLeft, RefineIconArrowCircleUpRight, RefineIconArrowDownLG, RefineIconArrowDownLeftLG, RefineIconArrowDownLeftMD, RefineIconArrowDownLeftSM, RefineIconArrowDownMD, RefineIconArrowDownRightLG, RefineIconArrowDownRightMD, RefineIconArrowDownRightSM, RefineIconArrowDownSM, RefineIconArrowDownUp, RefineIconArrowLeftLG, RefineIconArrowLeftMD, RefineIconArrowLeftRight, RefineIconArrowLeftSM, RefineIconArrowReload02, RefineIconArrowRightLG, RefineIconArrowRightMD, RefineIconArrowRightSM, RefineIconArrowSubDownLeft, RefineIconArrowSubDownRight, RefineIconArrowSubLeftDown, RefineIconArrowSubLeftUp, RefineIconArrowSubRightDown, RefineIconArrowSubRightUp, RefineIconArrowSubUpLeft, RefineIconArrowSubUpRight, RefineIconArrowUndoDownLeft, RefineIconArrowUndoDownRight, RefineIconArrowUndoUpLeft, RefineIconArrowUndoUpRight, RefineIconArrowUpLG, RefineIconArrowUpLeftLG, RefineIconArrowUpLeftMD, RefineIconArrowUpLeftSM, RefineIconArrowUpMD, RefineIconArrowUpRightLG, RefineIconArrowUpRightMD, RefineIconArrowUpRightSM, RefineIconArrowUpSM, RefineIconArrowsReload01, RefineIconBarBottom, RefineIconBarLeft, RefineIconBarRight, RefineIconBarTop, RefineIconBell, RefineIconBellAdd, RefineIconBellClose, RefineIconBellNotification, RefineIconBellOff, RefineIconBellRemove, RefineIconBellRing, RefineIconBold, RefineIconBook, RefineIconBookOpen, RefineIconBookmark, RefineIconBuilding01, RefineIconBuilding02, RefineIconBuilding03, RefineIconBuilding04, RefineIconBulb, RefineIconCalendar, RefineIconCalendarAdd, RefineIconCalendarCheck, RefineIconCalendarClose, RefineIconCalendarDays, RefineIconCalendarEvent, RefineIconCalendarRemove, RefineIconCalendarWeek, RefineIconCamera, RefineIconCarAuto, RefineIconCaretCircleDown, RefineIconCaretCircleLeft, RefineIconCaretCircleRight, RefineIconCaretCircleUp, RefineIconCaretDownMD, RefineIconCaretDownSM, RefineIconCaretLeftSM, RefineIconCaretRightSM, RefineIconCaretUpMD, RefineIconCaretUpSM, RefineIconChartBarHorizontal01, RefineIconChartBarVertical01, RefineIconChartLine, RefineIconChartPie, RefineIconChat, RefineIconChatAdd, RefineIconChatCheck, RefineIconChatCircle, RefineIconChatCircleAdd, RefineIconChatCircleCheck, RefineIconChatCircleClose, RefineIconChatCircleDots, RefineIconChatCircleRemove, RefineIconChatClose, RefineIconChatConversation, RefineIconChatConversationCircle, RefineIconChatDots, RefineIconChatRemove, RefineIconCheck, RefineIconCheckAll, RefineIconCheckAllBig, RefineIconCheckBig, RefineIconCheckboxCheck, RefineIconCheckboxFill, RefineIconCheckboxUnchecked, RefineIconChevronDown, RefineIconChevronDownDuo, RefineIconChevronLeft, RefineIconChevronLeftDuo, RefineIconChevronLeftMD, RefineIconChevronRight, RefineIconChevronRightDuo, RefineIconChevronRightMD, RefineIconChevronUp, RefineIconChevronUpDuo, RefineIconChromecast, RefineIconCircle, RefineIconCircleCheck, RefineIconCircleFilled, RefineIconCircleHelp, RefineIconCircleWarning, RefineIconClock, RefineIconCloseCircle, RefineIconCloseLG, RefineIconCloseMD, RefineIconCloseSM, RefineIconCloseSquare, RefineIconCloud, RefineIconCloudAdd, RefineIconCloudCheck, RefineIconCloudClose, RefineIconCloudDownload, RefineIconCloudOff, RefineIconCloudRemove, RefineIconCloudUpload, RefineIconCode, RefineIconCoffee, RefineIconCoffeeToGo, RefineIconCoins, RefineIconColumns, RefineIconCombineCells, RefineIconCommand, RefineIconCompass, RefineIconCookie, RefineIconCopy, RefineIconCreditCard01, RefineIconCreditCard02, RefineIconCrop, RefineIconCup, RefineIconCupcake, RefineIconCylinder, RefineIconData, RefineIconDeleteColumn, RefineIconDeleteRow, RefineIconDesktop, RefineIconDesktopTower, RefineIconDevices, RefineIconDoubleQuotesL, RefineIconDoubleQuotesR, RefineIconDownload, RefineIconDownloadPackage, RefineIconDragHorizontal, RefineIconDragVertical, RefineIconDummyCircle, RefineIconDummyCircleSmall, RefineIconDummySquare, RefineIconDummySquareSmall, RefineIconEditPencil01, RefineIconEditPencil02, RefineIconEditPencilLine01, RefineIconEditPencilLine02, RefineIconEmoji01, RefineIconEmoji02, RefineIconExit, RefineIconExpand, RefineIconExternalLink, RefineIconFastShipping, RefineIconFigma, RefineIconFileAdd, RefineIconFileBlank, RefineIconFileCheck, RefineIconFileClose, RefineIconFileCode, RefineIconFileDocument, RefineIconFileDownload, RefineIconFileEdit, RefineIconFileRemove, RefineIconFileSearch, RefineIconFileUpload, RefineIconFiles, RefineIconFilter, RefineIconFilterOff, RefineIconFirstAid, RefineIconFlag, RefineIconFlipHorizontal, RefineIconFlipVertical, RefineIconFolder, RefineIconFolderAdd, RefineIconFolderCheck, RefineIconFolderClose, RefineIconFolderCode, RefineIconFolderDocument, RefineIconFolderDownload, RefineIconFolderEdit, RefineIconFolderOpen, RefineIconFolderRemove, RefineIconFolderSearch, RefineIconFolderUpload, RefineIconFolders, RefineIconFont, RefineIconForward, RefineIconGif, RefineIconGift, RefineIconGlobe, RefineIconHamburgerLG, RefineIconHamburgerMD, RefineIconHandbag, RefineIconHeading, RefineIconHeadingH1, RefineIconHeadingH2, RefineIconHeadingH3, RefineIconHeadingH4, RefineIconHeadingH5, RefineIconHeadingH6, RefineIconHeadphones, RefineIconHeart01, RefineIconHeart02, RefineIconHeartSolid, RefineIconHelp, RefineIconHide, RefineIconHouse01, RefineIconHouse02, RefineIconHouse03, RefineIconHouseAdd, RefineIconHouseCheck, RefineIconHouseClose, RefineIconHouseRemove, RefineIconImage01, RefineIconImage02, RefineIconInfo, RefineIconInstance, RefineIconItalic, RefineIconKeyboard, RefineIconLabel, RefineIconLaptop, RefineIconLayer, RefineIconLayers, RefineIconLeaf, RefineIconLineL, RefineIconLineM, RefineIconLineS, RefineIconLineXl, RefineIconLink, RefineIconLinkBreak, RefineIconLinkHorizontal, RefineIconLinkHorizontalOff, RefineIconLinkVertical, RefineIconListAdd, RefineIconListCheck, RefineIconListChecklist, RefineIconListOrdered, RefineIconListRemove, RefineIconListUnordered, RefineIconLoading, RefineIconLoading02, RefineIconLock, RefineIconLockOpen, RefineIconLogOut, RefineIconMagnifyingGlassMinus, RefineIconMagnifyingGlassPlus, RefineIconMail, RefineIconMailOpen, RefineIconMainComponent, RefineIconMap, RefineIconMapPin, RefineIconMention, RefineIconMenuAlt01, RefineIconMenuAlt02, RefineIconMenuAlt03, RefineIconMenuAlt04, RefineIconMenuAlt05, RefineIconMenuDuoLG, RefineIconMenuDuoMD, RefineIconMobile, RefineIconMobileButton, RefineIconMonitor, RefineIconMonitorPlay, RefineIconMoon, RefineIconMoreGridBig, RefineIconMoreGridSmall, RefineIconMoreHorizontal, RefineIconMoreVertical, RefineIconMouse, RefineIconMove, RefineIconMoveHorizontal, RefineIconMoveVertical, RefineIconMovingDesk, RefineIconNavigation, RefineIconNote, RefineIconNoteEdit, RefineIconNoteSearch, RefineIconNotebook, RefineIconNumber, RefineIconOctagon, RefineIconOctagonCheck, RefineIconOctagonHelp, RefineIconOctagonWarning, RefineIconOption, RefineIconPaperPlane, RefineIconPaperclipAttachmentHorizontal, RefineIconPaperclipAttachmentTilt, RefineIconParagraph, RefineIconPath, RefineIconPause, RefineIconPauseCircle, RefineIconPhone, RefineIconPin, RefineIconPinLeft, RefineIconPinRight, RefineIconPlanet, RefineIconPlay, RefineIconPlayCircle, RefineIconPrinter, RefineIconPuzzle, RefineIconQrCode, RefineIconRadioFill, RefineIconRadioUnchecked, RefineIconRainbow, RefineIconRedo, RefineIconRemoveMinus, RefineIconRemoveMinusCircle, RefineIconRewind, RefineIconRotateRight, RefineIconRows, RefineIconRuler, RefineIconSandClock, RefineIconSave, RefineIconScanDocument, RefineIconSearchMagnifyingGlass, RefineIconSelectMultiple, RefineIconSettings, RefineIconSettingsFuture, RefineIconShareAndroid, RefineIconShareIOSExport, RefineIconShield, RefineIconShieldCheck, RefineIconShieldWarning, RefineIconShopSearch, RefineIconShoppingBag01, RefineIconShoppingBag02, RefineIconShoppingCart01, RefineIconShoppingCart02, RefineIconShow, RefineIconShrink, RefineIconShuffle, RefineIconSingleQuotesL, RefineIconSingleQuotesR, RefineIconSkipBack, RefineIconSkipForward, RefineIconSlider01, RefineIconSlider02, RefineIconSlider03, RefineIconSortAscending, RefineIconSortDescending, RefineIconSquare, RefineIconSquareCheck, RefineIconSquareHelp, RefineIconSquareWarning, RefineIconStar, RefineIconStarSolid, RefineIconStop, RefineIconStopCircle, RefineIconStopSign, RefineIconStrikethrough, RefineIconSuitcase, RefineIconSun, RefineIconSwatchesPalette, RefineIconSwitchLeft, RefineIconSwitchRight, RefineIconTable, RefineIconTableAdd, RefineIconTableRemove, RefineIconTablet, RefineIconTabletButton, RefineIconTag, RefineIconTerminal, RefineIconText, RefineIconTextAlignCenter, RefineIconTextAlignJustify, RefineIconTextAlignLeft, RefineIconTextAlignRight, RefineIconTicketVoucher, RefineIconTimer, RefineIconTimerAdd, RefineIconTimerClose, RefineIconTimerRemove, RefineIconTrashEmpty, RefineIconTrashFull, RefineIconTrendingDown, RefineIconTrendingUp, RefineIconTriangle, RefineIconTriangleCheck, RefineIconTriangleWarning, RefineIconUnderline, RefineIconUndo, RefineIconUnfoldLess, RefineIconUnfoldMore, RefineIconUser01, RefineIconUser02, RefineIconUser03, RefineIconUserAdd, RefineIconUserCardID, RefineIconUserCheck, RefineIconUserCircle, RefineIconUserClose, RefineIconUserRemove, RefineIconUserSquare, RefineIconUserVoice, RefineIconUsers, RefineIconUsersGroup, RefineIconVolumeMax, RefineIconVolumeMin, RefineIconVolumeMinus, RefineIconVolumeOff, RefineIconVolumeOff02, RefineIconVolumePlus, RefineIconWarning, RefineIconWaterDrop, RefineIconWavy, RefineIconWavyCheck, RefineIconWavyCheckFilled, RefineIconWavyHelp, RefineIconWavyWarning, RefineIconWifiHigh, RefineIconWifiLow, RefineIconWifiMedium, RefineIconWifiNone, RefineIconWifiOff, RefineIconWifiProblem, RefineIconWindow, RefineIconWindowCheck, RefineIconWindowClose, RefineIconWindowCodeBlock, RefineIconWindowSidebar, RefineIconWindowTerminal, SectionHeading, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarContent, SidebarFooter, SidebarHeader, SidebarItem, SidebarSection, Skeleton, Slider, Sparkline, Spinner, Spotlight, Starfield, Stat, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadSortable, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, ThemeScope, ThemeSwitcher, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, applyTheme, avatarVariants, badgeVariants, buttonVariants, cardVariants, chipVariants, cn, inputShellVariants, progressVariants, resolveMode, themeScript, toast, toggleVariants, useAppShell, useBreakpoint, useField, useFieldControl, useTheme };
@@ -0,0 +1,5 @@
1
+ import { type ClassValue } from 'clsx';
2
+ /**
3
+ * Joins class values and resolves Tailwind conflicts, Refine UI's custom tokens included, so the last class wins.
4
+ */
5
+ export declare const cn: (...inputs: ClassValue[]) => string;
package/dist/lib/cn.js ADDED
@@ -0,0 +1,49 @@
1
+ import { clsx } from "clsx";
2
+ import { extendTailwindMerge } from "tailwind-merge";
3
+ // src/lib/cn.ts
4
+ var twMerge = extendTailwindMerge({ extend: {
5
+ classGroups: { "font-family": ["font-display"] },
6
+ theme: {
7
+ radius: [
8
+ "inner",
9
+ "control",
10
+ "card",
11
+ "panel"
12
+ ],
13
+ shadow: [
14
+ "soft",
15
+ "float",
16
+ "glow"
17
+ ],
18
+ spacing: [
19
+ "control-xs",
20
+ "control-sm",
21
+ "control-md",
22
+ "control-lg",
23
+ "control-xl"
24
+ ],
25
+ text: [
26
+ "display-2xl",
27
+ "display-xl",
28
+ "display-lg",
29
+ "display-md",
30
+ "display-sm",
31
+ "headline-lg",
32
+ "headline-md",
33
+ "headline-sm",
34
+ "body-lg",
35
+ "body",
36
+ "body-sm",
37
+ "caption"
38
+ ]
39
+ }
40
+ } });
41
+ /**
42
+ * Joins class values and resolves Tailwind conflicts, Refine UI's custom tokens included, so the last class wins.
43
+ */
44
+ var cn = (...inputs) => {
45
+ return twMerge(clsx(inputs));
46
+ };
47
+ export { cn };
48
+
49
+ //# sourceMappingURL=cn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.js","names":[],"sources":["../../src/lib/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { extendTailwindMerge } from 'tailwind-merge';\n\nconst twMerge = extendTailwindMerge({\n extend: {\n classGroups: {\n 'font-family': ['font-display'],\n },\n theme: {\n radius: ['inner', 'control', 'card', 'panel'],\n shadow: ['soft', 'float', 'glow'],\n spacing: ['control-xs', 'control-sm', 'control-md', 'control-lg', 'control-xl'],\n text: [\n 'display-2xl',\n 'display-xl',\n 'display-lg',\n 'display-md',\n 'display-sm',\n 'headline-lg',\n 'headline-md',\n 'headline-sm',\n 'body-lg',\n 'body',\n 'body-sm',\n 'caption',\n ],\n },\n },\n});\n\n/**\n * Joins class values and resolves Tailwind conflicts, Refine UI's custom tokens included, so the last class wins.\n */\nexport const cn = (...inputs: ClassValue[]) => {\n return twMerge(clsx(inputs));\n};\n"],"mappings":";;;AAGA,IAAM,UAAU,oBAAoB,EAClC,QAAQ;CACN,aAAa,EACX,eAAe,CAAC,cAAc,EAChC;CACA,OAAO;EACL,QAAQ;GAAC;GAAS;GAAW;GAAQ;EAAO;EAC5C,QAAQ;GAAC;GAAQ;GAAS;EAAM;EAChC,SAAS;GAAC;GAAc;GAAc;GAAc;GAAc;EAAY;EAC9E,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;CACF;AACF,EACF,CAAC;;;;AAKD,IAAa,MAAM,GAAG,WAAyB;CAC7C,OAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Tailwind's default breakpoints, the ones Refine UI lays itself out at, as their `min-width`.
3
+ */
4
+ export declare const BREAKPOINTS: {
5
+ readonly sm: "40rem";
6
+ readonly md: "48rem";
7
+ readonly lg: "64rem";
8
+ readonly xl: "80rem";
9
+ readonly '2xl': "96rem";
10
+ };
11
+ export type Breakpoint = keyof typeof BREAKPOINTS;
12
+ /**
13
+ * Tells whether the screen is at least as wide as a Tailwind breakpoint, the way `md:` does, and answers again on each resize.
14
+ * Answers `false` on the server, where there is no screen to measure.
15
+ */
16
+ export declare const useBreakpoint: (breakpoint: Breakpoint) => boolean;
@@ -0,0 +1,52 @@
1
+ "use client";
2
+ import { useSyncExternalStore } from "react";
3
+ // src/lib/use-breakpoint.ts
4
+ /**
5
+ * Tailwind's default breakpoints, the ones Refine UI lays itself out at, as their `min-width`.
6
+ */
7
+ var BREAKPOINTS = {
8
+ sm: "40rem",
9
+ md: "48rem",
10
+ lg: "64rem",
11
+ xl: "80rem",
12
+ "2xl": "96rem"
13
+ };
14
+ /**
15
+ * Builds the `min-width` media query a Tailwind prefix such as `md:` applies at.
16
+ */
17
+ var toQuery = (breakpoint) => {
18
+ return `(min-width: ${BREAKPOINTS[breakpoint]})`;
19
+ };
20
+ /**
21
+ * Subscribes to one breakpoint's media query; defined once per breakpoint, so React keeps a stable subscription across renders.
22
+ */
23
+ var createSubscribe = (breakpoint) => {
24
+ return (onChange) => {
25
+ const media = window.matchMedia(toQuery(breakpoint));
26
+ media.addEventListener("change", onChange);
27
+ return () => {
28
+ media.removeEventListener("change", onChange);
29
+ };
30
+ };
31
+ };
32
+ var SUBSCRIBERS = {
33
+ sm: createSubscribe("sm"),
34
+ md: createSubscribe("md"),
35
+ lg: createSubscribe("lg"),
36
+ xl: createSubscribe("xl"),
37
+ "2xl": createSubscribe("2xl")
38
+ };
39
+ /**
40
+ * Tells whether the screen is at least as wide as a Tailwind breakpoint, the way `md:` does, and answers again on each resize.
41
+ * Answers `false` on the server, where there is no screen to measure.
42
+ */
43
+ var useBreakpoint = (breakpoint) => {
44
+ return useSyncExternalStore(SUBSCRIBERS[breakpoint], () => {
45
+ return window.matchMedia(toQuery(breakpoint)).matches;
46
+ }, () => {
47
+ return false;
48
+ });
49
+ };
50
+ export { BREAKPOINTS, useBreakpoint };
51
+
52
+ //# sourceMappingURL=use-breakpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-breakpoint.js","names":[],"sources":["../../src/lib/use-breakpoint.ts"],"sourcesContent":["'use client';\n\nimport { useSyncExternalStore } from 'react';\n\n/**\n * Tailwind's default breakpoints, the ones Refine UI lays itself out at, as their `min-width`.\n */\nexport const BREAKPOINTS = {\n sm: '40rem',\n md: '48rem',\n lg: '64rem',\n xl: '80rem',\n '2xl': '96rem',\n} as const;\n\nexport type Breakpoint = keyof typeof BREAKPOINTS;\n\n/**\n * Builds the `min-width` media query a Tailwind prefix such as `md:` applies at.\n */\nconst toQuery = (breakpoint: Breakpoint) => {\n return `(min-width: ${BREAKPOINTS[breakpoint]})`;\n};\n\n/**\n * Subscribes to one breakpoint's media query; defined once per breakpoint, so React keeps a stable subscription across renders.\n */\nconst createSubscribe = (breakpoint: Breakpoint) => {\n return (onChange: () => void) => {\n const media = window.matchMedia(toQuery(breakpoint));\n media.addEventListener('change', onChange);\n\n return () => {\n media.removeEventListener('change', onChange);\n };\n };\n};\n\nconst SUBSCRIBERS = {\n sm: createSubscribe('sm'),\n md: createSubscribe('md'),\n lg: createSubscribe('lg'),\n xl: createSubscribe('xl'),\n '2xl': createSubscribe('2xl'),\n} satisfies Record<Breakpoint, (onChange: () => void) => () => void>;\n\n/**\n * Tells whether the screen is at least as wide as a Tailwind breakpoint, the way `md:` does, and answers again on each resize.\n * Answers `false` on the server, where there is no screen to measure.\n */\nexport const useBreakpoint = (breakpoint: Breakpoint) => {\n return useSyncExternalStore(\n SUBSCRIBERS[breakpoint],\n () => {\n return window.matchMedia(toQuery(breakpoint)).matches;\n },\n () => {\n return false;\n },\n );\n};\n"],"mappings":";;;;;;AAOA,IAAa,cAAc;CACzB,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,OAAO;AACT;;;;AAOA,IAAM,WAAW,eAA2B;CAC1C,OAAO,eAAe,YAAY,YAAY;AAChD;;;;AAKA,IAAM,mBAAmB,eAA2B;CAClD,QAAQ,aAAyB;EAC/B,MAAM,QAAQ,OAAO,WAAW,QAAQ,UAAU,CAAC;EACnD,MAAM,iBAAiB,UAAU,QAAQ;EAEzC,aAAa;GACX,MAAM,oBAAoB,UAAU,QAAQ;EAC9C;CACF;AACF;AAEA,IAAM,cAAc;CAClB,IAAI,gBAAgB,IAAI;CACxB,IAAI,gBAAgB,IAAI;CACxB,IAAI,gBAAgB,IAAI;CACxB,IAAI,gBAAgB,IAAI;CACxB,OAAO,gBAAgB,KAAK;AAC9B;;;;;AAMA,IAAa,iBAAiB,eAA2B;CACvD,OAAO,qBACL,YAAY,mBACN;EACJ,OAAO,OAAO,WAAW,QAAQ,UAAU,CAAC,CAAC,CAAC;CAChD,SACM;EACJ,OAAO;CACT,CACF;AACF"}