testio-tailwind 3.20.5 → 3.22.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/AI_DESIGN_SYSTEM_REFERENCE.md +2407 -0
- package/package.json +2 -1
- package/src/_data/navigation.json +4 -0
- package/src/_includes/header.njk +8 -8
- package/src/_includes/page-with-sidebar.njk +10 -1
- package/src/assets/scripts/app.js +43 -0
- package/src/assets/stylesheets/app.css +2 -0
- package/src/assets/stylesheets/components/designsystem/designsystem-styles.css +4 -2
- package/src/assets/stylesheets/components/forms.css +19 -11
- package/src/assets/stylesheets/components/tables.css +4 -0
- package/src/assets/stylesheets/plugin_themes/flatpickr.css +86 -0
- package/src/pages/buttons/block.haml +1 -0
- package/src/pages/buttons/button_group.haml +1 -0
- package/src/pages/buttons/buttons-lg.haml +1 -0
- package/src/pages/buttons/buttons-round.haml +1 -0
- package/src/pages/buttons/buttons-sm.haml +1 -0
- package/src/pages/buttons/buttons-xl.haml +1 -0
- package/src/pages/buttons/buttons.haml +1 -0
- package/src/pages/buttons/buttons_input.haml +4 -0
- package/src/pages/buttons/dropdown-menu.haml +2 -11
- package/src/pages/buttons/square-buttons.haml +15 -0
- package/src/pages/components/alerts.haml +1 -0
- package/src/pages/components/banner_cards.haml +1 -0
- package/src/pages/components/card_badges.haml +8 -7
- package/src/pages/components/cards.haml +15 -22
- package/src/pages/components/cards_customer.haml +1 -0
- package/src/pages/components/cards_fixedwidth.haml +7 -0
- package/src/pages/components/cards_iconheader.haml +1 -0
- package/src/pages/components/cards_tester.haml +1 -0
- package/src/pages/components/descriptionlist.haml +12 -3
- package/src/pages/components/devices.haml +1 -0
- package/src/pages/components/drawer.haml +1 -0
- package/src/pages/components/drawer_filter.haml +1 -0
- package/src/pages/components/emptystate.haml +2 -0
- package/src/pages/{buttons → components}/info_popover.haml +2 -1
- package/src/pages/components/listitem_with_actionbar.haml +1 -0
- package/src/pages/components/listitem_with_footer.haml +1 -0
- package/src/pages/components/listitems.haml +1 -0
- package/src/pages/components/listitems_badge.haml +1 -0
- package/src/pages/components/listitems_collapsable.haml +1 -0
- package/src/pages/components/listitems_nested.haml +1 -0
- package/src/pages/components/listitems_selectable.haml +1 -0
- package/src/pages/components/loading_spinner.haml +1 -0
- package/src/pages/components/metasidebar.haml +1 -0
- package/src/pages/components/modal_details.haml +3 -1
- package/src/pages/components/notifications.haml +2 -1
- package/src/pages/components/user_item.haml +1 -0
- package/src/pages/forms/attachments.pug +71 -0
- package/src/pages/forms/checkboxes.haml +1 -0
- package/src/pages/forms/checkboxes_devices.haml +1 -0
- package/src/pages/forms/date-time.haml +24 -0
- package/src/pages/forms/dropzone.pug +38 -0
- package/src/pages/forms/flatpickr.haml +27 -0
- package/src/pages/forms/form-addon.haml +1 -0
- package/src/pages/forms/form-card.haml +1 -0
- package/src/pages/forms/form_grid.haml +1 -0
- package/src/pages/forms/form_hint.haml +1 -0
- package/src/pages/forms/forms.haml +1 -0
- package/src/pages/forms/radiobuttons.haml +1 -0
- package/src/pages/forms/rating_scale.haml +1 -0
- package/src/pages/forms/search.haml +1 -0
- package/src/pages/forms/selectable_token.haml +1 -0
- package/src/pages/forms/selectable_token_browsers.haml +1 -0
- package/src/pages/forms/selectable_token_lg.haml +1 -0
- package/src/pages/forms/selectable_token_xl.haml +1 -0
- package/src/pages/forms/textarea.haml +4 -0
- package/src/pages/forms/toggle-buttons.haml +1 -0
- package/src/pages/forms/toggle-switch.haml +1 -0
- package/src/pages/forms/trix_editor.pug +1 -0
- package/src/pages/icons/bug-icons.haml +1 -0
- package/src/pages/icons/index.njk +18 -14
- package/src/pages/icons/status-icons.haml +1 -0
- package/src/pages/layout/app_layout.haml +2 -0
- package/src/pages/layout/margins.haml +1 -0
- package/src/pages/layout/max_width.haml +2 -1
- package/src/pages/layout/paddings.haml +1 -0
- package/src/pages/layout/spacing.haml +1 -0
- package/src/pages/{examples → layouts}/agenticqa_splitview.haml +1 -1
- package/src/pages/layouts/layout-actionbar.haml +45 -0
- package/src/pages/{examples → layouts}/layout-basic.haml +3 -2
- package/src/pages/{examples → layouts}/layout-chat.haml +3 -2
- package/src/pages/{examples/layout-sidebar-actionbar-metasidebar.haml → layouts/layout-chatwindow.haml} +3 -2
- package/src/pages/{examples → layouts}/layout-customer.haml +3 -2
- package/src/pages/{examples → layouts}/layout-form-sidebar-actionbar-metasidebar.haml +5 -228
- package/src/pages/{examples → layouts}/layout-manager.haml +3 -2
- package/src/pages/{examples → layouts}/layout-metasidebar.haml +3 -2
- package/src/pages/{examples → layouts}/layout-sidebar.haml +3 -2
- package/src/pages/{examples → layouts}/layout-tester.haml +3 -2
- package/src/pages/{examples → layouts}/splitview-metasidebar.haml +3 -3
- package/src/pages/{examples → layouts}/splitview-testcases.haml +2 -2
- package/src/pages/{examples → layouts}/splitview.haml +3 -3
- package/src/pages/navigation/header-manager.haml +1 -0
- package/src/pages/navigation/header-tester.haml +1 -0
- package/src/pages/navigation/header.haml +1 -0
- package/src/pages/navigation/header_customer.haml +1 -0
- package/src/pages/navigation/header_tester_epam.haml +1 -0
- package/src/pages/navigation/product_dropdown.haml +2 -0
- package/src/pages/navigation/radio_tabs.haml +1 -0
- package/src/pages/navigation/sidebar-manager.haml +2 -1
- package/src/pages/navigation/sidebar-tester-elements.haml +1 -0
- package/src/pages/navigation/sidebar-tester-seatlimitation.haml +1 -1
- package/src/pages/navigation/sidebar-tester.haml +1 -1
- package/src/pages/navigation/sidebar.haml +1 -0
- package/src/pages/navigation/sidebar_collapsables.haml +1 -0
- package/src/pages/navigation/sidebar_customer.haml +1 -0
- package/src/pages/navigation/tabnavigation.haml +1 -0
- package/src/pages/navigation/tabnavigation_actions.haml +1 -0
- package/src/pages/navigation/tabnavigation_pills.haml +1 -0
- package/src/pages/navigation/tabnavigation_sm.haml +1 -0
- package/src/pages/navigation/test-header-tester.haml +2 -0
- package/src/pages/tables/index.njk +7 -0
- package/src/pages/tables/tables-cellstyle.haml +38 -0
- package/src/pages/tables/tables-grid.haml +31 -0
- package/src/pages/tables/tables.haml +16 -0
- package/src/pages/tables/tables_alternating.haml +27 -0
- package/src/pages/tables/tables_borders.haml +22 -0
- package/src/pages/tables/tables_cells.haml +50 -0
- package/src/pages/tables/tables_footer.haml +27 -0
- package/src/pages/tables/tables_formrow.haml +31 -0
- package/src/pages/tables/tables_header.haml +22 -0
- package/src/pages/{components → tables}/tables_linked.haml +11 -10
- package/src/pages/typography/link_with_icon.haml +10 -2
- package/src/pages/typography/linked_icon.haml +6 -0
- package/src/pages/typography/section_header.haml +1 -0
- package/src/pages/typography/section_header_actions.haml +1 -0
- package/src/pages/typography/text_with_icon.haml +3 -2
- package/utils/filters.js +161 -0
- package/CLAUDE_DESIGN_SYSTEM_REFERENCE.md +0 -1978
- package/src/pages/buttons/link-with-icon.haml +0 -13
- package/src/pages/components/tables-cellstyle.pug +0 -285
- package/src/pages/components/tables-grid.pug +0 -258
- package/src/pages/components/tables.haml +0 -57
- package/src/pages/components/tables_cells.pug +0 -57
- package/src/pages/components/tables_formrow.haml +0 -55
- package/src/pages/examples/layout-actionbar.haml +0 -268
- package/src/pages/examples/layout-sidebar-actionbar.haml +0 -308
- package/src/pages/forms/uploads.pug +0 -101
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testio-tailwind",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "Tailwind based design system for Test IO",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "del dist --force",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"autosize": "^5.0.1",
|
|
39
39
|
"dropzone": "^6.0.0-beta.2",
|
|
40
40
|
"echarts": "^5.6.0",
|
|
41
|
+
"flatpickr": "^4.6.13",
|
|
41
42
|
"hamljs": "^0.6.2",
|
|
42
43
|
"html-minifier-terser": "^7.2.0",
|
|
43
44
|
"jquery": "^3.6.0",
|
package/src/_includes/header.njk
CHANGED
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
</div>
|
|
20
20
|
</details>
|
|
21
21
|
<details class="header-dropdown dropright">
|
|
22
|
-
<summary class="navlink">
|
|
22
|
+
<summary class="navlink">Layouts</summary>
|
|
23
23
|
<div class="dropdown-menu">
|
|
24
|
-
{% for
|
|
25
|
-
<a href="{{
|
|
24
|
+
{% for layouts in collections.layouts %}
|
|
25
|
+
<a href="{{ layouts.url }}"
|
|
26
26
|
class="dropdown-link">
|
|
27
|
-
{{
|
|
27
|
+
{{ layouts.data.title }}
|
|
28
28
|
</a>
|
|
29
29
|
{% endfor %}
|
|
30
30
|
</div>
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
</details>
|
|
51
51
|
<details class="navlink-container">
|
|
52
52
|
<summary class="navlink">Examples</summary>
|
|
53
|
-
{% for
|
|
54
|
-
<a href="{{
|
|
55
|
-
class="
|
|
56
|
-
{{
|
|
53
|
+
{% for layouts in collections.layouts %}
|
|
54
|
+
<a href="{{ layouts.url }}"
|
|
55
|
+
class="dropdown-link">
|
|
56
|
+
{{ layouts.data.title }}
|
|
57
57
|
</a>
|
|
58
58
|
{% endfor %}
|
|
59
59
|
</details>
|
|
@@ -36,7 +36,16 @@
|
|
|
36
36
|
Show source
|
|
37
37
|
</summary>
|
|
38
38
|
<div class="ds-card-codeexample">
|
|
39
|
-
<
|
|
39
|
+
<nav class="nav-pills">
|
|
40
|
+
<button class="navlink active code-tab-toggle" data-format="html">
|
|
41
|
+
HTML
|
|
42
|
+
</button>
|
|
43
|
+
<button class="navlink code-tab-toggle" data-format="haml">
|
|
44
|
+
HAML
|
|
45
|
+
</button>
|
|
46
|
+
</nav>
|
|
47
|
+
<pre><code class="html-preview code-format-html">{{ section.templateContent | trim }}</code></pre>
|
|
48
|
+
<pre style="display: none;"><code class="haml-preview code-format-haml">{{ section.templateContent | convertToHaml | trim }}</code></pre>
|
|
40
49
|
</div>
|
|
41
50
|
</details>
|
|
42
51
|
</section>
|
|
@@ -204,3 +204,46 @@ if (document.getElementById("echarts-testinator")) {
|
|
|
204
204
|
if (document.getElementById("echarts-testinator-empty")) {
|
|
205
205
|
createChartDonut("echarts-testinator-empty", dataTestinatorEmpty, "100", "Total check executions", true, colorLabelDark, colorValueDark);
|
|
206
206
|
}
|
|
207
|
+
|
|
208
|
+
// Code format toggle (HTML/HAML)
|
|
209
|
+
document.querySelectorAll('.code-tab-toggle').forEach((button) => {
|
|
210
|
+
button.addEventListener('click', function(e) {
|
|
211
|
+
e.preventDefault();
|
|
212
|
+
const format = this.getAttribute('data-format');
|
|
213
|
+
const container = this.closest('.ds-card-codeexample');
|
|
214
|
+
|
|
215
|
+
// Update active navlink
|
|
216
|
+
container.querySelectorAll('.code-tab-toggle').forEach(btn => {
|
|
217
|
+
btn.classList.remove('active');
|
|
218
|
+
});
|
|
219
|
+
this.classList.add('active');
|
|
220
|
+
|
|
221
|
+
// Show/hide code blocks
|
|
222
|
+
const htmlBlock = container.querySelector('.code-format-html');
|
|
223
|
+
const hamlBlock = container.querySelector('.code-format-haml');
|
|
224
|
+
|
|
225
|
+
if (format === 'html') {
|
|
226
|
+
htmlBlock.parentElement.style.display = 'block';
|
|
227
|
+
hamlBlock.parentElement.style.display = 'none';
|
|
228
|
+
} else {
|
|
229
|
+
htmlBlock.parentElement.style.display = 'none';
|
|
230
|
+
hamlBlock.parentElement.style.display = 'block';
|
|
231
|
+
}
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
// Flatpickr
|
|
236
|
+
|
|
237
|
+
import flatpickr from "flatpickr";
|
|
238
|
+
|
|
239
|
+
flatpickr(".flatpickr", {
|
|
240
|
+
dateFormat: "Y-m-d",
|
|
241
|
+
altInput: true,
|
|
242
|
+
altFormat: "F j, Y",
|
|
243
|
+
});
|
|
244
|
+
|
|
245
|
+
flatpickr(".flatpickr-time", {
|
|
246
|
+
enableTime: true,
|
|
247
|
+
dateFormat: "Y-m-d H:i",
|
|
248
|
+
altInput: true,
|
|
249
|
+
});
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
@import './plugin_themes/markdown_trix_styles.css' layer(components);
|
|
18
18
|
@import './plugin_themes/pagy.css' layer(components);
|
|
19
19
|
@import './plugin_themes/dropzone.css' layer(components);
|
|
20
|
+
@import 'flatpickr/dist/flatpickr.css' layer(components);
|
|
21
|
+
@import './plugin_themes/flatpickr.css' layer(components);
|
|
20
22
|
|
|
21
23
|
/*//// Components ////*/
|
|
22
24
|
@import './components/fonts.css' layer(components);
|
|
@@ -78,17 +78,6 @@ textarea.form-control {
|
|
|
78
78
|
@apply absolute flex justify-center items-center h-btn bottom-0 right-0 px-xs;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.form-date::before {
|
|
82
|
-
@apply inline-block absolute bottom-xs right-xs h-icon w-icon bg-gray-darker;
|
|
83
|
-
content: "";
|
|
84
|
-
mask-image: url("/assets/images/icons/calendar.svg");
|
|
85
|
-
mask-repeat: no-repeat;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.form-date .form-control {
|
|
89
|
-
@apply pr-lg;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
81
|
.form-group.inverted .form-control {
|
|
93
82
|
@apply text-white border-gray-darker bg-transparent dark:border-bordercolor dark:bg-card;
|
|
94
83
|
}
|
|
@@ -109,4 +98,23 @@ textarea.form-control {
|
|
|
109
98
|
&::before {
|
|
110
99
|
@apply bg-gray-light;
|
|
111
100
|
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
/*///// Form date /////*/
|
|
105
|
+
|
|
106
|
+
.form-date {
|
|
107
|
+
@apply relative;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.form-date input[type="date"]::-webkit-calendar-picker-indicator,
|
|
111
|
+
.form-date input[type="datetime-local"]::-webkit-calendar-picker-indicator {
|
|
112
|
+
@apply absolute top-0 right-0 opacity-0 w-btn h-btn cursor-pointer;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.form-date::after {
|
|
116
|
+
@apply absolute top-xs right-sm w-icon h-icon pointer-events-none bg-primary;
|
|
117
|
+
content: "";
|
|
118
|
+
mask-image: url("/assets/images/icons/calendar.svg");
|
|
119
|
+
mask-repeat: no-repeat;
|
|
112
120
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
.flatpickr.input,
|
|
2
|
+
.flatpickr.input[readonly],
|
|
3
|
+
.flatpickr-time.input,
|
|
4
|
+
.flatpickr-time.input[readonly],
|
|
5
|
+
.form-group.inverted .flatpickr.input[readonly],
|
|
6
|
+
.form-group.inverted .flatpickr-time.input[readonly] {
|
|
7
|
+
@apply cursor-pointer bg-transparent;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.form-group.inverted .flatpickr.input[readonly],
|
|
11
|
+
.form-group.inverted .flatpickr-time.input[readonly] {
|
|
12
|
+
@apply border-gray-700;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.flatpickr-time {
|
|
16
|
+
@apply text-left;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.flatpickr-day.selected {
|
|
20
|
+
@apply bg-info border-none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.flatpickr-day.selected:hover,
|
|
24
|
+
.flatpickr-day.selected:focus {
|
|
25
|
+
@apply bg-link-hover;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.flatpickr-months,
|
|
29
|
+
.flatpickr-months .flatpickr-month {
|
|
30
|
+
@apply rounded-t;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.flatpickr-months .flatpickr-month,
|
|
34
|
+
.flatpickr-weekdays,
|
|
35
|
+
.flatpickr-weekdays .flatpickr-weekday {
|
|
36
|
+
@apply text-white bg-info;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.flatpickr-prev-month svg,
|
|
40
|
+
.flatpickr-months .flatpickr-next-month svg {
|
|
41
|
+
@apply fill-white;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.flatpickr-months .flatpickr-prev-month,
|
|
45
|
+
.flatpickr-months .flatpickr-next-month {
|
|
46
|
+
@apply pt-xs;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.flatpickr-months .flatpickr-prev-month:hover,
|
|
50
|
+
.flatpickr-months .flatpickr-next-month:hover {
|
|
51
|
+
@apply bg-link-hover;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.flatpickr-months .flatpickr-prev-month:hover svg,
|
|
55
|
+
.flatpickr-months .flatpickr-next-month:hover svg {
|
|
56
|
+
@apply fill-white;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.flatpickr-months .flatpickr-prev-month {
|
|
60
|
+
@apply rounded-tl;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.flatpickr-months .flatpickr-next-month {
|
|
64
|
+
@apply rounded-tr;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.flatpickr-current-month .flatpickr-monthDropdown-months {
|
|
68
|
+
@apply block bg-transparent;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.flatpickr-current-month {
|
|
72
|
+
@apply flex flex-row;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.flatpickr-current-month .numInputWrapper {
|
|
76
|
+
@apply w-auto;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
|
|
80
|
+
@apply bg-info text-base;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month:hover,
|
|
84
|
+
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month:focus {
|
|
85
|
+
@apply bg-link-hover;
|
|
86
|
+
}
|
|
@@ -3,6 +3,7 @@ title: LG Buttons
|
|
|
3
3
|
tags: button
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading These are larger sized buttons for more prominent icons and actions. The text is placed below the button to create a balanced appearance.
|
|
6
7
|
%ul.list-inline
|
|
7
8
|
%li.btn-lg-wrapper
|
|
8
9
|
%a.btn.btn-lg.btn-square.btn-primary
|
|
@@ -3,19 +3,10 @@ tags: button
|
|
|
3
3
|
title: Dropdown menu
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Dropdown menus are used to group related actions under a single button. They can be aligned in different directions such as down, up, left, and right.
|
|
6
7
|
.flex.justify-between
|
|
7
|
-
.popover-menu
|
|
8
|
-
%a.popover-action{href:'#'}
|
|
9
|
-
%span.icon.text-icon-default.icon-pencil
|
|
10
|
-
Edit
|
|
11
|
-
%a.popover-action{href:'#'}
|
|
12
|
-
%span.icon.text-icon-default.icon-duplicate
|
|
13
|
-
Duplicate
|
|
14
|
-
%a.popover-action{href:'#'}
|
|
15
|
-
%span.icon.text-icon-default.icon-remove
|
|
16
|
-
Delete
|
|
17
8
|
.px-1
|
|
18
|
-
%details.dropdown-actions
|
|
9
|
+
%details.dropdown-actions
|
|
19
10
|
%summary
|
|
20
11
|
.btn.btn-square.btn-primary
|
|
21
12
|
%span.icon.text-icon-default.icon-more
|
|
@@ -3,6 +3,7 @@ title: Square Buttons
|
|
|
3
3
|
tags: button
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading These are square buttons with equal width and height, used for icon-only buttons. Use them if an icon explains the function well enough and when you want to avoid text repetition.
|
|
6
7
|
%ul.list-inline.mb-md
|
|
7
8
|
%li
|
|
8
9
|
%button.btn.btn-primary.btn-square
|
|
@@ -34,6 +35,20 @@ tags: button
|
|
|
34
35
|
%li
|
|
35
36
|
%button.btn.btn-primary.btn-square{disabled: "disabled"}
|
|
36
37
|
.icon.icon-check-circle
|
|
38
|
+
%p.my-heading Square buttons can also be used in smaller sizes.
|
|
39
|
+
%ul.list-inline.mb-md
|
|
40
|
+
%li
|
|
41
|
+
%button.btn.btn-sm.btn-primary.btn-square
|
|
42
|
+
.icon.icon-check-circle
|
|
43
|
+
%li
|
|
44
|
+
%button.btn.btn-sm.btn-secondary.btn-square
|
|
45
|
+
.icon.icon-check-circle
|
|
46
|
+
%li
|
|
47
|
+
%button.btn.btn-sm.btn-success.btn-square
|
|
48
|
+
.icon.icon-check-circle
|
|
49
|
+
%li
|
|
50
|
+
%button.btn.btn-sm.btn-square
|
|
51
|
+
.icon.icon-check-circle
|
|
37
52
|
|
|
38
53
|
.bg-actionbar.p-5
|
|
39
54
|
%ul.list-inline
|
|
@@ -3,6 +3,7 @@ tags: components
|
|
|
3
3
|
title: Banner cards
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Banner cards are used to display important information or actions to users in a prominent way.
|
|
6
7
|
.banner-card.welcome
|
|
7
8
|
%img.welcome-image{src:"/assets/images/logo-testio/testio_symbol_purpleteal_square.svg"}
|
|
8
9
|
.card-content
|
|
@@ -3,28 +3,29 @@ tags: components
|
|
|
3
3
|
title: Card badges
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Card badges are small indicators that can be added to card headers to highlight important information or statuses.
|
|
6
7
|
.grid-cards
|
|
7
8
|
.card
|
|
8
9
|
.card-header
|
|
9
10
|
.card-badge
|
|
10
11
|
%h3.card-title Card with badge
|
|
11
12
|
.card-body
|
|
12
|
-
%p
|
|
13
|
+
%p Example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
13
14
|
.card
|
|
14
15
|
.card-header
|
|
15
16
|
.card-badge.success
|
|
16
|
-
%h3.card-title
|
|
17
|
+
%h3.card-title Success badge
|
|
17
18
|
.card-body
|
|
18
|
-
%p
|
|
19
|
+
%p Example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
19
20
|
.card
|
|
20
21
|
.card-header
|
|
21
22
|
.card-badge.danger
|
|
22
|
-
%h3.card-title
|
|
23
|
+
%h3.card-title Danger badge
|
|
23
24
|
.card-body
|
|
24
|
-
%p
|
|
25
|
+
%p Example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
25
26
|
.card
|
|
26
27
|
.card-header
|
|
27
28
|
.card-badge.info
|
|
28
|
-
%h3.card-title
|
|
29
|
+
%h3.card-title Info badge
|
|
29
30
|
.card-body
|
|
30
|
-
%p
|
|
31
|
+
%p Example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
@@ -3,31 +3,22 @@ tags: components
|
|
|
3
3
|
title: Cards
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading
|
|
7
|
+
Cards are versatile UI components used to group related information. They often include headers, body content, and footers with action buttons.
|
|
8
|
+
Place them inside
|
|
9
|
+
%code.tag .grid-cards
|
|
10
|
+
to receive a responsive grid layout.
|
|
6
11
|
.grid-cards
|
|
7
12
|
.card
|
|
8
|
-
%details.popover-wrapper.dropright.card-info-popover
|
|
9
|
-
%summary
|
|
10
|
-
.btn.btn-sm.btn-square
|
|
11
|
-
.icon.icon-info
|
|
12
|
-
.popover-menu.info
|
|
13
|
-
.popover-title Popover title
|
|
14
|
-
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
15
13
|
.card-header
|
|
16
|
-
%h3.card-title
|
|
14
|
+
%h3.card-title Basic card
|
|
17
15
|
.card-body
|
|
18
|
-
%p
|
|
16
|
+
%p Example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
19
17
|
.card
|
|
20
|
-
%details.popover-wrapper.dropright.card-info-popover
|
|
21
|
-
%summary
|
|
22
|
-
.btn.btn-sm.btn-square
|
|
23
|
-
.icon.icon-info
|
|
24
|
-
.popover-menu.info
|
|
25
|
-
.popover-title Popover title
|
|
26
|
-
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
27
18
|
.card-header
|
|
28
|
-
%h3.card-title Card
|
|
19
|
+
%h3.card-title Card with footer
|
|
29
20
|
.card-body
|
|
30
|
-
%p
|
|
21
|
+
%p Example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
31
22
|
.card-footer
|
|
32
23
|
%a.btn.btn-primary.btn-block{href: ""}
|
|
33
24
|
%span.icon.icon-explorative.mr-icon-spacing
|
|
@@ -56,9 +47,10 @@ title: Cards
|
|
|
56
47
|
.popover-menu.info
|
|
57
48
|
.popover-title Popover title
|
|
58
49
|
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
50
|
+
.card-header
|
|
51
|
+
%h3.card-title Card with info popover
|
|
59
52
|
.card-body
|
|
60
|
-
%
|
|
61
|
-
%p.bg-gray-light.rounded.p-xxs Card-body with some example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
53
|
+
%p Example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
62
54
|
.card-footer
|
|
63
55
|
%a.btn.btn-primary.btn-block{href: ""}
|
|
64
56
|
%span.icon.icon-explorative.mr-icon-spacing
|
|
@@ -87,9 +79,10 @@ title: Cards
|
|
|
87
79
|
.popover-menu.info
|
|
88
80
|
.popover-title Popover title
|
|
89
81
|
.popover-content Popover content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
82
|
+
.card-header
|
|
83
|
+
%h3.card-title Centered card content
|
|
90
84
|
.card-body
|
|
91
|
-
%
|
|
92
|
-
%p Card-body with some example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
85
|
+
%p Example content Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
|
|
93
86
|
.card-footer
|
|
94
87
|
%a.btn.btn-primary.btn-block{href: ""}
|
|
95
88
|
%span.icon.icon-explorative.mr-icon-spacing
|
|
@@ -3,6 +3,13 @@ tags: components
|
|
|
3
3
|
title: Cards with fixed width
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading
|
|
7
|
+
Cards with fixed width can be created by adding size modifier classes to the card component. Available sizes are
|
|
8
|
+
%code.tag .card-sm
|
|
9
|
+
,
|
|
10
|
+
%code.tag .card-md
|
|
11
|
+
, and
|
|
12
|
+
%code.tag .card-lg.
|
|
6
13
|
.list-cards.mb-md
|
|
7
14
|
.card.card-sm
|
|
8
15
|
.card-header
|
|
@@ -3,6 +3,7 @@ tags: components
|
|
|
3
3
|
title: Cards with icon header
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Cards with icon headers are useful for displaying key metrics or achievements. The icon header draws attention to the card's content, making it ideal for dashboards or summary views.
|
|
6
7
|
.grid-cards-achievements
|
|
7
8
|
.card
|
|
8
9
|
%details.popover-wrapper.dropright.card-info-popover
|
|
@@ -3,6 +3,7 @@ tags: components
|
|
|
3
3
|
title: Cards Tester Dashboard
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading The Cards Tester Dashboard showcases various tester opportunities and running tests in a card format. Each card provides essential information such as customer name, product title, team leader, test status, and perks associated with the testing opportunity.
|
|
6
7
|
.grid-testercards
|
|
7
8
|
.card.tester-card
|
|
8
9
|
%a.card-header{href:""}
|
|
@@ -3,9 +3,14 @@ tags: components
|
|
|
3
3
|
title: Description list
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Description lists are used to display pairs of terms and their corresponding descriptions. They can be styled in different ways to suit various design needs.
|
|
6
7
|
%section
|
|
7
8
|
.section-header
|
|
8
9
|
%h5.section-title list-inline
|
|
10
|
+
%p.mb-heading
|
|
11
|
+
%span Description lists with the
|
|
12
|
+
%code.tag .list-inline
|
|
13
|
+
%span class display terms and descriptions in a horizontal layout.
|
|
9
14
|
%dl.list-inline
|
|
10
15
|
%dt.label Label
|
|
11
16
|
%dd Content
|
|
@@ -22,9 +27,9 @@ title: Description list
|
|
|
22
27
|
.section-header
|
|
23
28
|
%h5.section-title list-inline responsive
|
|
24
29
|
%p.mb-heading
|
|
25
|
-
Add the class
|
|
26
|
-
%code responsive
|
|
27
|
-
|
|
30
|
+
%span Add the class
|
|
31
|
+
%code.tag .responsive
|
|
32
|
+
%span to receive vertically aligned columns on smaller screens.
|
|
28
33
|
%dl.list-inline.responsive
|
|
29
34
|
%dt.label Label
|
|
30
35
|
%dd Content with a bit of Lorem ipsum dolor sit amet.
|
|
@@ -40,6 +45,10 @@ title: Description list
|
|
|
40
45
|
%section.mt-md
|
|
41
46
|
.section-header
|
|
42
47
|
%h5.section-title list-vertical
|
|
48
|
+
%p.mb-heading
|
|
49
|
+
%span Description lists with the
|
|
50
|
+
%code.tag .list-vertical
|
|
51
|
+
%span class display terms and descriptions in a vertical layout.
|
|
43
52
|
%dl.list-vertical
|
|
44
53
|
%dt.label Label
|
|
45
54
|
%dd Content
|
|
@@ -3,6 +3,7 @@ tags: components
|
|
|
3
3
|
title: Devices
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Devices component is used to display different devices along with their specifications such as operating system and supported browsers. It can also provide action buttons.
|
|
6
7
|
.list-devices.mb-sm
|
|
7
8
|
.device
|
|
8
9
|
.device-icon.icon-lg.icon-computer-windows-lg
|
|
@@ -3,6 +3,7 @@ tags: components
|
|
|
3
3
|
title: Drawer
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Drawers are used to display additional content or options that slide in from the side of the screen. They can be opened and closed by the user. They work as an alternative to modals.
|
|
6
7
|
%details.drawer-wrapper
|
|
7
8
|
%summary.drawer-trigger
|
|
8
9
|
.btn.btn-primary Open Drawer
|
|
@@ -3,6 +3,7 @@ tags: components
|
|
|
3
3
|
title: Drawer for filtering
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Drawer filters are used to provide users with filtering options that slide in from the side of the screen. They typically include search functionality and various filter categories.
|
|
6
7
|
%details.drawer-wrapper
|
|
7
8
|
%summary.drawer-trigger
|
|
8
9
|
.btn.btn-primary Open Drawer
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
tags: components
|
|
3
3
|
title: Empty state message
|
|
4
4
|
---
|
|
5
|
+
|
|
6
|
+
%p.mb-heading Empty state messages are used to inform users when there is no data to display. They can include different styles and icons to convey various emotions or states.
|
|
5
7
|
.grid.gap-md.grid-cols-1{class:"md:grid-cols-3-auto"}
|
|
6
8
|
.empty-state-message Empty state message. No items here yet.
|
|
7
9
|
.empty-state-message.search Searching empty state message. No items here yet.
|