@tutti-os/ui-system 0.0.164 → 0.0.166
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/NOTICE +83 -0
- package/dist/{chunk-ZMX4VTUF.js → chunk-7RACG2FX.js} +489 -51
- package/dist/chunk-7RACG2FX.js.map +1 -0
- package/dist/{chunk-A3EZ2O7X.js → chunk-LD3MNTUQ.js} +28 -1
- package/dist/chunk-LD3MNTUQ.js.map +1 -0
- package/dist/components/index.d.ts +49 -1
- package/dist/components/index.js +12 -2
- package/dist/icons/index.d.ts +5 -1
- package/dist/icons/index.js +5 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +16 -2
- package/dist/metadata/components.json +92 -0
- package/dist/metadata/index.js +92 -0
- package/dist/metadata/index.js.map +1 -1
- package/package.json +6 -1
- package/ui-system.md +15 -0
- package/dist/chunk-A3EZ2O7X.js.map +0 -1
- package/dist/chunk-ZMX4VTUF.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -88,6 +88,11 @@ import {
|
|
|
88
88
|
SelectValue,
|
|
89
89
|
Separator,
|
|
90
90
|
ShortcutBadge,
|
|
91
|
+
Sortable,
|
|
92
|
+
SortableContent,
|
|
93
|
+
SortableItem,
|
|
94
|
+
SortableItemHandle,
|
|
95
|
+
SortableOverlay,
|
|
91
96
|
Spinner,
|
|
92
97
|
StatusDot,
|
|
93
98
|
Switch,
|
|
@@ -117,7 +122,7 @@ import {
|
|
|
117
122
|
toast,
|
|
118
123
|
toastVariants,
|
|
119
124
|
useTextOverflow
|
|
120
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-7RACG2FX.js";
|
|
121
126
|
import {
|
|
122
127
|
formatTuttiDateTime,
|
|
123
128
|
formatTuttiShortDateTime,
|
|
@@ -177,6 +182,7 @@ import {
|
|
|
177
182
|
GridRightLinedIcon,
|
|
178
183
|
GridTopLinedIcon,
|
|
179
184
|
GridVerticalLinedIcon,
|
|
185
|
+
GripVerticalIcon,
|
|
180
186
|
GuideIcon,
|
|
181
187
|
HealthIcon,
|
|
182
188
|
ImageFileIcon,
|
|
@@ -196,6 +202,7 @@ import {
|
|
|
196
202
|
LockGridVerticalLinedIcon,
|
|
197
203
|
LockLayoutLinedIcon,
|
|
198
204
|
MaximizeIcon,
|
|
205
|
+
MessageSquareTextIcon,
|
|
199
206
|
MinimizeIcon,
|
|
200
207
|
MoreHorizontalIcon,
|
|
201
208
|
NavAgentsIcon,
|
|
@@ -244,7 +251,7 @@ import {
|
|
|
244
251
|
WebIcon,
|
|
245
252
|
WebScrapeIcon,
|
|
246
253
|
WindowTrafficLightIcon
|
|
247
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-LD3MNTUQ.js";
|
|
248
255
|
import {
|
|
249
256
|
cn
|
|
250
257
|
} from "./chunk-DGPY4WP3.js";
|
|
@@ -354,6 +361,7 @@ export {
|
|
|
354
361
|
GridRightLinedIcon,
|
|
355
362
|
GridTopLinedIcon,
|
|
356
363
|
GridVerticalLinedIcon,
|
|
364
|
+
GripVerticalIcon,
|
|
357
365
|
GuideIcon,
|
|
358
366
|
HealthIcon,
|
|
359
367
|
ImageFileIcon,
|
|
@@ -377,6 +385,7 @@ export {
|
|
|
377
385
|
MaximizeIcon,
|
|
378
386
|
MentionPill,
|
|
379
387
|
MenuSurface,
|
|
388
|
+
MessageSquareTextIcon,
|
|
380
389
|
MinimizeIcon,
|
|
381
390
|
MoreHorizontalIcon,
|
|
382
391
|
NavAgentsIcon,
|
|
@@ -434,6 +443,11 @@ export {
|
|
|
434
443
|
SettingsIcon,
|
|
435
444
|
ShortcutBadge,
|
|
436
445
|
SignOutIcon,
|
|
446
|
+
Sortable,
|
|
447
|
+
SortableContent,
|
|
448
|
+
SortableItem,
|
|
449
|
+
SortableItemHandle,
|
|
450
|
+
SortableOverlay,
|
|
437
451
|
Spinner,
|
|
438
452
|
StatusDot,
|
|
439
453
|
SuccessFilledIcon,
|
|
@@ -2,6 +2,98 @@
|
|
|
2
2
|
"$schema": "./components.schema.json",
|
|
3
3
|
"schemaVersion": 1,
|
|
4
4
|
"components": [
|
|
5
|
+
{
|
|
6
|
+
"id": "sortable",
|
|
7
|
+
"layer": "base",
|
|
8
|
+
"name": "Sortable",
|
|
9
|
+
"export": "Sortable",
|
|
10
|
+
"from": "@tutti-os/ui-system/components",
|
|
11
|
+
"category": "primitive",
|
|
12
|
+
"status": "stable",
|
|
13
|
+
"source": "src/components/sortable/index.tsx",
|
|
14
|
+
"description": "Controlled Dice UI-derived drag sorting root with mouse, touch, and keyboard sensors.",
|
|
15
|
+
"useCases": ["Accessible list reordering", "Handle-only drag sorting"],
|
|
16
|
+
"migrationHints": [],
|
|
17
|
+
"storyboard": true
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "sortable-content",
|
|
21
|
+
"layer": "base",
|
|
22
|
+
"name": "SortableContent",
|
|
23
|
+
"export": "SortableContent",
|
|
24
|
+
"from": "@tutti-os/ui-system/components",
|
|
25
|
+
"category": "composition",
|
|
26
|
+
"status": "stable",
|
|
27
|
+
"source": "src/components/sortable/index.tsx",
|
|
28
|
+
"description": "Collection context and content wrapper for Sortable items.",
|
|
29
|
+
"useCases": ["Vertical sortable lists", "Horizontal sortable lists"],
|
|
30
|
+
"migrationHints": []
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "sortable-item",
|
|
34
|
+
"layer": "base",
|
|
35
|
+
"name": "SortableItem",
|
|
36
|
+
"export": "SortableItem",
|
|
37
|
+
"from": "@tutti-os/ui-system/components",
|
|
38
|
+
"category": "composition",
|
|
39
|
+
"status": "stable",
|
|
40
|
+
"source": "src/components/sortable/index.tsx",
|
|
41
|
+
"description": "Stable-identity sortable item that owns drag transforms.",
|
|
42
|
+
"useCases": ["Sortable rows", "Sortable cards"],
|
|
43
|
+
"migrationHints": []
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "sortable-item-handle",
|
|
47
|
+
"layer": "base",
|
|
48
|
+
"name": "SortableItemHandle",
|
|
49
|
+
"export": "SortableItemHandle",
|
|
50
|
+
"from": "@tutti-os/ui-system/components",
|
|
51
|
+
"category": "composition",
|
|
52
|
+
"status": "stable",
|
|
53
|
+
"source": "src/components/sortable/index.tsx",
|
|
54
|
+
"description": "Handle that receives Sortable activator attributes and listeners.",
|
|
55
|
+
"useCases": ["Handle-only drag activation", "Keyboard reordering"],
|
|
56
|
+
"migrationHints": []
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "sortable-overlay",
|
|
60
|
+
"layer": "base",
|
|
61
|
+
"name": "SortableOverlay",
|
|
62
|
+
"export": "SortableOverlay",
|
|
63
|
+
"from": "@tutti-os/ui-system/components",
|
|
64
|
+
"category": "composition",
|
|
65
|
+
"status": "stable",
|
|
66
|
+
"source": "src/components/sortable/index.tsx",
|
|
67
|
+
"description": "Optional portaled drag overlay for Sortable compositions.",
|
|
68
|
+
"useCases": ["Drag previews"],
|
|
69
|
+
"migrationHints": []
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "message-square-text-icon",
|
|
73
|
+
"layer": "base",
|
|
74
|
+
"name": "MessageSquareTextIcon",
|
|
75
|
+
"export": "MessageSquareTextIcon",
|
|
76
|
+
"from": "@tutti-os/ui-system/icons",
|
|
77
|
+
"category": "icon",
|
|
78
|
+
"status": "stable",
|
|
79
|
+
"source": "src/icons/system-icons.tsx",
|
|
80
|
+
"description": "Source-derived Lucide message-square-text icon.",
|
|
81
|
+
"useCases": ["Reusable prompt entry points", "Text message actions"],
|
|
82
|
+
"migrationHints": []
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "grip-vertical-icon",
|
|
86
|
+
"layer": "base",
|
|
87
|
+
"name": "GripVerticalIcon",
|
|
88
|
+
"export": "GripVerticalIcon",
|
|
89
|
+
"from": "@tutti-os/ui-system/icons",
|
|
90
|
+
"category": "icon",
|
|
91
|
+
"status": "stable",
|
|
92
|
+
"source": "src/icons/system-icons.tsx",
|
|
93
|
+
"description": "Source-derived Lucide vertical drag grip icon.",
|
|
94
|
+
"useCases": ["Drag handles", "Reorder controls"],
|
|
95
|
+
"migrationHints": []
|
|
96
|
+
},
|
|
5
97
|
{
|
|
6
98
|
"id": "badge",
|
|
7
99
|
"layer": "base",
|
package/dist/metadata/index.js
CHANGED
|
@@ -3,6 +3,98 @@ var components_default = {
|
|
|
3
3
|
$schema: "./components.schema.json",
|
|
4
4
|
schemaVersion: 1,
|
|
5
5
|
components: [
|
|
6
|
+
{
|
|
7
|
+
id: "sortable",
|
|
8
|
+
layer: "base",
|
|
9
|
+
name: "Sortable",
|
|
10
|
+
export: "Sortable",
|
|
11
|
+
from: "@tutti-os/ui-system/components",
|
|
12
|
+
category: "primitive",
|
|
13
|
+
status: "stable",
|
|
14
|
+
source: "src/components/sortable/index.tsx",
|
|
15
|
+
description: "Controlled Dice UI-derived drag sorting root with mouse, touch, and keyboard sensors.",
|
|
16
|
+
useCases: ["Accessible list reordering", "Handle-only drag sorting"],
|
|
17
|
+
migrationHints: [],
|
|
18
|
+
storyboard: true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: "sortable-content",
|
|
22
|
+
layer: "base",
|
|
23
|
+
name: "SortableContent",
|
|
24
|
+
export: "SortableContent",
|
|
25
|
+
from: "@tutti-os/ui-system/components",
|
|
26
|
+
category: "composition",
|
|
27
|
+
status: "stable",
|
|
28
|
+
source: "src/components/sortable/index.tsx",
|
|
29
|
+
description: "Collection context and content wrapper for Sortable items.",
|
|
30
|
+
useCases: ["Vertical sortable lists", "Horizontal sortable lists"],
|
|
31
|
+
migrationHints: []
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: "sortable-item",
|
|
35
|
+
layer: "base",
|
|
36
|
+
name: "SortableItem",
|
|
37
|
+
export: "SortableItem",
|
|
38
|
+
from: "@tutti-os/ui-system/components",
|
|
39
|
+
category: "composition",
|
|
40
|
+
status: "stable",
|
|
41
|
+
source: "src/components/sortable/index.tsx",
|
|
42
|
+
description: "Stable-identity sortable item that owns drag transforms.",
|
|
43
|
+
useCases: ["Sortable rows", "Sortable cards"],
|
|
44
|
+
migrationHints: []
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: "sortable-item-handle",
|
|
48
|
+
layer: "base",
|
|
49
|
+
name: "SortableItemHandle",
|
|
50
|
+
export: "SortableItemHandle",
|
|
51
|
+
from: "@tutti-os/ui-system/components",
|
|
52
|
+
category: "composition",
|
|
53
|
+
status: "stable",
|
|
54
|
+
source: "src/components/sortable/index.tsx",
|
|
55
|
+
description: "Handle that receives Sortable activator attributes and listeners.",
|
|
56
|
+
useCases: ["Handle-only drag activation", "Keyboard reordering"],
|
|
57
|
+
migrationHints: []
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: "sortable-overlay",
|
|
61
|
+
layer: "base",
|
|
62
|
+
name: "SortableOverlay",
|
|
63
|
+
export: "SortableOverlay",
|
|
64
|
+
from: "@tutti-os/ui-system/components",
|
|
65
|
+
category: "composition",
|
|
66
|
+
status: "stable",
|
|
67
|
+
source: "src/components/sortable/index.tsx",
|
|
68
|
+
description: "Optional portaled drag overlay for Sortable compositions.",
|
|
69
|
+
useCases: ["Drag previews"],
|
|
70
|
+
migrationHints: []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: "message-square-text-icon",
|
|
74
|
+
layer: "base",
|
|
75
|
+
name: "MessageSquareTextIcon",
|
|
76
|
+
export: "MessageSquareTextIcon",
|
|
77
|
+
from: "@tutti-os/ui-system/icons",
|
|
78
|
+
category: "icon",
|
|
79
|
+
status: "stable",
|
|
80
|
+
source: "src/icons/system-icons.tsx",
|
|
81
|
+
description: "Source-derived Lucide message-square-text icon.",
|
|
82
|
+
useCases: ["Reusable prompt entry points", "Text message actions"],
|
|
83
|
+
migrationHints: []
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: "grip-vertical-icon",
|
|
87
|
+
layer: "base",
|
|
88
|
+
name: "GripVerticalIcon",
|
|
89
|
+
export: "GripVerticalIcon",
|
|
90
|
+
from: "@tutti-os/ui-system/icons",
|
|
91
|
+
category: "icon",
|
|
92
|
+
status: "stable",
|
|
93
|
+
source: "src/icons/system-icons.tsx",
|
|
94
|
+
description: "Source-derived Lucide vertical drag grip icon.",
|
|
95
|
+
useCases: ["Drag handles", "Reorder controls"],
|
|
96
|
+
migrationHints: []
|
|
97
|
+
},
|
|
6
98
|
{
|
|
7
99
|
id: "badge",
|
|
8
100
|
layer: "base",
|