@devalok/shilp-sutra 0.33.2 → 0.34.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 (175) hide show
  1. package/dist/_chunks/badge-group.js +306 -246
  2. package/dist/_chunks/chat.js +513 -0
  3. package/dist/_chunks/date-picker.js +748 -0
  4. package/dist/_chunks/document-preview.js +109 -90
  5. package/dist/_chunks/file-preview.js +492 -504
  6. package/dist/_chunks/framer.js +5564 -5613
  7. package/dist/_chunks/image-preview.js +127 -88
  8. package/dist/_chunks/keybinding.js +12 -14
  9. package/dist/_chunks/link-context.js +19 -16
  10. package/dist/_chunks/mention-suggestion.js +353 -350
  11. package/dist/_chunks/motion-provider.js +26 -20
  12. package/dist/_chunks/popover.js +127 -0
  13. package/dist/_chunks/primitives.js +7584 -6425
  14. package/dist/_chunks/rich-chat-input.js +2070 -0
  15. package/dist/_chunks/rolldown-runtime.js +21 -0
  16. package/dist/_chunks/shared.js +126 -0
  17. package/dist/_chunks/sonner.js +605 -734
  18. package/dist/_chunks/stat-row.js +418 -440
  19. package/dist/_chunks/tiptap.js +15850 -19964
  20. package/dist/_chunks/tree-view.js +231 -290
  21. package/dist/_chunks/use-calendar.js +161 -208
  22. package/dist/_chunks/vendor-client.js +314 -2199
  23. package/dist/_chunks/vendor-utils.js +1721 -2978
  24. package/dist/ai/ai-command-provider.js +23 -17
  25. package/dist/ai/block-renderer.js +68 -51
  26. package/dist/ai/blocks/index.js +2 -12
  27. package/dist/ai/command-bar.js +470 -519
  28. package/dist/ai/conversation.js +241 -227
  29. package/dist/ai/index.js +181 -167
  30. package/dist/ai/types.js +0 -1
  31. package/dist/composed/activity-feed.js +232 -202
  32. package/dist/composed/avatar-group.js +164 -222
  33. package/dist/composed/bulk-action-bar.js +174 -165
  34. package/dist/composed/command-palette.js +290 -308
  35. package/dist/composed/confirm-dialog.js +28 -48
  36. package/dist/composed/content-card.js +69 -108
  37. package/dist/composed/date-picker/index.js +3 -13
  38. package/dist/composed/deadline-indicator.js +68 -74
  39. package/dist/composed/emoji-picker.js +83 -110
  40. package/dist/composed/empty-state.js +64 -103
  41. package/dist/composed/error-boundary.js +129 -127
  42. package/dist/composed/file-preview.js +2 -12
  43. package/dist/composed/filter-bar.js +98 -130
  44. package/dist/composed/form-section.js +61 -45
  45. package/dist/composed/global-loading.js +34 -47
  46. package/dist/composed/index.js +34 -92
  47. package/dist/composed/inline-edit.js +92 -107
  48. package/dist/composed/lib/string-utils.js +8 -8
  49. package/dist/composed/loading-skeleton.js +103 -171
  50. package/dist/composed/markdown-viewer.js +187 -139
  51. package/dist/composed/master-detail.js +147 -156
  52. package/dist/composed/member-picker.js +46 -49
  53. package/dist/composed/multi-select-popover.js +181 -179
  54. package/dist/composed/page-header.js +54 -76
  55. package/dist/composed/page-skeletons.js +143 -127
  56. package/dist/composed/priority-indicator.js +105 -111
  57. package/dist/composed/responsive-overlay.js +36 -41
  58. package/dist/composed/rich-chat-input.js +2 -1860
  59. package/dist/composed/rich-text-editor.js +561 -424
  60. package/dist/composed/schedule-view.js +134 -185
  61. package/dist/composed/simple-tooltip.js +21 -21
  62. package/dist/composed/status-badge.js +133 -137
  63. package/dist/hooks/index.js +7 -12
  64. package/dist/hooks/use-color-mode.js +28 -25
  65. package/dist/hooks/use-mobile.js +13 -13
  66. package/dist/hooks/use-toast.js +2 -4
  67. package/dist/hooks/use-touch-device.js +9 -11
  68. package/dist/hooks/use-viewport-height.js +14 -14
  69. package/dist/motion/index.js +3 -11
  70. package/dist/motion/primitives-index.js +226 -186
  71. package/dist/shell/app-command-palette.js +203 -234
  72. package/dist/shell/bottom-navbar.js +150 -190
  73. package/dist/shell/command-registry.js +13 -14
  74. package/dist/shell/index.js +10 -20
  75. package/dist/shell/link-context.js +2 -5
  76. package/dist/shell/notification-center.js +238 -259
  77. package/dist/shell/notification-preferences.js +241 -184
  78. package/dist/shell/sidebar.js +251 -281
  79. package/dist/shell/top-bar.js +203 -237
  80. package/dist/tailwind/index.cjs +426 -451
  81. package/dist/tailwind/index.js +2 -4
  82. package/dist/tailwind/preset.d.ts.map +1 -1
  83. package/dist/tailwind/preset.js +443 -468
  84. package/dist/ui/accordion.js +52 -60
  85. package/dist/ui/alert-dialog.js +111 -156
  86. package/dist/ui/alert.js +177 -99
  87. package/dist/ui/aspect-ratio.js +13 -16
  88. package/dist/ui/autocomplete.js +112 -148
  89. package/dist/ui/avatar.js +196 -169
  90. package/dist/ui/badge-group.js +2 -7
  91. package/dist/ui/badge-indicator.js +42 -51
  92. package/dist/ui/badge.js +2 -15
  93. package/dist/ui/banner.js +76 -68
  94. package/dist/ui/breadcrumb.js +65 -84
  95. package/dist/ui/button-group.js +109 -102
  96. package/dist/ui/button-processing.js +69 -73
  97. package/dist/ui/button.js +393 -279
  98. package/dist/ui/card.js +151 -157
  99. package/dist/ui/charts/index.js +1002 -1319
  100. package/dist/ui/chat/index.js +2 -11
  101. package/dist/ui/checkbox.js +77 -100
  102. package/dist/ui/code.js +18 -32
  103. package/dist/ui/collapsible.js +21 -29
  104. package/dist/ui/color-input.js +453 -372
  105. package/dist/ui/color-swatch.js +60 -90
  106. package/dist/ui/combobox.js +244 -293
  107. package/dist/ui/container.js +18 -24
  108. package/dist/ui/context-menu.js +154 -203
  109. package/dist/ui/data-table-body.js +116 -213
  110. package/dist/ui/data-table-bulk-actions.js +43 -59
  111. package/dist/ui/data-table-card.js +84 -71
  112. package/dist/ui/data-table-context.js +39 -42
  113. package/dist/ui/data-table-header.js +98 -139
  114. package/dist/ui/data-table-pagination.js +69 -82
  115. package/dist/ui/data-table-toolbar.js +104 -130
  116. package/dist/ui/data-table.js +278 -354
  117. package/dist/ui/devalok-grain.js +77 -66
  118. package/dist/ui/dialog.js +122 -151
  119. package/dist/ui/dropdown-menu.js +152 -203
  120. package/dist/ui/file-upload.js +242 -266
  121. package/dist/ui/form.js +60 -56
  122. package/dist/ui/hover-card.js +54 -54
  123. package/dist/ui/icon-button.js +21 -26
  124. package/dist/ui/icon-context.js +17 -17
  125. package/dist/ui/icon-group.js +22 -29
  126. package/dist/ui/icon.js +201 -121
  127. package/dist/ui/index.js +74 -350
  128. package/dist/ui/input-otp.d.ts.map +1 -1
  129. package/dist/ui/input-otp.js +44 -48
  130. package/dist/ui/input.js +92 -169
  131. package/dist/ui/label.js +17 -22
  132. package/dist/ui/lib/date-utils.js +14 -11
  133. package/dist/ui/lib/motion.js +77 -36
  134. package/dist/ui/lib/utils.js +39 -16
  135. package/dist/ui/link.js +13 -24
  136. package/dist/ui/menubar.js +132 -210
  137. package/dist/ui/navigation-menu.js +164 -194
  138. package/dist/ui/number-input.js +72 -95
  139. package/dist/ui/pagination.js +122 -159
  140. package/dist/ui/popover.js +2 -131
  141. package/dist/ui/progress-ring.js +133 -143
  142. package/dist/ui/progress.js +51 -95
  143. package/dist/ui/radio.js +41 -50
  144. package/dist/ui/search-input.js +51 -53
  145. package/dist/ui/segmented-control.js +93 -114
  146. package/dist/ui/select.js +131 -157
  147. package/dist/ui/separator.js +15 -25
  148. package/dist/ui/sheet.js +135 -163
  149. package/dist/ui/sidebar.js +357 -600
  150. package/dist/ui/skeleton.js +179 -231
  151. package/dist/ui/slider.js +24 -34
  152. package/dist/ui/spinner.js +226 -205
  153. package/dist/ui/split-button.js +227 -276
  154. package/dist/ui/stack.js +56 -70
  155. package/dist/ui/stat-card.js +259 -251
  156. package/dist/ui/status-dot.js +67 -63
  157. package/dist/ui/stepper.js +119 -168
  158. package/dist/ui/switch.js +51 -54
  159. package/dist/ui/table.js +57 -90
  160. package/dist/ui/tabs.js +139 -156
  161. package/dist/ui/text.js +52 -59
  162. package/dist/ui/textarea.js +40 -57
  163. package/dist/ui/toast-types.js +0 -1
  164. package/dist/ui/toast.js +554 -536
  165. package/dist/ui/toaster.js +23 -33
  166. package/dist/ui/toggle-group.js +37 -41
  167. package/dist/ui/toggle.js +36 -40
  168. package/dist/ui/tooltip.js +80 -65
  169. package/dist/ui/tree-view/index.js +2 -6
  170. package/dist/ui/visually-hidden.js +12 -10
  171. package/llms-full.txt +1 -1
  172. package/llms.txt +12 -0
  173. package/package.json +3 -3
  174. package/dist/_chunks/date-time-picker.js +0 -851
  175. package/dist/_chunks/typing-indicator.js +0 -565
@@ -1,34 +1,24 @@
1
1
  "use client";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import * as l from "react";
4
- import { T as f } from "../_chunks/sonner.js";
5
- import { cn as p } from "./lib/utils.js";
6
- const c = l.forwardRef(
7
- ({
8
- position: o = "bottom-right",
9
- closeButton: r = !1,
10
- duration: s = 5e3,
11
- hotkey: a = ["altKey", "KeyT"],
12
- visibleToasts: e = 3,
13
- className: m
14
- }, i) => /* @__PURE__ */ t("div", { ref: i, className: p("z-toast", m), children: /* @__PURE__ */ t(
15
- f,
16
- {
17
- position: o,
18
- closeButton: r,
19
- duration: s,
20
- hotkey: a,
21
- visibleToasts: e,
22
- toastOptions: {
23
- unstyled: !0,
24
- classNames: {
25
- toast: "w-full"
26
- }
27
- }
28
- }
29
- ) })
30
- );
31
- c.displayName = "Toaster";
32
- export {
33
- c as Toaster
34
- };
2
+ import { cn as e } from "./lib/utils.js";
3
+ import { t } from "../_chunks/sonner.js";
4
+ import * as n from "react";
5
+ import { jsx as r } from "react/jsx-runtime";
6
+ //#region src/ui/toaster.tsx
7
+ var i = n.forwardRef(({ position: n = "bottom-right", closeButton: i = !1, duration: a = 5e3, hotkey: o = ["altKey", "KeyT"], visibleToasts: s = 3, className: c }, l) => /* @__PURE__ */ r("div", {
8
+ ref: l,
9
+ className: e("z-toast", c),
10
+ children: /* @__PURE__ */ r(t, {
11
+ position: n,
12
+ closeButton: i,
13
+ duration: a,
14
+ hotkey: o,
15
+ visibleToasts: s,
16
+ toastOptions: {
17
+ unstyled: !0,
18
+ classNames: { toast: "w-full" }
19
+ }
20
+ })
21
+ }));
22
+ i.displayName = "Toaster";
23
+ //#endregion
24
+ export { i as Toaster };
@@ -1,44 +1,40 @@
1
1
  "use client";
2
- import { jsx as n } from "react/jsx-runtime";
3
- import * as e from "react";
4
- import { aI as i, aJ as l } from "../_chunks/primitives.js";
5
- import { cn as c } from "./lib/utils.js";
6
- import { toggleVariants as f } from "./toggle.js";
7
- const p = e.createContext({
8
- size: "md",
9
- variant: "default"
10
- }), u = e.forwardRef(({ className: r, variant: t, size: o, children: s, ...m }, a) => {
11
- const d = e.useMemo(() => ({ variant: t, size: o }), [t, o]);
12
- return /* @__PURE__ */ n(
13
- i,
14
- {
15
- ref: a,
16
- className: c("inline-flex items-center gap-ds-02", r),
17
- ...m,
18
- children: /* @__PURE__ */ n(p.Provider, { value: d, children: s })
19
- }
20
- );
2
+ import { I as e, L as t } from "../_chunks/primitives.js";
3
+ import { cn as n } from "./lib/utils.js";
4
+ import { toggleVariants as r } from "./toggle.js";
5
+ import * as i from "react";
6
+ import { jsx as a } from "react/jsx-runtime";
7
+ //#region src/ui/toggle-group.tsx
8
+ var o = i.createContext({
9
+ size: "md",
10
+ variant: "default"
11
+ }), s = i.forwardRef(({ className: e, variant: r, size: s, children: c, ...l }, u) => {
12
+ let d = i.useMemo(() => ({
13
+ variant: r,
14
+ size: s
15
+ }), [r, s]);
16
+ return /* @__PURE__ */ a(t, {
17
+ ref: u,
18
+ className: n("inline-flex items-center gap-ds-02", e),
19
+ ...l,
20
+ children: /* @__PURE__ */ a(o.Provider, {
21
+ value: d,
22
+ children: c
23
+ })
24
+ });
21
25
  });
22
- u.displayName = i.displayName;
23
- const g = e.forwardRef(({ className: r, variant: t, size: o, ...s }, m) => {
24
- const a = e.useContext(p);
25
- return /* @__PURE__ */ n(
26
- l,
27
- {
28
- ref: m,
29
- className: c(
30
- f({
31
- variant: t ?? a.variant,
32
- size: o ?? a.size
33
- }),
34
- r
35
- ),
36
- ...s
37
- }
38
- );
26
+ s.displayName = t.displayName;
27
+ var c = i.forwardRef(({ className: t, variant: s, size: c, ...l }, u) => {
28
+ let d = i.useContext(o);
29
+ return /* @__PURE__ */ a(e, {
30
+ ref: u,
31
+ className: n(r({
32
+ variant: s ?? d.variant,
33
+ size: c ?? d.size
34
+ }), t),
35
+ ...l
36
+ });
39
37
  });
40
- g.displayName = l.displayName;
41
- export {
42
- u as ToggleGroup,
43
- g as ToggleGroupItem
44
- };
38
+ c.displayName = e.displayName;
39
+ //#endregion
40
+ export { s as ToggleGroup, c as ToggleGroupItem };
package/dist/ui/toggle.js CHANGED
@@ -1,42 +1,38 @@
1
1
  "use client";
2
- import { jsx as i } from "react/jsx-runtime";
3
- import * as n from "react";
4
- import { aH as e } from "../_chunks/primitives.js";
5
- import { a as d } from "../_chunks/vendor-utils.js";
6
- import { springs as m, motionProps as c } from "./lib/motion.js";
7
- import { cn as f } from "./lib/utils.js";
8
- import { m as l } from "../_chunks/framer.js";
9
- const p = l.create(e), g = d(
10
- "inline-flex items-center justify-center gap-ds-03 rounded-ds-md font-medium transition-colors duration-fast-01 ease-productive-standard focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-action-disabled data-[state=on]:bg-accent-2 data-[state=on]:text-accent-11",
11
- {
12
- variants: {
13
- variant: {
14
- default: "bg-transparent hover:bg-surface-raised-hover text-surface-fg-muted",
15
- outline: "border border-surface-border-strong bg-transparent hover:bg-surface-raised-hover hover:border-surface-border-strong"
16
- },
17
- size: {
18
- sm: "h-ds-sm px-ds-03 text-ds-sm",
19
- md: "h-ds-md px-ds-04 text-ds-md",
20
- lg: "h-ds-lg px-ds-05 text-ds-base"
21
- }
22
- },
23
- defaultVariants: {
24
- variant: "default",
25
- size: "md"
26
- }
27
- }
28
- ), u = n.forwardRef(({ className: t, variant: s, size: o, ...a }, r) => /* @__PURE__ */ i(
29
- p,
30
- {
31
- ref: r,
32
- whileTap: { scale: 0.95 },
33
- transition: m.snappy,
34
- className: f(g({ variant: s, size: o }), t),
35
- ...c(a)
36
- }
37
- ));
2
+ import { R as e } from "../_chunks/primitives.js";
3
+ import { a as t } from "../_chunks/framer.js";
4
+ import { motionProps as n, springs as r } from "./lib/motion.js";
5
+ import { t as i } from "../_chunks/vendor-utils.js";
6
+ import { cn as a } from "./lib/utils.js";
7
+ import * as o from "react";
8
+ import { jsx as s } from "react/jsx-runtime";
9
+ //#region src/ui/toggle.tsx
10
+ var c = t.create(e), l = i("inline-flex items-center justify-center gap-ds-03 rounded-ds-md font-medium transition-colors duration-fast-01 ease-productive-standard focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-action-disabled data-[state=on]:bg-accent-2 data-[state=on]:text-accent-11", {
11
+ variants: {
12
+ variant: {
13
+ default: "bg-transparent hover:bg-surface-raised-hover text-surface-fg-muted",
14
+ outline: "border border-surface-border-strong bg-transparent hover:bg-surface-raised-hover hover:border-surface-border-strong"
15
+ },
16
+ size: {
17
+ sm: "h-ds-sm px-ds-03 text-ds-sm",
18
+ md: "h-ds-md px-ds-04 text-ds-md",
19
+ lg: "h-ds-lg px-ds-05 text-ds-base"
20
+ }
21
+ },
22
+ defaultVariants: {
23
+ variant: "default",
24
+ size: "md"
25
+ }
26
+ }), u = o.forwardRef(({ className: e, variant: t, size: i, ...o }, u) => /* @__PURE__ */ s(c, {
27
+ ref: u,
28
+ whileTap: { scale: .95 },
29
+ transition: r.snappy,
30
+ className: a(l({
31
+ variant: t,
32
+ size: i
33
+ }), e),
34
+ ...n(o)
35
+ }));
38
36
  u.displayName = e.displayName;
39
- export {
40
- u as Toggle,
41
- g as toggleVariants
42
- };
37
+ //#endregion
38
+ export { u as Toggle, l as toggleVariants };
@@ -1,69 +1,84 @@
1
1
  "use client";
2
- import { jsx as e, Fragment as h } from "react/jsx-runtime";
3
- import * as o from "react";
4
- import { aK as y, aL as f, aM as C, aN as u, aO as g } from "../_chunks/primitives.js";
5
- import { cn as P } from "./lib/utils.js";
6
- import { tweens as T, springs as O } from "./lib/motion.js";
7
- import { A as N, m as b } from "../_chunks/framer.js";
8
- const d = o.createContext(!1), F = ({
9
- children: t,
10
- ...r
11
- }) => /* @__PURE__ */ e(d.Provider, { value: !0, children: /* @__PURE__ */ e(u, { ...r, children: t }) });
12
- function w({ children: t }) {
13
- return o.useContext(d) ? /* @__PURE__ */ e(h, { children: t }) : /* @__PURE__ */ e(d.Provider, { value: !0, children: /* @__PURE__ */ e(u, { delayDuration: 300, children: t }) });
2
+ import { A as e, M as t, N as n, j as r, k as i } from "../_chunks/primitives.js";
3
+ import { a, c as o } from "../_chunks/framer.js";
4
+ import { springs as s, tweens as c } from "./lib/motion.js";
5
+ import { cn as l } from "./lib/utils.js";
6
+ import * as u from "react";
7
+ import { Fragment as d, jsx as f } from "react/jsx-runtime";
8
+ //#region src/ui/tooltip.tsx
9
+ var p = u.createContext(!1), m = ({ children: e, ...t }) => /* @__PURE__ */ f(p.Provider, {
10
+ value: !0,
11
+ children: /* @__PURE__ */ f(r, {
12
+ ...t,
13
+ children: e
14
+ })
15
+ });
16
+ function h({ children: e }) {
17
+ return u.useContext(p) ? /* @__PURE__ */ f(d, { children: e }) : /* @__PURE__ */ f(p.Provider, {
18
+ value: !0,
19
+ children: /* @__PURE__ */ f(r, {
20
+ delayDuration: 300,
21
+ children: e
22
+ })
23
+ });
14
24
  }
15
- const m = o.createContext({ open: !1 }), M = ({
16
- open: t,
17
- defaultOpen: r,
18
- onOpenChange: i,
19
- ...a
20
- }) => {
21
- const [l, c] = o.useState(r ?? !1), s = t !== void 0, n = s ? t : l, v = o.useCallback(
22
- (p) => {
23
- s || c(p), i?.(p);
24
- },
25
- [s, i]
26
- ), x = o.useMemo(() => ({ open: n }), [n]);
27
- return /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(m.Provider, { value: x, children: /* @__PURE__ */ e(g, { open: n, onOpenChange: v, ...a }) }) });
25
+ var g = u.createContext({ open: !1 }), _ = ({ open: e, defaultOpen: n, onOpenChange: r, ...i }) => {
26
+ let [a, o] = u.useState(n ?? !1), s = e !== void 0, c = s ? e : a, l = u.useCallback((e) => {
27
+ s || o(e), r?.(e);
28
+ }, [s, r]), d = u.useMemo(() => ({ open: c }), [c]);
29
+ return /* @__PURE__ */ f(h, { children: /* @__PURE__ */ f(g.Provider, {
30
+ value: d,
31
+ children: /* @__PURE__ */ f(t, {
32
+ open: c,
33
+ onOpenChange: l,
34
+ ...i
35
+ })
36
+ }) });
28
37
  };
29
- M.displayName = "Tooltip";
30
- const K = C, A = {
31
- top: { y: 4 },
32
- bottom: { y: -4 },
33
- left: { x: 4 },
34
- right: { x: -4 }
35
- }, R = o.forwardRef(({ className: t, sideOffset: r = 4, side: i = "top", children: a, ...l }, c) => {
36
- const { open: s } = o.useContext(m), n = A[i] ?? {};
37
- return /* @__PURE__ */ e(N, { children: s && /* @__PURE__ */ e(y, { forceMount: !0, children: /* @__PURE__ */ e(
38
- f,
39
- {
40
- ref: c,
41
- forceMount: !0,
42
- sideOffset: r,
43
- side: i,
44
- ...l,
45
- asChild: !0,
46
- children: /* @__PURE__ */ e(
47
- b.div,
48
- {
49
- initial: { opacity: 0, scale: 0.95, ...n },
50
- animate: { opacity: 1, scale: 1, x: 0, y: 0 },
51
- exit: { opacity: 0, scale: 0.95, ...n },
52
- transition: { ...O.snappy, opacity: T.fade },
53
- className: P(
54
- "z-tooltip overflow-hidden rounded-ds-md bg-surface-inverted px-ds-04 py-ds-02b text-ds-sm text-surface-inverted-fg shadow-floating",
55
- t
56
- ),
57
- children: a
58
- }
59
- )
60
- }
61
- ) }) });
38
+ _.displayName = "Tooltip";
39
+ var v = n, y = {
40
+ top: { y: 4 },
41
+ bottom: { y: -4 },
42
+ left: { x: 4 },
43
+ right: { x: -4 }
44
+ }, b = u.forwardRef(({ className: t, sideOffset: n = 4, side: r = "top", children: d, ...p }, m) => {
45
+ let { open: h } = u.useContext(g), _ = y[r] ?? {};
46
+ return /* @__PURE__ */ f(o, { children: h && /* @__PURE__ */ f(e, {
47
+ forceMount: !0,
48
+ children: /* @__PURE__ */ f(i, {
49
+ ref: m,
50
+ forceMount: !0,
51
+ sideOffset: n,
52
+ side: r,
53
+ ...p,
54
+ asChild: !0,
55
+ children: /* @__PURE__ */ f(a.div, {
56
+ initial: {
57
+ opacity: 0,
58
+ scale: .95,
59
+ ..._
60
+ },
61
+ animate: {
62
+ opacity: 1,
63
+ scale: 1,
64
+ x: 0,
65
+ y: 0
66
+ },
67
+ exit: {
68
+ opacity: 0,
69
+ scale: .95,
70
+ ..._
71
+ },
72
+ transition: {
73
+ ...s.snappy,
74
+ opacity: c.fade
75
+ },
76
+ className: l("z-tooltip overflow-hidden rounded-ds-md bg-surface-inverted px-ds-04 py-ds-02b text-ds-sm text-surface-inverted-fg shadow-floating", t),
77
+ children: d
78
+ })
79
+ })
80
+ }) });
62
81
  });
63
- R.displayName = f.displayName;
64
- export {
65
- M as Tooltip,
66
- R as TooltipContent,
67
- F as TooltipProvider,
68
- K as TooltipTrigger
69
- };
82
+ b.displayName = i.displayName;
83
+ //#endregion
84
+ export { _ as Tooltip, b as TooltipContent, m as TooltipProvider, v as TooltipTrigger };
@@ -1,7 +1,3 @@
1
1
  "use client";
2
- import { T as a, a as s, u as T } from "../../_chunks/tree-view.js";
3
- export {
4
- a as TreeItem,
5
- s as TreeView,
6
- T as useTree
7
- };
2
+ import { n as e, r as t, t as n } from "../../_chunks/tree-view.js";
3
+ export { e as TreeItem, n as TreeView, t as useTree };
@@ -1,10 +1,12 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import * as e from "react";
3
- import { cn as i } from "./lib/utils.js";
4
- const m = e.forwardRef(
5
- ({ className: r, ...a }, o) => /* @__PURE__ */ s("span", { ref: o, className: i("sr-only", r), ...a })
6
- );
7
- m.displayName = "VisuallyHidden";
8
- export {
9
- m as VisuallyHidden
10
- };
1
+ import { cn as e } from "./lib/utils.js";
2
+ import * as t from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region src/ui/visually-hidden.tsx
5
+ var r = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("span", {
6
+ ref: i,
7
+ className: e("sr-only", t),
8
+ ...r
9
+ }));
10
+ r.displayName = "VisuallyHidden";
11
+ //#endregion
12
+ export { r as VisuallyHidden };
package/llms-full.txt CHANGED
@@ -5,7 +5,7 @@
5
5
  > All variant values and props verified from source CVA definitions.
6
6
  >
7
7
  > Package: @devalok/shilp-sutra
8
- > Version: 0.33.2
8
+ > Version: 0.34.1
9
9
 
10
10
  ---
11
11
 
package/llms.txt CHANGED
@@ -4,6 +4,18 @@
4
4
  > Built on the same primitives as shadcn/ui but with key API differences.
5
5
  > Read this file BEFORE writing any UI code. Do NOT guess from shadcn/ui knowledge.
6
6
 
7
+ ## BREAKING CHANGES (v0.33.x — Tailwind 4 + Toolchain)
8
+
9
+ - **Tailwind CSS 3 → 4:** `outline-none` → `outline-hidden`, `rounded-sm` → `rounded-xs`, `backdrop-blur-sm` → `backdrop-blur-xs`, `!prefix` → `suffix!` important syntax. Consumers using our preset: add `@import "tailwindcss"` + `@config` to your CSS, replace `darkMode: 'class'` with `@variant dark (&:is(.dark *))` in CSS. Peer dep accepts both `^3.4.0 || ^4.0.0`.
10
+ - **tailwind-merge 3.0 → 3.5:** Required for TW4 class recognition.
11
+ - **TypeScript 5.7 → 6.0.2:** `types` defaults to `[]` in TS6. Add explicit `"types": ["node"]` to tsconfig if needed.
12
+ - **ESLint 9 → 10:** Config file lookup starts from linted file directory (not CWD). Verify monorepo configs.
13
+ - **react-zoom-pan-pinch 3 → 4:** `onTransformed` renamed to `onTransform`. Peer dep `^3.0.0 || ^4.0.0`.
14
+
15
+ ## CHANGES (v0.33.1 / v0.33.2)
16
+
17
+ - Bumped: React 19.2.5, Storybook 10.3.5, Vitest 4.1.4, framer-motion 12.38, @floating-ui/dom 1.7.6, @tabler/icons-react 3.41.1, esbuild 0.28, jsdom 29, Playwright 1.59.1, PostCSS 8.5.9, Prettier 3.8.2, vite-plugin-dts 4.5.4.
18
+
7
19
  ## BREAKING CHANGES (v0.33.0)
8
20
 
9
21
  - **EmojiSuggestion:** Named export removed. Use `createEmojiSuggestion(set?)` factory. Default: `createEmojiSuggestion()` (native set).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devalok/shilp-sutra",
3
- "version": "0.33.2",
3
+ "version": "0.34.1",
4
4
  "description": "Devalok Design System — tokens, components, and patterns for Next.js",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -730,7 +730,7 @@
730
730
  "react-syntax-highlighter": "^15.0.0 || ^16.0.0",
731
731
  "react-zoom-pan-pinch": "^3.0.0 || ^4.0.0",
732
732
  "remark-gfm": "^4.0.0",
733
- "tailwindcss": "^3.4.0"
733
+ "tailwindcss": "^3.4.0 || ^4.0.0"
734
734
  },
735
735
  "peerDependenciesMeta": {
736
736
  "@tanstack/react-table": {
@@ -837,7 +837,7 @@
837
837
  "react-zoom-pan-pinch": "^4.0.3",
838
838
  "remark-gfm": "^4.0.1",
839
839
  "sonner": "^2.0.7",
840
- "tailwind-merge": "^3.0.1"
840
+ "tailwind-merge": "^3.5.0"
841
841
  },
842
842
  "engines": {
843
843
  "node": ">=20.19.0"