testio-tailwind 3.6.0 → 3.8.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/.eleventy.js +2 -1
- package/package.json +1 -1
- package/src/_includes/example-header-agenticqa.njk +70 -0
- package/src/_includes/page-with-sidebar-dark.njk +48 -0
- package/src/_layouts/page-example-agenticqa.njk +19 -0
- package/src/assets/{stylesheets/components/fonts → fonts}/testio.eot +0 -0
- package/src/assets/{stylesheets/components/fonts → fonts}/testio.svg +349 -226
- package/src/assets/{stylesheets/components/fonts → fonts}/testio.ttf +0 -0
- package/src/assets/{stylesheets/components/fonts → fonts}/testio.woff +0 -0
- package/src/assets/fonts/testio.woff2 +0 -0
- package/src/assets/images/profilepic_testinator.png +0 -0
- package/src/assets/stylesheets/app.css +4 -0
- package/src/assets/stylesheets/components/agenticqa/agenticqa_header.css +37 -0
- package/src/assets/stylesheets/components/agenticqa/agenticqa_sidebar.css +12 -0
- package/src/assets/stylesheets/components/chat.css +115 -7
- package/src/assets/stylesheets/components/divider.css +3 -0
- package/src/assets/stylesheets/components/iconfont.css +528 -140
- package/src/assets/stylesheets/components/icons.css +12 -0
- package/src/assets/stylesheets/components/layout.css +11 -1
- package/src/assets/stylesheets/components/list_item.css +36 -3
- package/src/assets/stylesheets/components/lists.css +2 -2
- package/src/assets/stylesheets/components/splitview.css +72 -16
- package/src/assets/stylesheets/components/tabs.css +14 -5
- package/src/assets/stylesheets/components/tags.css +22 -7
- package/src/assets/stylesheets/components/typography.css +1 -1
- package/src/assets/stylesheets/components/uploads.css +1 -1
- package/src/assets/stylesheets/tailwind_config.css +5 -0
- package/src/assets/stylesheets/tailwind_custom_utilities.css +18 -1
- package/src/assets/stylesheets/tailwind_theme_dark.css +23 -4
- package/src/pages/agenticqa/chat_collapsable.haml +29 -0
- package/src/pages/agenticqa/chat_form.haml +15 -0
- package/src/pages/agenticqa/chat_history.haml +24 -0
- package/src/pages/agenticqa/chat_messages.haml +53 -0
- package/src/pages/agenticqa/header.haml +77 -0
- package/src/pages/agenticqa/index.njk +1 -1
- package/src/pages/agenticqa/listitem.haml +42 -0
- package/src/pages/components/splitview_item_collapsable.haml +1 -1
- package/src/pages/components/tags.haml +11 -1
- package/src/pages/examples/agenticqa.haml +188 -0
- package/src/assets/stylesheets/components/fonts/testio.woff2 +0 -0
- package/src/static/app.compiled.css +0 -20627
- package/src/static/app.compiled.css.map +0 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
@import './components/chat.css' layer(components);
|
|
31
31
|
@import './components/checkboxes_radiobuttons.css' layer(components);
|
|
32
32
|
@import './components/devices.css' layer(components);
|
|
33
|
+
@import './components/divider.css' layer(components);
|
|
33
34
|
@import './components/drawer.css' layer(components);
|
|
34
35
|
@import './components/dropdown.css' layer(components);
|
|
35
36
|
@import './components/emptystate_message.css' layer(components);
|
|
@@ -89,3 +90,6 @@
|
|
|
89
90
|
/*//// Design system styles ////*/
|
|
90
91
|
@import './components/designsystem/designsystem-styles.css' layer(components);
|
|
91
92
|
|
|
93
|
+
/*//// Agentic QA components ////*/
|
|
94
|
+
@import './components/agenticqa/agenticqa_header.css' layer(components);
|
|
95
|
+
@import './components/agenticqa/agenticqa_sidebar.css' layer(components);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
.header.agenticqa {
|
|
3
|
+
@apply justify-center shadow border-b-1 border-bordercolor;
|
|
4
|
+
height: 70px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.header.agenticqa .header-wrapper {
|
|
8
|
+
@apply flex justify-between items-center w-full max-w-centered-content;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
.header.agenticqa .navlink.header-logo {
|
|
13
|
+
@apply h-auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.header.agenticqa .header-logo::before {
|
|
17
|
+
content: url("/assets/images/logo_agenticqa/agenticqa_logo_purpleteal_white.svg");
|
|
18
|
+
height: 34px;
|
|
19
|
+
@media (width >= theme(--breakpoint-sm)) {
|
|
20
|
+
width: 142px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.header.agenticqa .navlink {
|
|
25
|
+
@apply px-sm py-xxs uppercase rounded-full hover:bg-link-hover;
|
|
26
|
+
height: 34px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.header.agenticqa .navlink.active {
|
|
30
|
+
@apply bg-transparent text-white hover:bg-link-hover;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.header.agenticqa .navlink.active::after {
|
|
34
|
+
@apply absolute block left-sm right-sm bottom-0 bg-link-hover;
|
|
35
|
+
content: '';
|
|
36
|
+
height: 2px;
|
|
37
|
+
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
.list-chat-messages {
|
|
2
|
-
@apply grid gap-md;
|
|
2
|
+
@apply grid grid-cols-1 gap-md;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.list-chat-messages.full-width .chat-message-item {
|
|
6
|
+
@apply max-w-full;
|
|
3
7
|
}
|
|
4
8
|
|
|
5
9
|
.chat-message-item {
|
|
@@ -11,16 +15,23 @@
|
|
|
11
15
|
grid-template-columns: auto auto 1fr;
|
|
12
16
|
}
|
|
13
17
|
|
|
18
|
+
.dark .chat-message-item {
|
|
19
|
+
grid-template-areas: "chat-avatar chat-header"
|
|
20
|
+
"chat-avatar chat-message";
|
|
21
|
+
grid-template-columns: auto auto 1fr;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
14
25
|
.chat-avatar {
|
|
15
26
|
grid-area: chat-avatar;
|
|
16
27
|
}
|
|
17
28
|
|
|
18
29
|
img.chat-avatar {
|
|
19
|
-
@apply w-spacing h-spacing mr-xs rounded-full;
|
|
30
|
+
@apply w-spacing h-spacing mr-xs rounded-full dark:mr-md;
|
|
20
31
|
}
|
|
21
32
|
|
|
22
33
|
.chat-header {
|
|
23
|
-
@apply flex text-label py-xxs text-label-color;
|
|
34
|
+
@apply relative flex text-label py-xxs text-label-color dark:justify-between dark:px-sm dark:py-xs dark:bg-listitem dark:rounded-t;
|
|
24
35
|
grid-area: chat-header;
|
|
25
36
|
line-height: 1.3;
|
|
26
37
|
}
|
|
@@ -30,11 +41,15 @@ img.chat-avatar {
|
|
|
30
41
|
}
|
|
31
42
|
|
|
32
43
|
.chat-message {
|
|
33
|
-
@apply p-xs rounded bg-card dark:bg-
|
|
44
|
+
@apply p-xs rounded bg-card dark:w-full dark:px-sm dark:pt-0 dark:rounded-t-none dark:bg-listitem;
|
|
34
45
|
grid-area: chat-message;
|
|
35
46
|
min-width: 0;
|
|
36
47
|
}
|
|
37
48
|
|
|
49
|
+
.chat-message-item .chat-title {
|
|
50
|
+
@apply dark:grow shrink-0 dark:mr-md;
|
|
51
|
+
}
|
|
52
|
+
|
|
38
53
|
.chat-message .message-banner {
|
|
39
54
|
@apply relative flex flex-row items-center py-xxs pl-xs -mx-xs -mt-xs mb-xs text-white bg-info border-b border-white rounded-t;
|
|
40
55
|
&::before {
|
|
@@ -101,6 +116,7 @@ img.chat-avatar {
|
|
|
101
116
|
/*///// Your message /////*/
|
|
102
117
|
|
|
103
118
|
.chat-message-item.your-message {
|
|
119
|
+
@apply dark:pl-lg;
|
|
104
120
|
grid-template-areas: "chat-header chat-header chat-avatar "
|
|
105
121
|
"chat-actions chat-message chat-avatar";
|
|
106
122
|
grid-template-columns: 1fr auto auto;
|
|
@@ -108,7 +124,7 @@ img.chat-avatar {
|
|
|
108
124
|
}
|
|
109
125
|
|
|
110
126
|
.chat-message-item.your-message img.chat-avatar {
|
|
111
|
-
@apply ml-xs mr-0;
|
|
127
|
+
@apply ml-xs mr-0 dark:ml-md;
|
|
112
128
|
}
|
|
113
129
|
|
|
114
130
|
.chat-message-item.your-message .chat-actions {
|
|
@@ -116,12 +132,16 @@ img.chat-avatar {
|
|
|
116
132
|
}
|
|
117
133
|
|
|
118
134
|
.chat-message-item.your-message .chat-header {
|
|
119
|
-
@apply justify-end;
|
|
135
|
+
@apply justify-end dark:justify-between;
|
|
120
136
|
text-align: end;
|
|
121
137
|
}
|
|
122
138
|
|
|
139
|
+
.chat-message-item.your-message .chat-title {
|
|
140
|
+
@apply dark:text-left;
|
|
141
|
+
}
|
|
142
|
+
|
|
123
143
|
.chat-message-item.your-message .chat-message {
|
|
124
|
-
@apply text-white bg-primary dark:bg-
|
|
144
|
+
@apply text-white bg-primary dark:bg-listitem;
|
|
125
145
|
}
|
|
126
146
|
|
|
127
147
|
.chat-message-item.your-message .chat-message-addons .btn {
|
|
@@ -267,3 +287,91 @@ img.chat-avatar {
|
|
|
267
287
|
@apply absolute bottom-md sm:bottom-spacing right-xxs;
|
|
268
288
|
z-index: 1;
|
|
269
289
|
}
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
/*///// Collapsable message /////*/
|
|
293
|
+
|
|
294
|
+
.chat-message-item.collapsable {
|
|
295
|
+
@apply grid-cols-2 cursor-pointer;
|
|
296
|
+
grid-template-columns: auto 1fr;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.chat-message-item.collapsable.your-message {
|
|
300
|
+
@apply w-full;
|
|
301
|
+
grid-template-columns: 1fr auto;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.chat-message-item.collapsable > details {
|
|
305
|
+
@apply col-span-2;
|
|
306
|
+
grid-area: chat-header;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.chat-message-item.collapsable > details .chat-header {
|
|
310
|
+
@apply rounded-b cursor-pointer;
|
|
311
|
+
padding-left: 40px;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.chat-message-item.collapsable > details summary::before {
|
|
315
|
+
@apply absolute inline-block shrink-0 w-icon h-icon left-xs mr-xxs bg-label-color;
|
|
316
|
+
content: "";
|
|
317
|
+
mask-repeat: no-repeat;
|
|
318
|
+
mask-image: url("/assets/images/icons/triangle-centered-right.svg");
|
|
319
|
+
top: 8px;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.chat-message-item.collapsable > details[open] .chat-header::before {
|
|
323
|
+
mask-image: url("/assets/images/icons/triangle-centered-down.svg");
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.chat-message-item.collapsable > details[open] .chat-header {
|
|
327
|
+
@apply rounded-b-none;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.chat-action-row {
|
|
331
|
+
@apply flex flex-row pl-lg;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.chat-action-row .btn {
|
|
335
|
+
@apply mr-xs;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
/*///// Chat form /////*/
|
|
340
|
+
|
|
341
|
+
.chat-form-row {
|
|
342
|
+
@apply grid grid-cols-2 pl-lg;
|
|
343
|
+
grid-template-columns: 1fr auto;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.chat-form {
|
|
347
|
+
@apply bg-gray-darkest p-md rounded border border-bordercolor;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.chat-form-row .chat-avatar {
|
|
351
|
+
@apply ml-md mr-0;
|
|
352
|
+
grid-area: initial;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.chat-form .form-actions {
|
|
356
|
+
@apply flex flex-row mt-md;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.chat-form .form-actions .btn {
|
|
360
|
+
@apply mr-xs;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
/*///// Chat form /////*/
|
|
365
|
+
|
|
366
|
+
.chat-history-header {
|
|
367
|
+
@apply flex justify-center items-center w-full text-center text-label font-semibold text-gray-darker uppercase cursor-pointer bg-gray-darkest rounded-full hover:bg-link-hover hover:text-white;
|
|
368
|
+
height: 12px;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.chat-history-collapsable[open] .chat-history-header {
|
|
372
|
+
@apply mb-md;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.chat-history-title {
|
|
376
|
+
@apply w-auto px-xs bg-card;
|
|
377
|
+
}
|