@erden-sh/ui 0.0.0-stage → 0.1.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.
- package/LICENSE +120 -0
- package/README.md +100 -2
- package/THIRD_PARTY_NOTICES +557 -0
- package/dist/components/access-review.d.ts +18 -0
- package/dist/components/access-review.js +7 -0
- package/dist/components/alert-dialog.d.ts +14 -0
- package/dist/components/alert-dialog.js +41 -0
- package/dist/components/avatar.d.ts +12 -0
- package/dist/components/avatar.js +23 -0
- package/dist/components/badge.d.ts +9 -0
- package/dist/components/badge.js +34 -0
- package/dist/components/breadcrumb.d.ts +11 -0
- package/dist/components/breadcrumb.js +28 -0
- package/dist/components/button.d.ts +10 -0
- package/dist/components/button.js +38 -0
- package/dist/components/card.d.ts +9 -0
- package/dist/components/card.js +31 -0
- package/dist/components/checkbox.d.ts +4 -0
- package/dist/components/checkbox.js +9 -0
- package/dist/components/collapsible.d.ts +5 -0
- package/dist/components/collapsible.js +13 -0
- package/dist/components/command.d.ts +20 -0
- package/dist/components/command.js +37 -0
- package/dist/components/copyable-code.d.ts +10 -0
- package/dist/components/copyable-code.js +58 -0
- package/dist/components/dialog.d.ts +19 -0
- package/dist/components/dialog.js +39 -0
- package/dist/components/dropdown-menu.d.ts +25 -0
- package/dist/components/dropdown-menu.js +55 -0
- package/dist/components/input.d.ts +3 -0
- package/dist/components/input.js +7 -0
- package/dist/components/native-select.d.ts +2 -0
- package/dist/components/native-select.js +5 -0
- package/dist/components/popover.d.ts +7 -0
- package/dist/components/popover.js +17 -0
- package/dist/components/quick-actions.d.ts +13 -0
- package/dist/components/quick-actions.js +7 -0
- package/dist/components/return-focus.d.ts +6 -0
- package/dist/components/return-focus.js +26 -0
- package/dist/components/scroll-area.d.ts +5 -0
- package/dist/components/scroll-area.js +11 -0
- package/dist/components/select.d.ts +15 -0
- package/dist/components/select.js +38 -0
- package/dist/components/separator.d.ts +4 -0
- package/dist/components/separator.js +8 -0
- package/dist/components/sheet.d.ts +14 -0
- package/dist/components/sheet.js +40 -0
- package/dist/components/sidebar.d.ts +75 -0
- package/dist/components/sidebar.js +271 -0
- package/dist/components/skeleton.d.ts +2 -0
- package/dist/components/skeleton.js +7 -0
- package/dist/components/sonner.d.ts +3 -0
- package/dist/components/sonner.js +19 -0
- package/dist/components/switch.d.ts +4 -0
- package/dist/components/switch.js +8 -0
- package/dist/components/table.d.ts +10 -0
- package/dist/components/table.js +28 -0
- package/dist/components/tabs.d.ts +11 -0
- package/dist/components/tabs.js +29 -0
- package/dist/components/textarea.d.ts +3 -0
- package/dist/components/textarea.js +7 -0
- package/dist/components/tooltip.d.ts +7 -0
- package/dist/components/tooltip.js +17 -0
- package/dist/components/use-mobile.d.ts +1 -0
- package/dist/components/use-mobile.js +15 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +32 -0
- package/dist/styles.css +2 -0
- package/dist/styles.d.ts +1 -0
- package/dist/styles.js +1 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.js +6 -0
- package/package.json +67 -4
|
@@ -0,0 +1,557 @@
|
|
|
1
|
+
Third-party notices
|
|
2
|
+
====================
|
|
3
|
+
|
|
4
|
+
Socio is Copyright (c) 2026 Ingenio Ventures Inc., under the Sustainable
|
|
5
|
+
Use License in LICENSE. The components below keep their own licenses. Socio
|
|
6
|
+
started from OpenDots (https://github.com/CopilotKit/OpenDots, MIT,
|
|
7
|
+
Copyright (c) Atai Barkai) at commit 565bf78; that code stays under MIT and
|
|
8
|
+
its notice is kept in LICENSE. The computer services come from OpenBot
|
|
9
|
+
(https://github.com/CopilotKit/OpenBot, MIT, Copyright (c) 2026 CopilotKit);
|
|
10
|
+
its license is deployment/computers/LICENSE.openbot.
|
|
11
|
+
|
|
12
|
+
Socio, Socio.sh, Erden, and Erden.sh are trademarks of Ingenio Ventures
|
|
13
|
+
Inc.
|
|
14
|
+
|
|
15
|
+
The coding session host (CB-326) runs provider packages vendored from T3
|
|
16
|
+
Code (https://github.com/pingdotgg/t3code, MIT, Copyright (c) 2026 T3 Tools
|
|
17
|
+
Inc), pinned by commit in vendor/t3code/SYNC.md. The T3 MIT license is kept
|
|
18
|
+
at vendor/t3code/LICENSE. The native app's guard tests come from T3 Code
|
|
19
|
+
too: apps/mobile/vendor/t3code, pinned by commit in its own SYNC.md, with the
|
|
20
|
+
same license beside them. The socio/hermes lint rule in
|
|
21
|
+
scripts/lint/socio-rules.mjs is ported from T3 Code's, and the push relay's
|
|
22
|
+
APNs and FCM clients from T3 Code's relay (section 15).
|
|
23
|
+
|
|
24
|
+
The issue tracker and agent-dispatch tooling (src/server/issues/**,
|
|
25
|
+
src/server/dispatch/**, packages/client/src/modules/issues/**,
|
|
26
|
+
packages/foundation/src/issues/**, packages/shared/src/issues/**) were
|
|
27
|
+
ported from tooling by Sergio Leon, https://cbnsndwch.io, and are used
|
|
28
|
+
under the Sustainable Use License.
|
|
29
|
+
|
|
30
|
+
Socio keeps its own theme. The planner calendar, the composer, and the
|
|
31
|
+
Plugins catalog adapt layout and interaction from the projects below.
|
|
32
|
+
Each entry names the source, the license, and the files in this
|
|
33
|
+
repository that derive from it.
|
|
34
|
+
|
|
35
|
+
Mixpost (inovector/mixpost, MIT) is a design reference only. It is a Vue
|
|
36
|
+
application, and no Mixpost source was copied. The composer uses its
|
|
37
|
+
arrangement: editor on the left, live preview on the right, account
|
|
38
|
+
avatars along the top, actions in a bottom bar.
|
|
39
|
+
https://github.com/inovector/mixpost
|
|
40
|
+
|
|
41
|
+
AGPL and GPL projects (including Postiz and the coss.com ui root) were
|
|
42
|
+
not used.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
1. big-calendar
|
|
46
|
+
---------------
|
|
47
|
+
|
|
48
|
+
Source: https://github.com/lramos33/big-calendar
|
|
49
|
+
Copyright (c) 2025 Leonardo Ramos
|
|
50
|
+
License: MIT
|
|
51
|
+
|
|
52
|
+
Derived files:
|
|
53
|
+
|
|
54
|
+
- packages/plugin-ui/src/calendar-model.ts
|
|
55
|
+
(groupEvents / getEventBlockStyle from src/calendar/helpers.ts)
|
|
56
|
+
- packages/plugin-ui/src/WeekGrid.tsx
|
|
57
|
+
(week time grid and current-time line)
|
|
58
|
+
- packages/plugin-ui/src/Calendar.tsx
|
|
59
|
+
(drag between days and 15-minute slots)
|
|
60
|
+
- packages/plugin-ui/src/MiniMonth.tsx
|
|
61
|
+
- packages/plugin-ui/src/AvatarFilter.tsx
|
|
62
|
+
(user-select.tsx, mapped onto accounts)
|
|
63
|
+
- packages/plugin-ui/src/EventChip.tsx
|
|
64
|
+
(colored and dot badge variants from month-event-badge.tsx)
|
|
65
|
+
|
|
66
|
+
MIT License
|
|
67
|
+
|
|
68
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
69
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
70
|
+
in the Software without restriction, including without limitation the rights
|
|
71
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
72
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
73
|
+
furnished to do so, subject to the following conditions:
|
|
74
|
+
|
|
75
|
+
The above copyright notice and this permission notice shall be included in all
|
|
76
|
+
copies or substantial portions of the Software.
|
|
77
|
+
|
|
78
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
79
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
80
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
81
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
82
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
83
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
84
|
+
SOFTWARE.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
2. Shoutrrr
|
|
88
|
+
-----------
|
|
89
|
+
|
|
90
|
+
Source: https://github.com/coollabsio/shoutrrr
|
|
91
|
+
Copyright Shoutrrr contributors
|
|
92
|
+
License: Apache-2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
|
93
|
+
|
|
94
|
+
Derived files:
|
|
95
|
+
|
|
96
|
+
- packages/plugin-ui/src/EventChip.tsx
|
|
97
|
+
(resources/js/components/posts/calendar/post-chip.tsx)
|
|
98
|
+
- packages/plugin-ui/src/MonthGrid.tsx
|
|
99
|
+
(resources/js/components/posts/calendar/month-grid.tsx)
|
|
100
|
+
- packages/plugin-ui/src/WeekGrid.tsx
|
|
101
|
+
(resources/js/components/posts/calendar/week-grid.tsx)
|
|
102
|
+
- packages/plugin-ui/src/AgendaList.tsx
|
|
103
|
+
(resources/js/components/posts/calendar/agenda-list.tsx)
|
|
104
|
+
- packages/plugin-ui/src/EditorShell.tsx
|
|
105
|
+
(resources/js/components/compose/composer.tsx)
|
|
106
|
+
- packages/client/src/plugins/planner/thread.ts
|
|
107
|
+
(resources/js/lib/compose/section-split.ts, used by x-preview.ts)
|
|
108
|
+
- packages/client/src/plugins/planner/Editor.tsx
|
|
109
|
+
(composer-toolbar.tsx, platform-preview-panel.tsx, queue-preview.tsx,
|
|
110
|
+
and resources/js/lib/compose/x-preview.ts)
|
|
111
|
+
|
|
112
|
+
The derived files are licensed under the Apache License, Version 2.0.
|
|
113
|
+
You may obtain a copy of the License at
|
|
114
|
+
|
|
115
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
116
|
+
|
|
117
|
+
Unless required by applicable law or agreed to in writing, software
|
|
118
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
119
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
120
|
+
See the License for the specific language governing permissions and
|
|
121
|
+
limitations under the License.
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
3. react-tweet
|
|
125
|
+
--------------
|
|
126
|
+
|
|
127
|
+
Source: https://github.com/vercel/react-tweet
|
|
128
|
+
Copyright (c) Vercel, Inc.
|
|
129
|
+
License: MIT
|
|
130
|
+
|
|
131
|
+
Derived files:
|
|
132
|
+
|
|
133
|
+
- packages/plugin-ui/src/PreviewCard.tsx
|
|
134
|
+
- packages/plugin-ui/src/preview.css
|
|
135
|
+
(the .tweet-card rules; packages/react-tweet twitter-theme components)
|
|
136
|
+
- packages/client/src/plugins/planner/Preview.tsx
|
|
137
|
+
(planner text inside the shared card frame)
|
|
138
|
+
|
|
139
|
+
The preview draws an X post. It does not call X. Publishing stays an
|
|
140
|
+
intent link opened by the person using Socio.
|
|
141
|
+
|
|
142
|
+
MIT License
|
|
143
|
+
|
|
144
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
145
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
146
|
+
in the Software without restriction, including without limitation the rights
|
|
147
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
148
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
149
|
+
furnished to do so, subject to the following conditions:
|
|
150
|
+
|
|
151
|
+
The above copyright notice and this permission notice shall be included in all
|
|
152
|
+
copies or substantial portions of the Software.
|
|
153
|
+
|
|
154
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
155
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
156
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
157
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
158
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
159
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
160
|
+
SOFTWARE.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
4. Cal.diy app store
|
|
164
|
+
--------------------
|
|
165
|
+
|
|
166
|
+
Source: https://github.com/calcom/cal.diy
|
|
167
|
+
Copyright (c) Cal.com, Inc.
|
|
168
|
+
License: MIT
|
|
169
|
+
Paths used as the model: apps/web/modules/apps and packages/app-store
|
|
170
|
+
Live reference: https://cal.com/apps
|
|
171
|
+
|
|
172
|
+
Derived files:
|
|
173
|
+
|
|
174
|
+
- packages/plugin-ui/src/catalog.tsx
|
|
175
|
+
(category cards, app cards, app detail, installed card frame)
|
|
176
|
+
- packages/client/src/modules/plugins/PluginsPage.tsx
|
|
177
|
+
(store page: search, Popular and Recently added, screenshots,
|
|
178
|
+
permissions, install, and the Installed tab's enable and scale)
|
|
179
|
+
|
|
180
|
+
MIT License
|
|
181
|
+
|
|
182
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
183
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
184
|
+
in the Software without restriction, including without limitation the rights
|
|
185
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
186
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
187
|
+
furnished to do so, subject to the following conditions:
|
|
188
|
+
|
|
189
|
+
The above copyright notice and this permission notice shall be included in all
|
|
190
|
+
copies or substantial portions of the Software.
|
|
191
|
+
|
|
192
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
193
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
194
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
195
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
196
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
197
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
198
|
+
SOFTWARE.
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
5. shadcn-admin
|
|
202
|
+
---------------
|
|
203
|
+
|
|
204
|
+
Source: https://github.com/satnaing/shadcn-admin
|
|
205
|
+
Copyright (c) Sat Naing
|
|
206
|
+
License: MIT
|
|
207
|
+
|
|
208
|
+
Derived files:
|
|
209
|
+
|
|
210
|
+
- packages/plugin-ui/src/catalog.tsx
|
|
211
|
+
(empty-state spacing and type)
|
|
212
|
+
- packages/client/src/plugins/planner/App.tsx
|
|
213
|
+
(empty plan spacing)
|
|
214
|
+
|
|
215
|
+
No command-palette source was copied. Socio already has its own palette.
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
6. CopilotKit SQLite runner
|
|
219
|
+
---------------------------
|
|
220
|
+
|
|
221
|
+
Source: https://github.com/CopilotKit/CopilotKit
|
|
222
|
+
(@copilotkit/sqlite-runner 1.75.0, SqliteAgentRunner)
|
|
223
|
+
Copyright (c) Atai Barkai
|
|
224
|
+
License: MIT
|
|
225
|
+
|
|
226
|
+
Derived files:
|
|
227
|
+
|
|
228
|
+
- src/server/turns/local-runner.ts
|
|
229
|
+
(durable AG-UI run storage on node:sqlite; the changes are listed in the
|
|
230
|
+
file's header)
|
|
231
|
+
|
|
232
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
233
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
234
|
+
in the Software without restriction, including without limitation the rights
|
|
235
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
236
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
237
|
+
furnished to do so, subject to the following conditions:
|
|
238
|
+
|
|
239
|
+
The above copyright notice and this permission notice shall be included in all
|
|
240
|
+
copies or substantial portions of the Software.
|
|
241
|
+
|
|
242
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
243
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
244
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
245
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
246
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
247
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
248
|
+
SOFTWARE.
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
7. grill-me
|
|
252
|
+
-----------
|
|
253
|
+
|
|
254
|
+
Source: https://github.com/mattpocock/skills
|
|
255
|
+
(skills/productivity/grill-me and skills/productivity/grilling, commit
|
|
256
|
+
5beb35b040e3de97e54fa9e386d7e42d15c295c2)
|
|
257
|
+
Copyright (c) 2026 Matt Pocock
|
|
258
|
+
License: MIT
|
|
259
|
+
|
|
260
|
+
Derived files:
|
|
261
|
+
|
|
262
|
+
- src/server/skills/grill-me.ts
|
|
263
|
+
(the /grill-me chat skill's instructions)
|
|
264
|
+
|
|
265
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
266
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
267
|
+
in the Software without restriction, including without limitation the rights
|
|
268
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
269
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
270
|
+
furnished to do so, subject to the following conditions:
|
|
271
|
+
|
|
272
|
+
The above copyright notice and this permission notice shall be included in all
|
|
273
|
+
copies or substantial portions of the Software.
|
|
274
|
+
|
|
275
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
276
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
277
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
278
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
279
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
280
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
281
|
+
SOFTWARE.
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
8. T3 Code (native app)
|
|
285
|
+
-----------------------
|
|
286
|
+
|
|
287
|
+
Source: https://github.com/pingdotgg/t3code (commit 240446e2d9)
|
|
288
|
+
Copyright (c) 2026 T3 Tools Inc.
|
|
289
|
+
License: MIT
|
|
290
|
+
|
|
291
|
+
Derived files:
|
|
292
|
+
|
|
293
|
+
- apps/mobile/modules/socio-device/src/protected-data.ts
|
|
294
|
+
(apps/mobile/src/lib/protectedData.ts, rewritten on socio-device)
|
|
295
|
+
- apps/mobile/tests/socio-device/protected-data.test.ts
|
|
296
|
+
(the scenarios and mocks of apps/mobile/src/lib/protectedData.test.ts)
|
|
297
|
+
- apps/mobile/modules/socio-device/ios/SocioDeviceModule.swift, its
|
|
298
|
+
BackgroundGrace class (apps/mobile/modules/t3-native-controls/ios/
|
|
299
|
+
T3BackgroundGraceSubscriber.swift, rewritten to hold the task only while
|
|
300
|
+
the outbox has a request in flight)
|
|
301
|
+
|
|
302
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
303
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
304
|
+
in the Software without restriction, including without limitation the rights
|
|
305
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
306
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
307
|
+
furnished to do so, subject to the following conditions:
|
|
308
|
+
|
|
309
|
+
The above copyright notice and this permission notice shall be included in all
|
|
310
|
+
copies or substantial portions of the Software.
|
|
311
|
+
|
|
312
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
313
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
314
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
315
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
316
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
317
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
318
|
+
SOFTWARE.
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
9. T3 Code (native app config plugins)
|
|
322
|
+
--------------------------------------
|
|
323
|
+
|
|
324
|
+
Source: https://github.com/pingdotgg/t3code (commit 240446e2d9)
|
|
325
|
+
Copyright (c) 2026 T3 Tools Inc.
|
|
326
|
+
License: MIT
|
|
327
|
+
|
|
328
|
+
Vendored files (apps/mobile/vendor/t3code/SYNC.md lists what changed in each):
|
|
329
|
+
|
|
330
|
+
- apps/mobile/vendor/t3code/plugins/withAndroidGradleHeap.cjs
|
|
331
|
+
- apps/mobile/vendor/t3code/plugins/withAndroidModernAlertDialog.cjs
|
|
332
|
+
- apps/mobile/vendor/t3code/plugins/withAndroidModernPopupMenu.cjs
|
|
333
|
+
- apps/mobile/vendor/t3code/plugins/withAndroidPredictiveBackCompat.cjs
|
|
334
|
+
- apps/mobile/vendor/t3code/plugins/withoutIosPersonalTeamCapabilities.cjs
|
|
335
|
+
|
|
336
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
337
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
338
|
+
in the Software without restriction, including without limitation the rights
|
|
339
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
340
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
341
|
+
furnished to do so, subject to the following conditions:
|
|
342
|
+
|
|
343
|
+
The above copyright notice and this permission notice shall be included in all
|
|
344
|
+
copies or substantial portions of the Software.
|
|
345
|
+
|
|
346
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
347
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
348
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
349
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
350
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
351
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
352
|
+
SOFTWARE.
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
10. T3 Code (native app theme generator)
|
|
356
|
+
----------------------------------------
|
|
357
|
+
|
|
358
|
+
Source: https://github.com/pingdotgg/t3code (commit 240446e2d9)
|
|
359
|
+
Copyright (c) 2026 T3 Tools Inc.
|
|
360
|
+
License: MIT
|
|
361
|
+
|
|
362
|
+
Derived files:
|
|
363
|
+
|
|
364
|
+
- apps/mobile/scripts/theme/color.mts
|
|
365
|
+
(the OKLab to sRGB conversion, the flattening of a translucent color over
|
|
366
|
+
a surface and themeColorWithContrast of apps/mobile/src/lib/mobileTheme.ts)
|
|
367
|
+
- apps/mobile/scripts/generate-theme.mts
|
|
368
|
+
(the @layer theme/@variant layout, the atomic write and --check of
|
|
369
|
+
apps/mobile/scripts/generate-uniwind-themes.mts, and the selected-row
|
|
370
|
+
correction of withVisibleSelection in
|
|
371
|
+
apps/mobile/src/lib/mobileThemeVariables.ts)
|
|
372
|
+
|
|
373
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
374
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
375
|
+
in the Software without restriction, including without limitation the rights
|
|
376
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
377
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
378
|
+
furnished to do so, subject to the following conditions:
|
|
379
|
+
|
|
380
|
+
The above copyright notice and this permission notice shall be included in all
|
|
381
|
+
copies or substantial portions of the Software.
|
|
382
|
+
|
|
383
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
384
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
385
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
386
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
387
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
388
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
389
|
+
SOFTWARE.
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
11. T3 Code (native app navigation theme)
|
|
393
|
+
-----------------------------------------
|
|
394
|
+
|
|
395
|
+
Source: https://github.com/pingdotgg/t3code (commit 240446e2d9)
|
|
396
|
+
Copyright (c) 2026 T3 Tools Inc.
|
|
397
|
+
License: MIT
|
|
398
|
+
|
|
399
|
+
Derived files:
|
|
400
|
+
|
|
401
|
+
- apps/mobile/src/theme/navigation-theme.ts
|
|
402
|
+
(the React Navigation theme built from the theme's mobile roles, with the
|
|
403
|
+
dark flag native-stack reads, of apps/mobile/src/lib/useMobileNavigationTheme.ts)
|
|
404
|
+
|
|
405
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
406
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
407
|
+
in the Software without restriction, including without limitation the rights
|
|
408
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
409
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
410
|
+
furnished to do so, subject to the following conditions:
|
|
411
|
+
|
|
412
|
+
The above copyright notice and this permission notice shall be included in all
|
|
413
|
+
copies or substantial portions of the Software.
|
|
414
|
+
|
|
415
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
416
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
417
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
418
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
419
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
420
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
421
|
+
SOFTWARE.
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
12. T3 Code (native app sync triggers)
|
|
425
|
+
--------------------------------------
|
|
426
|
+
|
|
427
|
+
Source: https://github.com/pingdotgg/t3code (commit 240446e2d9)
|
|
428
|
+
Copyright (c) 2026 T3 Tools Inc.
|
|
429
|
+
License: MIT
|
|
430
|
+
|
|
431
|
+
Derived files:
|
|
432
|
+
|
|
433
|
+
- apps/mobile/src/sync/triggers.ts
|
|
434
|
+
(isAppForeground of apps/mobile/src/lib/appState.ts, the 10 s return of
|
|
435
|
+
mobileApplicationActiveWakeup in
|
|
436
|
+
apps/mobile/src/connection/app-state-wakeups.ts, and networkPathChanges
|
|
437
|
+
of apps/mobile/src/connection/platform.ts)
|
|
438
|
+
|
|
439
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
440
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
441
|
+
in the Software without restriction, including without limitation the rights
|
|
442
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
443
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
444
|
+
furnished to do so, subject to the following conditions:
|
|
445
|
+
|
|
446
|
+
The above copyright notice and this permission notice shall be included in all
|
|
447
|
+
copies or substantial portions of the Software.
|
|
448
|
+
|
|
449
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
450
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
451
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
452
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
453
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
454
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
455
|
+
SOFTWARE.
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
13. T3 Code (native app dependency patches)
|
|
459
|
+
-------------------------------------------
|
|
460
|
+
|
|
461
|
+
Source: https://github.com/pingdotgg/t3code (commit 240446e2d9, patches/)
|
|
462
|
+
Copyright (c) 2026 T3 Tools Inc.
|
|
463
|
+
License: MIT
|
|
464
|
+
|
|
465
|
+
Vendored files, unchanged (apps/mobile/vendor/t3code/SYNC.md lists them):
|
|
466
|
+
|
|
467
|
+
- patches/@legendapp__list@3.3.5.patch
|
|
468
|
+
- patches/react-native-keyboard-controller@1.22.8.patch
|
|
469
|
+
|
|
470
|
+
The patched packages keep their own licenses (@legendapp/list and
|
|
471
|
+
react-native-keyboard-controller are MIT).
|
|
472
|
+
|
|
473
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
474
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
475
|
+
in the Software without restriction, including without limitation the rights
|
|
476
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
477
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
478
|
+
furnished to do so, subject to the following conditions:
|
|
479
|
+
|
|
480
|
+
The above copyright notice and this permission notice shall be included in all
|
|
481
|
+
copies or substantial portions of the Software.
|
|
482
|
+
|
|
483
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
484
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
485
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
486
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
487
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
488
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
489
|
+
SOFTWARE.
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
14. react-native-enriched-markdown (T3 Code's fork, native app)
|
|
493
|
+
---------------------------------------------------------------
|
|
494
|
+
|
|
495
|
+
Source: https://github.com/pingdotgg/enriched-markdown (branch fork/t3-mobile,
|
|
496
|
+
commit 29ddd424), from https://github.com/software-mansion/enriched-markdown
|
|
497
|
+
Copyright (c) 2025 Software Mansion
|
|
498
|
+
License: MIT
|
|
499
|
+
|
|
500
|
+
Vendored file: apps/mobile/deps/react-native-enriched-markdown-1.2.0-t3.16-29ddd424-grammars.tgz,
|
|
501
|
+
T3 Code's packed tarball with the tree-sitter runtime (MIT, Copyright (c) 2018
|
|
502
|
+
Max Brunsfeld) and its default grammars added under cpp/highlight/vendor/
|
|
503
|
+
(apps/mobile/deps/README.md). Each grammar keeps its license file beside it in
|
|
504
|
+
the tarball; all are MIT.
|
|
505
|
+
|
|
506
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
507
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
508
|
+
in the Software without restriction, including without limitation the rights
|
|
509
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
510
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
511
|
+
furnished to do so, subject to the following conditions:
|
|
512
|
+
|
|
513
|
+
The above copyright notice and this permission notice shall be included in all
|
|
514
|
+
copies or substantial portions of the Software.
|
|
515
|
+
|
|
516
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
517
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
518
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
519
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
520
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
521
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
522
|
+
SOFTWARE.
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
15. T3 Code (push relay)
|
|
526
|
+
------------------------
|
|
527
|
+
|
|
528
|
+
Source: https://github.com/pingdotgg/t3code (commit 549d182aaa,
|
|
529
|
+
infra/relay/src/agentActivity/)
|
|
530
|
+
Copyright (c) 2026 T3 Tools Inc.
|
|
531
|
+
License: MIT
|
|
532
|
+
|
|
533
|
+
Derived files (vendor/t3code/SYNC.md lists what changed in each):
|
|
534
|
+
|
|
535
|
+
- apps/push-relay/src/apns-jwt.ts (apnsJwt.ts)
|
|
536
|
+
- apps/push-relay/src/apns-provider-tokens.ts (ApnsProviderTokens.ts)
|
|
537
|
+
- apps/push-relay/src/apns-client.ts (ApnsClient.ts, the alert request)
|
|
538
|
+
- apps/push-relay/src/fcm-assertion-signer.ts (FcmAssertionSigner.ts)
|
|
539
|
+
- apps/push-relay/src/fcm-client.ts (FcmClient.ts)
|
|
540
|
+
|
|
541
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
542
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
543
|
+
in the Software without restriction, including without limitation the rights
|
|
544
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
545
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
546
|
+
furnished to do so, subject to the following conditions:
|
|
547
|
+
|
|
548
|
+
The above copyright notice and this permission notice shall be included in all
|
|
549
|
+
copies or substantial portions of the Software.
|
|
550
|
+
|
|
551
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
552
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
553
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
554
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
555
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
556
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
557
|
+
SOFTWARE.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ComponentProps, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { Sheet } from './sheet.js';
|
|
3
|
+
type ReviewState = {
|
|
4
|
+
state: 'ready';
|
|
5
|
+
stateMessage?: never;
|
|
6
|
+
} | {
|
|
7
|
+
state: 'loading' | 'partial' | 'error';
|
|
8
|
+
stateMessage: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export type AccessReviewProps = Pick<ComponentProps<typeof Sheet>, 'open' | 'onOpenChange'> & ReviewState & {
|
|
11
|
+
trigger: ReactElement;
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
children?: ReactNode;
|
|
15
|
+
};
|
|
16
|
+
/** A review panel for content and permission-aware actions supplied by the host. */
|
|
17
|
+
export declare function AccessReview({ trigger, title, description, state, stateMessage, children, ...sheet }: AccessReviewProps): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTrigger } from './sheet.js';
|
|
4
|
+
/** A review panel for content and permission-aware actions supplied by the host. */
|
|
5
|
+
export function AccessReview({ trigger, title, description, state, stateMessage, children, ...sheet }) {
|
|
6
|
+
return (_jsxs(Sheet, { ...sheet, children: [_jsx(SheetTrigger, { asChild: true, children: trigger }), _jsxs(SheetContent, { children: [_jsxs(SheetHeader, { children: [_jsx(SheetTitle, { children: title }), _jsx(SheetDescription, { children: description })] }), _jsxs("div", { className: "grid min-h-0 gap-2 overflow-y-auto px-4 pb-4", "data-state": state, children: [state !== 'ready' && _jsx("div", { role: state === 'error' ? 'alert' : 'status', children: stateMessage }), children] })] })] }));
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): React.JSX.Element;
|
|
5
|
+
declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): React.JSX.Element;
|
|
6
|
+
declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): React.JSX.Element;
|
|
7
|
+
declare function AlertDialogContent({ className, onCloseAutoFocus, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): React.JSX.Element;
|
|
8
|
+
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
9
|
+
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
10
|
+
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): React.JSX.Element;
|
|
11
|
+
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): React.JSX.Element;
|
|
12
|
+
declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): React.JSX.Element;
|
|
13
|
+
declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): React.JSX.Element;
|
|
14
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
|
|
4
|
+
import { cn } from '../utils.js';
|
|
5
|
+
import { buttonVariants } from './button.js';
|
|
6
|
+
import { useReturnFocus } from './return-focus.js';
|
|
7
|
+
function AlertDialog({ ...props }) {
|
|
8
|
+
return _jsx(AlertDialogPrimitive.Root, { "data-slot": "alert-dialog", ...props });
|
|
9
|
+
}
|
|
10
|
+
function AlertDialogTrigger({ ...props }) {
|
|
11
|
+
return _jsx(AlertDialogPrimitive.Trigger, { "data-slot": "alert-dialog-trigger", ...props });
|
|
12
|
+
}
|
|
13
|
+
function AlertDialogPortal({ ...props }) {
|
|
14
|
+
return _jsx(AlertDialogPrimitive.Portal, { "data-slot": "alert-dialog-portal", ...props });
|
|
15
|
+
}
|
|
16
|
+
function AlertDialogOverlay({ className, ...props }) {
|
|
17
|
+
return (_jsx(AlertDialogPrimitive.Overlay, { "data-slot": "alert-dialog-overlay", className: cn('fixed inset-0 z-50 bg-black/50 [--tw-animation-duration:150ms] data-[state=closed]:[--tw-animation-duration:100ms] ease-out motion-reduce:animate-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0', className), ...props }));
|
|
18
|
+
}
|
|
19
|
+
function AlertDialogContent({ className, onCloseAutoFocus, ...props }) {
|
|
20
|
+
const closeAutoFocus = useReturnFocus(onCloseAutoFocus);
|
|
21
|
+
return (_jsxs(AlertDialogPortal, { children: [_jsx(AlertDialogOverlay, {}), _jsx(AlertDialogPrimitive.Content, { "data-slot": "alert-dialog-content", className: cn('fixed top-[50%] left-[50%] z-50 grid w-full max-h-[calc(100dvh-2rem)] max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 overflow-y-auto rounded-xl border bg-background p-6 shadow-lg [--tw-animation-duration:150ms] data-[state=closed]:[--tw-animation-duration:100ms] ease-out motion-reduce:animate-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg', className), onCloseAutoFocus: closeAutoFocus, ...props })] }));
|
|
22
|
+
}
|
|
23
|
+
function AlertDialogHeader({ className, ...props }) {
|
|
24
|
+
return (_jsx("div", { "data-slot": "alert-dialog-header", className: cn('flex flex-col gap-2 text-center sm:text-left', className), ...props }));
|
|
25
|
+
}
|
|
26
|
+
function AlertDialogFooter({ className, ...props }) {
|
|
27
|
+
return (_jsx("div", { "data-slot": "alert-dialog-footer", className: cn('flex flex-col-reverse gap-2 sm:flex-row sm:justify-end', className), ...props }));
|
|
28
|
+
}
|
|
29
|
+
function AlertDialogTitle({ className, ...props }) {
|
|
30
|
+
return (_jsx(AlertDialogPrimitive.Title, { "data-slot": "alert-dialog-title", className: cn('text-lg font-semibold', className), ...props }));
|
|
31
|
+
}
|
|
32
|
+
function AlertDialogDescription({ className, ...props }) {
|
|
33
|
+
return (_jsx(AlertDialogPrimitive.Description, { "data-slot": "alert-dialog-description", className: cn('text-sm text-muted-foreground', className), ...props }));
|
|
34
|
+
}
|
|
35
|
+
function AlertDialogAction({ className, ...props }) {
|
|
36
|
+
return _jsx(AlertDialogPrimitive.Action, { className: cn(buttonVariants(), className), ...props });
|
|
37
|
+
}
|
|
38
|
+
function AlertDialogCancel({ className, ...props }) {
|
|
39
|
+
return _jsx(AlertDialogPrimitive.Cancel, { className: cn(buttonVariants({ variant: 'outline' }), className), ...props });
|
|
40
|
+
}
|
|
41
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Avatar as AvatarPrimitive } from 'radix-ui';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare function Avatar({ className, size, shape, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root> & {
|
|
4
|
+
size?: 'default' | 'sm' | 'lg';
|
|
5
|
+
shape?: 'circle' | 'rounded';
|
|
6
|
+
}): React.JSX.Element;
|
|
7
|
+
declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): React.JSX.Element;
|
|
8
|
+
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): React.JSX.Element;
|
|
9
|
+
declare function AvatarBadge({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
|
|
10
|
+
declare function AvatarGroup({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
11
|
+
declare function AvatarGroupCount({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
12
|
+
export { Avatar, AvatarImage, AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount };
|