@copilotkit/web-inspector 1.73.3 → 1.74.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/dist/index.cjs +250 -233
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -6
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +24 -6
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +251 -234
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1165 -591
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/notification-loader.cjs +38 -0
- package/dist/lib/notification-loader.cjs.map +1 -0
- package/dist/lib/notification-loader.mjs +38 -0
- package/dist/lib/notification-loader.mjs.map +1 -0
- package/dist/lib/notifications.cjs +173 -0
- package/dist/lib/notifications.cjs.map +1 -0
- package/dist/lib/notifications.d.cts +17 -0
- package/dist/lib/notifications.d.cts.map +1 -0
- package/dist/lib/notifications.d.mts +17 -0
- package/dist/lib/notifications.d.mts.map +1 -0
- package/dist/lib/notifications.mjs +168 -0
- package/dist/lib/notifications.mjs.map +1 -0
- package/dist/lib/persistence.cjs +124 -48
- package/dist/lib/persistence.cjs.map +1 -1
- package/dist/lib/persistence.mjs +121 -45
- package/dist/lib/persistence.mjs.map +1 -1
- package/dist/lib/telemetry.cjs +42 -0
- package/dist/lib/telemetry.cjs.map +1 -1
- package/dist/lib/telemetry.d.cts.map +1 -1
- package/dist/lib/telemetry.d.mts.map +1 -1
- package/dist/lib/telemetry.mjs +35 -1
- package/dist/lib/telemetry.mjs.map +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/dist/styles/generated.cjs +1 -1
- package/dist/styles/generated.cjs.map +1 -1
- package/dist/styles/generated.mjs +1 -1
- package/dist/styles/generated.mjs.map +1 -1
- package/dist/styles/notification-article.cjs +244 -0
- package/dist/styles/notification-article.cjs.map +1 -0
- package/dist/styles/notification-article.mjs +244 -0
- package/dist/styles/notification-article.mjs.map +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
let lit = require("lit");
|
|
2
|
+
|
|
3
|
+
//#region src/styles/notification-article.ts
|
|
4
|
+
/** Article styles for the Inspector’s What’s New view. */
|
|
5
|
+
const notificationArticleStyles = lit.css`
|
|
6
|
+
.announcement-content {
|
|
7
|
+
color: #1f2230;
|
|
8
|
+
font-size: 13px;
|
|
9
|
+
font-family: "Plus Jakarta Sans", system-ui, sans-serif;
|
|
10
|
+
line-height: 1.55;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.announcement-content h1,
|
|
14
|
+
.announcement-content h2,
|
|
15
|
+
.announcement-content h3 {
|
|
16
|
+
color: #010507;
|
|
17
|
+
font-weight: 700;
|
|
18
|
+
line-height: 1.3;
|
|
19
|
+
margin: 0.9rem 0 0.4rem;
|
|
20
|
+
}
|
|
21
|
+
.announcement-content > h1:first-child,
|
|
22
|
+
.announcement-content > h2:first-child,
|
|
23
|
+
.announcement-content > h3:first-child {
|
|
24
|
+
margin-top: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.announcement-content h1 {
|
|
28
|
+
font-size: 1.15rem;
|
|
29
|
+
letter-spacing: -0.01em;
|
|
30
|
+
}
|
|
31
|
+
.announcement-content h2 {
|
|
32
|
+
font-size: 1rem;
|
|
33
|
+
}
|
|
34
|
+
.announcement-content h3 {
|
|
35
|
+
font-size: 0.9rem;
|
|
36
|
+
text-transform: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.announcement-content p {
|
|
40
|
+
margin: 0.45rem 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.announcement-content strong {
|
|
44
|
+
color: #010507;
|
|
45
|
+
font-weight: 700;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.announcement-content ul {
|
|
49
|
+
list-style: disc;
|
|
50
|
+
padding-left: 1.25rem;
|
|
51
|
+
margin: 0.45rem 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.announcement-content ol {
|
|
55
|
+
list-style: decimal;
|
|
56
|
+
padding-left: 1.25rem;
|
|
57
|
+
margin: 0.45rem 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.announcement-content li + li {
|
|
61
|
+
margin-top: 0.15rem;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.announcement-content a {
|
|
65
|
+
color: #5558b2;
|
|
66
|
+
text-decoration: underline;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.announcement-content :not(pre) > code {
|
|
70
|
+
background: #f3f3f7;
|
|
71
|
+
border: 1px solid #e4e4ec;
|
|
72
|
+
border-radius: 5px;
|
|
73
|
+
padding: 1px 5px;
|
|
74
|
+
font-size: 0.85em;
|
|
75
|
+
color: #4a3a8a;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.announcement-code {
|
|
79
|
+
position: relative;
|
|
80
|
+
margin: 0.6rem 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.announcement-code pre {
|
|
84
|
+
background: #0f1117;
|
|
85
|
+
color: #e6e8f2;
|
|
86
|
+
border-radius: 10px;
|
|
87
|
+
padding: 10px 12px;
|
|
88
|
+
overflow-x: auto;
|
|
89
|
+
font-size: 12px;
|
|
90
|
+
line-height: 1.5;
|
|
91
|
+
white-space: pre;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.announcement-code pre code::after {
|
|
95
|
+
content: "";
|
|
96
|
+
display: inline-block;
|
|
97
|
+
width: 80px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.announcement-code__copy-shield {
|
|
101
|
+
position: absolute;
|
|
102
|
+
top: 4px;
|
|
103
|
+
right: 4px;
|
|
104
|
+
padding: 4px 4px 4px 24px;
|
|
105
|
+
border-top-right-radius: 10px;
|
|
106
|
+
background: linear-gradient(
|
|
107
|
+
to right,
|
|
108
|
+
rgba(15, 17, 23, 0) 0%,
|
|
109
|
+
rgba(15, 17, 23, 0.95) 40%,
|
|
110
|
+
#0f1117 100%
|
|
111
|
+
);
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.announcement-code pre code {
|
|
116
|
+
background: transparent;
|
|
117
|
+
border: none;
|
|
118
|
+
padding: 0;
|
|
119
|
+
color: inherit;
|
|
120
|
+
font-size: inherit;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.announcement-code pre::-webkit-scrollbar {
|
|
124
|
+
height: 6px;
|
|
125
|
+
}
|
|
126
|
+
.announcement-code pre::-webkit-scrollbar-track {
|
|
127
|
+
background: transparent;
|
|
128
|
+
}
|
|
129
|
+
.announcement-code pre::-webkit-scrollbar-thumb {
|
|
130
|
+
background: rgba(255, 255, 255, 0.2);
|
|
131
|
+
border-radius: 4px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.announcement-code__copy {
|
|
135
|
+
position: relative;
|
|
136
|
+
pointer-events: auto;
|
|
137
|
+
padding: 3px 8px;
|
|
138
|
+
font-family: "Plus Jakarta Sans", system-ui, sans-serif;
|
|
139
|
+
font-size: 11px;
|
|
140
|
+
font-weight: 600;
|
|
141
|
+
color: #e6e8f2;
|
|
142
|
+
background: #1f222d;
|
|
143
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
144
|
+
border-radius: 6px;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
transition:
|
|
147
|
+
background 0.12s ease,
|
|
148
|
+
color 0.12s ease;
|
|
149
|
+
}
|
|
150
|
+
.announcement-code__copy:hover {
|
|
151
|
+
background: #2a2e3c;
|
|
152
|
+
}
|
|
153
|
+
.announcement-code__copy[data-copied="true"] {
|
|
154
|
+
background: #eee6fe;
|
|
155
|
+
color: #6430ab;
|
|
156
|
+
border-color: transparent;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.inspector-whats-new-document {
|
|
160
|
+
min-width: 0;
|
|
161
|
+
padding: 0 0 24px;
|
|
162
|
+
overflow-wrap: anywhere;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.inspector-whats-new-document-header {
|
|
166
|
+
display: grid;
|
|
167
|
+
gap: 10px;
|
|
168
|
+
margin-bottom: 24px;
|
|
169
|
+
padding-bottom: 24px;
|
|
170
|
+
border-bottom: 1px solid var(--updates-border);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.inspector-whats-new-document-header h1 {
|
|
174
|
+
margin: 0;
|
|
175
|
+
color: var(--updates-text);
|
|
176
|
+
font-family: "Plus Jakarta Sans", system-ui, sans-serif;
|
|
177
|
+
font-size: 26px;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
letter-spacing: -0.025em;
|
|
180
|
+
line-height: 1.35;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.inspector-whats-new-document-header time {
|
|
184
|
+
color: var(--updates-muted);
|
|
185
|
+
font-size: 12px;
|
|
186
|
+
line-height: 1.5;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.inspector-whats-new-document .announcement-content {
|
|
190
|
+
color: #2b2b39;
|
|
191
|
+
font-size: 14px;
|
|
192
|
+
line-height: 1.75;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.inspector-whats-new-document .announcement-content h1,
|
|
196
|
+
.inspector-whats-new-document .announcement-content h2 {
|
|
197
|
+
margin: 28px 0 12px;
|
|
198
|
+
color: var(--updates-text);
|
|
199
|
+
font-size: 18px;
|
|
200
|
+
font-weight: 600;
|
|
201
|
+
letter-spacing: -0.015em;
|
|
202
|
+
line-height: 1.4;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.inspector-whats-new-document .announcement-content > :first-child {
|
|
206
|
+
margin-top: 0;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.inspector-whats-new-document .announcement-content p {
|
|
210
|
+
max-width: 70ch;
|
|
211
|
+
margin: 0.85rem 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.inspector-whats-new-document .announcement-content ul,
|
|
215
|
+
.inspector-whats-new-document .announcement-content ol {
|
|
216
|
+
max-width: 68ch;
|
|
217
|
+
margin: 1.25rem 0 1.5rem;
|
|
218
|
+
padding-left: 1.4rem;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.inspector-whats-new-document .announcement-content li + li {
|
|
222
|
+
margin-top: 0.7rem;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.inspector-whats-new-document .announcement-content a {
|
|
226
|
+
color: #4e46a5;
|
|
227
|
+
font-weight: 600;
|
|
228
|
+
text-decoration-color: rgba(78, 70, 165, 0.42);
|
|
229
|
+
text-decoration-thickness: 1px;
|
|
230
|
+
text-underline-offset: 4px;
|
|
231
|
+
transition:
|
|
232
|
+
color 160ms ease,
|
|
233
|
+
text-decoration-color 160ms ease;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.inspector-whats-new-document .announcement-content a:hover {
|
|
237
|
+
color: #312879;
|
|
238
|
+
text-decoration-color: currentColor;
|
|
239
|
+
}
|
|
240
|
+
`;
|
|
241
|
+
|
|
242
|
+
//#endregion
|
|
243
|
+
exports.notificationArticleStyles = notificationArticleStyles;
|
|
244
|
+
//# sourceMappingURL=notification-article.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-article.cjs","names":[],"sources":["../../src/styles/notification-article.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/** Article styles for the Inspector’s What’s New view. */\nexport const notificationArticleStyles = css`\n .announcement-content {\n color: #1f2230;\n font-size: 13px;\n font-family: \"Plus Jakarta Sans\", system-ui, sans-serif;\n line-height: 1.55;\n }\n\n .announcement-content h1,\n .announcement-content h2,\n .announcement-content h3 {\n color: #010507;\n font-weight: 700;\n line-height: 1.3;\n margin: 0.9rem 0 0.4rem;\n }\n .announcement-content > h1:first-child,\n .announcement-content > h2:first-child,\n .announcement-content > h3:first-child {\n margin-top: 0;\n }\n\n .announcement-content h1 {\n font-size: 1.15rem;\n letter-spacing: -0.01em;\n }\n .announcement-content h2 {\n font-size: 1rem;\n }\n .announcement-content h3 {\n font-size: 0.9rem;\n text-transform: none;\n }\n\n .announcement-content p {\n margin: 0.45rem 0;\n }\n\n .announcement-content strong {\n color: #010507;\n font-weight: 700;\n }\n\n .announcement-content ul {\n list-style: disc;\n padding-left: 1.25rem;\n margin: 0.45rem 0;\n }\n\n .announcement-content ol {\n list-style: decimal;\n padding-left: 1.25rem;\n margin: 0.45rem 0;\n }\n\n .announcement-content li + li {\n margin-top: 0.15rem;\n }\n\n .announcement-content a {\n color: #5558b2;\n text-decoration: underline;\n }\n\n .announcement-content :not(pre) > code {\n background: #f3f3f7;\n border: 1px solid #e4e4ec;\n border-radius: 5px;\n padding: 1px 5px;\n font-size: 0.85em;\n color: #4a3a8a;\n }\n\n .announcement-code {\n position: relative;\n margin: 0.6rem 0;\n }\n\n .announcement-code pre {\n background: #0f1117;\n color: #e6e8f2;\n border-radius: 10px;\n padding: 10px 12px;\n overflow-x: auto;\n font-size: 12px;\n line-height: 1.5;\n white-space: pre;\n }\n\n .announcement-code pre code::after {\n content: \"\";\n display: inline-block;\n width: 80px;\n }\n\n .announcement-code__copy-shield {\n position: absolute;\n top: 4px;\n right: 4px;\n padding: 4px 4px 4px 24px;\n border-top-right-radius: 10px;\n background: linear-gradient(\n to right,\n rgba(15, 17, 23, 0) 0%,\n rgba(15, 17, 23, 0.95) 40%,\n #0f1117 100%\n );\n pointer-events: none;\n }\n\n .announcement-code pre code {\n background: transparent;\n border: none;\n padding: 0;\n color: inherit;\n font-size: inherit;\n }\n\n .announcement-code pre::-webkit-scrollbar {\n height: 6px;\n }\n .announcement-code pre::-webkit-scrollbar-track {\n background: transparent;\n }\n .announcement-code pre::-webkit-scrollbar-thumb {\n background: rgba(255, 255, 255, 0.2);\n border-radius: 4px;\n }\n\n .announcement-code__copy {\n position: relative;\n pointer-events: auto;\n padding: 3px 8px;\n font-family: \"Plus Jakarta Sans\", system-ui, sans-serif;\n font-size: 11px;\n font-weight: 600;\n color: #e6e8f2;\n background: #1f222d;\n border: 1px solid rgba(255, 255, 255, 0.15);\n border-radius: 6px;\n cursor: pointer;\n transition:\n background 0.12s ease,\n color 0.12s ease;\n }\n .announcement-code__copy:hover {\n background: #2a2e3c;\n }\n .announcement-code__copy[data-copied=\"true\"] {\n background: #eee6fe;\n color: #6430ab;\n border-color: transparent;\n }\n\n .inspector-whats-new-document {\n min-width: 0;\n padding: 0 0 24px;\n overflow-wrap: anywhere;\n }\n\n .inspector-whats-new-document-header {\n display: grid;\n gap: 10px;\n margin-bottom: 24px;\n padding-bottom: 24px;\n border-bottom: 1px solid var(--updates-border);\n }\n\n .inspector-whats-new-document-header h1 {\n margin: 0;\n color: var(--updates-text);\n font-family: \"Plus Jakarta Sans\", system-ui, sans-serif;\n font-size: 26px;\n font-weight: 600;\n letter-spacing: -0.025em;\n line-height: 1.35;\n }\n\n .inspector-whats-new-document-header time {\n color: var(--updates-muted);\n font-size: 12px;\n line-height: 1.5;\n }\n\n .inspector-whats-new-document .announcement-content {\n color: #2b2b39;\n font-size: 14px;\n line-height: 1.75;\n }\n\n .inspector-whats-new-document .announcement-content h1,\n .inspector-whats-new-document .announcement-content h2 {\n margin: 28px 0 12px;\n color: var(--updates-text);\n font-size: 18px;\n font-weight: 600;\n letter-spacing: -0.015em;\n line-height: 1.4;\n }\n\n .inspector-whats-new-document .announcement-content > :first-child {\n margin-top: 0;\n }\n\n .inspector-whats-new-document .announcement-content p {\n max-width: 70ch;\n margin: 0.85rem 0;\n }\n\n .inspector-whats-new-document .announcement-content ul,\n .inspector-whats-new-document .announcement-content ol {\n max-width: 68ch;\n margin: 1.25rem 0 1.5rem;\n padding-left: 1.4rem;\n }\n\n .inspector-whats-new-document .announcement-content li + li {\n margin-top: 0.7rem;\n }\n\n .inspector-whats-new-document .announcement-content a {\n color: #4e46a5;\n font-weight: 600;\n text-decoration-color: rgba(78, 70, 165, 0.42);\n text-decoration-thickness: 1px;\n text-underline-offset: 4px;\n transition:\n color 160ms ease,\n text-decoration-color 160ms ease;\n }\n\n .inspector-whats-new-document .announcement-content a:hover {\n color: #312879;\n text-decoration-color: currentColor;\n }\n`;\n"],"mappings":";;;;AAGA,MAAa,4BAA4B,OAAG"}
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
|
|
3
|
+
//#region src/styles/notification-article.ts
|
|
4
|
+
/** Article styles for the Inspector’s What’s New view. */
|
|
5
|
+
const notificationArticleStyles = css`
|
|
6
|
+
.announcement-content {
|
|
7
|
+
color: #1f2230;
|
|
8
|
+
font-size: 13px;
|
|
9
|
+
font-family: "Plus Jakarta Sans", system-ui, sans-serif;
|
|
10
|
+
line-height: 1.55;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.announcement-content h1,
|
|
14
|
+
.announcement-content h2,
|
|
15
|
+
.announcement-content h3 {
|
|
16
|
+
color: #010507;
|
|
17
|
+
font-weight: 700;
|
|
18
|
+
line-height: 1.3;
|
|
19
|
+
margin: 0.9rem 0 0.4rem;
|
|
20
|
+
}
|
|
21
|
+
.announcement-content > h1:first-child,
|
|
22
|
+
.announcement-content > h2:first-child,
|
|
23
|
+
.announcement-content > h3:first-child {
|
|
24
|
+
margin-top: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.announcement-content h1 {
|
|
28
|
+
font-size: 1.15rem;
|
|
29
|
+
letter-spacing: -0.01em;
|
|
30
|
+
}
|
|
31
|
+
.announcement-content h2 {
|
|
32
|
+
font-size: 1rem;
|
|
33
|
+
}
|
|
34
|
+
.announcement-content h3 {
|
|
35
|
+
font-size: 0.9rem;
|
|
36
|
+
text-transform: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.announcement-content p {
|
|
40
|
+
margin: 0.45rem 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.announcement-content strong {
|
|
44
|
+
color: #010507;
|
|
45
|
+
font-weight: 700;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.announcement-content ul {
|
|
49
|
+
list-style: disc;
|
|
50
|
+
padding-left: 1.25rem;
|
|
51
|
+
margin: 0.45rem 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.announcement-content ol {
|
|
55
|
+
list-style: decimal;
|
|
56
|
+
padding-left: 1.25rem;
|
|
57
|
+
margin: 0.45rem 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.announcement-content li + li {
|
|
61
|
+
margin-top: 0.15rem;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.announcement-content a {
|
|
65
|
+
color: #5558b2;
|
|
66
|
+
text-decoration: underline;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.announcement-content :not(pre) > code {
|
|
70
|
+
background: #f3f3f7;
|
|
71
|
+
border: 1px solid #e4e4ec;
|
|
72
|
+
border-radius: 5px;
|
|
73
|
+
padding: 1px 5px;
|
|
74
|
+
font-size: 0.85em;
|
|
75
|
+
color: #4a3a8a;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.announcement-code {
|
|
79
|
+
position: relative;
|
|
80
|
+
margin: 0.6rem 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.announcement-code pre {
|
|
84
|
+
background: #0f1117;
|
|
85
|
+
color: #e6e8f2;
|
|
86
|
+
border-radius: 10px;
|
|
87
|
+
padding: 10px 12px;
|
|
88
|
+
overflow-x: auto;
|
|
89
|
+
font-size: 12px;
|
|
90
|
+
line-height: 1.5;
|
|
91
|
+
white-space: pre;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.announcement-code pre code::after {
|
|
95
|
+
content: "";
|
|
96
|
+
display: inline-block;
|
|
97
|
+
width: 80px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.announcement-code__copy-shield {
|
|
101
|
+
position: absolute;
|
|
102
|
+
top: 4px;
|
|
103
|
+
right: 4px;
|
|
104
|
+
padding: 4px 4px 4px 24px;
|
|
105
|
+
border-top-right-radius: 10px;
|
|
106
|
+
background: linear-gradient(
|
|
107
|
+
to right,
|
|
108
|
+
rgba(15, 17, 23, 0) 0%,
|
|
109
|
+
rgba(15, 17, 23, 0.95) 40%,
|
|
110
|
+
#0f1117 100%
|
|
111
|
+
);
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.announcement-code pre code {
|
|
116
|
+
background: transparent;
|
|
117
|
+
border: none;
|
|
118
|
+
padding: 0;
|
|
119
|
+
color: inherit;
|
|
120
|
+
font-size: inherit;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.announcement-code pre::-webkit-scrollbar {
|
|
124
|
+
height: 6px;
|
|
125
|
+
}
|
|
126
|
+
.announcement-code pre::-webkit-scrollbar-track {
|
|
127
|
+
background: transparent;
|
|
128
|
+
}
|
|
129
|
+
.announcement-code pre::-webkit-scrollbar-thumb {
|
|
130
|
+
background: rgba(255, 255, 255, 0.2);
|
|
131
|
+
border-radius: 4px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.announcement-code__copy {
|
|
135
|
+
position: relative;
|
|
136
|
+
pointer-events: auto;
|
|
137
|
+
padding: 3px 8px;
|
|
138
|
+
font-family: "Plus Jakarta Sans", system-ui, sans-serif;
|
|
139
|
+
font-size: 11px;
|
|
140
|
+
font-weight: 600;
|
|
141
|
+
color: #e6e8f2;
|
|
142
|
+
background: #1f222d;
|
|
143
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
144
|
+
border-radius: 6px;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
transition:
|
|
147
|
+
background 0.12s ease,
|
|
148
|
+
color 0.12s ease;
|
|
149
|
+
}
|
|
150
|
+
.announcement-code__copy:hover {
|
|
151
|
+
background: #2a2e3c;
|
|
152
|
+
}
|
|
153
|
+
.announcement-code__copy[data-copied="true"] {
|
|
154
|
+
background: #eee6fe;
|
|
155
|
+
color: #6430ab;
|
|
156
|
+
border-color: transparent;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.inspector-whats-new-document {
|
|
160
|
+
min-width: 0;
|
|
161
|
+
padding: 0 0 24px;
|
|
162
|
+
overflow-wrap: anywhere;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.inspector-whats-new-document-header {
|
|
166
|
+
display: grid;
|
|
167
|
+
gap: 10px;
|
|
168
|
+
margin-bottom: 24px;
|
|
169
|
+
padding-bottom: 24px;
|
|
170
|
+
border-bottom: 1px solid var(--updates-border);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.inspector-whats-new-document-header h1 {
|
|
174
|
+
margin: 0;
|
|
175
|
+
color: var(--updates-text);
|
|
176
|
+
font-family: "Plus Jakarta Sans", system-ui, sans-serif;
|
|
177
|
+
font-size: 26px;
|
|
178
|
+
font-weight: 600;
|
|
179
|
+
letter-spacing: -0.025em;
|
|
180
|
+
line-height: 1.35;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.inspector-whats-new-document-header time {
|
|
184
|
+
color: var(--updates-muted);
|
|
185
|
+
font-size: 12px;
|
|
186
|
+
line-height: 1.5;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.inspector-whats-new-document .announcement-content {
|
|
190
|
+
color: #2b2b39;
|
|
191
|
+
font-size: 14px;
|
|
192
|
+
line-height: 1.75;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.inspector-whats-new-document .announcement-content h1,
|
|
196
|
+
.inspector-whats-new-document .announcement-content h2 {
|
|
197
|
+
margin: 28px 0 12px;
|
|
198
|
+
color: var(--updates-text);
|
|
199
|
+
font-size: 18px;
|
|
200
|
+
font-weight: 600;
|
|
201
|
+
letter-spacing: -0.015em;
|
|
202
|
+
line-height: 1.4;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.inspector-whats-new-document .announcement-content > :first-child {
|
|
206
|
+
margin-top: 0;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.inspector-whats-new-document .announcement-content p {
|
|
210
|
+
max-width: 70ch;
|
|
211
|
+
margin: 0.85rem 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.inspector-whats-new-document .announcement-content ul,
|
|
215
|
+
.inspector-whats-new-document .announcement-content ol {
|
|
216
|
+
max-width: 68ch;
|
|
217
|
+
margin: 1.25rem 0 1.5rem;
|
|
218
|
+
padding-left: 1.4rem;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.inspector-whats-new-document .announcement-content li + li {
|
|
222
|
+
margin-top: 0.7rem;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.inspector-whats-new-document .announcement-content a {
|
|
226
|
+
color: #4e46a5;
|
|
227
|
+
font-weight: 600;
|
|
228
|
+
text-decoration-color: rgba(78, 70, 165, 0.42);
|
|
229
|
+
text-decoration-thickness: 1px;
|
|
230
|
+
text-underline-offset: 4px;
|
|
231
|
+
transition:
|
|
232
|
+
color 160ms ease,
|
|
233
|
+
text-decoration-color 160ms ease;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.inspector-whats-new-document .announcement-content a:hover {
|
|
237
|
+
color: #312879;
|
|
238
|
+
text-decoration-color: currentColor;
|
|
239
|
+
}
|
|
240
|
+
`;
|
|
241
|
+
|
|
242
|
+
//#endregion
|
|
243
|
+
export { notificationArticleStyles };
|
|
244
|
+
//# sourceMappingURL=notification-article.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-article.mjs","names":[],"sources":["../../src/styles/notification-article.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/** Article styles for the Inspector’s What’s New view. */\nexport const notificationArticleStyles = css`\n .announcement-content {\n color: #1f2230;\n font-size: 13px;\n font-family: \"Plus Jakarta Sans\", system-ui, sans-serif;\n line-height: 1.55;\n }\n\n .announcement-content h1,\n .announcement-content h2,\n .announcement-content h3 {\n color: #010507;\n font-weight: 700;\n line-height: 1.3;\n margin: 0.9rem 0 0.4rem;\n }\n .announcement-content > h1:first-child,\n .announcement-content > h2:first-child,\n .announcement-content > h3:first-child {\n margin-top: 0;\n }\n\n .announcement-content h1 {\n font-size: 1.15rem;\n letter-spacing: -0.01em;\n }\n .announcement-content h2 {\n font-size: 1rem;\n }\n .announcement-content h3 {\n font-size: 0.9rem;\n text-transform: none;\n }\n\n .announcement-content p {\n margin: 0.45rem 0;\n }\n\n .announcement-content strong {\n color: #010507;\n font-weight: 700;\n }\n\n .announcement-content ul {\n list-style: disc;\n padding-left: 1.25rem;\n margin: 0.45rem 0;\n }\n\n .announcement-content ol {\n list-style: decimal;\n padding-left: 1.25rem;\n margin: 0.45rem 0;\n }\n\n .announcement-content li + li {\n margin-top: 0.15rem;\n }\n\n .announcement-content a {\n color: #5558b2;\n text-decoration: underline;\n }\n\n .announcement-content :not(pre) > code {\n background: #f3f3f7;\n border: 1px solid #e4e4ec;\n border-radius: 5px;\n padding: 1px 5px;\n font-size: 0.85em;\n color: #4a3a8a;\n }\n\n .announcement-code {\n position: relative;\n margin: 0.6rem 0;\n }\n\n .announcement-code pre {\n background: #0f1117;\n color: #e6e8f2;\n border-radius: 10px;\n padding: 10px 12px;\n overflow-x: auto;\n font-size: 12px;\n line-height: 1.5;\n white-space: pre;\n }\n\n .announcement-code pre code::after {\n content: \"\";\n display: inline-block;\n width: 80px;\n }\n\n .announcement-code__copy-shield {\n position: absolute;\n top: 4px;\n right: 4px;\n padding: 4px 4px 4px 24px;\n border-top-right-radius: 10px;\n background: linear-gradient(\n to right,\n rgba(15, 17, 23, 0) 0%,\n rgba(15, 17, 23, 0.95) 40%,\n #0f1117 100%\n );\n pointer-events: none;\n }\n\n .announcement-code pre code {\n background: transparent;\n border: none;\n padding: 0;\n color: inherit;\n font-size: inherit;\n }\n\n .announcement-code pre::-webkit-scrollbar {\n height: 6px;\n }\n .announcement-code pre::-webkit-scrollbar-track {\n background: transparent;\n }\n .announcement-code pre::-webkit-scrollbar-thumb {\n background: rgba(255, 255, 255, 0.2);\n border-radius: 4px;\n }\n\n .announcement-code__copy {\n position: relative;\n pointer-events: auto;\n padding: 3px 8px;\n font-family: \"Plus Jakarta Sans\", system-ui, sans-serif;\n font-size: 11px;\n font-weight: 600;\n color: #e6e8f2;\n background: #1f222d;\n border: 1px solid rgba(255, 255, 255, 0.15);\n border-radius: 6px;\n cursor: pointer;\n transition:\n background 0.12s ease,\n color 0.12s ease;\n }\n .announcement-code__copy:hover {\n background: #2a2e3c;\n }\n .announcement-code__copy[data-copied=\"true\"] {\n background: #eee6fe;\n color: #6430ab;\n border-color: transparent;\n }\n\n .inspector-whats-new-document {\n min-width: 0;\n padding: 0 0 24px;\n overflow-wrap: anywhere;\n }\n\n .inspector-whats-new-document-header {\n display: grid;\n gap: 10px;\n margin-bottom: 24px;\n padding-bottom: 24px;\n border-bottom: 1px solid var(--updates-border);\n }\n\n .inspector-whats-new-document-header h1 {\n margin: 0;\n color: var(--updates-text);\n font-family: \"Plus Jakarta Sans\", system-ui, sans-serif;\n font-size: 26px;\n font-weight: 600;\n letter-spacing: -0.025em;\n line-height: 1.35;\n }\n\n .inspector-whats-new-document-header time {\n color: var(--updates-muted);\n font-size: 12px;\n line-height: 1.5;\n }\n\n .inspector-whats-new-document .announcement-content {\n color: #2b2b39;\n font-size: 14px;\n line-height: 1.75;\n }\n\n .inspector-whats-new-document .announcement-content h1,\n .inspector-whats-new-document .announcement-content h2 {\n margin: 28px 0 12px;\n color: var(--updates-text);\n font-size: 18px;\n font-weight: 600;\n letter-spacing: -0.015em;\n line-height: 1.4;\n }\n\n .inspector-whats-new-document .announcement-content > :first-child {\n margin-top: 0;\n }\n\n .inspector-whats-new-document .announcement-content p {\n max-width: 70ch;\n margin: 0.85rem 0;\n }\n\n .inspector-whats-new-document .announcement-content ul,\n .inspector-whats-new-document .announcement-content ol {\n max-width: 68ch;\n margin: 1.25rem 0 1.5rem;\n padding-left: 1.4rem;\n }\n\n .inspector-whats-new-document .announcement-content li + li {\n margin-top: 0.7rem;\n }\n\n .inspector-whats-new-document .announcement-content a {\n color: #4e46a5;\n font-weight: 600;\n text-decoration-color: rgba(78, 70, 165, 0.42);\n text-decoration-thickness: 1px;\n text-underline-offset: 4px;\n transition:\n color 160ms ease,\n text-decoration-color 160ms ease;\n }\n\n .inspector-whats-new-document .announcement-content a:hover {\n color: #312879;\n text-decoration-color: currentColor;\n }\n`;\n"],"mappings":";;;;AAGA,MAAa,4BAA4B,GAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/web-inspector",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.74.0",
|
|
4
4
|
"description": "Lit-based web component for the CopilotKit web inspector",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,8 +31,9 @@
|
|
|
31
31
|
"lit": "^3.2.0",
|
|
32
32
|
"lucide": "^0.525.0",
|
|
33
33
|
"marked": "^12.0.2",
|
|
34
|
-
"
|
|
35
|
-
"@copilotkit/
|
|
34
|
+
"semver": "^7.8.5",
|
|
35
|
+
"@copilotkit/core": "1.74.0",
|
|
36
|
+
"@copilotkit/shared": "1.74.0"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
39
|
"@playwright/test": "^1.59.1",
|