@dapplelight/signet-ui 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/README.md +325 -5
  2. package/dist/behaviors/index.d.ts +16 -0
  3. package/dist/behaviors/index.d.ts.map +1 -0
  4. package/dist/behaviors/index.js +27 -0
  5. package/dist/behaviors/index.js.map +1 -0
  6. package/dist/components/domain/amount.d.ts +27 -0
  7. package/dist/components/domain/amount.d.ts.map +1 -0
  8. package/dist/components/domain/amount.js +108 -0
  9. package/dist/components/domain/amount.js.map +1 -0
  10. package/dist/components/domain/csv-import.d.ts +81 -0
  11. package/dist/components/domain/csv-import.d.ts.map +1 -0
  12. package/dist/components/domain/csv-import.js +177 -0
  13. package/dist/components/domain/csv-import.js.map +1 -0
  14. package/dist/components/domain/job-runs.d.ts +27 -0
  15. package/dist/components/domain/job-runs.d.ts.map +1 -0
  16. package/dist/components/domain/job-runs.js +55 -0
  17. package/dist/components/domain/job-runs.js.map +1 -0
  18. package/dist/components/domain/kanban.d.ts +50 -0
  19. package/dist/components/domain/kanban.d.ts.map +1 -0
  20. package/dist/components/domain/kanban.js +279 -0
  21. package/dist/components/domain/kanban.js.map +1 -0
  22. package/dist/components/domain/upload.d.ts +21 -0
  23. package/dist/components/domain/upload.d.ts.map +1 -0
  24. package/dist/components/domain/upload.js +106 -0
  25. package/dist/components/domain/upload.js.map +1 -0
  26. package/dist/components/screens/abuse-screens.d.ts +101 -0
  27. package/dist/components/screens/abuse-screens.d.ts.map +1 -0
  28. package/dist/components/screens/abuse-screens.js +163 -0
  29. package/dist/components/screens/abuse-screens.js.map +1 -0
  30. package/dist/components/screens/account-screens.d.ts +120 -0
  31. package/dist/components/screens/account-screens.d.ts.map +1 -0
  32. package/dist/components/screens/account-screens.js +177 -0
  33. package/dist/components/screens/account-screens.js.map +1 -0
  34. package/dist/components/screens/admin-screens.d.ts +269 -0
  35. package/dist/components/screens/admin-screens.d.ts.map +1 -0
  36. package/dist/components/screens/admin-screens.js +781 -0
  37. package/dist/components/screens/admin-screens.js.map +1 -0
  38. package/dist/components/screens/api-screens.d.ts +113 -0
  39. package/dist/components/screens/api-screens.d.ts.map +1 -0
  40. package/dist/components/screens/api-screens.js +127 -0
  41. package/dist/components/screens/api-screens.js.map +1 -0
  42. package/dist/components/screens/auth-screens.d.ts +117 -0
  43. package/dist/components/screens/auth-screens.d.ts.map +1 -0
  44. package/dist/components/screens/auth-screens.js +164 -0
  45. package/dist/components/screens/auth-screens.js.map +1 -0
  46. package/dist/components/screens/billing-screens.d.ts +163 -0
  47. package/dist/components/screens/billing-screens.d.ts.map +1 -0
  48. package/dist/components/screens/billing-screens.js +255 -0
  49. package/dist/components/screens/billing-screens.js.map +1 -0
  50. package/dist/components/screens/collab-screens.d.ts +150 -0
  51. package/dist/components/screens/collab-screens.d.ts.map +1 -0
  52. package/dist/components/screens/collab-screens.js +287 -0
  53. package/dist/components/screens/collab-screens.js.map +1 -0
  54. package/dist/components/screens/experiment-screens.d.ts +177 -0
  55. package/dist/components/screens/experiment-screens.d.ts.map +1 -0
  56. package/dist/components/screens/experiment-screens.js +275 -0
  57. package/dist/components/screens/experiment-screens.js.map +1 -0
  58. package/dist/components/screens/funnel-screens.d.ts +131 -0
  59. package/dist/components/screens/funnel-screens.d.ts.map +1 -0
  60. package/dist/components/screens/funnel-screens.js +197 -0
  61. package/dist/components/screens/funnel-screens.js.map +1 -0
  62. package/dist/components/screens/growth-screens.d.ts +174 -0
  63. package/dist/components/screens/growth-screens.d.ts.map +1 -0
  64. package/dist/components/screens/growth-screens.js +285 -0
  65. package/dist/components/screens/growth-screens.js.map +1 -0
  66. package/dist/components/screens/monetisation-screens.d.ts +192 -0
  67. package/dist/components/screens/monetisation-screens.d.ts.map +1 -0
  68. package/dist/components/screens/monetisation-screens.js +217 -0
  69. package/dist/components/screens/monetisation-screens.js.map +1 -0
  70. package/dist/components/screens/notification-screens.d.ts +92 -0
  71. package/dist/components/screens/notification-screens.d.ts.map +1 -0
  72. package/dist/components/screens/notification-screens.js +141 -0
  73. package/dist/components/screens/notification-screens.js.map +1 -0
  74. package/dist/components/screens/org-screens.d.ts +135 -0
  75. package/dist/components/screens/org-screens.d.ts.map +1 -0
  76. package/dist/components/screens/org-screens.js +237 -0
  77. package/dist/components/screens/org-screens.js.map +1 -0
  78. package/dist/components/screens/privacy-screens.d.ts +74 -0
  79. package/dist/components/screens/privacy-screens.d.ts.map +1 -0
  80. package/dist/components/screens/privacy-screens.js +127 -0
  81. package/dist/components/screens/privacy-screens.js.map +1 -0
  82. package/dist/components/screens/realtime-screens.d.ts +53 -0
  83. package/dist/components/screens/realtime-screens.d.ts.map +1 -0
  84. package/dist/components/screens/realtime-screens.js +55 -0
  85. package/dist/components/screens/realtime-screens.js.map +1 -0
  86. package/dist/components/screens/status-screens.d.ts +139 -0
  87. package/dist/components/screens/status-screens.d.ts.map +1 -0
  88. package/dist/components/screens/status-screens.js +219 -0
  89. package/dist/components/screens/status-screens.js.map +1 -0
  90. package/dist/components/screens/subscription-charts.d.ts +113 -0
  91. package/dist/components/screens/subscription-charts.d.ts.map +1 -0
  92. package/dist/components/screens/subscription-charts.js +158 -0
  93. package/dist/components/screens/subscription-charts.js.map +1 -0
  94. package/dist/components/screens/workflow-screens.d.ts +97 -0
  95. package/dist/components/screens/workflow-screens.d.ts.map +1 -0
  96. package/dist/components/screens/workflow-screens.js +181 -0
  97. package/dist/components/screens/workflow-screens.js.map +1 -0
  98. package/dist/components/ui/alert-dialog.d.ts +18 -0
  99. package/dist/components/ui/alert-dialog.d.ts.map +1 -0
  100. package/dist/components/ui/alert-dialog.js +34 -0
  101. package/dist/components/ui/alert-dialog.js.map +1 -0
  102. package/dist/components/ui/avatar.d.ts +12 -0
  103. package/dist/components/ui/avatar.d.ts.map +1 -0
  104. package/dist/components/ui/avatar.js +31 -0
  105. package/dist/components/ui/avatar.js.map +1 -0
  106. package/dist/components/ui/breadcrumb.d.ts +14 -0
  107. package/dist/components/ui/breadcrumb.d.ts.map +1 -0
  108. package/dist/components/ui/breadcrumb.js +38 -0
  109. package/dist/components/ui/breadcrumb.js.map +1 -0
  110. package/dist/components/ui/chart.d.ts +4 -3
  111. package/dist/components/ui/chart.d.ts.map +1 -1
  112. package/dist/components/ui/chart.js +99 -1
  113. package/dist/components/ui/chart.js.map +1 -1
  114. package/dist/components/ui/command.d.ts +29 -0
  115. package/dist/components/ui/command.d.ts.map +1 -0
  116. package/dist/components/ui/command.js +50 -0
  117. package/dist/components/ui/command.js.map +1 -0
  118. package/dist/components/ui/data-grid.d.ts +73 -0
  119. package/dist/components/ui/data-grid.d.ts.map +1 -0
  120. package/dist/components/ui/data-grid.js +612 -0
  121. package/dist/components/ui/data-grid.js.map +1 -0
  122. package/dist/components/ui/field.d.ts +15 -0
  123. package/dist/components/ui/field.d.ts.map +1 -0
  124. package/dist/components/ui/field.js +36 -0
  125. package/dist/components/ui/field.js.map +1 -0
  126. package/dist/components/ui/metric-headline.d.ts +59 -0
  127. package/dist/components/ui/metric-headline.d.ts.map +1 -0
  128. package/dist/components/ui/metric-headline.js +54 -0
  129. package/dist/components/ui/metric-headline.js.map +1 -0
  130. package/dist/components/ui/radio-group.d.ts +6 -0
  131. package/dist/components/ui/radio-group.d.ts.map +1 -0
  132. package/dist/components/ui/radio-group.js +12 -0
  133. package/dist/components/ui/radio-group.js.map +1 -0
  134. package/dist/components/ui/rich-text-editor.d.ts +52 -0
  135. package/dist/components/ui/rich-text-editor.d.ts.map +1 -0
  136. package/dist/components/ui/rich-text-editor.js +669 -0
  137. package/dist/components/ui/rich-text-editor.js.map +1 -0
  138. package/dist/components/ui/sidebar.d.ts +45 -0
  139. package/dist/components/ui/sidebar.d.ts.map +1 -0
  140. package/dist/components/ui/sidebar.js +86 -0
  141. package/dist/components/ui/sidebar.js.map +1 -0
  142. package/dist/components/ui/spinner.d.ts +4 -0
  143. package/dist/components/ui/spinner.d.ts.map +1 -0
  144. package/dist/components/ui/spinner.js +8 -0
  145. package/dist/components/ui/spinner.js.map +1 -0
  146. package/dist/components/ui/stepper.d.ts +17 -0
  147. package/dist/components/ui/stepper.d.ts.map +1 -0
  148. package/dist/components/ui/stepper.js +17 -0
  149. package/dist/components/ui/stepper.js.map +1 -0
  150. package/dist/components/ui/tabs.js +1 -1
  151. package/dist/components/ui/tabs.js.map +1 -1
  152. package/dist/components/ui/timeline.d.ts +11 -0
  153. package/dist/components/ui/timeline.d.ts.map +1 -0
  154. package/dist/components/ui/timeline.js +27 -0
  155. package/dist/components/ui/timeline.js.map +1 -0
  156. package/dist/components/ui/toast.d.ts +47 -0
  157. package/dist/components/ui/toast.d.ts.map +1 -0
  158. package/dist/components/ui/toast.js +49 -0
  159. package/dist/components/ui/toast.js.map +1 -0
  160. package/dist/hooks/use-channel.d.ts +96 -0
  161. package/dist/hooks/use-channel.d.ts.map +1 -0
  162. package/dist/hooks/use-channel.js +242 -0
  163. package/dist/hooks/use-channel.js.map +1 -0
  164. package/dist/hooks/use-copy.d.ts +5 -0
  165. package/dist/hooks/use-copy.d.ts.map +1 -0
  166. package/dist/hooks/use-copy.js +22 -0
  167. package/dist/hooks/use-copy.js.map +1 -0
  168. package/dist/hooks/use-debounce.d.ts +2 -0
  169. package/dist/hooks/use-debounce.d.ts.map +1 -0
  170. package/dist/hooks/use-debounce.js +11 -0
  171. package/dist/hooks/use-debounce.js.map +1 -0
  172. package/dist/hooks/use-intersection.d.ts +9 -0
  173. package/dist/hooks/use-intersection.d.ts.map +1 -0
  174. package/dist/hooks/use-intersection.js +29 -0
  175. package/dist/hooks/use-intersection.js.map +1 -0
  176. package/dist/hooks/use-local-storage.d.ts +2 -0
  177. package/dist/hooks/use-local-storage.d.ts.map +1 -0
  178. package/dist/hooks/use-local-storage.js +59 -0
  179. package/dist/hooks/use-local-storage.js.map +1 -0
  180. package/dist/index.d.ts +12 -0
  181. package/dist/index.d.ts.map +1 -1
  182. package/dist/index.js +12 -0
  183. package/dist/index.js.map +1 -1
  184. package/dist/lib/csv.d.ts +8 -0
  185. package/dist/lib/csv.d.ts.map +1 -0
  186. package/dist/lib/csv.js +77 -0
  187. package/dist/lib/csv.js.map +1 -0
  188. package/package.json +209 -8
@@ -0,0 +1,77 @@
1
+ export function detectDelimiter(text) {
2
+ const counts = { ",": 0, ";": 0, "\t": 0 };
3
+ let quoted = false;
4
+ for (const ch of text) {
5
+ if (ch === '"')
6
+ quoted = !quoted;
7
+ else if (!quoted && (ch === "\n" || ch === "\r"))
8
+ break;
9
+ else if (!quoted && ch in counts)
10
+ counts[ch] = (counts[ch] ?? 0) + 1;
11
+ }
12
+ let best = ",";
13
+ for (const d of [";", "\t"])
14
+ if ((counts[d] ?? 0) > (counts[best] ?? 0))
15
+ best = d;
16
+ return best;
17
+ }
18
+ export function parseCsv(text, options = {}) {
19
+ const src = text.charCodeAt(0) === 0xfeff ? text.slice(1) : text;
20
+ const delimiter = options.delimiter ?? detectDelimiter(src);
21
+ const rows = [];
22
+ let row = [];
23
+ let field = "";
24
+ let quoted = false;
25
+ let touched = false;
26
+ const endField = () => {
27
+ row.push(field);
28
+ field = "";
29
+ };
30
+ const endRow = () => {
31
+ endField();
32
+ if (touched || row.length > 1 || row[0] !== "")
33
+ rows.push(row);
34
+ row = [];
35
+ touched = false;
36
+ };
37
+ for (let i = 0; i < src.length; i++) {
38
+ const ch = src[i];
39
+ if (quoted) {
40
+ if (ch !== '"')
41
+ field += ch;
42
+ else if (src[i + 1] === '"') {
43
+ field += '"';
44
+ i++;
45
+ }
46
+ else
47
+ quoted = false;
48
+ }
49
+ else if (ch === '"') {
50
+ quoted = true;
51
+ touched = true;
52
+ }
53
+ else if (src.startsWith(delimiter, i)) {
54
+ endField();
55
+ touched = true;
56
+ i += delimiter.length - 1;
57
+ }
58
+ else if (ch === "\r" || ch === "\n") {
59
+ if (ch === "\r" && src[i + 1] === "\n")
60
+ i++;
61
+ endRow();
62
+ }
63
+ else
64
+ field += ch;
65
+ }
66
+ if (field !== "" || row.length > 0 || touched)
67
+ endRow();
68
+ return rows;
69
+ }
70
+ export function csvField(value, delimiter = ",") {
71
+ const s = value === null || value === undefined ? "" : String(value);
72
+ return s.includes(delimiter) || /["\r\n]/.test(s) ? `"${s.replace(/"/g, '""')}"` : s;
73
+ }
74
+ export function toCsv(rows, delimiter = ",") {
75
+ return rows.map((r) => r.map((v) => csvField(v, delimiter)).join(delimiter)).join("\r\n");
76
+ }
77
+ //# sourceMappingURL=csv.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"csv.js","sourceRoot":"","sources":["../../src/lib/csv.ts"],"names":[],"mappings":"AAaA,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,MAAM,MAAM,GAA2B,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAA;IAClE,IAAI,MAAM,GAAG,KAAK,CAAA;IAClB,KAAK,MAAM,EAAE,IAAI,IAAI,EAAE,CAAC;QACtB,IAAI,EAAE,KAAK,GAAG;YAAE,MAAM,GAAG,CAAC,MAAM,CAAA;aAC3B,IAAI,CAAC,MAAM,IAAI,CAAC,EAAE,KAAK,IAAI,IAAI,EAAE,KAAK,IAAI,CAAC;YAAE,MAAK;aAClD,IAAI,CAAC,MAAM,IAAI,EAAE,IAAI,MAAM;YAAE,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAA;IACtE,CAAC;IACD,IAAI,IAAI,GAAG,GAAG,CAAA;IACd,KAAK,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC;QAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAAE,IAAI,GAAG,CAAC,CAAA;IACjF,OAAO,IAAI,CAAA;AACb,CAAC;AAQD,MAAM,UAAU,QAAQ,CA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AG;IAChF,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;AAC3F,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dapplelight/signet-ui",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "license": "MIT",
5
5
  "description": "Signet component kit — token-driven React primitives.",
6
6
  "keywords": [
@@ -10,7 +10,7 @@
10
10
  "shadcn",
11
11
  "tailwind"
12
12
  ],
13
- "homepage": "https://dapplelight.github.io/signet/",
13
+ "homepage": "https://signet.dapplelight.in/",
14
14
  "repository": {
15
15
  "type": "git",
16
16
  "url": "git+https://github.com/dapplelight/signet.git",
@@ -30,22 +30,62 @@
30
30
  "types": "./dist/lib/utils.d.ts",
31
31
  "import": "./dist/lib/utils.js"
32
32
  },
33
+ "./behaviors": {
34
+ "types": "./dist/behaviors/index.d.ts",
35
+ "import": "./dist/behaviors/index.js"
36
+ },
33
37
  "./hooks/use-media-query": {
34
38
  "types": "./dist/hooks/use-media-query.d.ts",
35
39
  "import": "./dist/hooks/use-media-query.js"
36
40
  },
41
+ "./hooks/use-debounce": {
42
+ "types": "./dist/hooks/use-debounce.d.ts",
43
+ "import": "./dist/hooks/use-debounce.js"
44
+ },
45
+ "./hooks/use-local-storage": {
46
+ "types": "./dist/hooks/use-local-storage.d.ts",
47
+ "import": "./dist/hooks/use-local-storage.js"
48
+ },
49
+ "./hooks/use-copy": {
50
+ "types": "./dist/hooks/use-copy.d.ts",
51
+ "import": "./dist/hooks/use-copy.js"
52
+ },
53
+ "./hooks/use-intersection": {
54
+ "types": "./dist/hooks/use-intersection.d.ts",
55
+ "import": "./dist/hooks/use-intersection.js"
56
+ },
57
+ "./hooks/use-channel": {
58
+ "types": "./dist/hooks/use-channel.d.ts",
59
+ "import": "./dist/hooks/use-channel.js"
60
+ },
37
61
  "./components/alert": {
38
62
  "types": "./dist/components/ui/alert.d.ts",
39
63
  "import": "./dist/components/ui/alert.js"
40
64
  },
65
+ "./components/alert-dialog": {
66
+ "types": "./dist/components/ui/alert-dialog.d.ts",
67
+ "import": "./dist/components/ui/alert-dialog.js"
68
+ },
41
69
  "./components/answer-headline": {
42
70
  "types": "./dist/components/ui/answer-headline.d.ts",
43
71
  "import": "./dist/components/ui/answer-headline.js"
44
72
  },
73
+ "./components/metric-headline": {
74
+ "types": "./dist/components/ui/metric-headline.d.ts",
75
+ "import": "./dist/components/ui/metric-headline.js"
76
+ },
77
+ "./components/avatar": {
78
+ "types": "./dist/components/ui/avatar.d.ts",
79
+ "import": "./dist/components/ui/avatar.js"
80
+ },
45
81
  "./components/badge": {
46
82
  "types": "./dist/components/ui/badge.d.ts",
47
83
  "import": "./dist/components/ui/badge.js"
48
84
  },
85
+ "./components/breadcrumb": {
86
+ "types": "./dist/components/ui/breadcrumb.d.ts",
87
+ "import": "./dist/components/ui/breadcrumb.js"
88
+ },
49
89
  "./components/button": {
50
90
  "types": "./dist/components/ui/button.d.ts",
51
91
  "import": "./dist/components/ui/button.js"
@@ -70,10 +110,18 @@
70
110
  "types": "./dist/components/ui/combobox.d.ts",
71
111
  "import": "./dist/components/ui/combobox.js"
72
112
  },
113
+ "./components/command": {
114
+ "types": "./dist/components/ui/command.d.ts",
115
+ "import": "./dist/components/ui/command.js"
116
+ },
73
117
  "./components/data-table": {
74
118
  "types": "./dist/components/ui/data-table.d.ts",
75
119
  "import": "./dist/components/ui/data-table.js"
76
120
  },
121
+ "./components/data-grid": {
122
+ "types": "./dist/components/ui/data-grid.d.ts",
123
+ "import": "./dist/components/ui/data-grid.js"
124
+ },
77
125
  "./components/dialog": {
78
126
  "types": "./dist/components/ui/dialog.d.ts",
79
127
  "import": "./dist/components/ui/dialog.js"
@@ -98,6 +146,10 @@
98
146
  "types": "./dist/components/ui/error-state.d.ts",
99
147
  "import": "./dist/components/ui/error-state.js"
100
148
  },
149
+ "./components/field": {
150
+ "types": "./dist/components/ui/field.d.ts",
151
+ "import": "./dist/components/ui/field.js"
152
+ },
101
153
  "./components/input": {
102
154
  "types": "./dist/components/ui/input.d.ts",
103
155
  "import": "./dist/components/ui/input.js"
@@ -142,10 +194,18 @@
142
194
  "types": "./dist/components/ui/progress.d.ts",
143
195
  "import": "./dist/components/ui/progress.js"
144
196
  },
197
+ "./components/radio-group": {
198
+ "types": "./dist/components/ui/radio-group.d.ts",
199
+ "import": "./dist/components/ui/radio-group.js"
200
+ },
145
201
  "./components/responsive-sheet": {
146
202
  "types": "./dist/components/ui/responsive-sheet.d.ts",
147
203
  "import": "./dist/components/ui/responsive-sheet.js"
148
204
  },
205
+ "./components/rich-text-editor": {
206
+ "types": "./dist/components/ui/rich-text-editor.d.ts",
207
+ "import": "./dist/components/ui/rich-text-editor.js"
208
+ },
149
209
  "./components/search-input": {
150
210
  "types": "./dist/components/ui/search-input.d.ts",
151
211
  "import": "./dist/components/ui/search-input.js"
@@ -158,6 +218,10 @@
158
218
  "types": "./dist/components/ui/shortcuts.d.ts",
159
219
  "import": "./dist/components/ui/shortcuts.js"
160
220
  },
221
+ "./components/sidebar": {
222
+ "types": "./dist/components/ui/sidebar.d.ts",
223
+ "import": "./dist/components/ui/sidebar.js"
224
+ },
161
225
  "./components/skeleton": {
162
226
  "types": "./dist/components/ui/skeleton.d.ts",
163
227
  "import": "./dist/components/ui/skeleton.js"
@@ -166,10 +230,18 @@
166
230
  "types": "./dist/components/ui/slider.d.ts",
167
231
  "import": "./dist/components/ui/slider.js"
168
232
  },
233
+ "./components/spinner": {
234
+ "types": "./dist/components/ui/spinner.d.ts",
235
+ "import": "./dist/components/ui/spinner.js"
236
+ },
169
237
  "./components/stat-strip": {
170
238
  "types": "./dist/components/ui/stat-strip.d.ts",
171
239
  "import": "./dist/components/ui/stat-strip.js"
172
240
  },
241
+ "./components/stepper": {
242
+ "types": "./dist/components/ui/stepper.d.ts",
243
+ "import": "./dist/components/ui/stepper.js"
244
+ },
173
245
  "./components/switch": {
174
246
  "types": "./dist/components/ui/switch.d.ts",
175
247
  "import": "./dist/components/ui/switch.js"
@@ -186,6 +258,14 @@
186
258
  "types": "./dist/components/ui/textarea.d.ts",
187
259
  "import": "./dist/components/ui/textarea.js"
188
260
  },
261
+ "./components/timeline": {
262
+ "types": "./dist/components/ui/timeline.d.ts",
263
+ "import": "./dist/components/ui/timeline.js"
264
+ },
265
+ "./components/toast": {
266
+ "types": "./dist/components/ui/toast.d.ts",
267
+ "import": "./dist/components/ui/toast.js"
268
+ },
189
269
  "./components/tooltip": {
190
270
  "types": "./dist/components/ui/tooltip.d.ts",
191
271
  "import": "./dist/components/ui/tooltip.js"
@@ -194,6 +274,26 @@
194
274
  "types": "./dist/components/domain/trend-chip.d.ts",
195
275
  "import": "./dist/components/domain/trend-chip.js"
196
276
  },
277
+ "./domain/job-runs": {
278
+ "types": "./dist/components/domain/job-runs.d.ts",
279
+ "import": "./dist/components/domain/job-runs.js"
280
+ },
281
+ "./domain/upload": {
282
+ "types": "./dist/components/domain/upload.d.ts",
283
+ "import": "./dist/components/domain/upload.js"
284
+ },
285
+ "./domain/amount": {
286
+ "types": "./dist/components/domain/amount.d.ts",
287
+ "import": "./dist/components/domain/amount.js"
288
+ },
289
+ "./domain/kanban": {
290
+ "types": "./dist/components/domain/kanban.d.ts",
291
+ "import": "./dist/components/domain/kanban.js"
292
+ },
293
+ "./domain/csv-import": {
294
+ "types": "./dist/components/domain/csv-import.d.ts",
295
+ "import": "./dist/components/domain/csv-import.js"
296
+ },
197
297
  "./components/theme-provider": {
198
298
  "types": "./dist/components/ui/theme-provider.d.ts",
199
299
  "import": "./dist/components/ui/theme-provider.js"
@@ -201,11 +301,83 @@
201
301
  "./components/theme-toggle": {
202
302
  "types": "./dist/components/ui/theme-toggle.d.ts",
203
303
  "import": "./dist/components/ui/theme-toggle.js"
304
+ },
305
+ "./screens/account-screens": {
306
+ "types": "./dist/components/screens/account-screens.d.ts",
307
+ "import": "./dist/components/screens/account-screens.js"
308
+ },
309
+ "./screens/auth-screens": {
310
+ "types": "./dist/components/screens/auth-screens.d.ts",
311
+ "import": "./dist/components/screens/auth-screens.js"
312
+ },
313
+ "./screens/notification-screens": {
314
+ "types": "./dist/components/screens/notification-screens.d.ts",
315
+ "import": "./dist/components/screens/notification-screens.js"
316
+ },
317
+ "./screens/privacy-screens": {
318
+ "types": "./dist/components/screens/privacy-screens.d.ts",
319
+ "import": "./dist/components/screens/privacy-screens.js"
320
+ },
321
+ "./screens/admin-screens": {
322
+ "types": "./dist/components/screens/admin-screens.d.ts",
323
+ "import": "./dist/components/screens/admin-screens.js"
324
+ },
325
+ "./screens/billing-screens": {
326
+ "types": "./dist/components/screens/billing-screens.d.ts",
327
+ "import": "./dist/components/screens/billing-screens.js"
328
+ },
329
+ "./screens/monetisation-screens": {
330
+ "types": "./dist/components/screens/monetisation-screens.d.ts",
331
+ "import": "./dist/components/screens/monetisation-screens.js"
332
+ },
333
+ "./screens/experiment-screens": {
334
+ "types": "./dist/components/screens/experiment-screens.d.ts",
335
+ "import": "./dist/components/screens/experiment-screens.js"
336
+ },
337
+ "./screens/status-screens": {
338
+ "types": "./dist/components/screens/status-screens.d.ts",
339
+ "import": "./dist/components/screens/status-screens.js"
340
+ },
341
+ "./screens/funnel-screens": {
342
+ "types": "./dist/components/screens/funnel-screens.d.ts",
343
+ "import": "./dist/components/screens/funnel-screens.js"
344
+ },
345
+ "./screens/subscription-charts": {
346
+ "types": "./dist/components/screens/subscription-charts.d.ts",
347
+ "import": "./dist/components/screens/subscription-charts.js"
348
+ },
349
+ "./screens/api-screens": {
350
+ "types": "./dist/components/screens/api-screens.d.ts",
351
+ "import": "./dist/components/screens/api-screens.js"
352
+ },
353
+ "./screens/growth-screens": {
354
+ "types": "./dist/components/screens/growth-screens.d.ts",
355
+ "import": "./dist/components/screens/growth-screens.js"
356
+ },
357
+ "./screens/org-screens": {
358
+ "types": "./dist/components/screens/org-screens.d.ts",
359
+ "import": "./dist/components/screens/org-screens.js"
360
+ },
361
+ "./screens/workflow-screens": {
362
+ "types": "./dist/components/screens/workflow-screens.d.ts",
363
+ "import": "./dist/components/screens/workflow-screens.js"
364
+ },
365
+ "./screens/collab-screens": {
366
+ "types": "./dist/components/screens/collab-screens.d.ts",
367
+ "import": "./dist/components/screens/collab-screens.js"
368
+ },
369
+ "./screens/realtime-screens": {
370
+ "types": "./dist/components/screens/realtime-screens.d.ts",
371
+ "import": "./dist/components/screens/realtime-screens.js"
372
+ },
373
+ "./screens/abuse-screens": {
374
+ "types": "./dist/components/screens/abuse-screens.d.ts",
375
+ "import": "./dist/components/screens/abuse-screens.js"
204
376
  }
205
377
  },
206
378
  "scripts": {
207
379
  "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json",
208
- "test": "bun run test/ui.tsx && bun run test/dom.tsx && bun run test/data-table.tsx && bun run test/shortcuts.tsx && bun run test/markdown.tsx && bun run test/dom2.tsx",
380
+ "test": "bun run test/ui.tsx && bun run test/dom.tsx && bun run test/data-table.tsx && bun run test/shortcuts.tsx && bun run test/markdown.tsx && bun run test/dom2.tsx && bun run test/domain.tsx && bun run test/basics.tsx && bun run test/behaviors.tsx && bun run test/screens-user.tsx && bun run test/screens-admin.tsx && bun run test/screens-billing.tsx && bun run test/screens-monetisation.tsx && bun run test/screens-growth.tsx && bun run test/screens-api.tsx && bun run test/screens-orgs.tsx && bun run test/screens-workflow.tsx && bun run test/screens-collab.tsx && bun run test/ui-domain.tsx && bun run test/metric-headline.tsx && bun run test/realtime.tsx && bun run test/data-edit.tsx && bun run test/screens-experiments.tsx && bun run test/screens-abuse.tsx && bun run test/screens-funnels.tsx && bun run test/screens-charts.tsx &&bun run test/screens-growth.tsx",
209
381
  "build": "tsc -p tsconfig.build.json",
210
382
  "prepublishOnly": "bun run build"
211
383
  },
@@ -223,15 +395,20 @@
223
395
  "react": ">=19.0.0",
224
396
  "react-day-picker": ">=10.0.0",
225
397
  "react-dom": ">=19.0.0",
226
- "recharts": ">=2.15.0 <3",
398
+ "recharts": ">=3.8.0 <4",
227
399
  "tailwind-merge": ">=3.0.0",
228
- "@dapplelight/signet-tokens": "^0.2.0",
400
+ "@dapplelight/signet-tokens": "^0.3.0",
229
401
  "@tanstack/react-hotkeys": ">=0.12.0 <0.13.0",
230
402
  "react-markdown": ">=10.0.0",
231
403
  "remark-gfm": ">=4.0.0",
232
404
  "remark-parse": ">=11.0.0",
233
405
  "unified": ">=11.0.0",
234
- "github-slugger": ">=2.0.0"
406
+ "github-slugger": ">=2.0.0",
407
+ "@tiptap/react": ">=3.34.0 <4",
408
+ "@tiptap/pm": ">=3.34.0 <4",
409
+ "@tiptap/starter-kit": ">=3.34.0 <4",
410
+ "@tiptap/extension-mention": ">=3.34.0 <4",
411
+ "@tiptap/extension-link": ">=3.34.0 <4"
235
412
  },
236
413
  "peerDependenciesMeta": {
237
414
  "recharts": {
@@ -254,6 +431,21 @@
254
431
  },
255
432
  "github-slugger": {
256
433
  "optional": true
434
+ },
435
+ "@tiptap/react": {
436
+ "optional": true
437
+ },
438
+ "@tiptap/pm": {
439
+ "optional": true
440
+ },
441
+ "@tiptap/starter-kit": {
442
+ "optional": true
443
+ },
444
+ "@tiptap/extension-mention": {
445
+ "optional": true
446
+ },
447
+ "@tiptap/extension-link": {
448
+ "optional": true
257
449
  }
258
450
  },
259
451
  "devDependencies": {
@@ -264,6 +456,11 @@
264
456
  "@testing-library/dom": "^10.4.2",
265
457
  "@testing-library/react": "^16.3.3",
266
458
  "@testing-library/user-event": "^14.6.7",
459
+ "@tiptap/extension-link": "3.34.0",
460
+ "@tiptap/extension-mention": "3.34.0",
461
+ "@tiptap/pm": "3.34.0",
462
+ "@tiptap/react": "3.34.0",
463
+ "@tiptap/starter-kit": "3.34.0",
267
464
  "@types/mdast": "^4.0.4",
268
465
  "@types/react": "^19.3.0",
269
466
  "@types/react-dom": "^19.3.0",
@@ -271,7 +468,7 @@
271
468
  "input-otp": "^1.5.0",
272
469
  "react-day-picker": "^10.0.1",
273
470
  "react-markdown": "10.1.0",
274
- "recharts": "^2.15.3",
471
+ "recharts": "^3.10.1",
275
472
  "remark-gfm": "4.0.1",
276
473
  "remark-parse": "11.0.0",
277
474
  "typescript": "^7.0.2",
@@ -282,5 +479,9 @@
282
479
  },
283
480
  "files": [
284
481
  "dist"
285
- ]
482
+ ],
483
+ "dependencies": {
484
+ "@ui-sdk/core": "0.1.0-beta.2",
485
+ "@ui-sdk/react": "0.1.0-beta.2"
486
+ }
286
487
  }