@enya-learning/nova 0.5.0 → 0.7.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 (138) hide show
  1. package/README.md +8 -10
  2. package/dist/chunks/dist-fahbq1psobj0ox6s.js.map +1 -1
  3. package/dist/chunks/dist-i6l6wqicjhnap81o.js +37 -0
  4. package/dist/chunks/{dist-o8x0ip0z71xkr2oh.js.map → dist-i6l6wqicjhnap81o.js.map} +1 -1
  5. package/dist/chunks/utils-chr77evsz8gs6wle.js +10 -0
  6. package/dist/chunks/{utils-kyb5nny4y41y7hd8.js.map → utils-chr77evsz8gs6wle.js.map} +1 -1
  7. package/dist/chunks/{vendor-styling-eeiy57tyznmxsfky.js → vendor-styling-bq164a52kub0yzw7.js} +84 -81
  8. package/dist/chunks/{vendor-styling-eeiy57tyznmxsfky.js.map → vendor-styling-bq164a52kub0yzw7.js.map} +1 -1
  9. package/dist/chunks/{vendor-utils-egkaeebaqpft6cxj.js → vendor-utils-dzqqqwem43r86lbz.js} +48 -48
  10. package/dist/chunks/{vendor-utils-egkaeebaqpft6cxj.js.map → vendor-utils-dzqqqwem43r86lbz.js.map} +1 -1
  11. package/dist/components/accordion.js +24 -21
  12. package/dist/components/accordion.js.map +1 -1
  13. package/dist/components/alert-dialog.js +3 -3
  14. package/dist/components/alert-dialog.js.map +1 -1
  15. package/dist/components/alert.js +2 -2
  16. package/dist/components/aspect-ratio.js +1 -1
  17. package/dist/components/avatar.js +24 -24
  18. package/dist/components/avatar.js.map +1 -1
  19. package/dist/components/badge.js +13 -13
  20. package/dist/components/badge.js.map +1 -1
  21. package/dist/components/box.js +16 -0
  22. package/dist/components/box.js.map +1 -0
  23. package/dist/components/breadcrumb.js +29 -25
  24. package/dist/components/breadcrumb.js.map +1 -1
  25. package/dist/components/button-group.js +4 -4
  26. package/dist/components/button-group.js.map +1 -1
  27. package/dist/components/button.js +12 -12
  28. package/dist/components/button.js.map +1 -1
  29. package/dist/components/calendar.js +540 -535
  30. package/dist/components/calendar.js.map +1 -1
  31. package/dist/components/card.js +1 -1
  32. package/dist/components/carousel.js +93 -85
  33. package/dist/components/carousel.js.map +1 -1
  34. package/dist/components/chart.js +1462 -1457
  35. package/dist/components/chart.js.map +1 -1
  36. package/dist/components/checkbox.js +7 -6
  37. package/dist/components/checkbox.js.map +1 -1
  38. package/dist/components/combobox.js +67 -54
  39. package/dist/components/combobox.js.map +1 -1
  40. package/dist/components/command.js +104 -97
  41. package/dist/components/command.js.map +1 -1
  42. package/dist/components/context-menu.js +41 -37
  43. package/dist/components/context-menu.js.map +1 -1
  44. package/dist/components/dialog.js +26 -25
  45. package/dist/components/dialog.js.map +1 -1
  46. package/dist/components/drawer.js +3 -3
  47. package/dist/components/drawer.js.map +1 -1
  48. package/dist/components/dropdown-menu.js +40 -36
  49. package/dist/components/dropdown-menu.js.map +1 -1
  50. package/dist/components/empty.js +3 -3
  51. package/dist/components/empty.js.map +1 -1
  52. package/dist/components/enya-logo.js +88 -78
  53. package/dist/components/enya-logo.js.map +1 -1
  54. package/dist/components/field.js +3 -3
  55. package/dist/components/field.js.map +1 -1
  56. package/dist/components/heading.js +39 -0
  57. package/dist/components/heading.js.map +1 -0
  58. package/dist/components/hover-card.js +1 -1
  59. package/dist/components/hover-card.js.map +1 -1
  60. package/dist/components/input-group.js +15 -15
  61. package/dist/components/input-group.js.map +1 -1
  62. package/dist/components/input-otp.js +81 -79
  63. package/dist/components/input-otp.js.map +1 -1
  64. package/dist/components/input.js +2 -2
  65. package/dist/components/input.js.map +1 -1
  66. package/dist/components/item.js +36 -36
  67. package/dist/components/item.js.map +1 -1
  68. package/dist/components/kbd.js +7 -7
  69. package/dist/components/kbd.js.map +1 -1
  70. package/dist/components/label.js +1 -1
  71. package/dist/components/menubar.js +53 -52
  72. package/dist/components/menubar.js.map +1 -1
  73. package/dist/components/native-select.js +21 -19
  74. package/dist/components/native-select.js.map +1 -1
  75. package/dist/components/navigation-menu.js +23 -21
  76. package/dist/components/navigation-menu.js.map +1 -1
  77. package/dist/components/pagination.js +33 -30
  78. package/dist/components/pagination.js.map +1 -1
  79. package/dist/components/popover.js +1 -1
  80. package/dist/components/popover.js.map +1 -1
  81. package/dist/components/progress.js +5 -5
  82. package/dist/components/progress.js.map +1 -1
  83. package/dist/components/radio-group.js +14 -14
  84. package/dist/components/radio-group.js.map +1 -1
  85. package/dist/components/resizable.js +120 -117
  86. package/dist/components/resizable.js.map +1 -1
  87. package/dist/components/scroll-area.js +1 -1
  88. package/dist/components/scroll-area.js.map +1 -1
  89. package/dist/components/select.js +65 -58
  90. package/dist/components/select.js.map +1 -1
  91. package/dist/components/separator.js +1 -1
  92. package/dist/components/sheet.js +23 -22
  93. package/dist/components/sheet.js.map +1 -1
  94. package/dist/components/sidebar.js +84 -80
  95. package/dist/components/sidebar.js.map +1 -1
  96. package/dist/components/skeleton.js +2 -2
  97. package/dist/components/skeleton.js.map +1 -1
  98. package/dist/components/slider.js +8 -8
  99. package/dist/components/slider.js.map +1 -1
  100. package/dist/components/sonner.js +229 -215
  101. package/dist/components/sonner.js.map +1 -1
  102. package/dist/components/spinner.js +10 -8
  103. package/dist/components/spinner.js.map +1 -1
  104. package/dist/components/switch.js +6 -6
  105. package/dist/components/switch.js.map +1 -1
  106. package/dist/components/table.js +15 -15
  107. package/dist/components/table.js.map +1 -1
  108. package/dist/components/tabs.js +16 -16
  109. package/dist/components/tabs.js.map +1 -1
  110. package/dist/components/text.js +47 -0
  111. package/dist/components/text.js.map +1 -0
  112. package/dist/components/textarea.js +5 -5
  113. package/dist/components/textarea.js.map +1 -1
  114. package/dist/components/toggle-group.js +2 -2
  115. package/dist/components/toggle-group.js.map +1 -1
  116. package/dist/components/toggle.js +8 -8
  117. package/dist/components/toggle.js.map +1 -1
  118. package/dist/components/tooltip.js +6 -6
  119. package/dist/components/tooltip.js.map +1 -1
  120. package/dist/index.js +31 -16
  121. package/dist/src/components/box/box.d.ts +7 -0
  122. package/dist/src/components/box/index.d.ts +1 -0
  123. package/dist/src/components/heading/heading.d.ts +15 -0
  124. package/dist/src/components/heading/index.d.ts +1 -0
  125. package/dist/src/components/spinner/spinner.d.ts +2 -1
  126. package/dist/src/components/text/index.d.ts +1 -0
  127. package/dist/src/components/text/text.d.ts +13 -0
  128. package/dist/src/index.d.ts +4 -0
  129. package/dist/styles/nova-binding.css +264 -266
  130. package/dist/styles/nova.css +158 -49
  131. package/dist/styles/typography.css +3 -123
  132. package/dist/utils.js +1 -1
  133. package/package.json +29 -12
  134. package/src/eslint/no-primitive-colors.js +2 -2
  135. package/src/eslint/no-primitive-colors.test.ts +1 -1
  136. package/dist/chunks/dist-o8x0ip0z71xkr2oh.js +0 -37
  137. package/dist/chunks/utils-kyb5nny4y41y7hd8.js +0 -10
  138. package/dist/styles/theme-nova.css +0 -197
@@ -1,28 +1,29 @@
1
1
  "use client";
2
- import { t as d } from "../chunks/utils-kyb5nny4y41y7hd8.js";
2
+ import { t as d } from "../chunks/utils-chr77evsz8gs6wle.js";
3
3
  import { jsx as t, jsxs as u } from "react/jsx-runtime";
4
- import { CheckIcon as c, ChevronRightIcon as l } from "lucide-react";
4
+ import { HugeiconsIcon as c } from "@hugeicons/react";
5
+ import { CheckIcon as l, ChevronRightIcon as p } from "@hugeicons/core-free-icons";
5
6
  import "react";
6
7
  import { Menu as n } from "@base-ui/react/menu";
7
- function w({ ...e }) {
8
+ function h({ ...e }) {
8
9
  return /* @__PURE__ */ t(n.Root, {
9
10
  "data-slot": "dropdown-menu",
10
11
  ...e
11
12
  });
12
13
  }
13
- function b({ ...e }) {
14
+ function M({ ...e }) {
14
15
  return /* @__PURE__ */ t(n.Portal, {
15
16
  "data-slot": "dropdown-menu-portal",
16
17
  ...e
17
18
  });
18
19
  }
19
- function h({ ...e }) {
20
+ function D({ ...e }) {
20
21
  return /* @__PURE__ */ t(n.Trigger, {
21
22
  "data-slot": "dropdown-menu-trigger",
22
23
  ...e
23
24
  });
24
25
  }
25
- function p({ align: e = "start", alignOffset: o = 0, side: a = "bottom", sideOffset: r = 4, className: i, ...s }) {
26
+ function m({ align: e = "start", alignOffset: o = 0, side: a = "bottom", sideOffset: r = 4, className: i, ...s }) {
26
27
  return /* @__PURE__ */ t(n.Portal, { children: /* @__PURE__ */ t(n.Positioner, {
27
28
  className: "isolate z-50 outline-none",
28
29
  align: e,
@@ -36,13 +37,13 @@ function p({ align: e = "start", alignOffset: o = 0, side: a = "bottom", sideOff
36
37
  })
37
38
  }) });
38
39
  }
39
- function M({ ...e }) {
40
+ function z({ ...e }) {
40
41
  return /* @__PURE__ */ t(n.Group, {
41
42
  "data-slot": "dropdown-menu-group",
42
43
  ...e
43
44
  });
44
45
  }
45
- function D({ className: e, inset: o, ...a }) {
46
+ function k({ className: e, inset: o, ...a }) {
46
47
  return /* @__PURE__ */ t(n.GroupLabel, {
47
48
  "data-slot": "dropdown-menu-label",
48
49
  "data-inset": o,
@@ -50,7 +51,7 @@ function D({ className: e, inset: o, ...a }) {
50
51
  ...a
51
52
  });
52
53
  }
53
- function z({ className: e, inset: o, variant: a = "default", ...r }) {
54
+ function I({ className: e, inset: o, variant: a = "default", ...r }) {
54
55
  return /* @__PURE__ */ t(n.Item, {
55
56
  "data-slot": "dropdown-menu-item",
56
57
  "data-inset": o,
@@ -59,23 +60,26 @@ function z({ className: e, inset: o, variant: a = "default", ...r }) {
59
60
  ...r
60
61
  });
61
62
  }
62
- function k({ ...e }) {
63
+ function N({ ...e }) {
63
64
  return /* @__PURE__ */ t(n.SubmenuRoot, {
64
65
  "data-slot": "dropdown-menu-sub",
65
66
  ...e
66
67
  });
67
68
  }
68
- function N({ className: e, inset: o, children: a, ...r }) {
69
+ function y({ className: e, inset: o, children: a, ...r }) {
69
70
  return /* @__PURE__ */ u(n.SubmenuTrigger, {
70
71
  "data-slot": "dropdown-menu-sub-trigger",
71
72
  "data-inset": o,
72
73
  className: d("flex cursor-default items-center gap-2 rounded-xl px-3 py-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-9.5 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", e),
73
74
  ...r,
74
- children: [a, /* @__PURE__ */ t(l, { className: "ms-auto rtl:rotate-180" })]
75
+ children: [a, /* @__PURE__ */ t(c, {
76
+ icon: p,
77
+ className: "ms-auto rtl:rotate-180"
78
+ })]
75
79
  });
76
80
  }
77
- function y({ align: e = "start", alignOffset: o = -3, side: a = "inline-end", sideOffset: r = 0, className: i, ...s }) {
78
- return /* @__PURE__ */ t(p, {
81
+ function _({ align: e = "start", alignOffset: o = -3, side: a = "inline-end", sideOffset: r = 0, className: i, ...s }) {
82
+ return /* @__PURE__ */ t(m, {
79
83
  "data-slot": "dropdown-menu-sub-content",
80
84
  className: d("w-auto min-w-36 rounded-2xl bg-popover p-1 text-popover-foreground shadow-2xl ring-1 ring-foreground/5 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", i),
81
85
  align: e,
@@ -85,7 +89,7 @@ function y({ align: e = "start", alignOffset: o = -3, side: a = "inline-end", si
85
89
  ...s
86
90
  });
87
91
  }
88
- function I({ className: e, children: o, checked: a, inset: r, ...i }) {
92
+ function R({ className: e, children: o, checked: a, inset: r, ...i }) {
89
93
  return /* @__PURE__ */ u(n.CheckboxItem, {
90
94
  "data-slot": "dropdown-menu-checkbox-item",
91
95
  "data-inset": r,
@@ -95,17 +99,17 @@ function I({ className: e, children: o, checked: a, inset: r, ...i }) {
95
99
  children: [/* @__PURE__ */ t("span", {
96
100
  className: "pointer-events-none absolute end-2 flex items-center justify-center",
97
101
  "data-slot": "dropdown-menu-checkbox-item-indicator",
98
- children: /* @__PURE__ */ t(n.CheckboxItemIndicator, { children: /* @__PURE__ */ t(c, {}) })
102
+ children: /* @__PURE__ */ t(n.CheckboxItemIndicator, { children: /* @__PURE__ */ t(c, { icon: l }) })
99
103
  }), o]
100
104
  });
101
105
  }
102
- function _({ ...e }) {
106
+ function S({ ...e }) {
103
107
  return /* @__PURE__ */ t(n.RadioGroup, {
104
108
  "data-slot": "dropdown-menu-radio-group",
105
109
  ...e
106
110
  });
107
111
  }
108
- function R({ className: e, children: o, inset: a, ...r }) {
112
+ function C({ className: e, children: o, inset: a, ...r }) {
109
113
  return /* @__PURE__ */ u(n.RadioItem, {
110
114
  "data-slot": "dropdown-menu-radio-item",
111
115
  "data-inset": a,
@@ -114,18 +118,18 @@ function R({ className: e, children: o, inset: a, ...r }) {
114
118
  children: [/* @__PURE__ */ t("span", {
115
119
  className: "pointer-events-none absolute end-2 flex items-center justify-center",
116
120
  "data-slot": "dropdown-menu-radio-item-indicator",
117
- children: /* @__PURE__ */ t(n.RadioItemIndicator, { children: /* @__PURE__ */ t(c, {}) })
121
+ children: /* @__PURE__ */ t(n.RadioItemIndicator, { children: /* @__PURE__ */ t(c, { icon: l }) })
118
122
  }), o]
119
123
  });
120
124
  }
121
- function S({ className: e, ...o }) {
125
+ function G({ className: e, ...o }) {
122
126
  return /* @__PURE__ */ t(n.Separator, {
123
127
  "data-slot": "dropdown-menu-separator",
124
128
  className: d("-mx-1 my-1 h-px bg-border/50", e),
125
129
  ...o
126
130
  });
127
131
  }
128
- function C({ className: e, ...o }) {
132
+ function P({ className: e, ...o }) {
129
133
  return /* @__PURE__ */ t("span", {
130
134
  "data-slot": "dropdown-menu-shortcut",
131
135
  className: d("ms-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground", e),
@@ -133,21 +137,21 @@ function C({ className: e, ...o }) {
133
137
  });
134
138
  }
135
139
  export {
136
- w as DropdownMenu,
137
- I as DropdownMenuCheckboxItem,
138
- p as DropdownMenuContent,
139
- M as DropdownMenuGroup,
140
- z as DropdownMenuItem,
141
- D as DropdownMenuLabel,
142
- b as DropdownMenuPortal,
143
- _ as DropdownMenuRadioGroup,
144
- R as DropdownMenuRadioItem,
145
- S as DropdownMenuSeparator,
146
- C as DropdownMenuShortcut,
147
- k as DropdownMenuSub,
148
- y as DropdownMenuSubContent,
149
- N as DropdownMenuSubTrigger,
150
- h as DropdownMenuTrigger
140
+ h as DropdownMenu,
141
+ R as DropdownMenuCheckboxItem,
142
+ m as DropdownMenuContent,
143
+ z as DropdownMenuGroup,
144
+ I as DropdownMenuItem,
145
+ k as DropdownMenuLabel,
146
+ M as DropdownMenuPortal,
147
+ S as DropdownMenuRadioGroup,
148
+ C as DropdownMenuRadioItem,
149
+ G as DropdownMenuSeparator,
150
+ P as DropdownMenuShortcut,
151
+ N as DropdownMenuSub,
152
+ _ as DropdownMenuSubContent,
153
+ y as DropdownMenuSubTrigger,
154
+ D as DropdownMenuTrigger
151
155
  };
152
156
 
153
157
  //# sourceMappingURL=dropdown-menu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.js","names":[],"sources":["../../src/components/dropdown-menu/dropdown-menu.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Menu as MenuPrimitive } from \"@base-ui/react/menu\"\n\nimport { cn } from \"../../lib/utils\"\nimport { ChevronRightIcon, CheckIcon } from \"lucide-react\"\n\nfunction DropdownMenu({ ...props }: MenuPrimitive.Root.Props) {\n return <MenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />\n}\n\nfunction DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props) {\n return <MenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />\n}\n\nfunction DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props) {\n return <MenuPrimitive.Trigger data-slot=\"dropdown-menu-trigger\" {...props} />\n}\n\nfunction DropdownMenuContent({\n align = \"start\",\n alignOffset = 0,\n side = \"bottom\",\n sideOffset = 4,\n className,\n ...props\n}: MenuPrimitive.Popup.Props &\n Pick<\n MenuPrimitive.Positioner.Props,\n \"align\" | \"alignOffset\" | \"side\" | \"sideOffset\"\n >) {\n return (\n <MenuPrimitive.Portal>\n <MenuPrimitive.Positioner\n className=\"isolate z-50 outline-none\"\n align={align}\n alignOffset={alignOffset}\n side={side}\n sideOffset={sideOffset}\n >\n <MenuPrimitive.Popup\n data-slot=\"dropdown-menu-content\"\n className={cn(\n \"z-50 max-h-(--available-height) w-(--anchor-width) min-w-48 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-2xl bg-popover p-1 text-popover-foreground shadow-2xl ring-1 ring-foreground/5 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-start-2 data-[side=inline-start]:slide-in-from-end-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 dark:ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n {...props}\n />\n </MenuPrimitive.Positioner>\n </MenuPrimitive.Portal>\n )\n}\n\nfunction DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props) {\n return <MenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />\n}\n\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: MenuPrimitive.GroupLabel.Props & {\n inset?: boolean\n}) {\n return (\n <MenuPrimitive.GroupLabel\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn(\n \"px-3 py-2.5 text-xs text-muted-foreground data-inset:ps-9.5\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DropdownMenuItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: MenuPrimitive.Item.Props & {\n inset?: boolean\n variant?: \"default\" | \"destructive\"\n}) {\n return (\n <MenuPrimitive.Item\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"group/dropdown-menu-item relative flex cursor-default items-center gap-2.5 rounded-xl px-3 py-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-9.5 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props) {\n return <MenuPrimitive.SubmenuRoot data-slot=\"dropdown-menu-sub\" {...props} />\n}\n\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: MenuPrimitive.SubmenuTrigger.Props & {\n inset?: boolean\n}) {\n return (\n <MenuPrimitive.SubmenuTrigger\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"flex cursor-default items-center gap-2 rounded-xl px-3 py-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-9.5 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ms-auto rtl:rotate-180\" />\n </MenuPrimitive.SubmenuTrigger>\n )\n}\n\nfunction DropdownMenuSubContent({\n align = \"start\",\n alignOffset = -3,\n side = \"inline-end\",\n sideOffset = 0,\n className,\n ...props\n}: React.ComponentProps<typeof DropdownMenuContent>) {\n return (\n <DropdownMenuContent\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n \"w-auto min-w-36 rounded-2xl bg-popover p-1 text-popover-foreground shadow-2xl ring-1 ring-foreground/5 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n align={align}\n alignOffset={alignOffset}\n side={side}\n sideOffset={sideOffset}\n {...props}\n />\n )\n}\n\nfunction DropdownMenuCheckboxItem({\n className,\n children,\n checked,\n inset,\n ...props\n}: MenuPrimitive.CheckboxItem.Props & {\n inset?: boolean\n}) {\n return (\n <MenuPrimitive.CheckboxItem\n data-slot=\"dropdown-menu-checkbox-item\"\n data-inset={inset}\n className={cn(\n \"relative flex cursor-default items-center gap-2.5 rounded-xl py-2 ps-3 pe-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-9.5 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n checked={checked}\n {...props}\n >\n <span\n className=\"pointer-events-none absolute end-2 flex items-center justify-center\"\n data-slot=\"dropdown-menu-checkbox-item-indicator\"\n >\n <MenuPrimitive.CheckboxItemIndicator>\n <CheckIcon />\n </MenuPrimitive.CheckboxItemIndicator>\n </span>\n {children}\n </MenuPrimitive.CheckboxItem>\n )\n}\n\nfunction DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props) {\n return (\n <MenuPrimitive.RadioGroup\n data-slot=\"dropdown-menu-radio-group\"\n {...props}\n />\n )\n}\n\nfunction DropdownMenuRadioItem({\n className,\n children,\n inset,\n ...props\n}: MenuPrimitive.RadioItem.Props & {\n inset?: boolean\n}) {\n return (\n <MenuPrimitive.RadioItem\n data-slot=\"dropdown-menu-radio-item\"\n data-inset={inset}\n className={cn(\n \"relative flex cursor-default items-center gap-2.5 rounded-xl py-2 ps-3 pe-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-9.5 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n <span\n className=\"pointer-events-none absolute end-2 flex items-center justify-center\"\n data-slot=\"dropdown-menu-radio-item-indicator\"\n >\n <MenuPrimitive.RadioItemIndicator>\n <CheckIcon />\n </MenuPrimitive.RadioItemIndicator>\n </span>\n {children}\n </MenuPrimitive.RadioItem>\n )\n}\n\nfunction DropdownMenuSeparator({\n className,\n ...props\n}: MenuPrimitive.Separator.Props) {\n return (\n <MenuPrimitive.Separator\n data-slot=\"dropdown-menu-separator\"\n className={cn(\"-mx-1 my-1 h-px bg-border/50\", className)}\n {...props}\n />\n )\n}\n\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"dropdown-menu-shortcut\"\n className={cn(\n \"ms-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n}\n"],"mappings":";;;;;;AAMA,SAAS,EAAa,EAAE,GAAG,EAAA,GAAmC;AAC5D,SAAO,gBAAA,EAAC,EAAc,MAAf;AAAA,IAAoB,aAAU;AAAA,IAAgB,GAAI;AAAA,EAAQ,CAAA;AACnE;AAEA,SAAS,EAAmB,EAAE,GAAG,EAAA,GAAqC;AACpE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AuB,EAAE,GAAG,EAAA,GAAyC;AAC5E,SACE,gBAAA,EAAC,EAAc,YAAf;AAAA,IACE,aAAU;AAAA,IACV,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAsB,EAC7B,WAAA,GACA,UAAA,GACA,OAAA,GACA,GAAG,EAAA,GAGF;AACD,SACE,gBAAA,EAAC,EAAc,WAAf;AAAA,IACE,aAAU;AAAA,IACV,cAAY;AAAA,IACZ,WAAW,EACT,8VACA,CACF;AAAA,IACA,GAAI;AAAA,cAPN,CASE,gBAAA,EAAC,QAAD;AAAA,MACE,WAAU;AAAA,MACV,aAAU;AAAA,gBAEV,gBAAA,EAAC,EAAc,oBAAf,EAAA,UACE,gBAAA,EAAC,GAAD,CAAY,CAAA,EACoB,CAAA;AAAA,IAC9B,CAAA,GACL,CACsB;AAAA;AAE7B;AAEA,SAAS,EAAsB,EAC7B,WAAA,GACA,GAAG,EAAA,GAC6B;AAChC,SACE,gBAAA,EAAC,EAAc,WAAf;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EAAG,gCAAgC,CAAS;AAAA,IACvD,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAqB,EAC5B,WAAA,GACA,GAAG,EAAA,GAC4B;AAC/B,SACE,gBAAA,EAAC,QAAD;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EACT,+GACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL"}
1
+ {"version":3,"file":"dropdown-menu.js","names":[],"sources":["../../src/components/dropdown-menu/dropdown-menu.tsx"],"sourcesContent":["import * as React from \"react\"\nimport { Menu as MenuPrimitive } from \"@base-ui/react/menu\"\n\nimport { cn } from \"../../lib/utils\"\nimport { HugeiconsIcon } from \"@hugeicons/react\"\nimport { ChevronRightIcon, CheckIcon } from \"@hugeicons/core-free-icons\"\n\nfunction DropdownMenu({ ...props }: MenuPrimitive.Root.Props) {\n return <MenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />\n}\n\nfunction DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props) {\n return <MenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />\n}\n\nfunction DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props) {\n return <MenuPrimitive.Trigger data-slot=\"dropdown-menu-trigger\" {...props} />\n}\n\nfunction DropdownMenuContent({\n align = \"start\",\n alignOffset = 0,\n side = \"bottom\",\n sideOffset = 4,\n className,\n ...props\n}: MenuPrimitive.Popup.Props &\n Pick<\n MenuPrimitive.Positioner.Props,\n \"align\" | \"alignOffset\" | \"side\" | \"sideOffset\"\n >) {\n return (\n <MenuPrimitive.Portal>\n <MenuPrimitive.Positioner\n className=\"isolate z-50 outline-none\"\n align={align}\n alignOffset={alignOffset}\n side={side}\n sideOffset={sideOffset}\n >\n <MenuPrimitive.Popup\n data-slot=\"dropdown-menu-content\"\n className={cn(\n \"z-50 max-h-(--available-height) w-(--anchor-width) min-w-48 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-2xl bg-popover p-1 text-popover-foreground shadow-2xl ring-1 ring-foreground/5 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-start-2 data-[side=inline-start]:slide-in-from-end-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 dark:ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n {...props}\n />\n </MenuPrimitive.Positioner>\n </MenuPrimitive.Portal>\n )\n}\n\nfunction DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props) {\n return <MenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />\n}\n\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: MenuPrimitive.GroupLabel.Props & {\n inset?: boolean\n}) {\n return (\n <MenuPrimitive.GroupLabel\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn(\n \"px-3 py-2.5 text-xs text-muted-foreground data-inset:ps-9.5\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DropdownMenuItem({\n className,\n inset,\n variant = \"default\",\n ...props\n}: MenuPrimitive.Item.Props & {\n inset?: boolean\n variant?: \"default\" | \"destructive\"\n}) {\n return (\n <MenuPrimitive.Item\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"group/dropdown-menu-item relative flex cursor-default items-center gap-2.5 rounded-xl px-3 py-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-9.5 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props) {\n return <MenuPrimitive.SubmenuRoot data-slot=\"dropdown-menu-sub\" {...props} />\n}\n\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: MenuPrimitive.SubmenuTrigger.Props & {\n inset?: boolean\n}) {\n return (\n <MenuPrimitive.SubmenuTrigger\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"flex cursor-default items-center gap-2 rounded-xl px-3 py-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:ps-9.5 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n {children}\n <HugeiconsIcon\n icon={ChevronRightIcon}\n className=\"ms-auto rtl:rotate-180\"\n />\n </MenuPrimitive.SubmenuTrigger>\n )\n}\n\nfunction DropdownMenuSubContent({\n align = \"start\",\n alignOffset = -3,\n side = \"inline-end\",\n sideOffset = 0,\n className,\n ...props\n}: React.ComponentProps<typeof DropdownMenuContent>) {\n return (\n <DropdownMenuContent\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n \"w-auto min-w-36 rounded-2xl bg-popover p-1 text-popover-foreground shadow-2xl ring-1 ring-foreground/5 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n align={align}\n alignOffset={alignOffset}\n side={side}\n sideOffset={sideOffset}\n {...props}\n />\n )\n}\n\nfunction DropdownMenuCheckboxItem({\n className,\n children,\n checked,\n inset,\n ...props\n}: MenuPrimitive.CheckboxItem.Props & {\n inset?: boolean\n}) {\n return (\n <MenuPrimitive.CheckboxItem\n data-slot=\"dropdown-menu-checkbox-item\"\n data-inset={inset}\n className={cn(\n \"relative flex cursor-default items-center gap-2.5 rounded-xl py-2 ps-3 pe-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-9.5 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n checked={checked}\n {...props}\n >\n <span\n className=\"pointer-events-none absolute end-2 flex items-center justify-center\"\n data-slot=\"dropdown-menu-checkbox-item-indicator\"\n >\n <MenuPrimitive.CheckboxItemIndicator>\n <HugeiconsIcon icon={CheckIcon} />\n </MenuPrimitive.CheckboxItemIndicator>\n </span>\n {children}\n </MenuPrimitive.CheckboxItem>\n )\n}\n\nfunction DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props) {\n return (\n <MenuPrimitive.RadioGroup\n data-slot=\"dropdown-menu-radio-group\"\n {...props}\n />\n )\n}\n\nfunction DropdownMenuRadioItem({\n className,\n children,\n inset,\n ...props\n}: MenuPrimitive.RadioItem.Props & {\n inset?: boolean\n}) {\n return (\n <MenuPrimitive.RadioItem\n data-slot=\"dropdown-menu-radio-item\"\n data-inset={inset}\n className={cn(\n \"relative flex cursor-default items-center gap-2.5 rounded-xl py-2 ps-3 pe-8 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:ps-9.5 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n <span\n className=\"pointer-events-none absolute end-2 flex items-center justify-center\"\n data-slot=\"dropdown-menu-radio-item-indicator\"\n >\n <MenuPrimitive.RadioItemIndicator>\n <HugeiconsIcon icon={CheckIcon} />\n </MenuPrimitive.RadioItemIndicator>\n </span>\n {children}\n </MenuPrimitive.RadioItem>\n )\n}\n\nfunction DropdownMenuSeparator({\n className,\n ...props\n}: MenuPrimitive.Separator.Props) {\n return (\n <MenuPrimitive.Separator\n data-slot=\"dropdown-menu-separator\"\n className={cn(\"-mx-1 my-1 h-px bg-border/50\", className)}\n {...props}\n />\n )\n}\n\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.ComponentProps<\"span\">) {\n return (\n <span\n data-slot=\"dropdown-menu-shortcut\"\n className={cn(\n \"ms-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioG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WAAW,EACT,+GACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL"}
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as i } from "../chunks/dist-o8x0ip0z71xkr2oh.js";
3
- import { t as a } from "../chunks/utils-kyb5nny4y41y7hd8.js";
2
+ import { t as i } from "../chunks/dist-i6l6wqicjhnap81o.js";
3
+ import { t as a } from "../chunks/utils-chr77evsz8gs6wle.js";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
5
  function d({ className: e, ...t }) {
6
6
  return /* @__PURE__ */ n("div", {
@@ -19,7 +19,7 @@ function c({ className: e, ...t }) {
19
19
  var s = i("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
20
20
  variants: { variant: {
21
21
  default: "bg-transparent",
22
- icon: "flex size-10 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-6"
22
+ icon: "flex size-10 shrink-0 items-center justify-center rounded-lg bg-surface-muted text-foreground [&_svg:not([class*='size-'])]:size-6"
23
23
  } },
24
24
  defaultVariants: { variant: "default" }
25
25
  });
@@ -1 +1 @@
1
- {"version":3,"file":"empty.js","names":[],"sources":["../../src/components/empty/empty.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Empty({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty\"\n className={cn(\n \"flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-lg border-dashed p-12 text-center text-balance\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-header\"\n className={cn(\"flex max-w-sm flex-col items-center gap-2\", className)}\n {...props}\n />\n )\n}\n\nconst emptyMediaVariants = cva(\n \"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"flex size-10 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nfunction EmptyMedia({\n className,\n variant = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof emptyMediaVariants>) {\n return (\n <div\n data-slot=\"empty-icon\"\n data-variant={variant}\n className={cn(emptyMediaVariants({ variant, className }))}\n {...props}\n />\n )\n}\n\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-title\"\n className={cn(\n \"font-heading text-lg font-medium tracking-tight\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn(\n \"text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-content\"\n className={cn(\n \"flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n Empty,\n EmptyHeader,\n EmptyTitle,\n EmptyDescription,\n EmptyContent,\n EmptyMedia,\n}\n"],"mappings":";;;;AAIA,SAAS,EAAM,EAAE,WAAA,GAAW,GAAG,EAAA,GAAsC;AACnE,SACE,gBAAA,EAAC,OAAD;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EACT,gIACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAY,EAAE,WAAA,GAAW,GAAG,EAAA,GAAsC;AACzE,SACE,gBAAA,EAAC,OAAD;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EAAG,6CAA6C,CAAS;AAAA,IACpE,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,IAAM,IAAqB,EACzB,+FACA;AAAA,EACE,UAAU,EACR,SAAS;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,EACR,EACF;AAAA,EACA,iBAAiB,EACf,SAAS,UACX;AACF,CACF;AAEA,SAAS,EAAW,EAClB,WAAA,GACA,SAAA,IAAU,WACV,GAAG,EAAA,GACqE;AACxE,SACE,gBAAA,EAAC,OAAD;AAAA,IACE,aAAU;AAAA,IACV,gBAAc;AAAA,IACd,WAAW,EAAG,EAAmB;AAAA,MAAE,SAAA;AAAA,MAAS,WAAA;AAAA,IAAU,CAAC,CAAC;AAAA,IACxD,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAW,EAAE,WAAA,GAAW,GAAG,EAAA,GAAsC;AACxE,SACE,gBAAA,EAAC,OAAD;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EACT,mDACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAiB,EAAE,WAAA,GAAW,GAAG,EAAA,GAAoC;AAC5E,SACE,gBAAA,EAAC,OAAD;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EACT,2GACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL;AAEA,SAAS,EAAa,EAAE,WAAA,GAAW,GAAG,EAAA,GAAsC;AAC1E,SACE,gBAAA,EAAC,OAAD;AAAA,IACE,aAAU;AAAA,IACV,WAAW,EACT,iFACA,CACF;AAAA,IACA,GAAI;AAAA,EACL,CAAA;AAEL"}
1
+ {"version":3,"file":"empty.js","names":[],"sources":["../../src/components/empty/empty.tsx"],"sourcesContent":["import { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"../../lib/utils\"\n\nfunction Empty({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty\"\n className={cn(\n \"flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-lg border-dashed p-12 text-center text-balance\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-header\"\n className={cn(\"flex max-w-sm flex-col items-center gap-2\", className)}\n {...props}\n />\n )\n}\n\nconst emptyMediaVariants = cva(\n \"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n icon: \"flex size-10 shrink-0 items-center justify-center rounded-lg bg-surface-muted text-foreground [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nfunction EmptyMedia({\n className,\n variant = \"default\",\n ...props\n}: React.ComponentProps<\"div\"> & VariantProps<typeof emptyMediaVariants>) {\n return (\n <div\n data-slot=\"empty-icon\"\n data-variant={variant}\n className={cn(emptyMediaVariants({ variant, className }))}\n {...props}\n />\n )\n}\n\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-title\"\n className={cn(\n \"font-heading text-lg font-medium tracking-tight\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<\"p\">) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn(\n \"text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction EmptyContent({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"empty-content\"\n className={cn(\n \"flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n Empty,\n EmptyHeader,\n EmptyTitle,\n EmptyDescription,\n EmptyContent,\n EmptyMedia,\n}\n"],"mappings":";;;;AAIA,SAAS,EAAM,EAAE,WAAA,GAAW,GAAG,EAAA,GAAsC;AACnE,SACE,gBAA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@@ -1,14 +1,14 @@
1
1
  "use client";
2
- import { t as g } from "../chunks/utils-kyb5nny4y41y7hd8.js";
3
- import { jsx as r, jsxs as c } from "react/jsx-runtime";
4
- import { forwardRef as b } from "react";
5
- var m = "var(--colour-enya-yellow)", L = "var(--colour-enya-black)", t = "var(--colour-enya-white)", v = "M100 0H6.10352e-05V99.9883H100V0Z", s = [
2
+ import { t as Z } from "../chunks/utils-chr77evsz8gs6wle.js";
3
+ import { jsx as V, jsxs as s } from "react/jsx-runtime";
4
+ import { forwardRef as x } from "react";
5
+ var m = "var(--colour-enya-yellow)", H = "var(--colour-enya-black)", t = "var(--colour-enya-white)", v = "M100 0H6.10352e-05V99.9883H100V0Z", d = [
6
6
  "M83.3042 52.7379V63.7362L73.7887 69.2236L64.2733 74.7227V63.7362L83.3042 52.7379Z",
7
7
  "M45.2424 52.7379V63.7362L26.2114 52.7379V41.7513L45.2424 52.7379Z",
8
8
  "M45.2423 74.7226V85.7092L35.7269 80.2101L26.2114 74.7226L16.6959 69.2235V47.2504L26.2114 52.7378V63.7361L45.2423 74.7226Z",
9
9
  "M64.2732 19.7781V63.736L54.7578 69.2235V25.2772L64.2732 19.7781Z",
10
10
  "M45.2423 30.7648V41.7513L35.7269 36.2639L26.2114 30.7648V41.7513L16.6959 36.2639V14.2791L45.2423 30.7648Z"
11
- ], d = [
11
+ ], p = [
12
12
  "M0 0.399292H27.5779V7.24623H7.75986V16.7559H25.9042V23.4126H7.75986V33.664H27.9013V40.5109H0V0.399292Z",
13
13
  "M33.55 12.952H41.0246V15.5767C42.0716 14.5326 43.319 13.7112 44.6919 13.1621C46.0647 12.6129 47.5345 12.3474 49.0127 12.3814C51.8235 12.409 54.5096 13.5456 56.4865 15.5439C58.4634 17.5422 59.571 20.2403 59.5684 23.0512V40.5109H52.0938V24.6679C52.0938 23.2 51.5107 21.7923 50.4728 20.7543C49.4348 19.7164 48.0271 19.1333 46.5592 19.1333C45.0914 19.1333 43.6836 19.7164 42.6457 20.7543C41.6077 21.7923 41.0246 23.2 41.0246 24.6679V40.5109H33.55V12.952Z",
14
14
  "M71.95 38.1716L61.4894 12.952H69.6106L75.887 30.4688L82.4486 12.952H90.6079L78.3404 40.6821L73.3194 52.0366H65.3883L71.95 38.1716Z",
@@ -21,13 +21,13 @@ var m = "var(--colour-enya-yellow)", L = "var(--colour-enya-black)", t = "var(--
21
21
  "M277.073 4.22228C277.073 3.10246 277.517 2.02851 278.309 1.23668C279.101 0.444846 280.175 0 281.295 0C282.415 0 283.489 0.444846 284.28 1.23668C285.072 2.02851 285.517 3.10246 285.517 4.22228C285.517 5.34209 285.072 6.41604 284.28 7.20788C283.489 7.99971 282.415 8.44455 281.295 8.44455C280.175 8.44455 279.101 7.99971 278.309 7.20788C277.517 6.41604 277.073 5.34209 277.073 4.22228ZM277.529 12.9521H285.061V40.53H277.529V12.9521Z",
22
22
  "M290.538 12.952H298.013V15.5766C299.058 14.5328 300.304 13.7116 301.675 13.1624C303.046 12.6132 304.515 12.3476 305.991 12.3814C308.802 12.409 311.488 13.5456 313.465 15.5439C315.442 17.5421 316.55 20.2403 316.547 23.0512V40.5109H309.063V24.6679C309.063 23.2 308.48 21.7922 307.442 20.7543C306.404 19.7164 304.996 19.1332 303.528 19.1332C302.06 19.1332 300.653 19.7164 299.615 20.7543C298.577 21.7922 297.994 23.2 297.994 24.6679V40.5109H290.519L290.538 12.952Z",
23
23
  "M320.769 26.0183C320.769 18.3155 326.313 12.3815 333.779 12.3815C336.683 12.2851 339.509 13.3297 341.653 15.2914V12.9521H349.07V39.0845C349.07 47.3008 342.908 52.7213 334.121 52.7213C328.253 52.7213 323.66 50.5531 321.007 46.7303L325.762 41.9755C326.732 43.2492 327.997 44.268 329.448 44.944C330.899 45.6199 332.493 45.9327 334.092 45.8554C338.714 45.8554 341.624 43.4019 341.624 39.1986V36.9163C339.485 38.8417 336.683 39.8641 333.807 39.7692C326.313 39.7692 320.769 33.8352 320.769 26.0183ZM342.052 26.0754C342.052 22.0243 339.37 19.1714 335.262 19.1714C334.347 19.1317 333.435 19.2836 332.582 19.6173C331.73 19.951 330.956 20.4592 330.312 21.1092C329.667 21.7592 329.165 22.5367 328.839 23.3919C328.512 24.2471 328.368 25.1611 328.415 26.0754C328.381 26.9864 328.534 27.8947 328.865 28.744C329.197 29.5934 329.699 30.3656 330.341 31.0129C330.983 31.6602 331.751 32.1687 332.597 32.507C333.444 32.8453 334.351 33.006 335.262 32.9793C339.37 32.9793 342.052 30.1265 342.052 26.0754Z"
24
- ], p = "M26.7034 0H0V27H26.7034V0Z", f = [
24
+ ], h = "M26.7034 0H0V27H26.7034V0Z", f = [
25
25
  "M22.2464 14.2407V17.2101L19.705 18.6916L17.1637 20.1763V17.2069L22.2464 14.2407Z",
26
26
  "M12.0811 14.2407V17.2068L6.99841 14.2407V11.2745L12.0811 14.2407Z",
27
27
  "M12.081 20.173V23.1424L9.53969 21.6577L6.99836 20.173L4.45703 18.6915V12.756L6.99836 14.2407V17.2068L12.081 20.173Z",
28
28
  "M17.1636 5.33899V17.2068L14.6223 18.6915V6.82369L17.1636 5.33899Z",
29
29
  "M12.081 8.3085V11.2746L9.53969 9.78993L6.99836 8.3085V11.2746L4.45703 9.78993V3.85767L12.081 8.3085Z"
30
- ], h = [
30
+ ], _ = [
31
31
  "M31.0114 4.56226H40.4117V6.92205H33.6564V10.1995H39.8412V12.4938H33.6564V16.0269H40.5186V18.3867H31.0114V4.56226Z",
32
32
  "M42.4635 8.88857H45.0113V9.79316C45.3682 9.43331 45.7934 9.15023 46.2613 8.96097C46.7293 8.77171 47.2303 8.68019 47.7342 8.69192C48.6923 8.70142 49.6079 9.09315 50.2817 9.78186C50.9556 10.4706 51.3331 11.4005 51.3322 12.3693V18.3867H48.7844V12.9396C48.7844 12.6891 48.7356 12.441 48.6408 12.2096C48.546 11.9782 48.407 11.7679 48.2319 11.5907C48.0567 11.4136 47.8487 11.2731 47.6198 11.1772C47.3909 11.0814 47.1456 11.032 46.8979 11.032C46.6501 11.032 46.4048 11.0814 46.1759 11.1772C45.947 11.2731 45.7391 11.4136 45.5639 11.5907C45.3887 11.7679 45.2497 11.9782 45.1549 12.2096C45.0601 12.441 45.0113 12.6891 45.0113 12.9396V18.3867H42.4635V8.88857Z",
33
33
  "M55.5365 17.5805L51.9708 8.88855H54.7326L56.872 14.9257L59.1086 8.88855H61.9125L57.731 18.4457L56.0194 22.3591H53.316L55.5365 17.5805Z",
@@ -40,13 +40,13 @@ var m = "var(--colour-enya-yellow)", L = "var(--colour-enya-black)", t = "var(--
40
40
  "M125.446 5.87977C125.446 5.49382 125.597 5.12369 125.867 4.85078C126.137 4.57788 126.503 4.42456 126.885 4.42456C127.267 4.42456 127.633 4.57788 127.903 4.85078C128.172 5.12369 128.324 5.49382 128.324 5.87977C128.324 6.26571 128.172 6.63585 127.903 6.90876C127.633 7.18166 127.267 7.33498 126.885 7.33498C126.503 7.33498 126.137 7.18166 125.867 6.90876C125.597 6.63585 125.446 6.26571 125.446 5.87977ZM125.601 8.88851H128.169V18.3932H125.601V8.88851Z",
41
41
  "M130.045 8.88857H132.593V9.79316C132.95 9.43331 133.375 9.15023 133.843 8.96097C134.311 8.77171 134.812 8.68019 135.316 8.69192C136.274 8.70142 137.19 9.09315 137.864 9.78186C138.537 10.4706 138.915 11.4005 138.914 12.3693V18.3867H136.366V12.9396C136.366 12.4337 136.168 11.9485 135.814 11.5907C135.46 11.233 134.98 11.032 134.48 11.032C133.979 11.032 133.5 11.233 133.146 11.5907C132.792 11.9485 132.593 12.4337 132.593 12.9396V18.3867H130.045V8.88857Z",
42
42
  "M140.357 13.3918C140.357 10.737 142.243 8.69188 144.791 8.69188C145.785 8.65521 146.754 9.01544 147.488 9.69479V8.88853H150.016V17.8951C150.016 20.7268 147.916 22.595 144.921 22.595C142.917 22.595 141.355 21.8477 140.447 20.5302L142.068 18.8914C142.396 19.33 142.825 19.6814 143.318 19.9154C143.81 20.1495 144.351 20.2592 144.895 20.2352C146.47 20.2352 147.462 19.3896 147.462 17.941V17.1544C146.733 17.8179 145.778 18.1703 144.797 18.1376C142.24 18.1311 140.357 16.0859 140.357 13.3918ZM147.611 13.4115C147.611 12.0153 146.697 11.032 145.297 11.032C144.985 11.0183 144.674 11.0707 144.383 11.1857C144.093 11.3007 143.829 11.4759 143.609 11.6999C143.389 11.9239 143.218 12.1919 143.107 12.4866C142.996 12.7814 142.947 13.0964 142.963 13.4115C142.951 13.7254 143.003 14.0385 143.116 14.3312C143.229 14.624 143.4 14.8901 143.619 15.1132C143.838 15.3363 144.1 15.5116 144.388 15.6281C144.677 15.7447 144.986 15.8001 145.297 15.7909C146.694 15.7909 147.608 14.8077 147.608 13.4115H147.611Z"
43
- ], _ = "M92.5 0H57.4999V35.2011H92.5V0Z", k = [
43
+ ], k = "M92.5 0H57.4999V35.2011H92.5V0Z", A = [
44
44
  "M86.6565 18.5665V22.4385L83.326 24.3704L79.9956 26.3063V22.4385L86.6565 18.5665Z",
45
45
  "M73.3348 18.5665V22.4384L66.674 18.5665V14.6986L73.3348 18.5665Z",
46
46
  "M73.3348 26.3063V30.1742L70.0044 28.2382L66.6739 26.3063L63.3435 24.3703V16.6346L66.6739 18.5665V22.4385L73.3348 26.3063Z",
47
47
  "M79.9956 6.96289V22.4384L76.6652 24.3703V8.89887L79.9956 6.96289Z",
48
48
  "M73.3348 10.8308V14.6986L70.0044 12.7668L66.6739 10.8308V14.6986L63.3435 12.7668V5.02698L73.3348 10.8308Z"
49
- ], A = [
49
+ ], b = [
50
50
  "M0 43.3848H11.8506V46.3442H3.33451V50.4546H11.1314V53.3318H3.33451V57.7957H11.9895V60.7551H0V43.3848Z",
51
51
  "M14.4169 48.8105H17.6288V49.945C18.0787 49.4937 18.6147 49.1386 19.2047 48.9013C19.7946 48.6639 20.4262 48.5492 21.0614 48.5639C22.2692 48.5758 23.4235 49.0671 24.273 49.9308C25.1225 50.7945 25.5984 51.9607 25.5973 53.1757V60.7223H22.3854V53.8909C22.3854 53.2564 22.1348 52.648 21.6888 52.1993C21.2428 51.7507 20.6378 51.4987 20.0071 51.4987C19.3763 51.4987 18.7714 51.7507 18.3254 52.1993C17.8794 52.648 17.6288 53.2564 17.6288 53.8909V60.7223H14.4169V48.8105Z",
52
52
  "M30.9178 59.7111L26.4227 48.8104H29.9125L32.6096 56.3817L35.4292 48.8104H38.9353L33.6639 60.7962L31.5062 65.704H28.0982L30.9178 59.7111Z",
@@ -59,7 +59,7 @@ var m = "var(--colour-enya-yellow)", L = "var(--colour-enya-black)", t = "var(--
59
59
  "M119.062 45.0372C119.067 44.6773 119.177 44.3269 119.379 44.03C119.582 43.7332 119.867 43.5031 120.199 43.3688C120.531 43.2344 120.895 43.2018 121.245 43.2749C121.595 43.3481 121.916 43.5239 122.167 43.78C122.419 44.0362 122.589 44.3614 122.657 44.7147C122.725 45.0681 122.688 45.4337 122.55 45.7658C122.412 46.0978 122.179 46.3814 121.881 46.5809C121.584 46.7803 121.234 46.8868 120.876 46.8868C120.635 46.8908 120.395 46.8455 120.171 46.7537C119.948 46.6618 119.745 46.5253 119.576 46.3524C119.406 46.1795 119.273 45.9738 119.185 45.7477C119.096 45.5217 119.054 45.2799 119.062 45.0372ZM119.258 48.8105H122.494V60.7305H119.258V48.8105Z",
60
60
  "M124.848 48.8105H128.06V49.9449C128.509 49.4938 129.045 49.1388 129.634 48.9014C130.223 48.6641 130.854 48.5492 131.489 48.5639C132.696 48.5758 133.851 49.0671 134.7 49.9308C135.55 50.7945 136.026 51.9607 136.024 53.1757V60.7223H132.808V53.8909C132.808 53.2564 132.558 52.648 132.112 52.1993C131.666 51.7507 131.061 51.4987 130.43 51.4987C129.799 51.4987 129.194 51.7507 128.748 52.1993C128.302 52.648 128.052 53.2564 128.052 53.8909V60.7223H124.84L124.848 48.8105Z",
61
61
  "M137.839 54.4581C137.839 51.1287 140.221 48.5638 143.429 48.5638C144.677 48.5222 145.892 48.9736 146.813 49.8216V48.8104H150V60.1057C150 63.657 147.352 65.9999 143.576 65.9999C141.055 65.9999 139.081 65.0628 137.941 63.4104L139.984 61.3552C140.401 61.9058 140.945 62.3462 141.568 62.6383C142.192 62.9305 142.877 63.0657 143.564 63.0323C145.55 63.0323 146.8 61.9718 146.8 60.155V59.1891C145.881 60.0213 144.677 60.4632 143.441 60.4222C140.221 60.4222 137.839 57.8368 137.839 54.4581ZM146.984 54.4827C146.984 52.7317 145.832 51.4986 144.067 51.4986C143.28 51.4986 142.525 51.813 141.969 52.3726C141.412 52.9323 141.1 53.6913 141.1 54.4827C141.1 55.2742 141.412 56.0332 141.969 56.5928C142.525 57.1524 143.28 57.4668 144.067 57.4668C145.832 57.4668 146.984 56.2337 146.984 54.4827Z"
62
- ], E = {
62
+ ], N = {
63
63
  variant: {
64
64
  icon: { description: "Brand icon (logomark with background square)" },
65
65
  wordmark: { description: 'Text wordmark only — "Enya learning"' },
@@ -78,114 +78,124 @@ var m = "var(--colour-enya-yellow)", L = "var(--colour-enya-black)", t = "var(--
78
78
  variant: "full",
79
79
  orientation: "horizontal",
80
80
  color: "primary"
81
- }, u = b(({ variant: e = w.variant, orientation: M = w.orientation, color: H = w.color, className: o, ...i }, n) => {
82
- const l = H === "primary" ? m : H === "black" ? L : t, C = H === "black" ? t : L, Z = H === "black" ? t : L;
83
- return e === "icon" ? /* @__PURE__ */ c("svg", {
81
+ }, u = x(({ variant: M = w.variant, orientation: g = w.orientation, color: l = w.color, className: r, ...o }, n) => {
82
+ const i = l === "primary" ? m : l === "black" ? H : t, L = l === "black" ? t : H, e = l === "black" ? t : H;
83
+ return M === "icon" ? /* @__PURE__ */ s("svg", {
84
84
  ref: n,
85
85
  viewBox: "0 0 100 100",
86
86
  fill: "none",
87
87
  xmlns: "http://www.w3.org/2000/svg",
88
88
  role: "img",
89
89
  "aria-label": "Enya Learning logo",
90
- className: g(o),
91
- ...i,
92
- children: [/* @__PURE__ */ r("path", {
90
+ className: Z(r),
91
+ ...o,
92
+ children: [/* @__PURE__ */ V("path", {
93
93
  d: v,
94
- fill: l
95
- }), s.map((a, V) => /* @__PURE__ */ r("path", {
96
- d: a,
97
- fill: C
98
- }, V))]
99
- }) : e === "wordmark" ? /* @__PURE__ */ r("svg", {
94
+ fill: i
95
+ }), d.map((C, a) => /* @__PURE__ */ V("path", {
96
+ d: C,
97
+ fill: L
98
+ }, a))]
99
+ }) : M === "wordmark" ? /* @__PURE__ */ V("svg", {
100
100
  ref: n,
101
101
  viewBox: "0 0 350 53",
102
102
  fill: "none",
103
103
  xmlns: "http://www.w3.org/2000/svg",
104
104
  role: "img",
105
105
  "aria-label": "Enya Learning wordmark",
106
- className: g(o),
107
- ...i,
108
- children: d.map((a, V) => /* @__PURE__ */ r("path", {
109
- d: a,
110
- fill: Z
111
- }, V))
112
- }) : M === "vertical" ? /* @__PURE__ */ c("svg", {
106
+ className: Z(r),
107
+ ...o,
108
+ children: p.map((C, a) => /* @__PURE__ */ V("path", {
109
+ d: C,
110
+ fill: e
111
+ }, a))
112
+ }) : g === "vertical" ? /* @__PURE__ */ s("svg", {
113
113
  ref: n,
114
114
  viewBox: "0 0 150 66",
115
115
  fill: "none",
116
116
  xmlns: "http://www.w3.org/2000/svg",
117
117
  role: "img",
118
118
  "aria-label": "Enya Learning logo",
119
- className: g(o),
120
- ...i,
119
+ className: Z(r),
120
+ ...o,
121
121
  children: [
122
- /* @__PURE__ */ r("path", {
123
- d: _,
124
- fill: l
122
+ /* @__PURE__ */ V("path", {
123
+ d: k,
124
+ fill: i
125
125
  }),
126
- k.map((a, V) => /* @__PURE__ */ r("path", {
127
- d: a,
128
- fill: C
129
- }, V)),
130
- A.map((a, V) => /* @__PURE__ */ r("path", {
131
- d: a,
132
- fill: Z
133
- }, V))
126
+ A.map((C, a) => /* @__PURE__ */ V("path", {
127
+ d: C,
128
+ fill: L
129
+ }, a)),
130
+ b.map((C, a) => /* @__PURE__ */ V("path", {
131
+ d: C,
132
+ fill: e
133
+ }, a))
134
134
  ]
135
- }) : /* @__PURE__ */ c("svg", {
135
+ }) : /* @__PURE__ */ s("svg", {
136
136
  ref: n,
137
137
  viewBox: "0 0 150 27",
138
138
  fill: "none",
139
139
  xmlns: "http://www.w3.org/2000/svg",
140
140
  role: "img",
141
141
  "aria-label": "Enya Learning logo",
142
- className: g(o),
143
- ...i,
142
+ className: Z(r),
143
+ ...o,
144
144
  children: [
145
- /* @__PURE__ */ r("path", {
146
- d: p,
147
- fill: l
145
+ /* @__PURE__ */ V("path", {
146
+ d: h,
147
+ fill: i
148
148
  }),
149
- f.map((a, V) => /* @__PURE__ */ r("path", {
150
- d: a,
151
- fill: C
152
- }, V)),
153
- h.map((a, V) => /* @__PURE__ */ r("path", {
154
- d: a,
155
- fill: Z
156
- }, V))
149
+ f.map((C, a) => /* @__PURE__ */ V("path", {
150
+ d: C,
151
+ fill: L
152
+ }, a)),
153
+ _.map((C, a) => /* @__PURE__ */ V("path", {
154
+ d: C,
155
+ fill: e
156
+ }, a))
157
157
  ]
158
158
  });
159
159
  });
160
160
  u.displayName = "EnyaLogo";
161
- function N(e = {}) {
162
- const { variant: M = "full", orientation: H = "horizontal", color: o = "primary" } = e, i = o === "primary" ? m : o === "black" ? L : t, n = o === "black" ? t : L, l = o === "black" ? t : L;
163
- return M === "icon" ? `<svg viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Enya Learning logo">
164
- <path d="${v}" fill="${i}"/>
165
- ${s.map((C) => ` <path d="${C}" fill="${n}"/>`).join(`
166
- `)}
167
- </svg>` : M === "wordmark" ? `<svg viewBox="0 0 350 53" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Enya Learning wordmark">
168
- ${d.map((C) => ` <path d="${C}" fill="${l}"/>`).join(`
169
- `)}
170
- </svg>` : H === "vertical" ? `<svg viewBox="0 0 150 66" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Enya Learning logo">
171
- <path d="${_}" fill="${i}"/>
172
- ${k.map((C) => ` <path d="${C}" fill="${n}"/>`).join(`
173
- `)}
174
- ${A.map((C) => ` <path d="${C}" fill="${l}"/>`).join(`
175
- `)}
176
- </svg>` : `<svg viewBox="0 0 150 27" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Enya Learning logo">
177
- <path d="${p}" fill="${i}"/>
178
- ${f.map((C) => ` <path d="${C}" fill="${n}"/>`).join(`
179
- `)}
180
- ${h.map((C) => ` <path d="${C}" fill="${l}"/>`).join(`
161
+ function O(M = {}) {
162
+ const { variant: g = "full", orientation: l = "horizontal", color: r = "primary" } = M, o = r === "primary" ? m : r === "black" ? H : t, n = r === "black" ? t : H, i = r === "black" ? t : H;
163
+ if (g === "icon") {
164
+ const C = d.map((a) => ` <path d="${a}" fill="${n}"/>`).join(`
165
+ `);
166
+ return `<svg viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Enya Learning logo">
167
+ <path d="${v}" fill="${o}"/>
168
+ ${C}
169
+ </svg>`;
170
+ }
171
+ if (g === "wordmark") return `<svg viewBox="0 0 350 53" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Enya Learning wordmark">
172
+ ${p.map((C) => ` <path d="${C}" fill="${i}"/>`).join(`
181
173
  `)}
174
+ </svg>`;
175
+ if (l === "vertical") {
176
+ const C = A.map((c) => ` <path d="${c}" fill="${n}"/>`).join(`
177
+ `), a = b.map((c) => ` <path d="${c}" fill="${i}"/>`).join(`
178
+ `);
179
+ return `<svg viewBox="0 0 150 66" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Enya Learning logo">
180
+ <path d="${k}" fill="${o}"/>
181
+ ${C}
182
+ ${a}
183
+ </svg>`;
184
+ }
185
+ const L = f.map((C) => ` <path d="${C}" fill="${n}"/>`).join(`
186
+ `), e = _.map((C) => ` <path d="${C}" fill="${i}"/>`).join(`
187
+ `);
188
+ return `<svg viewBox="0 0 150 27" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Enya Learning logo">
189
+ <path d="${h}" fill="${o}"/>
190
+ ${L}
191
+ ${e}
182
192
  </svg>`;
183
193
  }
184
194
  export {
185
195
  u as EnyaLogo,
186
196
  w as NOVA_ENYA_LOGO_DEFAULT_VARIANTS,
187
- E as NOVA_ENYA_LOGO_VARIANTS,
188
- N as generateEnyaLogoSvg
197
+ N as NOVA_ENYA_LOGO_VARIANTS,
198
+ O as generateEnyaLogoSvg
189
199
  };
190
200
 
191
201
  //# sourceMappingURL=enya-logo.js.map