@devalok/shilp-sutra 0.49.0 → 0.49.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 (133) hide show
  1. package/dist/_chunks/badge-group.js +4 -4
  2. package/dist/_chunks/block-shell.js +1 -1
  3. package/dist/_chunks/chart-container.js +1 -1
  4. package/dist/_chunks/chat.js +3 -3
  5. package/dist/_chunks/colors.js +2 -2
  6. package/dist/_chunks/document-preview.js +4 -4
  7. package/dist/_chunks/emoji-suggestion.js +5 -5
  8. package/dist/_chunks/emoji-suggestion.js.map +1 -1
  9. package/dist/_chunks/emoji.js +1 -1
  10. package/dist/_chunks/field-state.js +1 -1
  11. package/dist/_chunks/grid-lines.js +1 -1
  12. package/dist/_chunks/image-preview.js +7 -7
  13. package/dist/_chunks/keybinding.js +1 -1
  14. package/dist/_chunks/link-context.js +1 -1
  15. package/dist/_chunks/mention-suggestion.js +2 -2
  16. package/dist/_chunks/mention.js +1 -1
  17. package/dist/_chunks/motion-provider.js +1 -1
  18. package/dist/_chunks/normalize-icon.js +1 -1
  19. package/dist/_chunks/oauth-button.js +2 -2
  20. package/dist/_chunks/popover.js +17 -17
  21. package/dist/_chunks/primitives.js +1 -1
  22. package/dist/_chunks/shared.js +5 -5
  23. package/dist/_chunks/success.js +4 -4
  24. package/dist/_chunks/tiptap.js +11 -11
  25. package/dist/_chunks/tooltip.js +1 -1
  26. package/dist/_chunks/tree-view.js +2 -2
  27. package/dist/_chunks/use-calendar.js +1 -1
  28. package/dist/_chunks/use-controllable-open.js +1 -1
  29. package/dist/_chunks/vendor-client.js +1 -1
  30. package/dist/_chunks/vendor-utils.js +1 -1
  31. package/dist/ai/block-renderer.js +7 -7
  32. package/dist/ai/blocks/error.js +1 -1
  33. package/dist/ai/blocks/index.js +2 -2
  34. package/dist/ai/blocks/text.js +1 -1
  35. package/dist/ai/command-bar.js +6 -6
  36. package/dist/ai/conversation.js +2 -2
  37. package/dist/ai/index.js +3 -3
  38. package/dist/composed/avatar-group.js +1 -1
  39. package/dist/composed/bulk-action-bar.js +1 -1
  40. package/dist/composed/command-palette.js +6 -6
  41. package/dist/composed/content-card.js +1 -1
  42. package/dist/composed/date-picker/index.js +10 -10
  43. package/dist/composed/emoji-picker.js +4 -4
  44. package/dist/composed/empty-state.js +1 -1
  45. package/dist/composed/extensions/emoji-node.js +1 -1
  46. package/dist/composed/extensions/emoji-suggestion.js +1 -1
  47. package/dist/composed/file-preview.js +14 -14
  48. package/dist/composed/filter-bar.js +1 -1
  49. package/dist/composed/multi-select-popover.js +3 -3
  50. package/dist/composed/priority-indicator.js +1 -1
  51. package/dist/composed/responsive-modal.js +21 -21
  52. package/dist/composed/rich-chat-input.js +445 -445
  53. package/dist/composed/rich-chat-input.js.map +1 -1
  54. package/dist/composed/rich-text-editor.js +28 -28
  55. package/dist/composed/status-badge.js +1 -1
  56. package/dist/motion/index.js +2 -2
  57. package/dist/shell/bottom-navbar.js +2 -2
  58. package/dist/shell/index.js +2 -2
  59. package/dist/shell/link-context.js +2 -2
  60. package/dist/shell/notification-center.js +3 -3
  61. package/dist/shell/sidebar.js +2 -2
  62. package/dist/shell/top-bar.js +1 -1
  63. package/dist/ui/accordion.js +14 -14
  64. package/dist/ui/alert-dialog.js +31 -31
  65. package/dist/ui/alert.js +1 -1
  66. package/dist/ui/aspect-ratio.js +1 -1
  67. package/dist/ui/autocomplete.js +7 -7
  68. package/dist/ui/avatar.js +15 -15
  69. package/dist/ui/badge-group.js +1 -1
  70. package/dist/ui/badge.js +1 -1
  71. package/dist/ui/banner.js +1 -1
  72. package/dist/ui/breadcrumb.js +1 -1
  73. package/dist/ui/button.js +5 -5
  74. package/dist/ui/card.js +1 -1
  75. package/dist/ui/charts/area-chart.js +6 -6
  76. package/dist/ui/charts/bar-chart.js +6 -6
  77. package/dist/ui/charts/chart-container.js +1 -1
  78. package/dist/ui/charts/gauge-chart.js +2 -2
  79. package/dist/ui/charts/index.js +2 -2
  80. package/dist/ui/charts/line-chart.js +6 -6
  81. package/dist/ui/charts/pie-chart.js +5 -5
  82. package/dist/ui/charts/radar-chart.js +5 -5
  83. package/dist/ui/charts/sparkline.js +2 -2
  84. package/dist/ui/chat/index.js +2 -2
  85. package/dist/ui/checkbox.js +5 -5
  86. package/dist/ui/collapsible.js +4 -4
  87. package/dist/ui/color-input.js +4 -4
  88. package/dist/ui/combobox.js +7 -7
  89. package/dist/ui/context-menu.js +41 -41
  90. package/dist/ui/dialog.js +25 -25
  91. package/dist/ui/dot.js +1 -1
  92. package/dist/ui/dropdown-menu.js +51 -51
  93. package/dist/ui/hover-card.js +9 -9
  94. package/dist/ui/icon-button.js +1 -1
  95. package/dist/ui/index.js +6 -6
  96. package/dist/ui/input.js +2 -2
  97. package/dist/ui/label.js +1 -1
  98. package/dist/ui/lib/utils.js +4 -4
  99. package/dist/ui/link.js +1 -1
  100. package/dist/ui/menubar.js +53 -53
  101. package/dist/ui/navigation-menu.js +27 -27
  102. package/dist/ui/number-input.js +2 -2
  103. package/dist/ui/oauth-button/index.js +2 -2
  104. package/dist/ui/pagination.js +1 -1
  105. package/dist/ui/popover.js +2 -2
  106. package/dist/ui/progress.js +2 -2
  107. package/dist/ui/radio.js +2 -2
  108. package/dist/ui/segmented-control.js +1 -1
  109. package/dist/ui/select.js +35 -35
  110. package/dist/ui/separator.js +1 -1
  111. package/dist/ui/sheet.js +22 -22
  112. package/dist/ui/sidebar.js +2 -2
  113. package/dist/ui/skeleton.js +1 -1
  114. package/dist/ui/slider.js +7 -7
  115. package/dist/ui/split-button.js +3 -3
  116. package/dist/ui/stat-card.js +2 -2
  117. package/dist/ui/stat-flash.js +1 -1
  118. package/dist/ui/stepper.js +1 -1
  119. package/dist/ui/surface.js +2 -2
  120. package/dist/ui/switch.js +2 -2
  121. package/dist/ui/table-row-link.js +1 -1
  122. package/dist/ui/tabs.js +13 -13
  123. package/dist/ui/text.js +1 -1
  124. package/dist/ui/textarea.js +2 -2
  125. package/dist/ui/toggle-group.js +1 -1
  126. package/dist/ui/toggle.js +2 -2
  127. package/dist/ui/tooltip.js +16 -16
  128. package/dist/ui/tree-view/index.js +2 -2
  129. package/llms.txt +1 -1
  130. package/mcp-manifest.json +1 -1
  131. package/package.json +1 -1
  132. package/skill/SKILL.md +1 -1
  133. package/skill/references/components.md +1 -1
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as e, D as t, E as n, O as r, S as i, T as a, _ as o, b as s, g as c, h as l, m as u, p as d, v as f, w as p, x as m, y as h } from "../_chunks/primitives.js";
2
+ import { CheckboxItem2 as e, Content2 as t, Group2 as n, Item3 as r, ItemIndicator2 as i, Label2 as a, Menu as o, Portal2 as s, RadioGroup2 as c, RadioItem2 as l, Root3 as u, Separator2 as d, Sub2 as f, SubContent2 as p, SubTrigger2 as m, Trigger$2 as h } from "../_chunks/primitives.js";
3
3
  import { springs as g, tweens as _ } from "./lib/motion.js";
4
4
  import { cn as v } from "./lib/utils.js";
5
5
  import { Icon as y } from "./icon.js";
@@ -8,53 +8,53 @@ import { jsx as x, jsxs as S } from "react/jsx-runtime";
8
8
  import { IconCheck as C, IconChevronRight as w, IconCircle as T } from "@tabler/icons-react";
9
9
  import { AnimatePresence as E, motion as D } from "framer-motion";
10
10
  //#region src/ui/menubar.tsx
11
- var O = b.createContext(!1), k = (e) => /* @__PURE__ */ x(h, { ...e });
11
+ var O = b.createContext(!1), k = (e) => /* @__PURE__ */ x(o, { ...e });
12
12
  k.displayName = "MenubarMenu";
13
- var A = l, j = s, M = ({ open: e, defaultOpen: t = !1, onOpenChange: n, ...r }) => {
14
- let [i, o] = b.useState(t), s = e !== void 0, c = s ? e : i, l = b.useCallback((e) => {
15
- s || o(e), n?.(e);
16
- }, [s, n]);
13
+ var A = n, j = s, M = ({ open: e, defaultOpen: t = !1, onOpenChange: n, ...r }) => {
14
+ let [i, a] = b.useState(t), o = e !== void 0, s = o ? e : i, c = b.useCallback((e) => {
15
+ o || a(e), n?.(e);
16
+ }, [o, n]);
17
17
  return /* @__PURE__ */ x(O.Provider, {
18
- value: c,
19
- children: /* @__PURE__ */ x(a, {
20
- open: c,
21
- onOpenChange: l,
18
+ value: s,
19
+ children: /* @__PURE__ */ x(f, {
20
+ open: s,
21
+ onOpenChange: c,
22
22
  ...r
23
23
  })
24
24
  });
25
25
  };
26
26
  M.displayName = "MenubarSub";
27
- var N = m, P = b.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ x(e, {
28
- ref: r,
29
- className: v("flex h-ds-sm-plus items-center space-x-ds-02 rounded-overlay bg-surface-overlay p-ds-02 shadow-raised", t),
30
- ...n
27
+ var N = c, P = b.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(u, {
28
+ ref: n,
29
+ className: v("flex h-ds-sm-plus items-center space-x-ds-02 rounded-overlay bg-surface-overlay p-ds-02 shadow-raised", e),
30
+ ...t
31
31
  }));
32
- P.displayName = e.displayName;
33
- var F = b.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(r, {
32
+ P.displayName = u.displayName;
33
+ var F = b.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(h, {
34
34
  ref: n,
35
35
  className: v("flex cursor-default select-none items-center rounded-control px-ds-04 py-ds-02 text-ds-md font-medium outline-hidden transition-colors hover:bg-surface-raised-hover focus-visible:bg-surface-raised-hover data-[state=open]:bg-surface-raised-hover", e),
36
36
  ...t
37
37
  }));
38
- F.displayName = r.displayName;
39
- var I = b.forwardRef(({ className: e, inset: n, children: r, ...i }, a) => /* @__PURE__ */ S(t, {
40
- ref: a,
41
- className: v("flex cursor-default select-none items-center gap-ds-03 rounded-control px-ds-03 py-ds-02b text-ds-md outline-hidden focus:bg-surface-raised data-[state=open]:bg-surface-raised [&_svg]:pointer-events-none [&_svg]:h-ico-sm [&_svg]:w-ico-sm [&_svg]:shrink-0", n && "pl-ds-07", e),
42
- ...i,
38
+ F.displayName = h.displayName;
39
+ var I = b.forwardRef(({ className: e, inset: t, children: n, ...r }, i) => /* @__PURE__ */ S(m, {
40
+ ref: i,
41
+ className: v("flex cursor-default select-none items-center gap-ds-03 rounded-control px-ds-03 py-ds-02b text-ds-md outline-hidden focus:bg-surface-raised data-[state=open]:bg-surface-raised [&_svg]:pointer-events-none [&_svg]:h-ico-sm [&_svg]:w-ico-sm [&_svg]:shrink-0", t && "pl-ds-07", e),
42
+ ...r,
43
43
  children: [/* @__PURE__ */ x("span", {
44
44
  className: "min-w-0 truncate",
45
- children: r
45
+ children: n
46
46
  }), /* @__PURE__ */ x(y, {
47
47
  icon: w,
48
48
  size: "sm",
49
49
  className: "ml-auto shrink-0"
50
50
  })]
51
51
  }));
52
- I.displayName = t.displayName;
53
- var L = b.forwardRef(({ className: e, children: t, ...r }, i) => /* @__PURE__ */ x(E, { children: b.useContext(O) && /* @__PURE__ */ x(n, {
54
- ref: i,
52
+ I.displayName = m.displayName;
53
+ var L = b.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ x(E, { children: b.useContext(O) && /* @__PURE__ */ x(p, {
54
+ ref: r,
55
55
  forceMount: !0,
56
56
  asChild: !0,
57
- ...r,
57
+ ...n,
58
58
  children: /* @__PURE__ */ x(D.div, {
59
59
  initial: {
60
60
  opacity: 0,
@@ -76,62 +76,62 @@ var L = b.forwardRef(({ className: e, children: t, ...r }, i) => /* @__PURE__ */
76
76
  children: t
77
77
  })
78
78
  }) }));
79
- L.displayName = n.displayName;
80
- var R = b.forwardRef(({ className: e, align: t = "start", alignOffset: n = -4, sideOffset: r = 8, children: i, ...a }, o) => /* @__PURE__ */ x(s, { children: /* @__PURE__ */ x(u, {
81
- ref: o,
82
- align: t,
83
- alignOffset: n,
84
- sideOffset: r,
79
+ L.displayName = p.displayName;
80
+ var R = b.forwardRef(({ className: e, align: n = "start", alignOffset: r = -4, sideOffset: i = 8, children: a, ...o }, c) => /* @__PURE__ */ x(s, { children: /* @__PURE__ */ x(t, {
81
+ ref: c,
82
+ align: n,
83
+ alignOffset: r,
84
+ sideOffset: i,
85
85
  className: v("z-popover min-w-[12rem] rounded-overlay bg-surface-overlay p-ds-02 text-surface-fg shadow-floating", "data-[state=open]:animate-popover-in data-[state=closed]:animate-popover-out", e),
86
- ...a,
87
- children: i
86
+ ...o,
87
+ children: a
88
88
  }) }));
89
- R.displayName = u.displayName;
90
- var z = b.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ x(c, {
91
- ref: r,
89
+ R.displayName = t.displayName;
90
+ var z = b.forwardRef(({ className: e, inset: t, ...n }, i) => /* @__PURE__ */ x(r, {
91
+ ref: i,
92
92
  className: v("relative flex cursor-default select-none items-center gap-ds-03 rounded-control px-ds-03 py-ds-02b text-ds-md outline-hidden transition-colors focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled [&>svg]:h-ico-sm [&>svg]:w-ico-sm [&>svg]:shrink-0", t && "pl-ds-07", e),
93
93
  ...n
94
94
  }));
95
- z.displayName = c.displayName;
96
- var B = b.forwardRef(({ className: e, children: t, checked: n, ...r }, i) => /* @__PURE__ */ S(d, {
97
- ref: i,
98
- className: v("relative flex cursor-default select-none items-center rounded-control py-ds-02b pl-ds-07 pr-ds-03 text-ds-md outline-hidden transition-colors focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled", e),
99
- checked: n,
100
- ...r,
95
+ z.displayName = r.displayName;
96
+ var B = b.forwardRef(({ className: t, children: n, checked: r, ...a }, o) => /* @__PURE__ */ S(e, {
97
+ ref: o,
98
+ className: v("relative flex cursor-default select-none items-center rounded-control py-ds-02b pl-ds-07 pr-ds-03 text-ds-md outline-hidden transition-colors focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled", t),
99
+ checked: r,
100
+ ...a,
101
101
  children: [/* @__PURE__ */ x("span", {
102
102
  className: "absolute left-ds-03 flex h-ico-sm w-ico-sm items-center justify-center",
103
- children: /* @__PURE__ */ x(o, { children: /* @__PURE__ */ x(y, {
103
+ children: /* @__PURE__ */ x(i, { children: /* @__PURE__ */ x(y, {
104
104
  icon: C,
105
105
  size: "sm"
106
106
  }) })
107
- }), t]
107
+ }), n]
108
108
  }));
109
- B.displayName = d.displayName;
110
- var V = b.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ S(i, {
109
+ B.displayName = e.displayName;
110
+ var V = b.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ S(l, {
111
111
  ref: r,
112
112
  className: v("relative flex cursor-default select-none items-center rounded-control py-ds-02b pl-ds-07 pr-ds-03 text-ds-md outline-hidden transition-colors focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled", e),
113
113
  ...n,
114
114
  children: [/* @__PURE__ */ x("span", {
115
115
  className: "absolute left-ds-03 flex h-ico-sm w-ico-sm items-center justify-center",
116
- children: /* @__PURE__ */ x(o, { children: /* @__PURE__ */ x(T, { className: "h-2 w-2 fill-current" }) })
116
+ children: /* @__PURE__ */ x(i, { children: /* @__PURE__ */ x(T, { className: "h-2 w-2 fill-current" }) })
117
117
  }), /* @__PURE__ */ x("span", {
118
118
  className: "min-w-0 truncate",
119
119
  children: t
120
120
  })]
121
121
  }));
122
- V.displayName = i.displayName;
123
- var H = b.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ x(f, {
122
+ V.displayName = l.displayName;
123
+ var H = b.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ x(a, {
124
124
  ref: r,
125
125
  className: v("px-ds-03 py-ds-02b text-ds-md font-semibold", t && "pl-ds-07", e),
126
126
  ...n
127
127
  }));
128
- H.displayName = f.displayName;
129
- var U = b.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(p, {
128
+ H.displayName = a.displayName;
129
+ var U = b.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(d, {
130
130
  ref: n,
131
131
  className: v("-mx-ds-01 my-ds-02 h-px bg-surface-border", e),
132
132
  ...t
133
133
  }));
134
- U.displayName = p.displayName;
134
+ U.displayName = d.displayName;
135
135
  var W = ({ className: e, ...t }) => /* @__PURE__ */ x("span", {
136
136
  className: v("ml-auto text-ds-sm text-surface-fg-subtle", e),
137
137
  ...t
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { a as e, c as t, d as n, f as r, l as i, o as a, s as o, u as s } from "../_chunks/primitives.js";
2
+ import { Content$1 as e, Indicator as t, Item as n, Link as r, List$1 as i, Root2$1 as a, Trigger$1 as o, Viewport as s } from "../_chunks/primitives.js";
3
3
  import { springs as c, tweens as l } from "./lib/motion.js";
4
4
  import { cn as u } from "./lib/utils.js";
5
5
  import { Icon as d } from "./icon.js";
@@ -8,23 +8,23 @@ import { jsx as p, jsxs as m } from "react/jsx-runtime";
8
8
  import { IconChevronDown as h } from "@tabler/icons-react";
9
9
  import { motion as g } from "framer-motion";
10
10
  //#region src/ui/navigation-menu.tsx
11
- var _ = f.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(s, {
11
+ var _ = f.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(a, {
12
12
  ref: r,
13
13
  className: u("relative z-raised flex max-w-max flex-1 items-center justify-center", e),
14
14
  ...n,
15
15
  children: [t, /* @__PURE__ */ p(w, {})]
16
16
  }));
17
- _.displayName = s.displayName;
17
+ _.displayName = a.displayName;
18
18
  var v = f.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ p(i, {
19
19
  ref: n,
20
20
  className: u("group flex flex-1 list-none items-center justify-center space-x-ds-02", e),
21
21
  ...t
22
22
  }));
23
23
  v.displayName = i.displayName;
24
- var y = o, b = f.forwardRef(({ className: e, children: t, ...r }, i) => /* @__PURE__ */ m(n, {
25
- ref: i,
24
+ var y = n, b = f.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ m(o, {
25
+ ref: r,
26
26
  className: u("group inline-flex h-ds-sm-plus w-max items-center justify-center rounded-control bg-transparent px-ds-05 py-ds-03 text-ds-md font-medium transition-colors hover:bg-surface-raised-hover focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 disabled:pointer-events-none disabled:opacity-action-disabled", e),
27
- ...r,
27
+ ...n,
28
28
  children: [
29
29
  t,
30
30
  " ",
@@ -35,7 +35,7 @@ var y = o, b = f.forwardRef(({ className: e, children: t, ...r }, i) => /* @__PU
35
35
  })
36
36
  ]
37
37
  }));
38
- b.displayName = n.displayName;
38
+ b.displayName = o.displayName;
39
39
  var x = {
40
40
  "from-start": {
41
41
  x: "-13rem",
@@ -95,16 +95,16 @@ var x = {
95
95
  });
96
96
  });
97
97
  S.displayName = e.displayName;
98
- var C = t, w = f.forwardRef(({ className: e, ...t }, n) => {
99
- let i = f.useRef(null), a = f.useCallback((e) => {
100
- i.current = e, typeof n == "function" ? n(e) : n && (n.current = e);
101
- }, [n]), [o, s] = f.useState(!1);
98
+ var C = r, w = f.forwardRef(({ className: e, ...t }, n) => {
99
+ let r = f.useRef(null), i = f.useCallback((e) => {
100
+ r.current = e, typeof n == "function" ? n(e) : n && (n.current = e);
101
+ }, [n]), [a, o] = f.useState(!1);
102
102
  return f.useEffect(() => {
103
- let e = i.current;
103
+ let e = r.current;
104
104
  if (!e) return;
105
- s(e.getAttribute("data-state") === "open");
105
+ o(e.getAttribute("data-state") === "open");
106
106
  let t = new MutationObserver((t) => {
107
- for (let n of t) n.attributeName === "data-state" && s(e.getAttribute("data-state") === "open");
107
+ for (let n of t) n.attributeName === "data-state" && o(e.getAttribute("data-state") === "open");
108
108
  });
109
109
  return t.observe(e, {
110
110
  attributes: !0,
@@ -112,15 +112,15 @@ var C = t, w = f.forwardRef(({ className: e, ...t }, n) => {
112
112
  }), () => t.disconnect();
113
113
  }, []), /* @__PURE__ */ m("div", {
114
114
  className: u("absolute left-0 top-full flex justify-center"),
115
- children: [/* @__PURE__ */ p(r, {
115
+ children: [/* @__PURE__ */ p(s, {
116
116
  className: u("origin-top-center relative mt-ds-02b h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-overlay bg-surface-overlay shadow-floating md:w-[var(--radix-navigation-menu-viewport-width)]", e),
117
- ref: a,
117
+ ref: i,
118
118
  ...t
119
119
  }), /* @__PURE__ */ p(g.div, {
120
120
  "aria-hidden": !0,
121
121
  className: "absolute inset-0 pointer-events-none",
122
122
  initial: !1,
123
- animate: o ? {
123
+ animate: a ? {
124
124
  opacity: 1,
125
125
  scale: 1
126
126
  } : {
@@ -134,13 +134,13 @@ var C = t, w = f.forwardRef(({ className: e, ...t }, n) => {
134
134
  })]
135
135
  });
136
136
  });
137
- w.displayName = r.displayName;
138
- var T = f.forwardRef(({ className: e, ...t }, n) => {
139
- let r = f.useRef(null), i = f.useCallback((e) => {
140
- r.current = e, typeof n == "function" ? n(e) : n && (n.current = e);
141
- }, [n]), [o, s] = f.useState(!1);
137
+ w.displayName = s.displayName;
138
+ var T = f.forwardRef(({ className: e, ...n }, r) => {
139
+ let i = f.useRef(null), a = f.useCallback((e) => {
140
+ i.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
141
+ }, [r]), [o, s] = f.useState(!1);
142
142
  return f.useEffect(() => {
143
- let e = r.current;
143
+ let e = i.current;
144
144
  if (!e) return;
145
145
  s(e.getAttribute("data-state") === "visible");
146
146
  let t = new MutationObserver((t) => {
@@ -150,10 +150,10 @@ var T = f.forwardRef(({ className: e, ...t }, n) => {
150
150
  attributes: !0,
151
151
  attributeFilter: ["data-state"]
152
152
  }), () => t.disconnect();
153
- }, []), /* @__PURE__ */ p(a, {
154
- ref: i,
153
+ }, []), /* @__PURE__ */ p(t, {
154
+ ref: a,
155
155
  className: u("top-full z-base flex h-ds-02b items-end justify-center overflow-hidden", e),
156
- ...t,
156
+ ...n,
157
157
  children: /* @__PURE__ */ p(g.div, {
158
158
  layout: !0,
159
159
  initial: !1,
@@ -163,6 +163,6 @@ var T = f.forwardRef(({ className: e, ...t }, n) => {
163
163
  })
164
164
  });
165
165
  });
166
- T.displayName = a.displayName;
166
+ T.displayName = t.displayName;
167
167
  //#endregion
168
168
  export { _ as NavigationMenu, S as NavigationMenuContent, T as NavigationMenuIndicator, y as NavigationMenuItem, C as NavigationMenuLink, v as NavigationMenuList, b as NavigationMenuTrigger, w as NavigationMenuViewport };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as e } from "../_chunks/vendor-utils.js";
2
+ import { cva as e } from "../_chunks/vendor-utils.js";
3
3
  import { cn as t } from "./lib/utils.js";
4
4
  import { Icon as n } from "./icon.js";
5
5
  import { useFormField as r } from "./form.js";
6
- import { t as i } from "../_chunks/field-state.js";
6
+ import { resolveFieldState as i } from "../_chunks/field-state.js";
7
7
  import * as a from "react";
8
8
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
9
9
  import { IconMinus as c, IconPlus as l } from "@tabler/icons-react";
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../../_chunks/oauth-button.js";
3
- export { s as OAuth, r as OAuthButton, a as OAuthConnectionRow, n as OAuthDivider, e as OAuthGlyph, i as OAuthGroup, o as getOAuthLabel, t as getOAuthName };
2
+ import { OAuth as e, OAuthButton as t, OAuthConnectionRow as n, OAuthDivider as r, OAuthGlyph as i, OAuthGroup as a, getOAuthLabel as o, getOAuthName as s } from "../../_chunks/oauth-button.js";
3
+ export { e as OAuth, t as OAuthButton, n as OAuthConnectionRow, r as OAuthDivider, i as OAuthGlyph, a as OAuthGroup, o as getOAuthLabel, s as getOAuthName };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Vn as e } from "../_chunks/primitives.js";
2
+ import { Slot as e } from "../_chunks/primitives.js";
3
3
  import { cn as t } from "./lib/utils.js";
4
4
  import { Icon as n } from "./icon.js";
5
5
  import * as r from "react";
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { i as e, n as t, r as n, t as r } from "../_chunks/popover.js";
3
- export { r as Popover, t as PopoverAnchor, n as PopoverContent, e as PopoverTrigger };
2
+ import { Popover as e, PopoverAnchor as t, PopoverContent as n, PopoverTrigger as r } from "../_chunks/popover.js";
3
+ export { e as Popover, t as PopoverAnchor, n as PopoverContent, r as PopoverTrigger };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { k as e } from "../_chunks/primitives.js";
2
+ import { Root as e } from "../_chunks/primitives.js";
3
3
  import { springs as t } from "./lib/motion.js";
4
- import { t as n } from "../_chunks/vendor-utils.js";
4
+ import { cva as n } from "../_chunks/vendor-utils.js";
5
5
  import { cn as r } from "./lib/utils.js";
6
6
  import * as i from "react";
7
7
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
package/dist/ui/radio.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { at as e, ot as t, st as n } from "../_chunks/primitives.js";
2
+ import { Indicator$1 as e, Item2$1 as t, Root2$4 as n } from "../_chunks/primitives.js";
3
3
  import { springs as r } from "./lib/motion.js";
4
4
  import { cn as i } from "./lib/utils.js";
5
5
  import { useFormField as a } from "./form.js";
6
- import { t as o } from "../_chunks/field-state.js";
6
+ import { resolveFieldState as o } from "../_chunks/field-state.js";
7
7
  import * as s from "react";
8
8
  import { jsx as c } from "react/jsx-runtime";
9
9
  import { IconCircle as l } from "@tabler/icons-react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { IconProvider as e } from "./icon-context.js";
3
3
  import { cn as t } from "./lib/utils.js";
4
- import { t as n } from "../_chunks/normalize-icon.js";
4
+ import { normalizeIcon as n } from "../_chunks/normalize-icon.js";
5
5
  import * as r from "react";
6
6
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
7
7
  import { LayoutGroup as o, motion as s } from "framer-motion";
package/dist/ui/select.js CHANGED
@@ -1,17 +1,17 @@
1
1
  "use client";
2
- import { $ as e, G as t, J as n, K as r, Q as i, W as a, X as o, Y as s, Z as c, et as l, it as u, nt as d, q as f, rt as p, tt as m } from "../_chunks/primitives.js";
2
+ import { Content2$2 as e, Group as t, Icon as n, Item$1 as r, ItemIndicator as i, ItemText as a, Label as o, Portal$1 as s, Root2$3 as c, ScrollDownButton as l, ScrollUpButton as u, Separator as d, Trigger$4 as f, Value as p, Viewport$1 as m } from "../_chunks/primitives.js";
3
3
  import { springs as h, tweens as g } from "./lib/motion.js";
4
- import { t as _ } from "../_chunks/vendor-utils.js";
4
+ import { cva as _ } from "../_chunks/vendor-utils.js";
5
5
  import { cn as v } from "./lib/utils.js";
6
6
  import { Icon as y } from "./icon.js";
7
7
  import { useFormField as b } from "./form.js";
8
- import { t as x } from "../_chunks/field-state.js";
8
+ import { resolveFieldState as x } from "../_chunks/field-state.js";
9
9
  import * as S from "react";
10
10
  import { jsx as C, jsxs as w } from "react/jsx-runtime";
11
11
  import { IconCheck as T, IconChevronDown as E, IconChevronUp as D } from "@tabler/icons-react";
12
12
  import { motion as O } from "framer-motion";
13
13
  //#region src/ui/select.tsx
14
- var k = i, A = t, j = p, M = _("flex w-full items-center justify-between whitespace-nowrap rounded-control placeholder:text-surface-fg-subtle focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-action-disabled [&>span]:line-clamp-1 [&>span]:min-w-0", {
14
+ var k = c, A = t, j = p, M = _("flex w-full items-center justify-between whitespace-nowrap rounded-control placeholder:text-surface-fg-subtle focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-action-disabled [&>span]:line-clamp-1 [&>span]:min-w-0", {
15
15
  variants: {
16
16
  variant: {
17
17
  default: "border border-surface-border-strong bg-surface-raised-hover focus-visible:border-accent-7",
@@ -36,20 +36,20 @@ var k = i, A = t, j = p, M = _("flex w-full items-center justify-between whitesp
36
36
  state: "default",
37
37
  size: "md"
38
38
  }
39
- }), N = S.forwardRef(({ className: e, children: t, variant: n, state: i, size: a, ...o }, s) => {
40
- let c = b(), l = x(i ?? void 0, c.state), u = o["aria-describedby"] ?? c.helperTextId, f = o["aria-required"] ?? c.required;
41
- return /* @__PURE__ */ w(d, {
39
+ }), N = S.forwardRef(({ className: e, children: t, variant: r, state: i, size: a, ...o }, s) => {
40
+ let c = b(), l = x(i ?? void 0, c.state), u = o["aria-describedby"] ?? c.helperTextId, d = o["aria-required"] ?? c.required;
41
+ return /* @__PURE__ */ w(f, {
42
42
  ref: s,
43
43
  className: v(M({
44
- variant: n,
44
+ variant: r,
45
45
  state: l ?? "default",
46
46
  size: a
47
47
  }), e),
48
48
  "aria-invalid": l === "error" || void 0,
49
49
  "aria-describedby": u,
50
- "aria-required": f || void 0,
50
+ "aria-required": d || void 0,
51
51
  ...o,
52
- children: [t, /* @__PURE__ */ C(r, {
52
+ children: [t, /* @__PURE__ */ C(n, {
53
53
  asChild: !0,
54
54
  children: /* @__PURE__ */ C(y, {
55
55
  icon: E,
@@ -59,8 +59,8 @@ var k = i, A = t, j = p, M = _("flex w-full items-center justify-between whitesp
59
59
  })]
60
60
  });
61
61
  });
62
- N.displayName = d.displayName;
63
- var P = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(l, {
62
+ N.displayName = f.displayName;
63
+ var P = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(u, {
64
64
  ref: n,
65
65
  className: v("flex cursor-default items-center justify-center py-ds-02", e),
66
66
  ...t,
@@ -69,22 +69,22 @@ var P = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(l, {
69
69
  size: "sm"
70
70
  })
71
71
  }));
72
- P.displayName = l.displayName;
73
- var F = S.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ C(e, {
74
- ref: r,
75
- className: v("flex cursor-default items-center justify-center py-ds-02", t),
76
- ...n,
72
+ P.displayName = u.displayName;
73
+ var F = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(l, {
74
+ ref: n,
75
+ className: v("flex cursor-default items-center justify-center py-ds-02", e),
76
+ ...t,
77
77
  children: /* @__PURE__ */ C(y, {
78
78
  icon: E,
79
79
  size: "sm"
80
80
  })
81
81
  }));
82
- F.displayName = e.displayName;
83
- var I = S.forwardRef(({ className: e, children: t, position: n = "popper", ...r }, i) => /* @__PURE__ */ C(c, { children: /* @__PURE__ */ C(a, {
84
- ref: i,
85
- position: n,
82
+ F.displayName = l.displayName;
83
+ var I = S.forwardRef(({ className: t, children: n, position: r = "popper", ...i }, a) => /* @__PURE__ */ C(s, { children: /* @__PURE__ */ C(e, {
84
+ ref: a,
85
+ position: r,
86
86
  asChild: !0,
87
- ...r,
87
+ ...i,
88
88
  children: /* @__PURE__ */ w(O.div, {
89
89
  initial: {
90
90
  opacity: 0,
@@ -98,45 +98,45 @@ var I = S.forwardRef(({ className: e, children: t, position: n = "popper", ...r
98
98
  ...h.snappy,
99
99
  opacity: g.fade
100
100
  },
101
- className: v("relative z-popover max-h-96 min-w-[8rem] overflow-hidden rounded-overlay bg-surface-overlay text-surface-fg shadow-floating", n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", e),
101
+ className: v("relative z-popover max-h-96 min-w-[8rem] overflow-hidden rounded-overlay bg-surface-overlay text-surface-fg shadow-floating", r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", t),
102
102
  children: [
103
103
  /* @__PURE__ */ C(P, {}),
104
- /* @__PURE__ */ C(u, {
105
- className: v("p-ds-02", n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
106
- children: t
104
+ /* @__PURE__ */ C(m, {
105
+ className: v("p-ds-02", r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
106
+ children: n
107
107
  }),
108
108
  /* @__PURE__ */ C(F, {})
109
109
  ]
110
110
  })
111
111
  }) }));
112
- I.displayName = a.displayName;
112
+ I.displayName = e.displayName;
113
113
  var L = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(o, {
114
114
  ref: n,
115
115
  className: v("px-ds-03 py-ds-02b text-ds-md font-semibold", e),
116
116
  ...t
117
117
  }));
118
118
  L.displayName = o.displayName;
119
- var R = S.forwardRef(({ className: e, children: t, ...r }, i) => /* @__PURE__ */ w(f, {
120
- ref: i,
119
+ var R = S.forwardRef(({ className: e, children: t, ...n }, o) => /* @__PURE__ */ w(r, {
120
+ ref: o,
121
121
  className: v("relative flex w-full cursor-default select-none items-center rounded-control py-ds-02b pl-ds-03 pr-ds-07 text-ds-md outline-hidden transition-colors duration-fast-01 ease-productive-standard hover:bg-surface-raised focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled", e),
122
- ...r,
122
+ ...n,
123
123
  children: [/* @__PURE__ */ C("span", {
124
124
  className: "absolute right-ds-03 flex h-ico-sm w-ico-sm items-center justify-center",
125
- children: /* @__PURE__ */ C(n, { children: /* @__PURE__ */ C(y, {
125
+ children: /* @__PURE__ */ C(i, { children: /* @__PURE__ */ C(y, {
126
126
  icon: T,
127
127
  size: "sm"
128
128
  }) })
129
- }), /* @__PURE__ */ C(s, {
129
+ }), /* @__PURE__ */ C(a, {
130
130
  className: "min-w-0 line-clamp-1",
131
131
  children: t
132
132
  })]
133
133
  }));
134
- R.displayName = f.displayName;
135
- var z = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(m, {
134
+ R.displayName = r.displayName;
135
+ var z = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(d, {
136
136
  ref: n,
137
137
  className: v("-mx-ds-01 my-ds-02 h-px bg-surface-border", e),
138
138
  ...t
139
139
  }));
140
- z.displayName = m.displayName;
140
+ z.displayName = d.displayName;
141
141
  //#endregion
142
142
  export { k as Select, I as SelectContent, A as SelectGroup, R as SelectItem, L as SelectLabel, F as SelectScrollDownButton, P as SelectScrollUpButton, z as SelectSeparator, N as SelectTrigger, j as SelectValue, M as selectTriggerVariants };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { ct as e } from "../_chunks/primitives.js";
2
+ import { Root$4 as e } from "../_chunks/primitives.js";
3
3
  import { cn as t } from "./lib/utils.js";
4
4
  import * as n from "react";
5
5
  import { jsx as r } from "react/jsx-runtime";