@devalok/shilp-sutra 0.17.2 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/dist/_chunks/framer.js +1376 -0
  2. package/dist/_chunks/link-context.js +19 -0
  3. package/dist/_chunks/motion-provider.js +24 -0
  4. package/dist/_chunks/primitives.js +3499 -3920
  5. package/dist/_chunks/tiptap.js +1 -1
  6. package/dist/_chunks/tree-view.js +183 -181
  7. package/dist/_chunks/use-calendar.js +531 -515
  8. package/dist/_chunks/vendor-client.js +1792 -1049
  9. package/dist/_chunks/vendor-utils.js +5123 -1169
  10. package/dist/composed/activity-feed.d.ts.map +1 -1
  11. package/dist/composed/activity-feed.js +75 -78
  12. package/dist/composed/avatar-group.js +33 -33
  13. package/dist/composed/command-palette.d.ts +1 -1
  14. package/dist/composed/command-palette.d.ts.map +1 -1
  15. package/dist/composed/command-palette.js +207 -158
  16. package/dist/composed/confirm-dialog.d.ts +3 -5
  17. package/dist/composed/confirm-dialog.d.ts.map +1 -1
  18. package/dist/composed/confirm-dialog.js +47 -42
  19. package/dist/composed/content-card.d.ts +1 -1
  20. package/dist/composed/content-card.js +30 -30
  21. package/dist/composed/date-picker/calendar-grid.d.ts +1 -1
  22. package/dist/composed/date-picker/calendar-grid.d.ts.map +1 -1
  23. package/dist/composed/date-picker/date-picker.d.ts +1 -1
  24. package/dist/composed/date-picker/date-picker.d.ts.map +1 -1
  25. package/dist/composed/date-picker/date-range-picker.d.ts +1 -1
  26. package/dist/composed/date-picker/date-range-picker.d.ts.map +1 -1
  27. package/dist/composed/date-picker/date-time-picker.d.ts +1 -1
  28. package/dist/composed/date-picker/date-time-picker.d.ts.map +1 -1
  29. package/dist/composed/date-picker/month-picker.d.ts +1 -1
  30. package/dist/composed/date-picker/month-picker.d.ts.map +1 -1
  31. package/dist/composed/date-picker/presets.d.ts +1 -1
  32. package/dist/composed/date-picker/presets.d.ts.map +1 -1
  33. package/dist/composed/date-picker/time-picker.d.ts +1 -1
  34. package/dist/composed/date-picker/time-picker.d.ts.map +1 -1
  35. package/dist/composed/date-picker/year-picker.d.ts +1 -1
  36. package/dist/composed/date-picker/year-picker.d.ts.map +1 -1
  37. package/dist/composed/empty-state.d.ts +1 -0
  38. package/dist/composed/empty-state.d.ts.map +1 -1
  39. package/dist/composed/empty-state.js +51 -47
  40. package/dist/composed/error-boundary.d.ts +1 -1
  41. package/dist/composed/error-boundary.d.ts.map +1 -1
  42. package/dist/composed/error-boundary.js +48 -48
  43. package/dist/composed/extensions/mention-suggestion.d.ts +1 -1
  44. package/dist/composed/extensions/mention-suggestion.d.ts.map +1 -1
  45. package/dist/composed/global-loading.d.ts +1 -1
  46. package/dist/composed/global-loading.d.ts.map +1 -1
  47. package/dist/composed/global-loading.js +22 -19
  48. package/dist/composed/index.d.ts +2 -4
  49. package/dist/composed/index.d.ts.map +1 -1
  50. package/dist/composed/index.js +26 -29
  51. package/dist/composed/lib/string-utils.d.ts +0 -1
  52. package/dist/composed/lib/string-utils.js +0 -1
  53. package/dist/composed/loading-skeleton.d.ts +1 -1
  54. package/dist/composed/loading-skeleton.d.ts.map +1 -1
  55. package/dist/composed/loading-skeleton.js +92 -87
  56. package/dist/composed/member-picker.d.ts +1 -1
  57. package/dist/composed/member-picker.d.ts.map +1 -1
  58. package/dist/composed/member-picker.js +47 -43
  59. package/dist/composed/page-header.js +36 -36
  60. package/dist/composed/page-skeletons.d.ts +9 -3
  61. package/dist/composed/page-skeletons.d.ts.map +1 -1
  62. package/dist/composed/page-skeletons.js +58 -58
  63. package/dist/composed/priority-indicator.js +24 -24
  64. package/dist/composed/rich-text-editor.d.ts +3 -3
  65. package/dist/composed/rich-text-editor.d.ts.map +1 -1
  66. package/dist/composed/rich-text-editor.js +317 -310
  67. package/dist/composed/schedule-view.js +84 -84
  68. package/dist/composed/simple-tooltip.d.ts +2 -5
  69. package/dist/composed/simple-tooltip.d.ts.map +1 -1
  70. package/dist/composed/simple-tooltip.js +19 -14
  71. package/dist/composed/status-badge.d.ts +2 -1
  72. package/dist/composed/status-badge.d.ts.map +1 -1
  73. package/dist/composed/status-badge.js +81 -68
  74. package/dist/hooks/index.d.ts +2 -1
  75. package/dist/hooks/index.d.ts.map +1 -1
  76. package/dist/hooks/index.js +3 -4
  77. package/dist/hooks/use-toast.d.ts +15 -45
  78. package/dist/hooks/use-toast.d.ts.map +1 -1
  79. package/dist/hooks/use-toast.js +2 -95
  80. package/dist/motion/index.d.ts +4 -0
  81. package/dist/motion/index.d.ts.map +1 -0
  82. package/dist/motion/index.js +12 -0
  83. package/dist/motion/motion-provider.d.ts +18 -0
  84. package/dist/motion/motion-provider.d.ts.map +1 -0
  85. package/dist/motion/primitives-index.d.ts +3 -0
  86. package/dist/motion/primitives-index.d.ts.map +1 -0
  87. package/dist/motion/primitives-index.js +187 -0
  88. package/dist/motion/primitives.d.ts +38 -0
  89. package/dist/motion/primitives.d.ts.map +1 -0
  90. package/dist/shell/app-command-palette.d.ts +14 -5
  91. package/dist/shell/app-command-palette.d.ts.map +1 -1
  92. package/dist/shell/app-command-palette.js +152 -130
  93. package/dist/shell/bottom-navbar.d.ts.map +1 -1
  94. package/dist/shell/bottom-navbar.js +90 -92
  95. package/dist/shell/command-registry.d.ts +23 -0
  96. package/dist/shell/command-registry.d.ts.map +1 -0
  97. package/dist/shell/command-registry.js +18 -0
  98. package/dist/shell/index.d.ts +2 -1
  99. package/dist/shell/index.d.ts.map +1 -1
  100. package/dist/shell/index.js +14 -11
  101. package/dist/shell/link-context.d.ts +6 -10
  102. package/dist/shell/link-context.d.ts.map +1 -1
  103. package/dist/shell/link-context.js +3 -16
  104. package/dist/shell/notification-center.d.ts.map +1 -1
  105. package/dist/shell/notification-center.js +129 -124
  106. package/dist/shell/notification-preferences.d.ts +10 -5
  107. package/dist/shell/notification-preferences.d.ts.map +1 -1
  108. package/dist/shell/notification-preferences.js +169 -165
  109. package/dist/shell/sidebar.js +104 -104
  110. package/dist/shell/top-bar.js +67 -67
  111. package/dist/tailwind/index.cjs +118 -297
  112. package/dist/tailwind/preset.d.ts.map +1 -1
  113. package/dist/tailwind/preset.js +118 -297
  114. package/dist/tokens/generate-scale.d.ts +86 -0
  115. package/dist/tokens/generate-scale.d.ts.map +1 -0
  116. package/dist/tokens/primitives.css +415 -187
  117. package/dist/tokens/semantic.css +244 -270
  118. package/dist/tokens/typography.css +6 -6
  119. package/dist/ui/accordion.d.ts.map +1 -1
  120. package/dist/ui/accordion.js +34 -24
  121. package/dist/ui/alert-dialog.d.ts +4 -1
  122. package/dist/ui/alert-dialog.d.ts.map +1 -1
  123. package/dist/ui/alert-dialog.js +115 -74
  124. package/dist/ui/alert.d.ts +6 -1
  125. package/dist/ui/alert.d.ts.map +1 -1
  126. package/dist/ui/alert.js +65 -50
  127. package/dist/ui/aspect-ratio.d.ts +2 -1
  128. package/dist/ui/aspect-ratio.d.ts.map +1 -1
  129. package/dist/ui/aspect-ratio.js +14 -4
  130. package/dist/ui/autocomplete.d.ts +11 -2
  131. package/dist/ui/autocomplete.d.ts.map +1 -1
  132. package/dist/ui/autocomplete.js +85 -60
  133. package/dist/ui/avatar.d.ts.map +1 -1
  134. package/dist/ui/avatar.js +46 -35
  135. package/dist/ui/badge.d.ts +1 -1
  136. package/dist/ui/badge.d.ts.map +1 -1
  137. package/dist/ui/badge.js +72 -67
  138. package/dist/ui/banner.d.ts.map +1 -1
  139. package/dist/ui/banner.js +54 -40
  140. package/dist/ui/breadcrumb.d.ts +2 -0
  141. package/dist/ui/breadcrumb.d.ts.map +1 -1
  142. package/dist/ui/breadcrumb.js +19 -19
  143. package/dist/ui/button-group.js +4 -4
  144. package/dist/ui/button.d.ts +10 -1
  145. package/dist/ui/button.d.ts.map +1 -1
  146. package/dist/ui/button.js +102 -66
  147. package/dist/ui/card.d.ts +2 -2
  148. package/dist/ui/card.d.ts.map +1 -1
  149. package/dist/ui/card.js +61 -53
  150. package/dist/ui/charts/_internal/animation.d.ts +1 -1
  151. package/dist/ui/charts/_internal/animation.d.ts.map +1 -1
  152. package/dist/ui/charts/area-chart.d.ts +3 -5
  153. package/dist/ui/charts/area-chart.d.ts.map +1 -1
  154. package/dist/ui/charts/bar-chart.d.ts +3 -5
  155. package/dist/ui/charts/bar-chart.d.ts.map +1 -1
  156. package/dist/ui/charts/chart-container.d.ts +2 -5
  157. package/dist/ui/charts/chart-container.d.ts.map +1 -1
  158. package/dist/ui/charts/gauge-chart.d.ts +3 -5
  159. package/dist/ui/charts/gauge-chart.d.ts.map +1 -1
  160. package/dist/ui/charts/index.js +1204 -1095
  161. package/dist/ui/charts/line-chart.d.ts +3 -5
  162. package/dist/ui/charts/line-chart.d.ts.map +1 -1
  163. package/dist/ui/charts/pie-chart.d.ts +2 -5
  164. package/dist/ui/charts/pie-chart.d.ts.map +1 -1
  165. package/dist/ui/charts/radar-chart.d.ts +3 -5
  166. package/dist/ui/charts/radar-chart.d.ts.map +1 -1
  167. package/dist/ui/charts/sparkline.d.ts +5 -5
  168. package/dist/ui/charts/sparkline.d.ts.map +1 -1
  169. package/dist/ui/checkbox.d.ts.map +1 -1
  170. package/dist/ui/checkbox.js +31 -19
  171. package/dist/ui/chip.d.ts +3 -2
  172. package/dist/ui/chip.d.ts.map +1 -1
  173. package/dist/ui/chip.js +58 -50
  174. package/dist/ui/code.js +16 -16
  175. package/dist/ui/collapsible.d.ts.map +1 -1
  176. package/dist/ui/collapsible.js +23 -15
  177. package/dist/ui/color-input.d.ts +1 -1
  178. package/dist/ui/color-input.d.ts.map +1 -1
  179. package/dist/ui/color-input.js +27 -27
  180. package/dist/ui/combobox.d.ts +2 -0
  181. package/dist/ui/combobox.d.ts.map +1 -1
  182. package/dist/ui/combobox.js +177 -166
  183. package/dist/ui/container.js +4 -4
  184. package/dist/ui/context-menu.d.ts +4 -2
  185. package/dist/ui/context-menu.d.ts.map +1 -1
  186. package/dist/ui/context-menu.js +147 -87
  187. package/dist/ui/data-table-toolbar.d.ts +3 -2
  188. package/dist/ui/data-table-toolbar.d.ts.map +1 -1
  189. package/dist/ui/data-table-toolbar.js +65 -63
  190. package/dist/ui/data-table.d.ts.map +1 -1
  191. package/dist/ui/data-table.js +275 -240
  192. package/dist/ui/dialog.d.ts +3 -1
  193. package/dist/ui/dialog.d.ts.map +1 -1
  194. package/dist/ui/dialog.js +114 -74
  195. package/dist/ui/dropdown-menu.d.ts +5 -3
  196. package/dist/ui/dropdown-menu.d.ts.map +1 -1
  197. package/dist/ui/dropdown-menu.js +151 -90
  198. package/dist/ui/file-upload.d.ts.map +1 -1
  199. package/dist/ui/file-upload.js +170 -128
  200. package/dist/ui/form.d.ts.map +1 -1
  201. package/dist/ui/form.js +30 -27
  202. package/dist/ui/hover-card.d.ts +1 -1
  203. package/dist/ui/hover-card.d.ts.map +1 -1
  204. package/dist/ui/hover-card.js +53 -21
  205. package/dist/ui/icon-button.js +9 -9
  206. package/dist/ui/index.d.ts +18 -18
  207. package/dist/ui/index.d.ts.map +1 -1
  208. package/dist/ui/index.js +322 -533
  209. package/dist/ui/input-otp.d.ts +2 -0
  210. package/dist/ui/input-otp.d.ts.map +1 -1
  211. package/dist/ui/input-otp.js +8 -8
  212. package/dist/ui/input.d.ts.map +1 -1
  213. package/dist/ui/input.js +35 -33
  214. package/dist/ui/label.js +12 -12
  215. package/dist/ui/lib/date-utils.d.ts +5 -0
  216. package/dist/ui/lib/date-utils.d.ts.map +1 -0
  217. package/dist/ui/lib/date-utils.js +12 -0
  218. package/dist/ui/lib/index.d.ts +7 -0
  219. package/dist/ui/lib/index.d.ts.map +1 -0
  220. package/dist/ui/lib/link-context.d.ts +13 -0
  221. package/dist/ui/lib/link-context.d.ts.map +1 -0
  222. package/dist/ui/lib/motion.d.ts +44 -9
  223. package/dist/ui/lib/motion.d.ts.map +1 -1
  224. package/dist/ui/lib/motion.js +34 -0
  225. package/dist/ui/lib/use-ripple.d.ts.map +1 -1
  226. package/dist/ui/lib/utils.js +1 -1
  227. package/dist/ui/link.js +11 -11
  228. package/dist/ui/menubar.d.ts +4 -2
  229. package/dist/ui/menubar.d.ts.map +1 -1
  230. package/dist/ui/menubar.js +142 -98
  231. package/dist/ui/navigation-menu.d.ts +2 -0
  232. package/dist/ui/navigation-menu.d.ts.map +1 -1
  233. package/dist/ui/navigation-menu.js +176 -73
  234. package/dist/ui/number-input.d.ts.map +1 -1
  235. package/dist/ui/number-input.js +58 -51
  236. package/dist/ui/pagination.js +23 -23
  237. package/dist/ui/popover.d.ts +2 -1
  238. package/dist/ui/popover.d.ts.map +1 -1
  239. package/dist/ui/popover.js +54 -22
  240. package/dist/ui/progress.d.ts.map +1 -1
  241. package/dist/ui/progress.js +58 -42
  242. package/dist/ui/radio.js +15 -15
  243. package/dist/ui/search-input.d.ts.map +1 -1
  244. package/dist/ui/search-input.js +28 -33
  245. package/dist/ui/segmented-control.d.ts +4 -2
  246. package/dist/ui/segmented-control.d.ts.map +1 -1
  247. package/dist/ui/segmented-control.js +146 -123
  248. package/dist/ui/select.d.ts.map +1 -1
  249. package/dist/ui/select.js +75 -64
  250. package/dist/ui/separator.js +12 -12
  251. package/dist/ui/sheet.d.ts +1 -1
  252. package/dist/ui/sheet.d.ts.map +1 -1
  253. package/dist/ui/sheet.js +111 -75
  254. package/dist/ui/sidebar.d.ts +6 -1
  255. package/dist/ui/sidebar.d.ts.map +1 -1
  256. package/dist/ui/sidebar.js +574 -36
  257. package/dist/ui/skeleton.js +2 -2
  258. package/dist/ui/slider.d.ts +9 -0
  259. package/dist/ui/slider.d.ts.map +1 -1
  260. package/dist/ui/slider.js +33 -27
  261. package/dist/ui/spinner.d.ts +32 -25
  262. package/dist/ui/spinner.d.ts.map +1 -1
  263. package/dist/ui/spinner.js +199 -40
  264. package/dist/ui/stack.js +1 -1
  265. package/dist/ui/stat-card.d.ts.map +1 -1
  266. package/dist/ui/stat-card.js +181 -114
  267. package/dist/ui/stepper.d.ts +23 -4
  268. package/dist/ui/stepper.d.ts.map +1 -1
  269. package/dist/ui/stepper.js +126 -48
  270. package/dist/ui/switch.d.ts.map +1 -1
  271. package/dist/ui/switch.js +39 -26
  272. package/dist/ui/table.d.ts +3 -0
  273. package/dist/ui/table.d.ts.map +1 -1
  274. package/dist/ui/table.js +29 -29
  275. package/dist/ui/tabs.d.ts +4 -1
  276. package/dist/ui/tabs.d.ts.map +1 -1
  277. package/dist/ui/tabs.js +94 -44
  278. package/dist/ui/text.d.ts +3 -3
  279. package/dist/ui/text.js +2 -2
  280. package/dist/ui/textarea.d.ts.map +1 -1
  281. package/dist/ui/textarea.js +27 -25
  282. package/dist/ui/toast-types.d.ts +43 -0
  283. package/dist/ui/toast-types.d.ts.map +1 -0
  284. package/dist/ui/toast-types.js +2 -0
  285. package/dist/ui/toast.d.ts +60 -26
  286. package/dist/ui/toast.d.ts.map +1 -1
  287. package/dist/ui/toast.js +535 -89
  288. package/dist/ui/toaster.d.ts +19 -23
  289. package/dist/ui/toaster.d.ts.map +1 -1
  290. package/dist/ui/toaster.js +31 -21
  291. package/dist/ui/toggle-group.d.ts +2 -2
  292. package/dist/ui/toggle-group.d.ts.map +1 -1
  293. package/dist/ui/toggle-group.js +29 -26
  294. package/dist/ui/toggle.d.ts +2 -2
  295. package/dist/ui/toggle.d.ts.map +1 -1
  296. package/dist/ui/toggle.js +21 -17
  297. package/dist/ui/tooltip.d.ts +2 -1
  298. package/dist/ui/tooltip.d.ts.map +1 -1
  299. package/dist/ui/tooltip.js +58 -21
  300. package/dist/ui/tree-view/tree-view.d.ts +1 -1
  301. package/dist/ui/tree-view/tree-view.d.ts.map +1 -1
  302. package/dist/ui/visually-hidden.js +3 -3
  303. package/llms-full.txt +3440 -1528
  304. package/llms.txt +67 -14
  305. package/package.json +50 -9
  306. package/dist/_chunks/avatar.js +0 -50
  307. package/dist/_chunks/button.js +0 -95
  308. package/dist/_chunks/checkbox.js +0 -14
  309. package/dist/_chunks/form.js +0 -27
  310. package/dist/_chunks/sidebar.js +0 -592
  311. package/dist/_chunks/spinner.js +0 -34
  312. package/dist/_chunks/switch.js +0 -10
  313. package/dist/_chunks/tooltip.js +0 -13
  314. package/dist/_chunks/utils.js +0 -17
  315. package/dist/composed/upload-progress.d.ts +0 -33
  316. package/dist/composed/upload-progress.d.ts.map +0 -1
  317. package/dist/composed/upload-progress.js +0 -386
  318. package/dist/ui/lib/use-reduced-motion.d.ts +0 -4
  319. package/dist/ui/lib/use-reduced-motion.d.ts.map +0 -1
  320. package/dist/ui/transitions.d.ts +0 -17
  321. package/dist/ui/transitions.d.ts.map +0 -1
  322. package/dist/ui/transitions.js +0 -111
@@ -1,198 +1,220 @@
1
1
  "use client";
2
- import { jsx as e } from "react/jsx-runtime";
3
- import { useCallback as u, useMemo as l } from "react";
4
- import { IconFileText as S, IconLayoutDashboard as L, IconCalendarCheck as E, IconUmbrella as y, IconLayoutKanban as A, IconListCheck as T, IconBook as M, IconAdjustmentsHorizontal as P, IconUserCircle as $, IconShieldCheck as D, IconClipboardList as O, IconUserPlus as U, IconSettings as B, IconPackage as K, IconLink as N, IconVideo as w, IconMessage as G, IconUsers as V } from "@tabler/icons-react";
5
- import { CommandPalette as v } from "../composed/command-palette.js";
6
- const x = {
7
- TASK: /* @__PURE__ */ e(T, {}),
8
- PROJECT: /* @__PURE__ */ e(A, {}),
9
- USER: /* @__PURE__ */ e(V, {}),
10
- COMMENT: /* @__PURE__ */ e(G, {}),
11
- MEETING: /* @__PURE__ */ e(w, {}),
12
- LINK: /* @__PURE__ */ e(N, {}),
13
- DELIVERABLE: /* @__PURE__ */ e(K, {})
2
+ import { jsx as a } from "react/jsx-runtime";
3
+ import * as w from "react";
4
+ import { useCallback as g, useMemo as r } from "react";
5
+ import { IconFileText as D, IconLayoutDashboard as N, IconCalendarCheck as A, IconUmbrella as C, IconLayoutKanban as E, IconListCheck as h, IconBook as O, IconAdjustmentsHorizontal as U, IconUserCircle as B, IconShieldCheck as K, IconClipboardList as G, IconUserPlus as R, IconSettings as V, IconPackage as v, IconLink as x, IconVideo as J, IconMessage as Y, IconUsers as _ } from "@tabler/icons-react";
6
+ import { CommandPalette as z } from "../composed/command-palette.js";
7
+ import { cn as F } from "../ui/lib/utils.js";
8
+ import { useCommandRegistry as H } from "./command-registry.js";
9
+ const q = {
10
+ TASK: /* @__PURE__ */ a(h, {}),
11
+ PROJECT: /* @__PURE__ */ a(E, {}),
12
+ USER: /* @__PURE__ */ a(_, {}),
13
+ COMMENT: /* @__PURE__ */ a(Y, {}),
14
+ MEETING: /* @__PURE__ */ a(J, {}),
15
+ LINK: /* @__PURE__ */ a(x, {}),
16
+ DELIVERABLE: /* @__PURE__ */ a(v, {})
14
17
  };
15
- function J(a) {
18
+ function Q(o) {
16
19
  return [
17
20
  {
18
21
  id: "nav-dashboard",
19
22
  label: "Dashboard",
20
- icon: /* @__PURE__ */ e(L, {}),
21
- onSelect: () => a("/")
23
+ icon: /* @__PURE__ */ a(N, {}),
24
+ onSelect: () => o("/")
22
25
  },
23
26
  {
24
27
  id: "nav-attendance",
25
28
  label: "Attendance",
26
- icon: /* @__PURE__ */ e(E, {}),
27
- onSelect: () => a("/attendance")
29
+ icon: /* @__PURE__ */ a(A, {}),
30
+ onSelect: () => o("/attendance")
28
31
  },
29
32
  {
30
33
  id: "nav-breaks",
31
34
  label: "Breaks",
32
- icon: /* @__PURE__ */ e(y, {}),
33
- onSelect: () => a("/breaks")
35
+ icon: /* @__PURE__ */ a(C, {}),
36
+ onSelect: () => o("/breaks")
34
37
  },
35
38
  {
36
39
  id: "nav-projects",
37
40
  label: "Projects",
38
- icon: /* @__PURE__ */ e(A, {}),
39
- onSelect: () => a("/projects")
41
+ icon: /* @__PURE__ */ a(E, {}),
42
+ onSelect: () => o("/projects")
40
43
  },
41
44
  {
42
45
  id: "nav-my-tasks",
43
46
  label: "My Tasks",
44
- icon: /* @__PURE__ */ e(T, {}),
45
- onSelect: () => a("/my-tasks")
47
+ icon: /* @__PURE__ */ a(h, {}),
48
+ onSelect: () => o("/my-tasks")
46
49
  },
47
50
  {
48
51
  id: "nav-devsabha",
49
52
  label: "Devsabha",
50
- icon: /* @__PURE__ */ e(M, {}),
51
- onSelect: () => a("/devsabha")
53
+ icon: /* @__PURE__ */ a(O, {}),
54
+ onSelect: () => o("/devsabha")
52
55
  },
53
56
  {
54
57
  id: "nav-adjustments",
55
58
  label: "Adjustments",
56
- icon: /* @__PURE__ */ e(P, {}),
57
- onSelect: () => a("/adjustments")
59
+ icon: /* @__PURE__ */ a(U, {}),
60
+ onSelect: () => o("/adjustments")
58
61
  },
59
62
  {
60
63
  id: "nav-profile",
61
64
  label: "Profile",
62
- icon: /* @__PURE__ */ e($, {}),
63
- onSelect: () => a("/profile")
65
+ icon: /* @__PURE__ */ a(B, {}),
66
+ onSelect: () => o("/profile")
64
67
  }
65
68
  ];
66
69
  }
67
- function Y(a) {
70
+ function W(o) {
68
71
  return [
69
72
  {
70
73
  id: "nav-admin-dashboard",
71
74
  label: "Admin Dashboard",
72
- icon: /* @__PURE__ */ e(D, {}),
73
- onSelect: () => a("/admin")
75
+ icon: /* @__PURE__ */ a(K, {}),
76
+ onSelect: () => o("/admin")
74
77
  },
75
78
  {
76
79
  id: "nav-admin-breaks",
77
80
  label: "Manage Breaks",
78
- icon: /* @__PURE__ */ e(y, {}),
79
- onSelect: () => a("/admin/breaks")
81
+ icon: /* @__PURE__ */ a(C, {}),
82
+ onSelect: () => o("/admin/breaks")
80
83
  },
81
84
  {
82
85
  id: "nav-admin-attendance",
83
86
  label: "Manage Attendance",
84
- icon: /* @__PURE__ */ e(E, {}),
85
- onSelect: () => a("/admin/attendance")
87
+ icon: /* @__PURE__ */ a(A, {}),
88
+ onSelect: () => o("/admin/attendance")
86
89
  },
87
90
  {
88
91
  id: "nav-admin-lokwasi",
89
92
  label: "Lokwasi",
90
- icon: /* @__PURE__ */ e(O, {}),
91
- onSelect: () => a("/admin/lokwasi")
93
+ icon: /* @__PURE__ */ a(G, {}),
94
+ onSelect: () => o("/admin/lokwasi")
92
95
  },
93
96
  {
94
97
  id: "nav-admin-onboarding",
95
98
  label: "Onboarding",
96
- icon: /* @__PURE__ */ e(U, {}),
97
- onSelect: () => a("/admin/onboarding")
99
+ icon: /* @__PURE__ */ a(R, {}),
100
+ onSelect: () => o("/admin/onboarding")
98
101
  },
99
102
  {
100
103
  id: "nav-admin-config",
101
104
  label: "System Config",
102
- icon: /* @__PURE__ */ e(B, {}),
103
- onSelect: () => a("/admin/system-config")
105
+ icon: /* @__PURE__ */ a(V, {}),
106
+ onSelect: () => o("/admin/system-config")
104
107
  }
105
108
  ];
106
109
  }
107
- function _({
108
- user: a,
109
- isAdmin: C,
110
- extraGroups: b = [],
111
- onNavigate: c,
112
- onSearch: d,
113
- searchResults: m = [],
114
- isSearching: p = !1,
115
- onSearchResultSelect: s
116
- }) {
117
- const I = C ?? ((a == null ? void 0 : a.role) === "Admin" || (a == null ? void 0 : a.role) === "SuperAdmin"), i = u(
118
- (t) => {
119
- c == null || c(t);
120
- },
121
- [c]
122
- ), k = l(
123
- () => ({
124
- label: "Pages",
125
- items: J(i)
126
- }),
127
- [i]
128
- ), j = l(
129
- () => ({
130
- label: "Admin",
131
- items: Y(i)
132
- }),
133
- [i]
134
- ), r = l(() => {
135
- if (m.length === 0) return null;
136
- const t = m.map((n) => {
137
- var f;
138
- let o = "/";
139
- switch (n.entityType) {
140
- case "TASK":
141
- o = n.projectId ? `/projects/${n.projectId}?taskId=${n.id}` : "/";
142
- break;
143
- case "PROJECT":
144
- o = `/projects/${n.id}`;
145
- break;
146
- case "USER":
147
- o = "/teammates";
148
- break;
149
- case "COMMENT":
150
- o = n.projectId && ((f = n.metadata) != null && f.taskId) ? `/projects/${n.projectId}?taskId=${n.metadata.taskId}` : "/";
151
- break;
152
- case "MEETING":
153
- o = n.projectId ? `/projects/${n.projectId}?tab=meetings` : "/";
154
- break;
155
- case "LINK":
156
- o = n.projectId ? `/projects/${n.projectId}?tab=karyakram` : "/";
157
- break;
158
- case "DELIVERABLE":
159
- o = n.projectId ? `/projects/${n.projectId}?tab=deliverables` : "/";
160
- break;
161
- }
162
- return {
163
- id: `search-${n.entityType}-${n.id}`,
164
- label: n.title,
165
- description: n.snippet,
166
- icon: x[n.entityType] ?? /* @__PURE__ */ e(S, {}),
167
- onSelect: () => {
168
- s == null || s(n), i(o);
110
+ const X = w.forwardRef(
111
+ function({
112
+ user: c,
113
+ isAdmin: T,
114
+ extraGroups: I = [],
115
+ onNavigate: s,
116
+ onSearch: l,
117
+ searchResults: b = [],
118
+ isSearching: k = !1,
119
+ onSearchResultSelect: m,
120
+ className: S,
121
+ ...P
122
+ }, L) {
123
+ const f = T ?? ((c == null ? void 0 : c.role) === "Admin" || (c == null ? void 0 : c.role) === "SuperAdmin"), d = H(), t = g(
124
+ (e) => {
125
+ s == null || s(e);
126
+ },
127
+ [s]
128
+ ), j = r(
129
+ () => ({
130
+ label: "Pages",
131
+ items: d ? d.pages.map((e) => ({
132
+ id: e.id,
133
+ label: e.label,
134
+ icon: e.icon,
135
+ keywords: e.keywords,
136
+ onSelect: () => t(e.path)
137
+ })) : Q(t)
138
+ }),
139
+ [t, d]
140
+ ), y = r(
141
+ () => ({
142
+ label: "Admin",
143
+ items: d ? d.adminPages.map((e) => ({
144
+ id: e.id,
145
+ label: e.label,
146
+ icon: e.icon,
147
+ keywords: e.keywords,
148
+ onSelect: () => t(e.path)
149
+ })) : W(t)
150
+ }),
151
+ [t, d]
152
+ ), p = r(() => {
153
+ if (b.length === 0) return null;
154
+ const e = b.map((n) => {
155
+ var u;
156
+ let i = "/";
157
+ switch (n.entityType) {
158
+ case "TASK":
159
+ i = n.projectId ? `/projects/${n.projectId}?taskId=${n.id}` : "/";
160
+ break;
161
+ case "PROJECT":
162
+ i = `/projects/${n.id}`;
163
+ break;
164
+ case "USER":
165
+ i = "/teammates";
166
+ break;
167
+ case "COMMENT":
168
+ i = n.projectId && ((u = n.metadata) != null && u.taskId) ? `/projects/${n.projectId}?taskId=${n.metadata.taskId}` : "/";
169
+ break;
170
+ case "MEETING":
171
+ i = n.projectId ? `/projects/${n.projectId}?tab=meetings` : "/";
172
+ break;
173
+ case "LINK":
174
+ i = n.projectId ? `/projects/${n.projectId}?tab=karyakram` : "/";
175
+ break;
176
+ case "DELIVERABLE":
177
+ i = n.projectId ? `/projects/${n.projectId}?tab=deliverables` : "/";
178
+ break;
169
179
  }
180
+ return {
181
+ id: `search-${n.entityType}-${n.id}`,
182
+ label: n.title,
183
+ description: n.snippet,
184
+ icon: q[n.entityType] ?? /* @__PURE__ */ a(D, {}),
185
+ onSelect: () => {
186
+ m == null || m(n), t(i);
187
+ }
188
+ };
189
+ });
190
+ return {
191
+ label: k ? "Searching..." : "Search Results",
192
+ items: e
170
193
  };
171
- });
172
- return {
173
- label: p ? "Searching..." : "Search Results",
174
- items: t
175
- };
176
- }, [m, p, i, s]), h = l(() => {
177
- const t = [];
178
- return r && t.push(r), t.push(k), I && t.push(j), t.push(...b), t;
179
- }, [r, k, I, j, b]), g = u(
180
- (t) => {
181
- d == null || d(t);
182
- },
183
- [d]
184
- );
185
- return /* @__PURE__ */ e(
186
- v,
187
- {
188
- groups: h,
189
- placeholder: "Search or jump to...",
190
- onSearch: g,
191
- emptyMessage: "No results found. Try a different search term."
192
- }
193
- );
194
- }
195
- _.displayName = "AppCommandPalette";
194
+ }, [b, k, t, m]), M = r(() => {
195
+ const e = [];
196
+ return p && e.push(p), e.push(j), f && e.push(y), e.push(...I), e;
197
+ }, [p, j, f, y, I]), $ = g(
198
+ (e) => {
199
+ l == null || l(e);
200
+ },
201
+ [l]
202
+ );
203
+ return /* @__PURE__ */ a(
204
+ z,
205
+ {
206
+ ref: L,
207
+ groups: M,
208
+ placeholder: "Search or jump to...",
209
+ onSearch: $,
210
+ emptyMessage: "No results found. Try a different search term.",
211
+ className: F(S),
212
+ ...P
213
+ }
214
+ );
215
+ }
216
+ );
217
+ X.displayName = "AppCommandPalette";
196
218
  export {
197
- _ as AppCommandPalette
219
+ X as AppCommandPalette
198
220
  };
@@ -1 +1 @@
1
- {"version":3,"file":"bottom-navbar.d.ts","sourceRoot":"","sources":["../../src/shell/bottom-navbar.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,uEAAuE;IACvE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACzC,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kEAAkE;IAClE,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC9B,6EAA6E;IAC7E,YAAY,CAAC,EAAE,aAAa,EAAE,CAAA;IAC9B,yDAAyD;IACzD,SAAS,CAAC,EAAE,aAAa,EAAE,CAAA;IAC3B,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAwED,QAAA,MAAM,YAAY,uFAyIjB,CAAA;AAGD,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"bottom-navbar.d.ts","sourceRoot":"","sources":["../../src/shell/bottom-navbar.tsx"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,uEAAuE;IACvE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,mFAAmF;IACnF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACzC,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kEAAkE;IAClE,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC9B,6EAA6E;IAC7E,YAAY,CAAC,EAAE,aAAa,EAAE,CAAA;IAC9B,yDAAyD;IACzD,SAAS,CAAC,EAAE,aAAa,EAAE,CAAA;IAC3B,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AA2ED,QAAA,MAAM,YAAY,uFAqIjB,CAAA;AAGD,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,118 +1,115 @@
1
1
  "use client";
2
- import { jsxs as r, Fragment as v, jsx as t } from "react/jsx-runtime";
3
- import * as g from "react";
4
- import { useState as N } from "react";
5
- import { useLink as f } from "./link-context.js";
6
- import { IconX as y, IconDots as w } from "@tabler/icons-react";
7
- import { c as s } from "../_chunks/utils.js";
8
- function k({ count: a }) {
2
+ import { jsxs as t, Fragment as N, jsx as s } from "react/jsx-runtime";
3
+ import * as w from "react";
4
+ import { useState as y } from "react";
5
+ import { u } from "../_chunks/link-context.js";
6
+ import { IconX as k, IconDots as M } from "@tabler/icons-react";
7
+ import { cn as o } from "../ui/lib/utils.js";
8
+ import { springs as d } from "../ui/lib/motion.js";
9
+ import { m as f } from "../_chunks/framer.js";
10
+ function j({ count: a }) {
9
11
  if (!a || a <= 0) return null;
10
- const i = a > 99 ? "99+" : String(a), l = a >= 10;
11
- return /* @__PURE__ */ t(
12
+ const r = a > 99 ? "99+" : String(a), i = a >= 10;
13
+ return /* @__PURE__ */ s(
12
14
  "span",
13
15
  {
14
16
  "aria-label": `${a} notifications`,
15
- className: s(
16
- "absolute -right-1 -top-0.5 flex h-4 min-w-4 items-center justify-center rounded-full bg-error text-[10px] font-semibold leading-none text-text-on-color animate-in zoom-in-75",
17
- l ? "px-0.5" : ""
17
+ className: o(
18
+ "absolute -right-1 -top-0.5 flex h-4 min-w-4 items-center justify-center rounded-full bg-error-9 text-[10px] font-semibold leading-none text-accent-fg animate-in zoom-in-75",
19
+ i ? "px-0.5" : ""
18
20
  ),
19
- children: i
21
+ children: r
20
22
  }
21
23
  );
22
24
  }
23
- function M({
25
+ function C({
24
26
  item: a,
25
- isActive: i,
26
- onClick: l
27
+ isActive: r,
28
+ onClick: i
27
29
  }) {
28
- const n = f();
29
- return /* @__PURE__ */ t(
30
+ const n = u();
31
+ return /* @__PURE__ */ s(f.div, { whileTap: { y: -2 }, transition: d.snappy, className: "flex max-w-[70px] flex-1", children: /* @__PURE__ */ s(
30
32
  n,
31
33
  {
32
34
  href: a.href,
33
- onClick: l,
35
+ onClick: i,
34
36
  "aria-label": a.title,
35
- "aria-current": i ? "page" : void 0,
36
- className: s(
37
- "flex h-16 max-w-[70px] flex-1 cursor-pointer flex-col items-center gap-ds-02 p-ds-02 pt-0 text-ds-sm active:animate-subtle-bounce",
38
- i ? "font-semibold text-interactive" : "text-text-helper"
37
+ "aria-current": r ? "page" : void 0,
38
+ className: o(
39
+ "flex h-16 w-full cursor-pointer flex-col items-center gap-ds-02 p-ds-02 pt-0 text-ds-sm",
40
+ r ? "font-semibold text-accent-11" : "text-surface-fg-subtle"
39
41
  ),
40
- children: /* @__PURE__ */ r("div", { className: "relative flex w-full flex-col items-center gap-ds-02", children: [
41
- /* @__PURE__ */ t(
42
- "div",
42
+ children: /* @__PURE__ */ t("div", { className: "relative flex w-full flex-col items-center gap-ds-02", children: [
43
+ r && /* @__PURE__ */ s(
44
+ f.div,
43
45
  {
44
- className: s(
45
- "absolute top-0 h-[3px] w-full rounded-b-ds-sm bg-interactive p-0 transition-[opacity,transform] duration-moderate-01",
46
- i ? "opacity-100 animate-tab-indicator" : "opacity-0 scale-x-0"
47
- ),
48
- "aria-hidden": "true"
46
+ layoutId: "bottom-nav-indicator",
47
+ className: "absolute top-0 h-[3px] w-full rounded-b-ds-sm bg-accent-9 p-0",
48
+ "aria-hidden": "true",
49
+ transition: d.snappy
49
50
  }
50
51
  ),
51
- /* @__PURE__ */ r("div", { className: "relative p-ds-03", children: [
52
- /* @__PURE__ */ t("span", { className: "[&>svg]:h-ico-md [&>svg]:w-ico-md", "aria-hidden": "true", children: a.icon }),
53
- a.badge != null && /* @__PURE__ */ t(k, { count: a.badge })
52
+ /* @__PURE__ */ t("div", { className: "relative p-ds-03", children: [
53
+ /* @__PURE__ */ s("span", { className: "[&>svg]:h-ico-md [&>svg]:w-ico-md", "aria-hidden": "true", children: a.icon }),
54
+ a.badge != null && /* @__PURE__ */ s(j, { count: a.badge })
54
55
  ] }),
55
- /* @__PURE__ */ t("span", { className: "text-center", children: a.title })
56
+ /* @__PURE__ */ s("span", { className: "text-center", children: a.title })
56
57
  ] })
57
58
  }
58
- );
59
+ ) });
59
60
  }
60
- const j = g.forwardRef(
61
+ const B = w.forwardRef(
61
62
  ({
62
63
  currentPath: a = "/",
63
- user: i,
64
- primaryItems: l = [],
64
+ user: r,
65
+ primaryItems: i = [],
65
66
  moreItems: n = [],
66
- className: p,
67
+ className: h,
67
68
  ...x
68
69
  }, b) => {
69
- const h = f(), [o, d] = N(!1), c = (e, u = !1) => u || e === "/" ? a === e : a.startsWith(e), m = n.some(
70
- (e) => c(e.href, e.exact)
70
+ const g = u(), [l, c] = y(!1), m = (e, v = !1) => v || e === "/" ? a === e : a.startsWith(e), p = n.some(
71
+ (e) => m(e.href, e.exact)
71
72
  );
72
- return /* @__PURE__ */ r(v, { children: [
73
- o && /* @__PURE__ */ r(
73
+ return /* @__PURE__ */ t(N, { children: [
74
+ l && // eslint-disable-next-line jsx-a11y/no-static-element-interactions, jsx-a11y/click-events-have-key-events -- backdrop overlay, dismiss via mouse only; keyboard users close via Escape
75
+ /* @__PURE__ */ t(
74
76
  "div",
75
77
  {
76
- role: "button",
77
- tabIndex: 0,
78
78
  className: "fixed inset-0 z-overlay md:hidden",
79
- onClick: () => d(!1),
80
- onKeyDown: (e) => {
81
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), d(!1));
82
- },
79
+ onClick: () => c(!1),
83
80
  children: [
84
- /* @__PURE__ */ t("div", { className: "absolute inset-0 bg-overlay" }),
85
- /* @__PURE__ */ r(
81
+ /* @__PURE__ */ s("div", { className: "absolute inset-0 bg-overlay" }),
82
+ /* @__PURE__ */ t(
86
83
  "div",
87
84
  {
88
- className: "absolute bottom-[72px] left-0 right-0 rounded-t-ds-2xl border-t border-border bg-layer-01 p-ds-05 pb-ds-03",
85
+ className: "absolute bottom-[72px] left-0 right-0 rounded-t-ds-2xl border-t border-surface-border-strong bg-surface-1 p-ds-05 pb-ds-03",
89
86
  onClick: (e) => e.stopPropagation(),
90
87
  onKeyDown: (e) => e.stopPropagation(),
91
88
  children: [
92
- /* @__PURE__ */ r("div", { className: "mb-ds-04 flex items-center justify-between", children: [
93
- /* @__PURE__ */ t("span", { className: "text-ds-md font-semibold text-text-primary", children: "More" }),
94
- /* @__PURE__ */ t(
89
+ /* @__PURE__ */ t("div", { className: "mb-ds-04 flex items-center justify-between", children: [
90
+ /* @__PURE__ */ s("span", { className: "text-ds-md font-semibold text-surface-fg", children: "More" }),
91
+ /* @__PURE__ */ s(
95
92
  "button",
96
93
  {
97
- onClick: () => d(!1),
94
+ onClick: () => c(!1),
98
95
  "aria-label": "Close more menu",
99
- className: "flex h-ds-sm w-ds-sm items-center justify-center rounded-ds-full hover:bg-layer-02",
100
- children: /* @__PURE__ */ t(y, { className: "h-ico-sm w-ico-sm text-text-secondary", "aria-hidden": "true" })
96
+ className: "flex h-ds-sm w-ds-sm items-center justify-center rounded-ds-full hover:bg-surface-2",
97
+ children: /* @__PURE__ */ s(k, { className: "h-ico-sm w-ico-sm text-surface-fg-muted", "aria-hidden": "true" })
101
98
  }
102
99
  )
103
100
  ] }),
104
- /* @__PURE__ */ t("div", { className: "grid grid-cols-4 gap-ds-03", children: n.map((e) => /* @__PURE__ */ r(
105
- h,
101
+ /* @__PURE__ */ s("div", { className: "grid grid-cols-4 gap-ds-03", children: n.map((e) => /* @__PURE__ */ t(
102
+ g,
106
103
  {
107
104
  href: e.href,
108
- onClick: () => d(!1),
109
- className: s(
105
+ onClick: () => c(!1),
106
+ className: o(
110
107
  "flex flex-col items-center gap-ds-02b rounded-ds-xl p-ds-04 text-ds-sm transition-colors",
111
- c(e.href, e.exact) ? "bg-layer-02 text-interactive" : "text-text-helper hover:bg-layer-02"
108
+ m(e.href, e.exact) ? "bg-surface-2 text-accent-11" : "text-surface-fg-subtle hover:bg-surface-2"
112
109
  ),
113
110
  children: [
114
- /* @__PURE__ */ t("span", { className: "[&>svg]:h-ico-md [&>svg]:w-ico-md", children: e.icon }),
115
- /* @__PURE__ */ t("span", { className: "text-center", children: e.title })
111
+ /* @__PURE__ */ s("span", { className: "[&>svg]:h-ico-md [&>svg]:w-ico-md", children: e.icon }),
112
+ /* @__PURE__ */ s("span", { className: "text-center", children: e.title })
116
113
  ]
117
114
  },
118
115
  e.href
@@ -123,49 +120,50 @@ const j = g.forwardRef(
123
120
  ]
124
121
  }
125
122
  ),
126
- /* @__PURE__ */ r(
123
+ /* @__PURE__ */ t(
127
124
  "nav",
128
125
  {
129
126
  ...x,
130
127
  ref: b,
131
128
  "aria-label": "Mobile navigation",
132
- className: s(
133
- "fixed bottom-0 left-0 right-0 z-sticky flex w-full flex-row items-start justify-between border-t border-border bg-layer-01 px-ds-05 pb-ds-05b pt-0 md:hidden",
134
- p
129
+ className: o(
130
+ "fixed bottom-0 left-0 right-0 z-sticky flex w-full flex-row items-start justify-between border-t border-surface-border-strong bg-surface-1 px-ds-05 pb-ds-05b pt-0 md:hidden",
131
+ h
135
132
  ),
136
133
  children: [
137
- l.map((e) => /* @__PURE__ */ t(
138
- M,
134
+ i.map((e) => /* @__PURE__ */ s(
135
+ C,
139
136
  {
140
137
  item: e,
141
- isActive: c(e.href, e.exact)
138
+ isActive: m(e.href, e.exact)
142
139
  },
143
140
  e.href
144
141
  )),
145
- n.length > 0 && /* @__PURE__ */ t(
146
- "button",
142
+ n.length > 0 && /* @__PURE__ */ s(
143
+ f.button,
147
144
  {
148
145
  type: "button",
149
- onClick: () => d(!o),
146
+ onClick: () => c(!l),
150
147
  "aria-label": "More navigation options",
151
- "aria-expanded": o,
152
- className: s(
153
- "flex h-16 max-w-[70px] flex-1 cursor-pointer flex-col items-center gap-ds-02 p-ds-02 pt-0 text-ds-sm active:animate-subtle-bounce",
154
- o || m ? "font-semibold text-interactive" : "text-text-helper"
148
+ "aria-expanded": l,
149
+ whileTap: { y: -2 },
150
+ transition: d.snappy,
151
+ className: o(
152
+ "flex h-16 max-w-[70px] flex-1 cursor-pointer flex-col items-center gap-ds-02 p-ds-02 pt-0 text-ds-sm",
153
+ l || p ? "font-semibold text-accent-11" : "text-surface-fg-subtle"
155
154
  ),
156
- children: /* @__PURE__ */ r("div", { className: "relative flex w-full flex-col items-center gap-ds-02", children: [
157
- /* @__PURE__ */ t(
158
- "div",
155
+ children: /* @__PURE__ */ t("div", { className: "relative flex w-full flex-col items-center gap-ds-02", children: [
156
+ (l || p) && /* @__PURE__ */ s(
157
+ f.div,
159
158
  {
160
- className: s(
161
- "absolute top-0 h-[3px] w-full rounded-b-ds-sm bg-interactive p-0 transition-[opacity,transform] duration-moderate-01",
162
- o || m ? "opacity-100 animate-tab-indicator" : "opacity-0 scale-x-0"
163
- ),
164
- "aria-hidden": "true"
159
+ layoutId: "bottom-nav-indicator",
160
+ className: "absolute top-0 h-[3px] w-full rounded-b-ds-sm bg-accent-9 p-0",
161
+ "aria-hidden": "true",
162
+ transition: d.snappy
165
163
  }
166
164
  ),
167
- /* @__PURE__ */ t("div", { className: "p-ds-03", children: /* @__PURE__ */ t(w, { className: "h-ico-md w-ico-md", "aria-hidden": "true" }) }),
168
- /* @__PURE__ */ t("span", { className: "text-center", children: "More" })
165
+ /* @__PURE__ */ s("div", { className: "p-ds-03", children: /* @__PURE__ */ s(M, { className: "h-ico-md w-ico-md", "aria-hidden": "true" }) }),
166
+ /* @__PURE__ */ s("span", { className: "text-center", children: "More" })
169
167
  ] })
170
168
  }
171
169
  )
@@ -175,7 +173,7 @@ const j = g.forwardRef(
175
173
  ] });
176
174
  }
177
175
  );
178
- j.displayName = "BottomNavbar";
176
+ B.displayName = "BottomNavbar";
179
177
  export {
180
- j as BottomNavbar
178
+ B as BottomNavbar
181
179
  };