@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
package/dist/ai/index.js CHANGED
@@ -1,170 +1,184 @@
1
1
  "use client";
2
- import { CommandBar as $ } from "./command-bar.js";
3
- import { AIConversation as S } from "./conversation.js";
4
- import { BlockRenderer as b } from "./block-renderer.js";
5
- import { AICommandProvider as H, useAICommand as L } from "./ai-command-provider.js";
6
- import { jsx as o, jsxs as l } from "react/jsx-runtime";
7
- import * as a from "react";
8
- import { cn as g } from "../ui/lib/utils.js";
9
- import { u as x } from "../_chunks/motion-provider.js";
10
- import { m as i, A as m, a as R, c as v, b as A } from "../_chunks/framer.js";
11
- import { B as U, C as V, D as q, E as J, I as Q, L as W, S as X, a as Y, T as Z } from "../_chunks/stat-row.js";
12
- const s = "M25.97,21.39c-0.9-1.85,0.08-3.95-1.72-5.39c1.76-1.44,0.8-3.55,1.69-5.39c0.05-0.12,0.04-0.25-0.02-0.35c-0.06-0.1-0.16-0.18-0.29-0.19c-2.05-0.15-3.35-2.04-5.5-1.21c-0.39-2.21-2.7-2.44-3.84-4.13c-0.08-0.1-0.19-0.16-0.31-0.16c-0.12,0-0.23,0.05-0.31,0.16c-1.14,1.69-3.43,1.92-3.82,4.13c-2.14-0.83-3.47,1.07-5.52,1.21c-0.13,0.01-0.23,0.09-0.29,0.19c-0.06,0.1-0.07,0.23-0.02,0.35c0.9,1.85-0.08,3.95,1.72,5.39c-1.76,1.44-0.8,3.55-1.69,5.39C6,21.51,6.02,21.64,6.07,21.74c0.06,0.1,0.16,0.18,0.29,0.19c2.05,0.15,3.38,2.06,5.52,1.23c0.39,2.21,2.67,2.43,3.82,4.12c0.08,0.1,0.19,0.16,0.31,0.16c0.12,0,0.23-0.05,0.31-0.16c1.14-1.69,3.42-1.92,3.81-4.13c2.14,0.83,3.48-1.07,5.53-1.22c0.13-0.01,0.23-0.09,0.29-0.19C26.01,21.64,26.02,21.51,25.97,21.39z", t = "#D33163", D = "#E8457A", C = "#9B5DE5", E = "#C850C0", h = "#FF6B9D", p = "#E5383B";
13
- function T(c) {
14
- const e = R(0);
15
- return a.useEffect(() => {
16
- const r = v(e, 360, {
17
- duration: c === "processing" ? 4 : 12,
18
- repeat: 1 / 0,
19
- ease: "linear"
20
- });
21
- return () => r.stop();
22
- }, [e, c]), A(e, (r) => `rotate(${r}, 16, 16)`);
2
+ import { a as e, c as t, i as n, r, t as i } from "../_chunks/framer.js";
3
+ import { cn as a } from "../ui/lib/utils.js";
4
+ import { n as o } from "../_chunks/motion-provider.js";
5
+ import { CommandBar as s } from "./command-bar.js";
6
+ import { AICommandProvider as c, useAICommand as l } from "./ai-command-provider.js";
7
+ import { a as u, c as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v } from "../_chunks/stat-row.js";
8
+ import { BlockRenderer as y } from "./block-renderer.js";
9
+ import { AIConversation as b } from "./conversation.js";
10
+ import * as x from "react";
11
+ import { jsx as S, jsxs as C } from "react/jsx-runtime";
12
+ //#region src/ai/devadoot-icon.tsx
13
+ var w = "M25.97,21.39c-0.9-1.85,0.08-3.95-1.72-5.39c1.76-1.44,0.8-3.55,1.69-5.39c0.05-0.12,0.04-0.25-0.02-0.35c-0.06-0.1-0.16-0.18-0.29-0.19c-2.05-0.15-3.35-2.04-5.5-1.21c-0.39-2.21-2.7-2.44-3.84-4.13c-0.08-0.1-0.19-0.16-0.31-0.16c-0.12,0-0.23,0.05-0.31,0.16c-1.14,1.69-3.43,1.92-3.82,4.13c-2.14-0.83-3.47,1.07-5.52,1.21c-0.13,0.01-0.23,0.09-0.29,0.19c-0.06,0.1-0.07,0.23-0.02,0.35c0.9,1.85-0.08,3.95,1.72,5.39c-1.76,1.44-0.8,3.55-1.69,5.39C6,21.51,6.02,21.64,6.07,21.74c0.06,0.1,0.16,0.18,0.29,0.19c2.05,0.15,3.38,2.06,5.52,1.23c0.39,2.21,2.67,2.43,3.82,4.12c0.08,0.1,0.19,0.16,0.31,0.16c0.12,0,0.23-0.05,0.31-0.16c1.14-1.69,3.42-1.92,3.81-4.13c2.14,0.83,3.48-1.07,5.53-1.22c0.13-0.01,0.23-0.09,0.29-0.19C26.01,21.64,26.02,21.51,25.97,21.39z", T = "#D33163", E = "#E8457A", D = "#9B5DE5", O = "#C850C0", k = "#FF6B9D", A = "#E5383B";
14
+ function j(e) {
15
+ let t = n(0);
16
+ return x.useEffect(() => {
17
+ let n = i(t, 360, {
18
+ duration: e === "processing" ? 4 : 12,
19
+ repeat: Infinity,
20
+ ease: "linear"
21
+ });
22
+ return () => n.stop();
23
+ }, [t, e]), r(t, (e) => `rotate(${e}, 16, 16)`);
23
24
  }
24
- const k = a.memo(function({
25
- state: e = "idle",
26
- size: r = 20,
27
- className: f
28
- }) {
29
- const { reducedMotion: y } = x(), B = T(e), n = a.useId(), u = a.useId();
30
- if (y)
31
- return /* @__PURE__ */ o(
32
- "svg",
33
- {
34
- viewBox: "0 0 32 32",
35
- width: r,
36
- height: r,
37
- className: f,
38
- "aria-hidden": "true",
39
- children: /* @__PURE__ */ o(
40
- "path",
41
- {
42
- d: s,
43
- fill: e === "error" ? p : t
44
- }
45
- )
46
- }
47
- );
48
- const d = e === "error" ? { s1: p, s2: "#FF6B6B", s3: p } : e === "processing" ? { s1: t, s2: C, s3: E } : e === "responded" ? { s1: h, s2: t, s3: h } : { s1: t, s2: D, s3: t }, I = e === "processing" ? 3 : e === "error" ? 2.5 : 0;
49
- return /* @__PURE__ */ o(
50
- "span",
51
- {
52
- className: g("relative inline-flex items-center justify-center", f),
53
- style: { width: r, height: r },
54
- "aria-hidden": "true",
55
- children: /* @__PURE__ */ l(
56
- i.svg,
57
- {
58
- viewBox: "0 0 32 32",
59
- width: r,
60
- height: r,
61
- animate: e === "responded" ? { scale: [1.18, 1] } : e === "error" ? { x: [0, -2, 2, -1.5, 1.5, 0] } : { scale: 1, x: 0 },
62
- transition: e === "responded" ? { scale: { type: "spring", stiffness: 500, damping: 15 } } : e === "error" ? { x: { duration: 0.4 } } : { duration: 0.3 },
63
- style: { overflow: "visible" },
64
- children: [
65
- /* @__PURE__ */ l("defs", { children: [
66
- /* @__PURE__ */ l(
67
- i.linearGradient,
68
- {
69
- id: n,
70
- x1: "0",
71
- y1: "0",
72
- x2: "1",
73
- y2: "1",
74
- gradientTransform: B,
75
- children: [
76
- /* @__PURE__ */ o(
77
- i.stop,
78
- {
79
- offset: "0%",
80
- animate: { stopColor: d.s1 },
81
- transition: { duration: e === "processing" ? 3 : 5, repeat: 1 / 0, repeatType: "reverse", ease: "easeInOut" }
82
- }
83
- ),
84
- /* @__PURE__ */ o(
85
- i.stop,
86
- {
87
- offset: "50%",
88
- animate: { stopColor: d.s2 },
89
- transition: { duration: e === "processing" ? 3 : 5, repeat: 1 / 0, repeatType: "reverse", ease: "easeInOut", delay: 0.5 }
90
- }
91
- ),
92
- /* @__PURE__ */ o(
93
- i.stop,
94
- {
95
- offset: "100%",
96
- animate: { stopColor: d.s3 },
97
- transition: { duration: e === "processing" ? 3 : 5, repeat: 1 / 0, repeatType: "reverse", ease: "easeInOut", delay: 1 }
98
- }
99
- )
100
- ]
101
- }
102
- ),
103
- /* @__PURE__ */ o("filter", { id: u, x: "-50%", y: "-50%", width: "200%", height: "200%", children: /* @__PURE__ */ o(
104
- i.feGaussianBlur,
105
- {
106
- in: "SourceGraphic",
107
- animate: { stdDeviation: I },
108
- transition: { duration: 0.6, ease: "easeOut" }
109
- }
110
- ) })
111
- ] }),
112
- /* @__PURE__ */ o(m, { children: (e === "processing" || e === "error") && /* @__PURE__ */ o(
113
- i.path,
114
- {
115
- d: s,
116
- fill: `url(#${n})`,
117
- filter: `url(#${u})`,
118
- initial: { opacity: 0 },
119
- animate: { opacity: [0.2, 0.45, 0.2] },
120
- exit: { opacity: 0 },
121
- transition: {
122
- opacity: { duration: 3, repeat: 1 / 0, ease: "easeInOut" }
123
- }
124
- }
125
- ) }),
126
- /* @__PURE__ */ o(m, { children: e === "processing" && /* @__PURE__ */ o(
127
- i.path,
128
- {
129
- d: s,
130
- fill: "white",
131
- initial: { opacity: 0 },
132
- animate: { opacity: [0, 0.12, 0] },
133
- exit: { opacity: 0 },
134
- transition: {
135
- opacity: { duration: 2.5, repeat: 1 / 0, ease: "easeInOut" }
136
- }
137
- }
138
- ) }),
139
- /* @__PURE__ */ o(
140
- i.path,
141
- {
142
- d: s,
143
- fill: `url(#${n})`,
144
- animate: e === "responded" ? { fill: [`url(#${n})`, `url(#${n})`] } : {}
145
- }
146
- )
147
- ]
148
- }
149
- )
150
- }
151
- );
25
+ var M = x.memo(function({ state: n = "idle", size: r = 20, className: i }) {
26
+ let { reducedMotion: s } = o(), c = j(n), l = x.useId(), u = x.useId();
27
+ if (s) return /* @__PURE__ */ S("svg", {
28
+ viewBox: "0 0 32 32",
29
+ width: r,
30
+ height: r,
31
+ className: i,
32
+ "aria-hidden": "true",
33
+ children: /* @__PURE__ */ S("path", {
34
+ d: w,
35
+ fill: n === "error" ? A : T
36
+ })
37
+ });
38
+ let d = n === "error" ? {
39
+ s1: A,
40
+ s2: "#FF6B6B",
41
+ s3: A
42
+ } : n === "processing" ? {
43
+ s1: T,
44
+ s2: D,
45
+ s3: O
46
+ } : n === "responded" ? {
47
+ s1: k,
48
+ s2: T,
49
+ s3: k
50
+ } : {
51
+ s1: T,
52
+ s2: E,
53
+ s3: T
54
+ }, f = n === "processing" ? 3 : n === "error" ? 2.5 : 0;
55
+ return /* @__PURE__ */ S("span", {
56
+ className: a("relative inline-flex items-center justify-center", i),
57
+ style: {
58
+ width: r,
59
+ height: r
60
+ },
61
+ "aria-hidden": "true",
62
+ children: /* @__PURE__ */ C(e.svg, {
63
+ viewBox: "0 0 32 32",
64
+ width: r,
65
+ height: r,
66
+ animate: n === "responded" ? { scale: [1.18, 1] } : n === "error" ? { x: [
67
+ 0,
68
+ -2,
69
+ 2,
70
+ -1.5,
71
+ 1.5,
72
+ 0
73
+ ] } : {
74
+ scale: 1,
75
+ x: 0
76
+ },
77
+ transition: n === "responded" ? { scale: {
78
+ type: "spring",
79
+ stiffness: 500,
80
+ damping: 15
81
+ } } : n === "error" ? { x: { duration: .4 } } : { duration: .3 },
82
+ style: { overflow: "visible" },
83
+ children: [
84
+ /* @__PURE__ */ C("defs", { children: [/* @__PURE__ */ C(e.linearGradient, {
85
+ id: l,
86
+ x1: "0",
87
+ y1: "0",
88
+ x2: "1",
89
+ y2: "1",
90
+ gradientTransform: c,
91
+ children: [
92
+ /* @__PURE__ */ S(e.stop, {
93
+ offset: "0%",
94
+ animate: { stopColor: d.s1 },
95
+ transition: {
96
+ duration: n === "processing" ? 3 : 5,
97
+ repeat: Infinity,
98
+ repeatType: "reverse",
99
+ ease: "easeInOut"
100
+ }
101
+ }),
102
+ /* @__PURE__ */ S(e.stop, {
103
+ offset: "50%",
104
+ animate: { stopColor: d.s2 },
105
+ transition: {
106
+ duration: n === "processing" ? 3 : 5,
107
+ repeat: Infinity,
108
+ repeatType: "reverse",
109
+ ease: "easeInOut",
110
+ delay: .5
111
+ }
112
+ }),
113
+ /* @__PURE__ */ S(e.stop, {
114
+ offset: "100%",
115
+ animate: { stopColor: d.s3 },
116
+ transition: {
117
+ duration: n === "processing" ? 3 : 5,
118
+ repeat: Infinity,
119
+ repeatType: "reverse",
120
+ ease: "easeInOut",
121
+ delay: 1
122
+ }
123
+ })
124
+ ]
125
+ }), /* @__PURE__ */ S("filter", {
126
+ id: u,
127
+ x: "-50%",
128
+ y: "-50%",
129
+ width: "200%",
130
+ height: "200%",
131
+ children: /* @__PURE__ */ S(e.feGaussianBlur, {
132
+ in: "SourceGraphic",
133
+ animate: { stdDeviation: f },
134
+ transition: {
135
+ duration: .6,
136
+ ease: "easeOut"
137
+ }
138
+ })
139
+ })] }),
140
+ /* @__PURE__ */ S(t, { children: (n === "processing" || n === "error") && /* @__PURE__ */ S(e.path, {
141
+ d: w,
142
+ fill: `url(#${l})`,
143
+ filter: `url(#${u})`,
144
+ initial: { opacity: 0 },
145
+ animate: { opacity: [
146
+ .2,
147
+ .45,
148
+ .2
149
+ ] },
150
+ exit: { opacity: 0 },
151
+ transition: { opacity: {
152
+ duration: 3,
153
+ repeat: Infinity,
154
+ ease: "easeInOut"
155
+ } }
156
+ }) }),
157
+ /* @__PURE__ */ S(t, { children: n === "processing" && /* @__PURE__ */ S(e.path, {
158
+ d: w,
159
+ fill: "white",
160
+ initial: { opacity: 0 },
161
+ animate: { opacity: [
162
+ 0,
163
+ .12,
164
+ 0
165
+ ] },
166
+ exit: { opacity: 0 },
167
+ transition: { opacity: {
168
+ duration: 2.5,
169
+ repeat: Infinity,
170
+ ease: "easeInOut"
171
+ } }
172
+ }) }),
173
+ /* @__PURE__ */ S(e.path, {
174
+ d: w,
175
+ fill: `url(#${l})`,
176
+ animate: n === "responded" ? { fill: [`url(#${l})`, `url(#${l})`] } : {}
177
+ })
178
+ ]
179
+ })
180
+ });
152
181
  });
153
- k.displayName = "DevadootIcon";
154
- export {
155
- H as AICommandProvider,
156
- S as AIConversation,
157
- b as BlockRenderer,
158
- U as BlockTable,
159
- $ as CommandBar,
160
- V as ConfirmBlock,
161
- k as DevadootIcon,
162
- q as DividerBlock,
163
- J as ErrorBlock,
164
- Q as InfoBlock,
165
- W as LoadingBlock,
166
- X as StatRowBlock,
167
- Y as SuccessBlock,
168
- Z as TextBlock,
169
- L as useAICommand
170
- };
182
+ M.displayName = "DevadootIcon";
183
+ //#endregion
184
+ export { c as AICommandProvider, b as AIConversation, y as BlockRenderer, d as BlockTable, s as CommandBar, _ as ConfirmBlock, M as DevadootIcon, m as DividerBlock, u as ErrorBlock, f as InfoBlock, g as LoadingBlock, v as StatRowBlock, h as SuccessBlock, p as TextBlock, l as useAICommand };
package/dist/ai/types.js CHANGED
@@ -1 +0,0 @@
1
-