@actioneer/ads 0.5.8 → 0.5.9
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/components/avatar.d.ts +1 -0
- package/components/avatar.js +5 -4
- package/components/breadcrumbs.d.ts +2 -0
- package/components/breadcrumbs.js +50 -48
- package/components/chart.d.ts +6 -0
- package/components/chart.js +737 -668
- package/components/drawer.d.ts +3 -1
- package/components/drawer.js +74 -72
- package/components/modal.d.ts +5 -1
- package/components/modal.js +74 -61
- package/components/pixel-icon.d.ts +4 -0
- package/components/pixel-icon.js +210 -163
- package/components/segmented.d.ts +1 -0
- package/components/segmented.js +31 -28
- package/components/select.d.ts +5 -0
- package/components/select.js +177 -132
- package/components/table.d.ts +7 -0
- package/components/table.js +183 -173
- package/demo/components/add-to-artifact.js +129 -107
- package/demo/lib/artifact-library.js +37 -29
- package/demo/lib/artifact-pin-guard.js +12 -0
- package/lib/icons.d.ts +20 -0
- package/lib/icons.js +112 -107
- package/llms.txt +1 -1
- package/manifest.json +20 -7
- package/package.json +1 -1
package/lib/icons.js
CHANGED
|
@@ -1,116 +1,121 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as h } from "react/jsx-runtime";
|
|
3
3
|
import * as C from "react";
|
|
4
|
-
import { ArrowUpRight as g, Code as p, Check as u, Copy as $, FileText as
|
|
4
|
+
import { ArrowUpRight as g, Code as p, Check as u, Copy as $, FileText as k, X as S, UploadSimple as d, EyeSlash as f, Eye as w, Minus as T, Plus as P, CaretDown as A, MagnifyingGlass as L, Info as y, WarningCircle as B, Warning as m, CheckCircle as U, ChatCircle as x, CaretUp as M, ArrowsDownUp as I, Clock as O, Database as F, ArrowSquareOut as b, Table as D, CaretLeft as R, CaretRight as v, CornersOut as H, Magnet as G, Tray as W, ArrowLeft as E, DotsThree as z, User as V, XCircle as N, CircleDashed as Q, ArrowsClockwise as q, Paperclip as X, Quotes as j, At as J, Lightning as K, Sparkle as Y, File as Z, DownloadSimple as _, Image as s, BracketsCurly as ee, MusicNotes as oe, VideoCamera as te, ImageBroken as se, Pulse as ne, Archive as ae, ArrowDown as re, ArrowRight as ce, ArrowUp as le, Scroll as ie, Bell as he, Stack as Ce, BookOpen as ge, Brain as pe, CalendarBlank as ue, Phone as $e, ListChecks as ke, Cube as Se, Funnel as de, Folder as fe, FolderOpen as we, Gauge as Te, GitBranch as Pe, Hash as Ae, ClockCounterClockwise as Le, House as ye, SquaresFour as Be, Leaf as me, Lightbulb as Ue, Link as xe, CircleNotch as Me, SignOut as Ie, Envelope as Oe, Microphone as Fe, MicrophoneSlash as be, DotsThreeVertical as De, Palette as Re, SidebarSimple as ve, Pause as He, PencilSimple as Ge, PhoneSlash as We, ChartPie as Ee, Play as ze, Plug as Ve, Presentation as Ne, Rocket as Qe, Gear as qe, Shapes as Xe, ShareNetwork as je, Star as Je, Stop as Ke, ArrowsLeftRight as Ye, Target as Ze, Binoculars as _e, TextB as eo, TextT as oo, TextItalic as to, TextStrikethrough as so, TextUnderline as no, ToggleRight as ao, Trash as ro, Users as co, Wrench as lo } from "@phosphor-icons/react";
|
|
5
5
|
function e(n, a) {
|
|
6
|
-
const o = C.forwardRef(function({ strokeWidth: t, weight: r, ...c },
|
|
7
|
-
const
|
|
8
|
-
return /* @__PURE__ */ h(n, { ref:
|
|
6
|
+
const o = C.forwardRef(function({ strokeWidth: t, weight: r, ...c }, l) {
|
|
7
|
+
const i = r ?? (t != null && t >= 2 ? "bold" : "regular");
|
|
8
|
+
return /* @__PURE__ */ h(n, { ref: l, size: "1em", weight: i, ...c });
|
|
9
9
|
});
|
|
10
10
|
return o.displayName = a, o;
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const go = e(re, "ArrowDown"), po = e(E, "ArrowLeft"), uo = e(ce, "ArrowRight"), $o = e(le, "ArrowUp"), ko = e(g, "ArrowUpRight"), So = e(A, "ChevronDown"), fo = e(R, "ChevronLeft"), wo = e(v, "ChevronRight"), To = e(M, "ChevronUp"), Po = e(I, "SortIcon"), Ao = e(Ye, "SwapHorizontal"), Lo = e(b, "ExternalLink"), yo = e(ve, "PanelLeft"), Bo = e(J, "At"), mo = e($e, "Call"), Uo = e(S, "Close"), xo = e(N, "CloseCircle"), Mo = e($, "Copy"), Io = e(_, "Download"), Oo = e(Ie, "LogOut"), Fo = e(Fe, "Mic"), bo = e(be, "MicOff"), Do = e(We, "PhoneOff"), Ro = e(Ge, "Pencil"), vo = e(j, "Quote"), Ho = e(w, "Eye"), Go = e(f, "EyeOff"), Wo = e(Ae, "Hash"), Eo = e(s, "ImageUpload"), zo = e(d, "Upload"), Vo = e(oo, "TextFont"), No = e(eo, "TextBold"), Qo = e(to, "TextItalicStyle"), qo = e(so, "TextStrike"), Xo = e(no, "TextUnderlineStyle"), jo = e(ao, "ToggleOn"), Jo = e(ue, "Calendar"), Ko = e(O, "Clock"), Yo = e(p, "Code"), Zo = e(Ke, "Stop"), _o = e(G, "Magnet"), et = e(H, "Maximize"), ot = e(T, "Minus"), tt = e(z, "MoreHorizontal"), st = e(De, "MoreVertical"), nt = e(xe, "Link"), at = e(P, "Plus"), rt = e(q, "Refresh"), ct = e(ie, "AuditTrail"), lt = e(L, "Search"), it = e(je, "Share"), ht = e(ro, "Trash"), Ct = e(u, "Check"), gt = e(Me, "Loader"), pt = e(U, "CheckCircle"), ut = e(y, "Info"), $t = e(m, "Warning"), kt = e(he, "Bell"), St = e(B, "WarningCircle"), dt = e(ne, "Activity"), ft = e(x, "AgentChat"), wt = e(K, "Bolt"), Tt = e(ge, "BookOpen"), Pt = e(pe, "Brain"), At = e(ke, "CheckList"), Lt = e(Se, "Component"), yt = e(F, "Database"), Bt = e(D, "Table"), mt = e(de, "Filter"), Ut = e(ae, "Archive"), xt = e(Z, "File"), Mt = e(k, "FileText"), It = e(fe, "Folder"), Ot = e(s, "Image"), Ft = e(se, "ImageOff"), bt = e(oe, "Music"), Dt = e(te, "Video"), Rt = e(ee, "Braces"), vt = e(we, "FolderOpen"), Ht = e(Te, "Gauge"), Gt = e(Pe, "GitBranch"), Wt = e(Le, "HistoryClock"), Et = e(ye, "Home"), zt = e(Ce, "Blocks"), Vt = e(W, "Inbox"), Nt = e(Ue, "Lightbulb"), Qt = e(me, "Leaf"), qt = e(Be, "LayoutGrid"), Xt = e(Oe, "Mail"), jt = e(Re, "Palette"), Jt = e(Ee, "PieChart"), Kt = e(Ve, "Plug"), Yt = e(Qe, "Rocket"), Zt = e(qe, "Settings"), _t = e(Xe, "Shapes"), es = e(Y, "Sparkles"), os = e(Je, "Star"), ts = e(_e, "Telescope"), ss = e(Ze, "Target"), ns = e(V, "User"), as = e(co, "Users"), rs = e(ze, "Play"), cs = e(Ne, "Presentation"), ls = e(He, "Pause"), is = e(X, "Paperclip"), hs = e(Q, "CircleDashed"), Cs = e(lo, "Wrench");
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
pt as
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
14
|
+
dt as Activity,
|
|
15
|
+
ft as AgentChat,
|
|
16
|
+
Ut as Archive,
|
|
17
|
+
go as ArrowDown,
|
|
18
|
+
po as ArrowLeft,
|
|
19
|
+
uo as ArrowRight,
|
|
20
|
+
$o as ArrowUp,
|
|
21
|
+
ko as ArrowUpRight,
|
|
22
|
+
Bo as At,
|
|
23
|
+
ct as AuditTrail,
|
|
24
|
+
kt as Bell,
|
|
25
|
+
zt as Blocks,
|
|
26
|
+
wt as Bolt,
|
|
27
|
+
Tt as BookOpen,
|
|
28
|
+
Rt as Braces,
|
|
29
|
+
Pt as Brain,
|
|
30
|
+
Jo as Calendar,
|
|
31
|
+
mo as Call,
|
|
32
|
+
Ct as Check,
|
|
33
|
+
pt as CheckCircle,
|
|
34
|
+
At as CheckList,
|
|
35
|
+
So as ChevronDown,
|
|
36
|
+
fo as ChevronLeft,
|
|
37
|
+
wo as ChevronRight,
|
|
38
|
+
To as ChevronUp,
|
|
39
|
+
hs as CircleDashed,
|
|
40
|
+
Ko as Clock,
|
|
41
|
+
Uo as Close,
|
|
42
|
+
xo as CloseCircle,
|
|
43
|
+
Yo as Code,
|
|
44
|
+
Lt as Component,
|
|
45
|
+
Mo as Copy,
|
|
46
|
+
yt as Database,
|
|
47
|
+
Io as Download,
|
|
48
|
+
Lo as ExternalLink,
|
|
49
|
+
Ho as Eye,
|
|
50
|
+
Go as EyeOff,
|
|
51
|
+
xt as File,
|
|
52
|
+
Mt as FileText,
|
|
53
|
+
mt as Filter,
|
|
54
|
+
It as Folder,
|
|
55
|
+
vt as FolderOpen,
|
|
56
|
+
Ht as Gauge,
|
|
57
|
+
Gt as GitBranch,
|
|
58
|
+
Wo as Hash,
|
|
59
|
+
Wt as HistoryClock,
|
|
60
|
+
Et as Home,
|
|
61
|
+
Ot as Image,
|
|
62
|
+
Ft as ImageOff,
|
|
63
|
+
Eo as ImageUpload,
|
|
64
|
+
Vt as Inbox,
|
|
65
|
+
ut as Info,
|
|
66
|
+
qt as LayoutGrid,
|
|
67
|
+
Qt as Leaf,
|
|
68
|
+
Nt as Lightbulb,
|
|
69
|
+
nt as Link,
|
|
70
|
+
gt as Loader,
|
|
71
|
+
Oo as LogOut,
|
|
72
|
+
_o as Magnet,
|
|
73
|
+
Xt as Mail,
|
|
74
|
+
et as Maximize,
|
|
75
|
+
Fo as Mic,
|
|
76
|
+
bo as MicOff,
|
|
77
|
+
ot as Minus,
|
|
78
|
+
tt as MoreHorizontal,
|
|
79
|
+
st as MoreVertical,
|
|
80
|
+
bt as Music,
|
|
81
|
+
jt as Palette,
|
|
82
|
+
yo as PanelLeft,
|
|
83
|
+
is as Paperclip,
|
|
84
|
+
ls as Pause,
|
|
85
|
+
Ro as Pencil,
|
|
86
|
+
Do as PhoneOff,
|
|
87
|
+
Jt as PieChart,
|
|
88
|
+
rs as Play,
|
|
89
|
+
Kt as Plug,
|
|
90
|
+
at as Plus,
|
|
91
|
+
cs as Presentation,
|
|
92
|
+
vo as Quote,
|
|
93
|
+
rt as Refresh,
|
|
94
|
+
Yt as Rocket,
|
|
95
|
+
lt as Search,
|
|
96
|
+
Zt as Settings,
|
|
97
|
+
_t as Shapes,
|
|
98
|
+
it as Share,
|
|
99
|
+
Po as SortIcon,
|
|
100
|
+
es as Sparkles,
|
|
101
|
+
os as Star,
|
|
102
|
+
Zo as Stop,
|
|
103
|
+
Ao as SwapHorizontal,
|
|
104
|
+
Bt as Table,
|
|
105
|
+
ss as Target,
|
|
106
|
+
ts as Telescope,
|
|
107
|
+
No as TextBold,
|
|
108
|
+
Vo as TextFont,
|
|
109
|
+
Qo as TextItalicStyle,
|
|
110
|
+
qo as TextStrike,
|
|
111
|
+
Xo as TextUnderlineStyle,
|
|
112
|
+
jo as ToggleOn,
|
|
113
|
+
ht as Trash,
|
|
114
|
+
zo as Upload,
|
|
115
|
+
ns as User,
|
|
116
|
+
as as Users,
|
|
117
|
+
Dt as Video,
|
|
118
|
+
$t as Warning,
|
|
119
|
+
St as WarningCircle,
|
|
120
|
+
Cs as Wrench
|
|
116
121
|
};
|
package/llms.txt
CHANGED
|
@@ -644,7 +644,7 @@ Before using any component below, preserve its built-in motion and apply the mot
|
|
|
644
644
|
- [NavbarItem] — component (variants: justify: start|center|end) [docs](https://ads.actioneer.dev/#/navbar)
|
|
645
645
|
- [PageHeader] — Use for every page title row; supply onBack to anchor an icon-only back arrow immediately before the title, never in the trailing actions area. [docs](https://ads.actioneer.dev/#/page-header)
|
|
646
646
|
- [Pagination] — Use for navigating multi-page numbered content — table footers, search results, or any list too long for one screen. [docs](https://ads.actioneer.dev/#/pagination)
|
|
647
|
-
- [Sidebar] — Use as
|
|
647
|
+
- [Sidebar] — Use as an app's vertical navigation rail. The canonical Actioneer shell pairs one collapsible global product rail with one fixed contextual Sidebar inside the shared workspace Panel; only the global rail owns a collapse control. Compose SidebarBrand, grouped SidebarItems, optional SidebarHistory, and SidebarAccount as the area requires. [docs](https://ads.actioneer.dev/#/sidebar)
|
|
648
648
|
- [SidebarAccount] — component [docs](https://ads.actioneer.dev/#/sidebar)
|
|
649
649
|
- [SidebarAction] — component [docs](https://ads.actioneer.dev/#/sidebar)
|
|
650
650
|
- [SidebarBrand] — component [docs](https://ads.actioneer.dev/#/sidebar)
|
package/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actioneer/ads",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"importPath": "@actioneer/ads",
|
|
5
5
|
"styleImport": "@import \"@actioneer/ads/styles.css\";",
|
|
6
6
|
"families": [
|
|
@@ -1381,7 +1381,8 @@
|
|
|
1381
1381
|
"props": [
|
|
1382
1382
|
"options",
|
|
1383
1383
|
"value",
|
|
1384
|
-
"onChange"
|
|
1384
|
+
"onChange",
|
|
1385
|
+
"elevated"
|
|
1385
1386
|
]
|
|
1386
1387
|
},
|
|
1387
1388
|
{
|
|
@@ -1411,12 +1412,16 @@
|
|
|
1411
1412
|
"items",
|
|
1412
1413
|
"value",
|
|
1413
1414
|
"onChange",
|
|
1415
|
+
"multiple",
|
|
1416
|
+
"values",
|
|
1417
|
+
"onValuesChange",
|
|
1414
1418
|
"placeholder",
|
|
1415
1419
|
"disabled",
|
|
1416
1420
|
"isInvalid",
|
|
1417
1421
|
"className",
|
|
1418
1422
|
"id",
|
|
1419
|
-
"placement"
|
|
1423
|
+
"placement",
|
|
1424
|
+
"portal"
|
|
1420
1425
|
]
|
|
1421
1426
|
},
|
|
1422
1427
|
{
|
|
@@ -1866,7 +1871,8 @@
|
|
|
1866
1871
|
"open",
|
|
1867
1872
|
"onOpenChange",
|
|
1868
1873
|
"className",
|
|
1869
|
-
"children"
|
|
1874
|
+
"children",
|
|
1875
|
+
"showCloseButton"
|
|
1870
1876
|
]
|
|
1871
1877
|
},
|
|
1872
1878
|
{
|
|
@@ -2327,6 +2333,7 @@
|
|
|
2327
2333
|
"curve",
|
|
2328
2334
|
"stacked",
|
|
2329
2335
|
"forecastKeys",
|
|
2336
|
+
"animatedSeriesKeys",
|
|
2330
2337
|
"showValues"
|
|
2331
2338
|
]
|
|
2332
2339
|
},
|
|
@@ -2631,7 +2638,8 @@
|
|
|
2631
2638
|
"lineKeys",
|
|
2632
2639
|
"dualAxis",
|
|
2633
2640
|
"stacked",
|
|
2634
|
-
"forecastKeys"
|
|
2641
|
+
"forecastKeys",
|
|
2642
|
+
"animatedSeriesKeys"
|
|
2635
2643
|
]
|
|
2636
2644
|
},
|
|
2637
2645
|
{
|
|
@@ -2961,6 +2969,7 @@
|
|
|
2961
2969
|
"props": [
|
|
2962
2970
|
"curve",
|
|
2963
2971
|
"forecastKeys",
|
|
2972
|
+
"animatedSeriesKeys",
|
|
2964
2973
|
"showValues"
|
|
2965
2974
|
]
|
|
2966
2975
|
},
|
|
@@ -3292,7 +3301,8 @@
|
|
|
3292
3301
|
"onSortChange",
|
|
3293
3302
|
"allowsSorting",
|
|
3294
3303
|
"isStatic",
|
|
3295
|
-
"resizableColumns"
|
|
3304
|
+
"resizableColumns",
|
|
3305
|
+
"maxBodyHeight"
|
|
3296
3306
|
]
|
|
3297
3307
|
},
|
|
3298
3308
|
{
|
|
@@ -5053,6 +5063,8 @@
|
|
|
5053
5063
|
"motion",
|
|
5054
5064
|
"motionMode",
|
|
5055
5065
|
"interactionColor",
|
|
5066
|
+
"palette",
|
|
5067
|
+
"interactionArea",
|
|
5056
5068
|
"hero"
|
|
5057
5069
|
]
|
|
5058
5070
|
},
|
|
@@ -5266,6 +5278,7 @@
|
|
|
5266
5278
|
"onBack",
|
|
5267
5279
|
"backLabel",
|
|
5268
5280
|
"actions",
|
|
5281
|
+
"center",
|
|
5269
5282
|
"meta"
|
|
5270
5283
|
]
|
|
5271
5284
|
},
|
|
@@ -5384,7 +5397,7 @@
|
|
|
5384
5397
|
"kind": "component",
|
|
5385
5398
|
"importPath": "@actioneer/ads",
|
|
5386
5399
|
"module": "sidebar",
|
|
5387
|
-
"description": "Use as
|
|
5400
|
+
"description": "Use as an app's vertical navigation rail. The canonical Actioneer shell pairs one collapsible global product rail with one fixed contextual Sidebar inside the shared workspace Panel; only the global rail owns a collapse control. Compose SidebarBrand, grouped SidebarItems, optional SidebarHistory, and SidebarAccount as the area requires.",
|
|
5388
5401
|
"showcaseUrl": "https://ads.actioneer.dev/#/sidebar",
|
|
5389
5402
|
"props": [
|
|
5390
5403
|
"collapsed",
|