@foundrykit/primitives 2.0.6 → 2.0.8

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 (319) hide show
  1. package/.turbo/turbo-build.log +233 -108
  2. package/.turbo/turbo-type-check.log +1 -1
  3. package/CHANGELOG.md +18 -0
  4. package/README.md +39 -136
  5. package/dist/chunk-25N35Z5M.js +42 -0
  6. package/dist/chunk-2JOT4DV4.js +66 -0
  7. package/dist/chunk-2PXD7LAX.js +172 -0
  8. package/dist/{chunk-VSXKLSEP.js → chunk-3BAO7TAS.js} +2 -2
  9. package/dist/chunk-3MEIDBWZ.js +225 -0
  10. package/dist/{chunk-A3U73FA7.js → chunk-3UKWAM5M.js} +2 -2
  11. package/dist/chunk-44I6VK3H.js +105 -0
  12. package/dist/chunk-46UI3AUE.js +62 -0
  13. package/dist/{chunk-AADRFFPH.js → chunk-5OSYIETI.js} +4 -4
  14. package/dist/chunk-67UXTT4O.js +116 -0
  15. package/dist/{chunk-J57CV3VT.js → chunk-6DRII3XC.js} +2 -2
  16. package/dist/chunk-727ACUWN.js +82 -0
  17. package/dist/chunk-76APYFRN.js +29 -0
  18. package/dist/chunk-AJAAMJYH.js +12 -0
  19. package/dist/chunk-BIFBYERK.js +69 -0
  20. package/dist/{chunk-PHMEWMFS.js → chunk-D4X2ZO5T.js} +7 -7
  21. package/dist/{chunk-UZIMC7AQ.js → chunk-DFGLEAZI.js} +2 -2
  22. package/dist/chunk-DKBMAFIR.js +65 -0
  23. package/dist/{chunk-U2EIVYWP.js → chunk-DXZ4GUQO.js} +2 -2
  24. package/dist/chunk-ED6T7ZZN.js +130 -0
  25. package/dist/{chunk-J4CRGO2P.js → chunk-EDKSYP4L.js} +2 -2
  26. package/dist/chunk-EEAK2RWF.js +23 -0
  27. package/dist/{chunk-FYCANIVJ.js → chunk-FF5D53KL.js} +2 -2
  28. package/dist/chunk-FIRYLO5W.js +253 -0
  29. package/dist/chunk-GPEL656S.js +84 -0
  30. package/dist/chunk-JKKCRFYB.js +36 -0
  31. package/dist/chunk-JTSIBZS4.js +194 -0
  32. package/dist/{chunk-QL4XJD7Y.js → chunk-MCXSVXO4.js} +2 -2
  33. package/dist/chunk-MMZJQ7RW.js +33 -0
  34. package/dist/{chunk-4GPFVBO2.js → chunk-MYIUX3DT.js} +3 -3
  35. package/dist/chunk-PAO3DSEF.js +48 -0
  36. package/dist/chunk-PLLG76QJ.js +32 -0
  37. package/dist/chunk-R3IEOV2B.js +155 -0
  38. package/dist/{chunk-KZMSLRLW.js → chunk-RDQF3IQE.js} +2 -2
  39. package/dist/{chunk-XQAJQKO7.js → chunk-SUEPE6OX.js} +3 -3
  40. package/dist/chunk-TA23RNS4.js +162 -0
  41. package/dist/chunk-TRXU4SOJ.js +224 -0
  42. package/dist/chunk-VA4MKQN7.js +40 -0
  43. package/dist/chunk-VPBVKBZ7.js +25 -0
  44. package/dist/{chunk-I44GXEPN.js → chunk-XVIHRZGJ.js} +1 -1
  45. package/dist/chunk-YT2ZIMZI.js +16 -0
  46. package/dist/components/accordion/index.cjs +104 -0
  47. package/dist/components/accordion/index.d.cts +25 -0
  48. package/dist/components/accordion/index.d.ts +25 -0
  49. package/dist/components/accordion/index.js +13 -0
  50. package/dist/components/alert/index.cjs +96 -0
  51. package/dist/components/alert/index.d.cts +28 -0
  52. package/dist/components/alert/index.d.ts +28 -0
  53. package/dist/components/alert/index.js +12 -0
  54. package/dist/components/alert-dialog/index.cjs +200 -0
  55. package/dist/components/alert-dialog/index.d.cts +42 -0
  56. package/dist/components/alert-dialog/index.d.ts +42 -0
  57. package/dist/components/alert-dialog/index.js +27 -0
  58. package/dist/components/aspect-ratio/index.cjs +47 -0
  59. package/dist/components/aspect-ratio/index.d.cts +19 -0
  60. package/dist/components/aspect-ratio/index.d.ts +19 -0
  61. package/dist/components/aspect-ratio/index.js +7 -0
  62. package/dist/components/avatar/index.cjs +1 -1
  63. package/dist/components/avatar/index.d.cts +16 -1
  64. package/dist/components/avatar/index.d.ts +16 -1
  65. package/dist/components/avatar/index.js +1 -1
  66. package/dist/components/badge/index.cjs +5 -5
  67. package/dist/components/badge/index.d.cts +13 -2
  68. package/dist/components/badge/index.d.ts +13 -2
  69. package/dist/components/badge/index.js +1 -1
  70. package/dist/components/breadcrumb/index.cjs +2 -2
  71. package/dist/components/breadcrumb/index.d.cts +19 -0
  72. package/dist/components/breadcrumb/index.d.ts +19 -0
  73. package/dist/components/breadcrumb/index.js +1 -1
  74. package/dist/components/button/index.cjs +18 -8
  75. package/dist/components/button/index.d.cts +15 -2
  76. package/dist/components/button/index.d.ts +15 -2
  77. package/dist/components/button/index.js +1 -1
  78. package/dist/components/button-group/index.cjs +142 -0
  79. package/dist/components/button-group/index.d.cts +33 -0
  80. package/dist/components/button-group/index.d.ts +33 -0
  81. package/dist/components/button-group/index.js +13 -0
  82. package/dist/components/card/index.cjs +2 -2
  83. package/dist/components/card/index.d.cts +16 -0
  84. package/dist/components/card/index.d.ts +16 -0
  85. package/dist/components/card/index.js +1 -1
  86. package/dist/components/checkbox/index.cjs +2 -2
  87. package/dist/components/checkbox/index.d.cts +11 -1
  88. package/dist/components/checkbox/index.d.ts +11 -1
  89. package/dist/components/checkbox/index.js +1 -1
  90. package/dist/components/collapsible/index.cjs +73 -0
  91. package/dist/components/collapsible/index.d.cts +22 -0
  92. package/dist/components/collapsible/index.d.ts +22 -0
  93. package/dist/components/collapsible/index.js +11 -0
  94. package/dist/components/context-menu/index.cjs +274 -0
  95. package/dist/components/context-menu/index.d.cts +48 -0
  96. package/dist/components/context-menu/index.d.ts +48 -0
  97. package/dist/components/context-menu/index.js +35 -0
  98. package/dist/components/direction/index.cjs +39 -0
  99. package/dist/components/direction/index.d.cts +20 -0
  100. package/dist/components/direction/index.d.ts +20 -0
  101. package/dist/components/direction/index.js +9 -0
  102. package/dist/components/drawer/index.cjs +164 -0
  103. package/dist/components/drawer/index.d.cts +35 -0
  104. package/dist/components/drawer/index.d.ts +35 -0
  105. package/dist/components/drawer/index.js +25 -0
  106. package/dist/components/dropdown/index.cjs +7 -7
  107. package/dist/components/dropdown/index.d.cts +25 -1
  108. package/dist/components/dropdown/index.d.ts +25 -1
  109. package/dist/components/dropdown/index.js +1 -1
  110. package/dist/components/empty/index.cjs +135 -0
  111. package/dist/components/empty/index.d.cts +38 -0
  112. package/dist/components/empty/index.d.ts +38 -0
  113. package/dist/components/empty/index.js +18 -0
  114. package/dist/components/field/index.cjs +269 -0
  115. package/dist/components/field/index.d.cts +42 -0
  116. package/dist/components/field/index.d.ts +42 -0
  117. package/dist/components/field/index.js +27 -0
  118. package/dist/components/hover-card/index.cjs +77 -0
  119. package/dist/components/hover-card/index.d.cts +22 -0
  120. package/dist/components/hover-card/index.d.ts +22 -0
  121. package/dist/components/hover-card/index.js +11 -0
  122. package/dist/components/input/index.cjs +2 -2
  123. package/dist/components/input/index.d.cts +11 -2
  124. package/dist/components/input/index.d.ts +11 -2
  125. package/dist/components/input/index.js +1 -1
  126. package/dist/components/item/index.cjs +262 -0
  127. package/dist/components/item/index.d.cts +47 -0
  128. package/dist/components/item/index.d.ts +47 -0
  129. package/dist/components/item/index.js +29 -0
  130. package/dist/components/kbd/index.cjs +57 -0
  131. package/dist/components/kbd/index.d.cts +19 -0
  132. package/dist/components/kbd/index.d.ts +19 -0
  133. package/dist/components/kbd/index.js +8 -0
  134. package/dist/components/label/index.cjs +2 -2
  135. package/dist/components/label/index.d.cts +10 -1
  136. package/dist/components/label/index.d.ts +10 -1
  137. package/dist/components/label/index.js +1 -1
  138. package/dist/components/menubar/index.cjs +303 -0
  139. package/dist/components/menubar/index.d.cts +49 -0
  140. package/dist/components/menubar/index.d.ts +49 -0
  141. package/dist/components/menubar/index.js +37 -0
  142. package/dist/components/native-select/index.cjs +53 -0
  143. package/dist/components/native-select/index.d.cts +19 -0
  144. package/dist/components/native-select/index.d.ts +19 -0
  145. package/dist/components/native-select/index.js +6 -0
  146. package/dist/components/navigation-menu/index.cjs +215 -0
  147. package/dist/components/navigation-menu/index.d.cts +37 -0
  148. package/dist/components/navigation-menu/index.d.ts +37 -0
  149. package/dist/components/navigation-menu/index.js +23 -0
  150. package/dist/components/popover/index.cjs +2 -2
  151. package/dist/components/popover/index.d.cts +14 -1
  152. package/dist/components/popover/index.d.ts +14 -1
  153. package/dist/components/popover/index.js +1 -1
  154. package/dist/components/progress/index.cjs +68 -0
  155. package/dist/components/progress/index.d.cts +16 -0
  156. package/dist/components/progress/index.d.ts +16 -0
  157. package/dist/components/progress/index.js +7 -0
  158. package/dist/components/radio-group/index.cjs +3 -3
  159. package/dist/components/radio-group/index.d.cts +15 -1
  160. package/dist/components/radio-group/index.d.ts +15 -1
  161. package/dist/components/radio-group/index.js +1 -1
  162. package/dist/components/resizable/index.cjs +75 -0
  163. package/dist/components/resizable/index.d.cts +25 -0
  164. package/dist/components/resizable/index.d.ts +25 -0
  165. package/dist/components/resizable/index.js +11 -0
  166. package/dist/components/scroll-area/index.cjs +3 -3
  167. package/dist/components/scroll-area/index.d.cts +14 -1
  168. package/dist/components/scroll-area/index.d.ts +14 -1
  169. package/dist/components/scroll-area/index.js +1 -1
  170. package/dist/components/select/index.cjs +4 -4
  171. package/dist/components/select/index.d.cts +19 -1
  172. package/dist/components/select/index.d.ts +19 -1
  173. package/dist/components/select/index.js +1 -1
  174. package/dist/components/separator/index.cjs +2 -2
  175. package/dist/components/separator/index.d.cts +12 -1
  176. package/dist/components/separator/index.d.ts +12 -1
  177. package/dist/components/separator/index.js +1 -1
  178. package/dist/components/skeleton/index.d.cts +9 -0
  179. package/dist/components/skeleton/index.d.ts +9 -0
  180. package/dist/components/slider/index.cjs +100 -0
  181. package/dist/components/slider/index.d.cts +18 -0
  182. package/dist/components/slider/index.d.ts +18 -0
  183. package/dist/components/slider/index.js +7 -0
  184. package/dist/components/sonner/index.cjs +51 -0
  185. package/dist/components/sonner/index.d.cts +18 -0
  186. package/dist/components/sonner/index.d.ts +18 -0
  187. package/dist/components/sonner/index.js +9 -0
  188. package/dist/components/spinner/index.cjs +47 -0
  189. package/dist/components/spinner/index.d.cts +17 -0
  190. package/dist/components/spinner/index.d.ts +17 -0
  191. package/dist/components/spinner/index.js +6 -0
  192. package/dist/components/switch/index.cjs +2 -2
  193. package/dist/components/switch/index.d.cts +11 -1
  194. package/dist/components/switch/index.d.ts +11 -1
  195. package/dist/components/switch/index.js +1 -1
  196. package/dist/components/table/index.cjs +147 -0
  197. package/dist/components/table/index.d.cts +35 -0
  198. package/dist/components/table/index.d.ts +35 -0
  199. package/dist/components/table/index.js +20 -0
  200. package/dist/components/tabs/index.cjs +2 -2
  201. package/dist/components/tabs/index.d.cts +18 -1
  202. package/dist/components/tabs/index.d.ts +18 -1
  203. package/dist/components/tabs/index.js +1 -1
  204. package/dist/components/textarea/index.cjs +1 -1
  205. package/dist/components/textarea/index.d.cts +9 -0
  206. package/dist/components/textarea/index.d.ts +9 -0
  207. package/dist/components/textarea/index.js +1 -1
  208. package/dist/components/toggle-group/index.cjs +120 -0
  209. package/dist/components/toggle-group/index.d.cts +27 -0
  210. package/dist/components/toggle-group/index.d.ts +27 -0
  211. package/dist/components/toggle-group/index.js +9 -0
  212. package/dist/components/typography/index.cjs +197 -0
  213. package/dist/components/typography/index.d.cts +28 -0
  214. package/dist/components/typography/index.d.ts +28 -0
  215. package/dist/components/typography/index.js +28 -0
  216. package/dist/index.cjs +3272 -781
  217. package/dist/index.d.cts +128 -24
  218. package/dist/index.d.ts +128 -24
  219. package/dist/index.js +485 -144
  220. package/package.json +25 -8
  221. package/postcss.config.mjs +1 -1
  222. package/registry.json +18 -5
  223. package/src/components/accordion/config.ts +28 -0
  224. package/src/components/accordion/index.tsx +80 -0
  225. package/src/components/alert/config.ts +40 -0
  226. package/src/components/alert/index.tsx +80 -0
  227. package/src/components/alert-dialog/config.ts +28 -0
  228. package/src/components/alert-dialog/index.tsx +188 -0
  229. package/src/components/aspect-ratio/config.ts +27 -0
  230. package/src/components/aspect-ratio/index.tsx +24 -0
  231. package/src/components/avatar/config.ts +1 -1
  232. package/src/components/avatar/index.tsx +18 -4
  233. package/src/components/badge/config.ts +1 -1
  234. package/src/components/badge/index.tsx +17 -7
  235. package/src/components/breadcrumb/config.ts +1 -1
  236. package/src/components/breadcrumb/index.tsx +24 -6
  237. package/src/components/button/config.ts +21 -1
  238. package/src/components/button/index.tsx +33 -9
  239. package/src/components/button-group/config.ts +39 -0
  240. package/src/components/button-group/index.tsx +99 -0
  241. package/src/components/card/config.ts +1 -1
  242. package/src/components/card/index.tsx +21 -6
  243. package/src/components/checkbox/config.ts +1 -1
  244. package/src/components/checkbox/index.tsx +13 -4
  245. package/src/components/collapsible/config.ts +27 -0
  246. package/src/components/collapsible/index.tsx +47 -0
  247. package/src/components/context-menu/config.ts +28 -0
  248. package/src/components/context-menu/index.tsx +271 -0
  249. package/src/components/dialog/config.ts +1 -1
  250. package/src/components/dialog/index.tsx +25 -6
  251. package/src/components/direction/config.ts +28 -0
  252. package/src/components/direction/index.tsx +27 -0
  253. package/src/components/drawer/config.ts +28 -0
  254. package/src/components/drawer/index.tsx +153 -0
  255. package/src/components/dropdown/config.ts +1 -1
  256. package/src/components/dropdown/index.tsx +37 -14
  257. package/src/components/empty/config.ts +38 -0
  258. package/src/components/empty/index.tsx +127 -0
  259. package/src/components/field/config.ts +40 -0
  260. package/src/components/field/index.tsx +252 -0
  261. package/src/components/hover-card/config.ts +27 -0
  262. package/src/components/hover-card/index.tsx +56 -0
  263. package/src/components/input/config.ts +1 -1
  264. package/src/components/input/index.tsx +13 -5
  265. package/src/components/input-group/index.tsx +33 -12
  266. package/src/components/item/config.ts +52 -0
  267. package/src/components/item/index.tsx +215 -0
  268. package/src/components/kbd/config.ts +38 -0
  269. package/src/components/kbd/index.tsx +40 -0
  270. package/src/components/label/config.ts +1 -1
  271. package/src/components/label/index.tsx +12 -4
  272. package/src/components/menubar/config.ts +28 -0
  273. package/src/components/menubar/index.tsx +295 -0
  274. package/src/components/native-select/config.ts +40 -0
  275. package/src/components/native-select/index.tsx +40 -0
  276. package/src/components/navigation-menu/config.ts +32 -0
  277. package/src/components/navigation-menu/index.tsx +188 -0
  278. package/src/components/popover/config.ts +1 -1
  279. package/src/components/popover/index.tsx +17 -5
  280. package/src/components/progress/config.ts +42 -0
  281. package/src/components/progress/index.tsx +39 -0
  282. package/src/components/radio-group/config.ts +1 -1
  283. package/src/components/radio-group/index.tsx +18 -5
  284. package/src/components/resizable/config.ts +28 -0
  285. package/src/components/resizable/index.tsx +67 -0
  286. package/src/components/scroll-area/index.tsx +17 -5
  287. package/src/components/select/config.ts +1 -1
  288. package/src/components/select/index.tsx +23 -6
  289. package/src/components/separator/config.ts +1 -1
  290. package/src/components/separator/index.tsx +14 -4
  291. package/src/components/sheet/index.tsx +21 -7
  292. package/src/components/skeleton/config.ts +1 -1
  293. package/src/components/skeleton/index.tsx +9 -0
  294. package/src/components/slider/config.ts +46 -0
  295. package/src/components/slider/index.tsx +73 -0
  296. package/src/components/sonner/config.ts +27 -0
  297. package/src/components/sonner/index.tsx +37 -0
  298. package/src/components/spinner/config.ts +40 -0
  299. package/src/components/spinner/index.tsx +30 -0
  300. package/src/components/switch/config.ts +1 -1
  301. package/src/components/switch/index.tsx +13 -4
  302. package/src/components/table/config.ts +38 -0
  303. package/src/components/table/index.tsx +135 -0
  304. package/src/components/tabs/config.ts +1 -1
  305. package/src/components/tabs/index.tsx +21 -5
  306. package/src/components/textarea/config.ts +1 -1
  307. package/src/components/textarea/index.tsx +11 -3
  308. package/src/components/toggle/index.tsx +20 -8
  309. package/src/components/toggle-group/config.ts +46 -0
  310. package/src/components/toggle-group/index.tsx +106 -0
  311. package/src/components/tooltip/index.tsx +19 -5
  312. package/src/components/typography/config.ts +38 -0
  313. package/src/components/typography/index.tsx +172 -0
  314. package/src/index.ts +239 -53
  315. package/tsup.config.ts +25 -0
  316. package/dist/chunk-FUWID6MC.js +0 -42
  317. package/dist/chunk-YTUI6MCB.js +0 -52
  318. package/eslint.config.js +0 -4
  319. package/dist/{chunk-VVNIYCKH.js → chunk-3TZXV53R.js} +1 -1
@@ -0,0 +1,42 @@
1
+ // src/components/badge/index.tsx
2
+ import { cn } from "@foundrykit/utils";
3
+ import { Slot } from "@radix-ui/react-slot";
4
+ import { cva } from "class-variance-authority";
5
+ import { jsx } from "react/jsx-runtime";
6
+ var badgeVariants = cva(
7
+ "focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-md border px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] [&>svg]:pointer-events-none [&>svg]:size-3",
8
+ {
9
+ variants: {
10
+ variant: {
11
+ default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90 border-transparent",
12
+ secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90 border-transparent",
13
+ destructive: "bg-destructive [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60 border-transparent text-white",
14
+ outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
15
+ }
16
+ },
17
+ defaultVariants: {
18
+ variant: "default"
19
+ }
20
+ }
21
+ );
22
+ function Badge({
23
+ className,
24
+ variant,
25
+ asChild = false,
26
+ ...props
27
+ }) {
28
+ const Comp = asChild ? Slot : "span";
29
+ return /* @__PURE__ */ jsx(
30
+ Comp,
31
+ {
32
+ "data-slot": "badge",
33
+ className: cn(badgeVariants({ variant }), className),
34
+ ...props
35
+ }
36
+ );
37
+ }
38
+
39
+ export {
40
+ badgeVariants,
41
+ Badge
42
+ };
@@ -0,0 +1,66 @@
1
+ // src/components/accordion/index.tsx
2
+ import { cn } from "@foundrykit/utils";
3
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
4
+ import { ChevronDownIcon } from "lucide-react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ function Accordion({
7
+ ...props
8
+ }) {
9
+ return /* @__PURE__ */ jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
10
+ }
11
+ function AccordionItem({
12
+ className,
13
+ ...props
14
+ }) {
15
+ return /* @__PURE__ */ jsx(
16
+ AccordionPrimitive.Item,
17
+ {
18
+ "data-slot": "accordion-item",
19
+ className: cn("border-b last:border-b-0", className),
20
+ ...props
21
+ }
22
+ );
23
+ }
24
+ function AccordionTrigger({
25
+ className,
26
+ children,
27
+ ...props
28
+ }) {
29
+ return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
30
+ AccordionPrimitive.Trigger,
31
+ {
32
+ "data-slot": "accordion-trigger",
33
+ className: cn(
34
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
35
+ className
36
+ ),
37
+ ...props,
38
+ children: [
39
+ children,
40
+ /* @__PURE__ */ jsx(ChevronDownIcon, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
41
+ ]
42
+ }
43
+ ) });
44
+ }
45
+ function AccordionContent({
46
+ className,
47
+ children,
48
+ ...props
49
+ }) {
50
+ return /* @__PURE__ */ jsx(
51
+ AccordionPrimitive.Content,
52
+ {
53
+ "data-slot": "accordion-content",
54
+ className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
55
+ ...props,
56
+ children: /* @__PURE__ */ jsx("div", { className: cn("pt-0 pb-4", className), children })
57
+ }
58
+ );
59
+ }
60
+
61
+ export {
62
+ Accordion,
63
+ AccordionItem,
64
+ AccordionTrigger,
65
+ AccordionContent
66
+ };
@@ -0,0 +1,172 @@
1
+ // src/components/navigation-menu/index.tsx
2
+ import { cn } from "@foundrykit/utils";
3
+ import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
4
+ import { cva } from "class-variance-authority";
5
+ import { ChevronDownIcon } from "lucide-react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ function NavigationMenu({
8
+ className,
9
+ children,
10
+ viewport = true,
11
+ ...props
12
+ }) {
13
+ return /* @__PURE__ */ jsxs(
14
+ NavigationMenuPrimitive.Root,
15
+ {
16
+ "data-slot": "navigation-menu",
17
+ "data-viewport": viewport,
18
+ className: cn(
19
+ "group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
20
+ className
21
+ ),
22
+ ...props,
23
+ children: [
24
+ children,
25
+ viewport && /* @__PURE__ */ jsx(NavigationMenuViewport, {})
26
+ ]
27
+ }
28
+ );
29
+ }
30
+ function NavigationMenuList({
31
+ className,
32
+ ...props
33
+ }) {
34
+ return /* @__PURE__ */ jsx(
35
+ NavigationMenuPrimitive.List,
36
+ {
37
+ "data-slot": "navigation-menu-list",
38
+ className: cn(
39
+ "group flex flex-1 list-none items-center justify-center gap-1",
40
+ className
41
+ ),
42
+ ...props
43
+ }
44
+ );
45
+ }
46
+ function NavigationMenuItem({
47
+ className,
48
+ ...props
49
+ }) {
50
+ return /* @__PURE__ */ jsx(
51
+ NavigationMenuPrimitive.Item,
52
+ {
53
+ "data-slot": "navigation-menu-item",
54
+ className: cn("relative", className),
55
+ ...props
56
+ }
57
+ );
58
+ }
59
+ var navigationMenuTriggerStyle = cva(
60
+ "group bg-background hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 inline-flex h-9 w-max items-center justify-center rounded-md px-4 py-2 text-sm font-medium transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50"
61
+ );
62
+ function NavigationMenuTrigger({
63
+ className,
64
+ children,
65
+ ...props
66
+ }) {
67
+ return /* @__PURE__ */ jsxs(
68
+ NavigationMenuPrimitive.Trigger,
69
+ {
70
+ "data-slot": "navigation-menu-trigger",
71
+ className: cn(navigationMenuTriggerStyle(), "group", className),
72
+ ...props,
73
+ children: [
74
+ children,
75
+ " ",
76
+ /* @__PURE__ */ jsx(
77
+ ChevronDownIcon,
78
+ {
79
+ className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
80
+ "aria-hidden": "true"
81
+ }
82
+ )
83
+ ]
84
+ }
85
+ );
86
+ }
87
+ function NavigationMenuContent({
88
+ className,
89
+ ...props
90
+ }) {
91
+ return /* @__PURE__ */ jsx(
92
+ NavigationMenuPrimitive.Content,
93
+ {
94
+ "data-slot": "navigation-menu-content",
95
+ className: cn(
96
+ "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto",
97
+ "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
98
+ className
99
+ ),
100
+ ...props
101
+ }
102
+ );
103
+ }
104
+ function NavigationMenuViewport({
105
+ className,
106
+ ...props
107
+ }) {
108
+ return /* @__PURE__ */ jsx(
109
+ "div",
110
+ {
111
+ className: cn(
112
+ "absolute top-full left-0 isolate z-50 flex justify-center"
113
+ ),
114
+ children: /* @__PURE__ */ jsx(
115
+ NavigationMenuPrimitive.Viewport,
116
+ {
117
+ "data-slot": "navigation-menu-viewport",
118
+ className: cn(
119
+ "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",
120
+ className
121
+ ),
122
+ ...props
123
+ }
124
+ )
125
+ }
126
+ );
127
+ }
128
+ function NavigationMenuLink({
129
+ className,
130
+ ...props
131
+ }) {
132
+ return /* @__PURE__ */ jsx(
133
+ NavigationMenuPrimitive.Link,
134
+ {
135
+ "data-slot": "navigation-menu-link",
136
+ className: cn(
137
+ "data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
138
+ className
139
+ ),
140
+ ...props
141
+ }
142
+ );
143
+ }
144
+ function NavigationMenuIndicator({
145
+ className,
146
+ ...props
147
+ }) {
148
+ return /* @__PURE__ */ jsx(
149
+ NavigationMenuPrimitive.Indicator,
150
+ {
151
+ "data-slot": "navigation-menu-indicator",
152
+ className: cn(
153
+ "data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",
154
+ className
155
+ ),
156
+ ...props,
157
+ children: /* @__PURE__ */ jsx("div", { className: "bg-border relative top-[60%] size-2 rotate-45 rounded-tl-sm shadow-md" })
158
+ }
159
+ );
160
+ }
161
+
162
+ export {
163
+ NavigationMenu,
164
+ NavigationMenuList,
165
+ NavigationMenuItem,
166
+ navigationMenuTriggerStyle,
167
+ NavigationMenuTrigger,
168
+ NavigationMenuContent,
169
+ NavigationMenuViewport,
170
+ NavigationMenuLink,
171
+ NavigationMenuIndicator
172
+ };
@@ -1,7 +1,7 @@
1
1
  // src/components/breadcrumb/index.tsx
2
+ import { cn } from "@foundrykit/utils";
2
3
  import { Slot } from "@radix-ui/react-slot";
3
4
  import { ChevronRight, MoreHorizontal } from "lucide-react";
4
- import { cn } from "@foundrykit/utils";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  function Breadcrumb({ ...props }) {
7
7
  return /* @__PURE__ */ jsx("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...props });
@@ -12,7 +12,7 @@ function BreadcrumbList({ className, ...props }) {
12
12
  {
13
13
  "data-slot": "breadcrumb-list",
14
14
  className: cn(
15
- "text-muted-foreground flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2.5",
15
+ "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
16
16
  className
17
17
  ),
18
18
  ...props
@@ -0,0 +1,225 @@
1
+ // src/components/context-menu/index.tsx
2
+ import { cn } from "@foundrykit/utils";
3
+ import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
4
+ import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ function ContextMenu({
7
+ ...props
8
+ }) {
9
+ return /* @__PURE__ */ jsx(ContextMenuPrimitive.Root, { "data-slot": "context-menu", ...props });
10
+ }
11
+ function ContextMenuTrigger({
12
+ ...props
13
+ }) {
14
+ return /* @__PURE__ */ jsx(ContextMenuPrimitive.Trigger, { "data-slot": "context-menu-trigger", ...props });
15
+ }
16
+ function ContextMenuGroup({
17
+ ...props
18
+ }) {
19
+ return /* @__PURE__ */ jsx(ContextMenuPrimitive.Group, { "data-slot": "context-menu-group", ...props });
20
+ }
21
+ function ContextMenuPortal({
22
+ ...props
23
+ }) {
24
+ return /* @__PURE__ */ jsx(ContextMenuPrimitive.Portal, { "data-slot": "context-menu-portal", ...props });
25
+ }
26
+ function ContextMenuSub({
27
+ ...props
28
+ }) {
29
+ return /* @__PURE__ */ jsx(ContextMenuPrimitive.Sub, { "data-slot": "context-menu-sub", ...props });
30
+ }
31
+ function ContextMenuRadioGroup({
32
+ ...props
33
+ }) {
34
+ return /* @__PURE__ */ jsx(
35
+ ContextMenuPrimitive.RadioGroup,
36
+ {
37
+ "data-slot": "context-menu-radio-group",
38
+ ...props
39
+ }
40
+ );
41
+ }
42
+ function ContextMenuSubTrigger({
43
+ className,
44
+ inset,
45
+ children,
46
+ ...props
47
+ }) {
48
+ return /* @__PURE__ */ jsxs(
49
+ ContextMenuPrimitive.SubTrigger,
50
+ {
51
+ "data-slot": "context-menu-sub-trigger",
52
+ "data-inset": inset,
53
+ className: cn(
54
+ "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
55
+ className
56
+ ),
57
+ ...props,
58
+ children: [
59
+ children,
60
+ /* @__PURE__ */ jsx(ChevronRightIcon, { className: "ml-auto size-4" })
61
+ ]
62
+ }
63
+ );
64
+ }
65
+ function ContextMenuSubContent({
66
+ className,
67
+ ...props
68
+ }) {
69
+ return /* @__PURE__ */ jsx(
70
+ ContextMenuPrimitive.SubContent,
71
+ {
72
+ "data-slot": "context-menu-sub-content",
73
+ className: cn(
74
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
75
+ className
76
+ ),
77
+ ...props
78
+ }
79
+ );
80
+ }
81
+ function ContextMenuContent({
82
+ className,
83
+ ...props
84
+ }) {
85
+ return /* @__PURE__ */ jsx(ContextMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
86
+ ContextMenuPrimitive.Content,
87
+ {
88
+ "data-slot": "context-menu-content",
89
+ className: cn(
90
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
91
+ className
92
+ ),
93
+ ...props
94
+ }
95
+ ) });
96
+ }
97
+ function ContextMenuItem({
98
+ className,
99
+ inset,
100
+ variant = "default",
101
+ ...props
102
+ }) {
103
+ return /* @__PURE__ */ jsx(
104
+ ContextMenuPrimitive.Item,
105
+ {
106
+ "data-slot": "context-menu-item",
107
+ "data-inset": inset,
108
+ "data-variant": variant,
109
+ className: cn(
110
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
111
+ className
112
+ ),
113
+ ...props
114
+ }
115
+ );
116
+ }
117
+ function ContextMenuCheckboxItem({
118
+ className,
119
+ children,
120
+ checked,
121
+ ...props
122
+ }) {
123
+ return /* @__PURE__ */ jsxs(
124
+ ContextMenuPrimitive.CheckboxItem,
125
+ {
126
+ "data-slot": "context-menu-checkbox-item",
127
+ className: cn(
128
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
129
+ className
130
+ ),
131
+ checked,
132
+ ...props,
133
+ children: [
134
+ /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) }) }),
135
+ children
136
+ ]
137
+ }
138
+ );
139
+ }
140
+ function ContextMenuRadioItem({
141
+ className,
142
+ children,
143
+ ...props
144
+ }) {
145
+ return /* @__PURE__ */ jsxs(
146
+ ContextMenuPrimitive.RadioItem,
147
+ {
148
+ "data-slot": "context-menu-radio-item",
149
+ className: cn(
150
+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
151
+ className
152
+ ),
153
+ ...props,
154
+ children: [
155
+ /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(ContextMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: "size-2 fill-current" }) }) }),
156
+ children
157
+ ]
158
+ }
159
+ );
160
+ }
161
+ function ContextMenuLabel({
162
+ className,
163
+ inset,
164
+ ...props
165
+ }) {
166
+ return /* @__PURE__ */ jsx(
167
+ ContextMenuPrimitive.Label,
168
+ {
169
+ "data-slot": "context-menu-label",
170
+ "data-inset": inset,
171
+ className: cn(
172
+ "text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
173
+ className
174
+ ),
175
+ ...props
176
+ }
177
+ );
178
+ }
179
+ function ContextMenuSeparator({
180
+ className,
181
+ ...props
182
+ }) {
183
+ return /* @__PURE__ */ jsx(
184
+ ContextMenuPrimitive.Separator,
185
+ {
186
+ "data-slot": "context-menu-separator",
187
+ className: cn("bg-border -mx-1 my-1 h-px", className),
188
+ ...props
189
+ }
190
+ );
191
+ }
192
+ function ContextMenuShortcut({
193
+ className,
194
+ ...props
195
+ }) {
196
+ return /* @__PURE__ */ jsx(
197
+ "span",
198
+ {
199
+ "data-slot": "context-menu-shortcut",
200
+ className: cn(
201
+ "text-muted-foreground ml-auto text-xs tracking-widest",
202
+ className
203
+ ),
204
+ ...props
205
+ }
206
+ );
207
+ }
208
+
209
+ export {
210
+ ContextMenu,
211
+ ContextMenuTrigger,
212
+ ContextMenuGroup,
213
+ ContextMenuPortal,
214
+ ContextMenuSub,
215
+ ContextMenuRadioGroup,
216
+ ContextMenuSubTrigger,
217
+ ContextMenuSubContent,
218
+ ContextMenuContent,
219
+ ContextMenuItem,
220
+ ContextMenuCheckboxItem,
221
+ ContextMenuRadioItem,
222
+ ContextMenuLabel,
223
+ ContextMenuSeparator,
224
+ ContextMenuShortcut
225
+ };
@@ -1,7 +1,7 @@
1
1
  // src/components/checkbox/index.tsx
2
+ import { cn } from "@foundrykit/utils";
2
3
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
4
  import { CheckIcon } from "lucide-react";
4
- import { cn } from "@foundrykit/utils";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  function Checkbox({
7
7
  className,
@@ -12,7 +12,7 @@ function Checkbox({
12
12
  {
13
13
  "data-slot": "checkbox",
14
14
  className: cn(
15
- "border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive shadow-xs peer size-4 shrink-0 rounded-[4px] border outline-none transition-shadow focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
15
+ "border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive peer size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
16
16
  className
17
17
  ),
18
18
  ...props,
@@ -0,0 +1,105 @@
1
+ // src/components/empty/index.tsx
2
+ import { cn } from "@foundrykit/utils";
3
+ import { cva } from "class-variance-authority";
4
+ import { jsx } from "react/jsx-runtime";
5
+ function Empty({ className, ...props }) {
6
+ return /* @__PURE__ */ jsx(
7
+ "div",
8
+ {
9
+ "data-slot": "empty",
10
+ className: cn(
11
+ "flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12",
12
+ className
13
+ ),
14
+ ...props
15
+ }
16
+ );
17
+ }
18
+ function EmptyHeader({ className, ...props }) {
19
+ return /* @__PURE__ */ jsx(
20
+ "div",
21
+ {
22
+ "data-slot": "empty-header",
23
+ className: cn(
24
+ "flex max-w-sm flex-col items-center gap-2 text-center",
25
+ className
26
+ ),
27
+ ...props
28
+ }
29
+ );
30
+ }
31
+ var emptyMediaVariants = cva(
32
+ "mb-2 flex shrink-0 items-center justify-center [&_svg:not([class*=size-])]:size-6",
33
+ {
34
+ variants: {
35
+ variant: {
36
+ default: "bg-transparent",
37
+ icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*=size-])]:size-6"
38
+ }
39
+ },
40
+ defaultVariants: {
41
+ variant: "default"
42
+ }
43
+ }
44
+ );
45
+ function EmptyMedia({
46
+ className,
47
+ variant,
48
+ ...props
49
+ }) {
50
+ return /* @__PURE__ */ jsx(
51
+ "div",
52
+ {
53
+ "data-slot": "empty-media",
54
+ "data-variant": variant,
55
+ className: cn(emptyMediaVariants({ variant }), className),
56
+ ...props
57
+ }
58
+ );
59
+ }
60
+ function EmptyTitle({ className, ...props }) {
61
+ return /* @__PURE__ */ jsx(
62
+ "div",
63
+ {
64
+ "data-slot": "empty-title",
65
+ className: cn("text-lg font-medium tracking-tight", className),
66
+ ...props
67
+ }
68
+ );
69
+ }
70
+ function EmptyDescription({ className, ...props }) {
71
+ return /* @__PURE__ */ jsx(
72
+ "p",
73
+ {
74
+ "data-slot": "empty-description",
75
+ className: cn(
76
+ "text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4",
77
+ className
78
+ ),
79
+ ...props
80
+ }
81
+ );
82
+ }
83
+ function EmptyContent({ className, ...props }) {
84
+ return /* @__PURE__ */ jsx(
85
+ "div",
86
+ {
87
+ "data-slot": "empty-content",
88
+ className: cn(
89
+ "flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance",
90
+ className
91
+ ),
92
+ ...props
93
+ }
94
+ );
95
+ }
96
+
97
+ export {
98
+ Empty,
99
+ EmptyHeader,
100
+ emptyMediaVariants,
101
+ EmptyMedia,
102
+ EmptyTitle,
103
+ EmptyDescription,
104
+ EmptyContent
105
+ };