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