@nextop-os/ui-system 0.0.27 → 0.0.29
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/dist/{chunk-UELLN5VR.js → chunk-45BNCYIU.js} +78 -24
- package/dist/chunk-45BNCYIU.js.map +1 -0
- package/dist/{chunk-KJQ366TA.js → chunk-GX3U3V36.js} +2 -2
- package/dist/chunk-GX3U3V36.js.map +1 -0
- package/dist/{chunk-D5Y4OBKX.js → chunk-YSWPZLZ4.js} +585 -212
- package/dist/chunk-YSWPZLZ4.js.map +1 -0
- package/dist/components/index.d.ts +71 -12
- package/dist/components/index.js +32 -2
- package/dist/date-format.d.ts +1 -1
- package/dist/date-format.js +1 -1
- package/dist/icons/index.d.ts +7 -1
- package/dist/icons/index.js +13 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +45 -3
- package/dist/metadata/components.json +311 -5
- package/dist/metadata/index.js +311 -5
- package/dist/metadata/index.js.map +1 -1
- package/dist/styles/base.css +24 -4
- package/dist/styles/semantic.css +1 -0
- package/dist/styles/theme.css +37 -13
- package/package.json +3 -1
- package/ui-system.md +4 -2
- package/dist/chunk-D5Y4OBKX.js.map +0 -1
- package/dist/chunk-KJQ366TA.js.map +0 -1
- package/dist/chunk-UELLN5VR.js.map +0 -1
|
@@ -29,6 +29,20 @@
|
|
|
29
29
|
"useCases": ["Composing badge-compatible styles"],
|
|
30
30
|
"migrationHints": []
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
"id": "shortcut-badge",
|
|
34
|
+
"layer": "base",
|
|
35
|
+
"name": "ShortcutBadge",
|
|
36
|
+
"export": "ShortcutBadge",
|
|
37
|
+
"from": "@nextop-os/ui-system/components",
|
|
38
|
+
"category": "primitive",
|
|
39
|
+
"status": "stable",
|
|
40
|
+
"source": "src/components/shortcut-badge/index.tsx",
|
|
41
|
+
"description": "Compact kbd-styled badge for keyboard shortcut hints.",
|
|
42
|
+
"useCases": ["Keyboard shortcut hints", "Tooltip shortcut labels"],
|
|
43
|
+
"migrationHints": [],
|
|
44
|
+
"storyboard": true
|
|
45
|
+
},
|
|
32
46
|
{
|
|
33
47
|
"id": "button",
|
|
34
48
|
"layer": "base",
|
|
@@ -56,6 +70,28 @@
|
|
|
56
70
|
"useCases": ["Composing button-compatible styles"],
|
|
57
71
|
"migrationHints": []
|
|
58
72
|
},
|
|
73
|
+
{
|
|
74
|
+
"id": "bare-icon-button",
|
|
75
|
+
"layer": "base",
|
|
76
|
+
"name": "BareIconButton",
|
|
77
|
+
"export": "BareIconButton",
|
|
78
|
+
"from": "@nextop-os/ui-system/components",
|
|
79
|
+
"category": "primitive",
|
|
80
|
+
"status": "stable",
|
|
81
|
+
"source": "src/components/bare-icon-button/index.tsx",
|
|
82
|
+
"description": "Background-free icon-only button for very dense control clusters.",
|
|
83
|
+
"propsType": "BareIconButtonProps",
|
|
84
|
+
"useCases": [
|
|
85
|
+
"Dense toolbars",
|
|
86
|
+
"Inline row actions",
|
|
87
|
+
"Compact icon-only affordances that should not add a hover fill"
|
|
88
|
+
],
|
|
89
|
+
"migrationHints": [
|
|
90
|
+
"Use only when the surrounding layout is information-dense enough that a filled or ghost icon button adds visual noise.",
|
|
91
|
+
"Prefer Button size=\"icon\" or size=\"icon-sm\" when the action needs a visible hover surface."
|
|
92
|
+
],
|
|
93
|
+
"storyboard": true
|
|
94
|
+
},
|
|
59
95
|
{
|
|
60
96
|
"id": "card",
|
|
61
97
|
"layer": "base",
|
|
@@ -296,6 +332,137 @@
|
|
|
296
332
|
"useCases": ["Dialog launch controls"],
|
|
297
333
|
"migrationHints": []
|
|
298
334
|
},
|
|
335
|
+
{
|
|
336
|
+
"id": "drawer",
|
|
337
|
+
"layer": "base",
|
|
338
|
+
"name": "Drawer",
|
|
339
|
+
"export": "Drawer",
|
|
340
|
+
"from": "@nextop-os/ui-system/components",
|
|
341
|
+
"category": "composition",
|
|
342
|
+
"status": "stable",
|
|
343
|
+
"source": "src/components/drawer/index.tsx",
|
|
344
|
+
"description": "Drawer root primitive for edge-attached overlay surfaces.",
|
|
345
|
+
"useCases": ["Side drawers", "Bottom sheets", "Transient panels"],
|
|
346
|
+
"migrationHints": [],
|
|
347
|
+
"storyboard": true
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"id": "drawer-close",
|
|
351
|
+
"layer": "base",
|
|
352
|
+
"name": "DrawerClose",
|
|
353
|
+
"export": "DrawerClose",
|
|
354
|
+
"from": "@nextop-os/ui-system/components",
|
|
355
|
+
"category": "composition",
|
|
356
|
+
"status": "stable",
|
|
357
|
+
"source": "src/components/drawer/index.tsx",
|
|
358
|
+
"description": "Close control primitive for Drawer compositions.",
|
|
359
|
+
"useCases": ["Drawer close buttons"],
|
|
360
|
+
"migrationHints": []
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"id": "drawer-content",
|
|
364
|
+
"layer": "base",
|
|
365
|
+
"name": "DrawerContent",
|
|
366
|
+
"export": "DrawerContent",
|
|
367
|
+
"from": "@nextop-os/ui-system/components",
|
|
368
|
+
"category": "composition",
|
|
369
|
+
"status": "stable",
|
|
370
|
+
"source": "src/components/drawer/index.tsx",
|
|
371
|
+
"description": "Content surface for Drawer layouts.",
|
|
372
|
+
"useCases": ["Drawer bodies", "Sheet panels"],
|
|
373
|
+
"migrationHints": []
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"id": "drawer-description",
|
|
377
|
+
"layer": "base",
|
|
378
|
+
"name": "DrawerDescription",
|
|
379
|
+
"export": "DrawerDescription",
|
|
380
|
+
"from": "@nextop-os/ui-system/components",
|
|
381
|
+
"category": "composition",
|
|
382
|
+
"status": "stable",
|
|
383
|
+
"source": "src/components/drawer/index.tsx",
|
|
384
|
+
"description": "Accessible description primitive for Drawer content.",
|
|
385
|
+
"useCases": ["Drawer supporting copy"],
|
|
386
|
+
"migrationHints": []
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"id": "drawer-footer",
|
|
390
|
+
"layer": "base",
|
|
391
|
+
"name": "DrawerFooter",
|
|
392
|
+
"export": "DrawerFooter",
|
|
393
|
+
"from": "@nextop-os/ui-system/components",
|
|
394
|
+
"category": "composition",
|
|
395
|
+
"status": "stable",
|
|
396
|
+
"source": "src/components/drawer/index.tsx",
|
|
397
|
+
"description": "Footer region for Drawer actions.",
|
|
398
|
+
"useCases": ["Drawer action rows"],
|
|
399
|
+
"migrationHints": []
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"id": "drawer-header",
|
|
403
|
+
"layer": "base",
|
|
404
|
+
"name": "DrawerHeader",
|
|
405
|
+
"export": "DrawerHeader",
|
|
406
|
+
"from": "@nextop-os/ui-system/components",
|
|
407
|
+
"category": "composition",
|
|
408
|
+
"status": "stable",
|
|
409
|
+
"source": "src/components/drawer/index.tsx",
|
|
410
|
+
"description": "Header region for Drawer titles and descriptions.",
|
|
411
|
+
"useCases": ["Drawer headings"],
|
|
412
|
+
"migrationHints": []
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"id": "drawer-overlay",
|
|
416
|
+
"layer": "base",
|
|
417
|
+
"name": "DrawerOverlay",
|
|
418
|
+
"export": "DrawerOverlay",
|
|
419
|
+
"from": "@nextop-os/ui-system/components",
|
|
420
|
+
"category": "composition",
|
|
421
|
+
"status": "stable",
|
|
422
|
+
"source": "src/components/drawer/index.tsx",
|
|
423
|
+
"description": "Overlay backdrop for Drawer content.",
|
|
424
|
+
"useCases": ["Modal drawer backdrops"],
|
|
425
|
+
"migrationHints": []
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"id": "drawer-portal",
|
|
429
|
+
"layer": "base",
|
|
430
|
+
"name": "DrawerPortal",
|
|
431
|
+
"export": "DrawerPortal",
|
|
432
|
+
"from": "@nextop-os/ui-system/components",
|
|
433
|
+
"category": "composition",
|
|
434
|
+
"status": "stable",
|
|
435
|
+
"source": "src/components/drawer/index.tsx",
|
|
436
|
+
"description": "Portal primitive for Drawer content placement.",
|
|
437
|
+
"useCases": ["Portaled drawer content"],
|
|
438
|
+
"migrationHints": []
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"id": "drawer-title",
|
|
442
|
+
"layer": "base",
|
|
443
|
+
"name": "DrawerTitle",
|
|
444
|
+
"export": "DrawerTitle",
|
|
445
|
+
"from": "@nextop-os/ui-system/components",
|
|
446
|
+
"category": "composition",
|
|
447
|
+
"status": "stable",
|
|
448
|
+
"source": "src/components/drawer/index.tsx",
|
|
449
|
+
"description": "Accessible title primitive for Drawer content.",
|
|
450
|
+
"useCases": ["Drawer headings"],
|
|
451
|
+
"migrationHints": []
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"id": "drawer-trigger",
|
|
455
|
+
"layer": "base",
|
|
456
|
+
"name": "DrawerTrigger",
|
|
457
|
+
"export": "DrawerTrigger",
|
|
458
|
+
"from": "@nextop-os/ui-system/components",
|
|
459
|
+
"category": "composition",
|
|
460
|
+
"status": "stable",
|
|
461
|
+
"source": "src/components/drawer/index.tsx",
|
|
462
|
+
"description": "Trigger primitive for opening Drawer content.",
|
|
463
|
+
"useCases": ["Drawer launch controls"],
|
|
464
|
+
"migrationHints": []
|
|
465
|
+
},
|
|
299
466
|
{
|
|
300
467
|
"id": "dropdown-menu",
|
|
301
468
|
"layer": "base",
|
|
@@ -893,6 +1060,41 @@
|
|
|
893
1060
|
"useCases": ["Composing toast-compatible styles"],
|
|
894
1061
|
"migrationHints": []
|
|
895
1062
|
},
|
|
1063
|
+
{
|
|
1064
|
+
"id": "toaster",
|
|
1065
|
+
"layer": "base",
|
|
1066
|
+
"name": "Toaster",
|
|
1067
|
+
"export": "Toaster",
|
|
1068
|
+
"from": "@nextop-os/ui-system/components",
|
|
1069
|
+
"category": "composition",
|
|
1070
|
+
"status": "stable",
|
|
1071
|
+
"source": "src/components/sonner/index.tsx",
|
|
1072
|
+
"description": "Sonner-backed notification viewport for rich transient notifications.",
|
|
1073
|
+
"useCases": [
|
|
1074
|
+
"Actionable notifications",
|
|
1075
|
+
"Top-right notification stacks",
|
|
1076
|
+
"Longer-lived async workflow prompts"
|
|
1077
|
+
],
|
|
1078
|
+
"migrationHints": [
|
|
1079
|
+
"Use Toaster with the exported toast API when notifications need actions, placement, or longer duration than the compact Toast primitive."
|
|
1080
|
+
],
|
|
1081
|
+
"storyboard": true
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"id": "sonner-toast",
|
|
1085
|
+
"layer": "base",
|
|
1086
|
+
"name": "toast",
|
|
1087
|
+
"export": "toast",
|
|
1088
|
+
"from": "@nextop-os/ui-system/components",
|
|
1089
|
+
"category": "utility",
|
|
1090
|
+
"status": "stable",
|
|
1091
|
+
"source": "src/components/sonner/index.tsx",
|
|
1092
|
+
"description": "Command API for dispatching Sonner-backed notifications.",
|
|
1093
|
+
"useCases": ["Notification dispatch", "Actionable toast updates"],
|
|
1094
|
+
"migrationHints": [
|
|
1095
|
+
"Prefer this exported toast API over direct sonner imports so consumers stay on the UI-system notification wrapper."
|
|
1096
|
+
]
|
|
1097
|
+
},
|
|
896
1098
|
{
|
|
897
1099
|
"id": "checkbox",
|
|
898
1100
|
"layer": "base",
|
|
@@ -1136,6 +1338,26 @@
|
|
|
1136
1338
|
"migrationHints": [],
|
|
1137
1339
|
"storyboard": true
|
|
1138
1340
|
},
|
|
1341
|
+
{
|
|
1342
|
+
"id": "section-tabs",
|
|
1343
|
+
"layer": "base",
|
|
1344
|
+
"name": "SectionTabs",
|
|
1345
|
+
"export": "SectionTabs",
|
|
1346
|
+
"from": "@nextop-os/ui-system/components",
|
|
1347
|
+
"category": "composition",
|
|
1348
|
+
"status": "stable",
|
|
1349
|
+
"source": "src/components/section-tabs/index.tsx",
|
|
1350
|
+
"description": "Heading-sized tab row primitive for switching between peer content sections.",
|
|
1351
|
+
"useCases": [
|
|
1352
|
+
"Section switching",
|
|
1353
|
+
"Panel content groups",
|
|
1354
|
+
"Workbench grouped lists"
|
|
1355
|
+
],
|
|
1356
|
+
"migrationHints": [
|
|
1357
|
+
"Use SectionTabs when tabs should visually match section headings instead of dense pane navigation."
|
|
1358
|
+
],
|
|
1359
|
+
"storyboard": false
|
|
1360
|
+
},
|
|
1139
1361
|
{
|
|
1140
1362
|
"id": "date-picker",
|
|
1141
1363
|
"layer": "base",
|
|
@@ -1299,6 +1521,34 @@
|
|
|
1299
1521
|
"migrationHints": [],
|
|
1300
1522
|
"iconVariant": "lined"
|
|
1301
1523
|
},
|
|
1524
|
+
{
|
|
1525
|
+
"id": "play-lined-icon",
|
|
1526
|
+
"layer": "base",
|
|
1527
|
+
"name": "PlayIcon",
|
|
1528
|
+
"export": "PlayIcon",
|
|
1529
|
+
"from": "@nextop-os/ui-system/icons",
|
|
1530
|
+
"category": "icon",
|
|
1531
|
+
"status": "stable",
|
|
1532
|
+
"source": "src/icons/system-icons.tsx",
|
|
1533
|
+
"description": "System icon for starting or running an action.",
|
|
1534
|
+
"useCases": ["Run buttons", "Start actions", "Media-style play actions"],
|
|
1535
|
+
"migrationHints": [],
|
|
1536
|
+
"iconVariant": "lined"
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"id": "pause-lined-icon",
|
|
1540
|
+
"layer": "base",
|
|
1541
|
+
"name": "PauseIcon",
|
|
1542
|
+
"export": "PauseIcon",
|
|
1543
|
+
"from": "@nextop-os/ui-system/icons",
|
|
1544
|
+
"category": "icon",
|
|
1545
|
+
"status": "stable",
|
|
1546
|
+
"source": "src/icons/system-icons.tsx",
|
|
1547
|
+
"description": "System icon for pausing an active action.",
|
|
1548
|
+
"useCases": ["Pause buttons", "Running state controls"],
|
|
1549
|
+
"migrationHints": [],
|
|
1550
|
+
"iconVariant": "lined"
|
|
1551
|
+
},
|
|
1302
1552
|
{
|
|
1303
1553
|
"id": "folder-lined-icon",
|
|
1304
1554
|
"layer": "base",
|
|
@@ -1369,6 +1619,20 @@
|
|
|
1369
1619
|
"migrationHints": [],
|
|
1370
1620
|
"iconVariant": "lined"
|
|
1371
1621
|
},
|
|
1622
|
+
{
|
|
1623
|
+
"id": "no-workspace-lined-icon",
|
|
1624
|
+
"layer": "base",
|
|
1625
|
+
"name": "NoWorkspaceLinedIcon",
|
|
1626
|
+
"export": "NoWorkspaceLinedIcon",
|
|
1627
|
+
"from": "@nextop-os/ui-system/icons",
|
|
1628
|
+
"category": "icon",
|
|
1629
|
+
"status": "stable",
|
|
1630
|
+
"source": "src/icons/system-icons.tsx",
|
|
1631
|
+
"description": "Lined system icon for no-workspace or no-project states.",
|
|
1632
|
+
"useCases": ["No workspace states", "No project menu options"],
|
|
1633
|
+
"migrationHints": [],
|
|
1634
|
+
"iconVariant": "lined"
|
|
1635
|
+
},
|
|
1372
1636
|
{
|
|
1373
1637
|
"id": "health-lined-icon",
|
|
1374
1638
|
"layer": "base",
|
|
@@ -1863,6 +2127,34 @@
|
|
|
1863
2127
|
"migrationHints": [],
|
|
1864
2128
|
"iconVariant": "lined"
|
|
1865
2129
|
},
|
|
2130
|
+
{
|
|
2131
|
+
"id": "pin-lined-icon",
|
|
2132
|
+
"layer": "base",
|
|
2133
|
+
"name": "PinIcon",
|
|
2134
|
+
"export": "PinIcon",
|
|
2135
|
+
"from": "@nextop-os/ui-system/icons",
|
|
2136
|
+
"category": "icon",
|
|
2137
|
+
"status": "stable",
|
|
2138
|
+
"source": "src/icons/system-icons.tsx",
|
|
2139
|
+
"description": "System icon for pinning items in menus or compact controls.",
|
|
2140
|
+
"useCases": ["Pinned lists", "Topic ordering", "Compact menu actions"],
|
|
2141
|
+
"migrationHints": [],
|
|
2142
|
+
"iconVariant": "lined"
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"id": "pin-filled-icon",
|
|
2146
|
+
"layer": "base",
|
|
2147
|
+
"name": "PinFilledIcon",
|
|
2148
|
+
"export": "PinFilledIcon",
|
|
2149
|
+
"from": "@nextop-os/ui-system/icons",
|
|
2150
|
+
"category": "icon",
|
|
2151
|
+
"status": "stable",
|
|
2152
|
+
"source": "src/icons/system-icons.tsx",
|
|
2153
|
+
"description": "Filled system icon for pinned items in menus or compact controls.",
|
|
2154
|
+
"useCases": ["Pinned lists", "Active pin states", "Compact menu actions"],
|
|
2155
|
+
"migrationHints": [],
|
|
2156
|
+
"iconVariant": "filled"
|
|
2157
|
+
},
|
|
1866
2158
|
{
|
|
1867
2159
|
"id": "layout-preset-filled-icon",
|
|
1868
2160
|
"layer": "base",
|
|
@@ -2027,7 +2319,7 @@
|
|
|
2027
2319
|
"status": "stable",
|
|
2028
2320
|
"source": "src/icons/system-icons.tsx",
|
|
2029
2321
|
"description": "System icon for agent session threads.",
|
|
2030
|
-
"useCases": ["Agent sessions", "
|
|
2322
|
+
"useCases": ["Agent sessions", "Session history"],
|
|
2031
2323
|
"migrationHints": [],
|
|
2032
2324
|
"iconVariant": "filled"
|
|
2033
2325
|
},
|
|
@@ -2041,7 +2333,7 @@
|
|
|
2041
2333
|
"status": "stable",
|
|
2042
2334
|
"source": "src/icons/system-icons.tsx",
|
|
2043
2335
|
"description": "System icon for creating a chat.",
|
|
2044
|
-
"useCases": ["Create chat actions", "New
|
|
2336
|
+
"useCases": ["Create chat actions", "New session controls"],
|
|
2045
2337
|
"migrationHints": [],
|
|
2046
2338
|
"iconVariant": "filled"
|
|
2047
2339
|
},
|
|
@@ -2195,7 +2487,7 @@
|
|
|
2195
2487
|
"status": "stable",
|
|
2196
2488
|
"source": "src/icons/system-icons.tsx",
|
|
2197
2489
|
"description": "System icon for open sessions.",
|
|
2198
|
-
"useCases": ["Open sessions", "Active
|
|
2490
|
+
"useCases": ["Open sessions", "Active sessions"],
|
|
2199
2491
|
"migrationHints": [],
|
|
2200
2492
|
"iconVariant": "filled"
|
|
2201
2493
|
},
|
|
@@ -2321,7 +2613,7 @@
|
|
|
2321
2613
|
"status": "stable",
|
|
2322
2614
|
"source": "src/icons/system-icons.tsx",
|
|
2323
2615
|
"description": "System icon for chat surfaces.",
|
|
2324
|
-
"useCases": ["Chat surfaces", "
|
|
2616
|
+
"useCases": ["Chat surfaces", "Session controls"],
|
|
2325
2617
|
"migrationHints": [],
|
|
2326
2618
|
"iconVariant": "lined"
|
|
2327
2619
|
},
|
|
@@ -2363,7 +2655,7 @@
|
|
|
2363
2655
|
"status": "stable",
|
|
2364
2656
|
"source": "src/icons/system-icons.tsx",
|
|
2365
2657
|
"description": "System icon for unavailable chat states.",
|
|
2366
|
-
"useCases": ["Unavailable chats", "Disabled
|
|
2658
|
+
"useCases": ["Unavailable chats", "Disabled sessions"],
|
|
2367
2659
|
"migrationHints": [],
|
|
2368
2660
|
"iconVariant": "filled"
|
|
2369
2661
|
},
|
|
@@ -2381,6 +2673,20 @@
|
|
|
2381
2673
|
"migrationHints": [],
|
|
2382
2674
|
"iconVariant": "lined"
|
|
2383
2675
|
},
|
|
2676
|
+
{
|
|
2677
|
+
"id": "uninstall-filled-icon",
|
|
2678
|
+
"layer": "base",
|
|
2679
|
+
"name": "UninstallIcon",
|
|
2680
|
+
"export": "UninstallIcon",
|
|
2681
|
+
"from": "@nextop-os/ui-system/icons",
|
|
2682
|
+
"category": "icon",
|
|
2683
|
+
"status": "stable",
|
|
2684
|
+
"source": "src/icons/system-icons.tsx",
|
|
2685
|
+
"description": "System icon for uninstall actions.",
|
|
2686
|
+
"useCases": ["Uninstall actions", "Remove app actions"],
|
|
2687
|
+
"migrationHints": [],
|
|
2688
|
+
"iconVariant": "filled"
|
|
2689
|
+
},
|
|
2384
2690
|
{
|
|
2385
2691
|
"id": "failed-lined-icon",
|
|
2386
2692
|
"layer": "base",
|