testio-tailwind 3.21.0 → 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 +1 -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 +27 -0
- package/src/assets/stylesheets/components/designsystem/designsystem-styles.css +4 -2
- package/src/assets/stylesheets/components/tables.css +4 -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 +1 -0
- package/src/pages/forms/dropzone.pug +38 -0
- package/src/pages/forms/flatpickr.haml +1 -1
- 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
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
tags: forms
|
|
3
|
+
title: Attachments
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
p.mb-heading Attachments components are used to display files that have been uploaded or are available for download. They can include thumbnails, file names, and action buttons such as remove.
|
|
7
|
+
.attachments
|
|
8
|
+
.attachment
|
|
9
|
+
a.attachment-thumb(href="/assets/images/placeholders/bugdetails.png")
|
|
10
|
+
img(src='/assets/images/placeholders/bugdetails.png', alt='Bug details')
|
|
11
|
+
a.attachment-name(href="/assets/images/placeholders/bugdetails.png") myfile-name.png
|
|
12
|
+
.attachment
|
|
13
|
+
a.attachment-thumb(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png")
|
|
14
|
+
img(src='/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png', alt='Bug details')
|
|
15
|
+
a.attachment-name(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png") myfile-name-kjashdflkajsdflkjadsflkjhadsf.png
|
|
16
|
+
button.btn.btn-danger.attachment-btn
|
|
17
|
+
span.icon.text-icon-default.icon-remove
|
|
18
|
+
.attachment
|
|
19
|
+
a.attachment-thumb(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png")
|
|
20
|
+
span.attachment-icon.icon-xl.icon-review-xl
|
|
21
|
+
a.attachment-name(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png") myfile-name-kjashdflkajsdflkjadsflkjhadsf.png
|
|
22
|
+
button.btn.btn-danger.attachment-btn
|
|
23
|
+
span.icon.text-icon-default.icon-remove
|
|
24
|
+
p.my-heading Attachments can be selectable, allowing users to choose one or more files.
|
|
25
|
+
.attachments
|
|
26
|
+
input(type='hidden', name='document[context_attributes][external_attachments_attachment_ids][]', value='', autocomplete='off')
|
|
27
|
+
.attachment.selectable
|
|
28
|
+
input#checkable-attachment1(data-checkboxes-target='checkbox', type='checkbox', value='89')
|
|
29
|
+
label(for="checkable-attachment1")
|
|
30
|
+
img.attachment-thumb(src='/assets/images/placeholders/bugdetails.png', alt='Bug details')
|
|
31
|
+
a.attachment-name(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png") 1.png
|
|
32
|
+
.attachment.selectable
|
|
33
|
+
input#checkable-attachment2(data-checkboxes-target='checkbox', type='checkbox', value='89', checked='checked')
|
|
34
|
+
label(for="checkable-attachment2")
|
|
35
|
+
img.attachment-thumb(src='/assets/images/placeholders/bugdetails.png', alt='Bug details')
|
|
36
|
+
a.attachment-name(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png") 1.png
|
|
37
|
+
.attachment.selectable
|
|
38
|
+
input#checkable-attachment3(data-checkboxes-target='checkbox', type='checkbox', value='89')
|
|
39
|
+
label(for="checkable-attachment3")
|
|
40
|
+
.attachment-thumb
|
|
41
|
+
span.attachment-icon.icon-xl.icon-review-xl
|
|
42
|
+
a.attachment-name(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png") another-file-type.docx
|
|
43
|
+
.attachment.selectable
|
|
44
|
+
input#checkable-attachment4(data-checkboxes-target='checkbox', type='checkbox', value='89', checked='checked')
|
|
45
|
+
label(for="checkable-attachment4")
|
|
46
|
+
.attachment-thumb
|
|
47
|
+
span.attachment-icon.icon-xl.icon-review-xl
|
|
48
|
+
a.attachment-name(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png") another-file-type.docx
|
|
49
|
+
|
|
50
|
+
.bg-black.p-md.mt-3
|
|
51
|
+
.attachments
|
|
52
|
+
.attachment.inverted
|
|
53
|
+
a.attachment-thumb(href="/assets/images/placeholders/bugdetails.png")
|
|
54
|
+
img(src='/assets/images/placeholders/bugdetails.png', alt='Bug details')
|
|
55
|
+
a.attachment-name(href="/assets/images/placeholders/bugdetails.png") myfile-name.png
|
|
56
|
+
button.btn.btn-danger.attachment-btn
|
|
57
|
+
span.icon.text-icon-default.icon-remove
|
|
58
|
+
|
|
59
|
+
.attachment.inverted
|
|
60
|
+
a.attachment-thumb(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png")
|
|
61
|
+
img(src='/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png', alt='Bug details')
|
|
62
|
+
a.attachment-name(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png") myfile-name-kjashdflkajsdflkjadsflkjhadsf.png
|
|
63
|
+
button.btn.btn-danger.attachment-btn
|
|
64
|
+
span.icon.text-icon-default.icon-remove
|
|
65
|
+
|
|
66
|
+
.attachment.inverted
|
|
67
|
+
a.attachment-thumb(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png")
|
|
68
|
+
span.attachment-icon.icon-xl.icon-review-xl
|
|
69
|
+
a.attachment-name(href="/assets/images/placeholders/CustomerUI-Mobile-Sidebar.png") myfile-name-kjashdflkajsdflkjadsflkjhadsf.png
|
|
70
|
+
button.btn.btn-danger.attachment-btn
|
|
71
|
+
span.icon.text-icon-default.icon-remove
|
|
@@ -3,6 +3,7 @@ tags: forms
|
|
|
3
3
|
title: Checkboxes
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Checkboxes allow users to select one or more options from a set. They are commonly used in forms for multiple selections. We offer 2 sizes: default and small (SM).
|
|
6
7
|
.form-grid.single.narrow.mb-3
|
|
7
8
|
.form-check
|
|
8
9
|
%input#check1{type:"checkbox", checked:"true"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
tags: forms
|
|
3
|
+
title: Dropzone
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
.mb-heading
|
|
7
|
+
p.mb-xs This component uses <a href="https://www.dropzone.dev/">Dropzone.JS</a> for uploading files. You are viewing dropzone with the following configuration:
|
|
8
|
+
code
|
|
9
|
+
| let dropzone = new Dropzone("#file-upload", {
|
|
10
|
+
br
|
|
11
|
+
| addRemoveLinks: true,
|
|
12
|
+
| uploadMultiple: true,
|
|
13
|
+
| autoQueue: false,
|
|
14
|
+
| dictCancelUpload: "",
|
|
15
|
+
| dictRemoveFile: ""
|
|
16
|
+
br
|
|
17
|
+
| });
|
|
18
|
+
|
|
19
|
+
.form-grid-single
|
|
20
|
+
form.dropzone(action="/file-upload" class="dropzone" id="my-awesome-dropzone")
|
|
21
|
+
.dz-default.dz-message
|
|
22
|
+
p.dropzone-msg-title Click to upload a file or drag and drop
|
|
23
|
+
p.dropzone-msg-desc Files up to 10MB
|
|
24
|
+
p.mt-3 Form errors example
|
|
25
|
+
.form-grid-single
|
|
26
|
+
form.dropzone.field_with_errors(action="/file-upload" class="dropzone" id="my-awesome-dropzone")
|
|
27
|
+
.dz-default.dz-message
|
|
28
|
+
p.dropzone-msg-title Click to upload a file or drag and drop
|
|
29
|
+
p.dropzone-msg-desc Files up to 10MB
|
|
30
|
+
.form-hint.error
|
|
31
|
+
You made a mistake, which is why you see this form validation error message with some helpful 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. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
|
32
|
+
.bg-black.p-md.mt-3
|
|
33
|
+
.form-grid-single
|
|
34
|
+
form.dropzone.inverted(action="/file-upload" class="dropzone" id="my-awesome-dropzone-inverted")
|
|
35
|
+
.dz-default.dz-message
|
|
36
|
+
p.dropzone-msg-title Click to upload a file or drag and drop
|
|
37
|
+
p.dropzone-msg-desc Files up to 10MB
|
|
38
|
+
|
|
@@ -6,7 +6,7 @@ title: Date and time with Flatpickr
|
|
|
6
6
|
%p.mb-xs
|
|
7
7
|
This example uses
|
|
8
8
|
%a{href:"https://flatpickr.js.org/"} Flatpickr
|
|
9
|
-
%span as a date and date-time picker replacement.
|
|
9
|
+
%span as a date and date-time picker replacement giving more control and consistency.
|
|
10
10
|
.form-grid
|
|
11
11
|
.form-group
|
|
12
12
|
%label.form-label Native date input
|
|
@@ -3,6 +3,7 @@ tags: forms
|
|
|
3
3
|
title: Radiobuttons
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Radiobuttons allow users to select one option from a set. They are commonly used in forms for single selections. We offer 2 sizes: default and small (SM).
|
|
6
7
|
.form-grid.single.narrow.mb-3
|
|
7
8
|
.form-radio
|
|
8
9
|
%input#radio1{type:'radio', checked:'true', name:'radio-group', value:'1'}
|
|
@@ -3,6 +3,7 @@ tags: forms
|
|
|
3
3
|
title: Selectable token
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Selectable token components are used to make a selection from a set of options, often used in filters or multi-select scenarios.
|
|
6
7
|
%ul.list-inline.flex.mb-3
|
|
7
8
|
%li.selectable-token
|
|
8
9
|
%input#selectabletoken1{type:"checkbox", checked:"true"}
|
|
@@ -3,6 +3,7 @@ tags: forms
|
|
|
3
3
|
title: Selectable token LG
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Large selectable tokens allow users to select options in a visually engaging way, often used for categories.
|
|
6
7
|
%ul.list-inline.flex.mb-3
|
|
7
8
|
%li.selectable-token.lg
|
|
8
9
|
%input#selectabletokenlg1{type:"checkbox", checked:"true"}
|
|
@@ -3,6 +3,7 @@ tags: forms
|
|
|
3
3
|
title: Selectable token XL
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Selectable token XL components are used to make a selection from a set of options, often used in filters or multi-select scenarios. They the most prominent selection component available.
|
|
6
7
|
%ul.list-inline.flex.mb-3
|
|
7
8
|
%li.selectable-token.xl
|
|
8
9
|
%input#selectabletokenxl1{type:"checkbox", checked:"true"}
|
|
@@ -3,6 +3,10 @@ tags: forms
|
|
|
3
3
|
title: Textarea
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading
|
|
7
|
+
Textareas are multi-line input fields that allow users to enter longer pieces of text. These examples use the
|
|
8
|
+
%code.tag autosize
|
|
9
|
+
%span library to automatically adjust the height of the textarea based on its content.
|
|
6
10
|
.form-grid.mb-heading
|
|
7
11
|
.form-group
|
|
8
12
|
%label.form-label Textarea
|
|
@@ -3,6 +3,7 @@ tags: forms
|
|
|
3
3
|
title: Toggle buttons
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading Toggle button groups allow users to select one option from a set of mutually exclusive options, styled as buttons.
|
|
6
7
|
.toggle-btn-group.mb-1
|
|
7
8
|
.selectable-token
|
|
8
9
|
%input#radiotoggle1{type:'radio', checked:'', name:'radio-togglegroup1', value:'1'}
|
|
@@ -3,6 +3,7 @@ tags: "forms"
|
|
|
3
3
|
title: Trix Editor
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
p.mb-heading Trix editor is a rich text editor for everyday writing. It allows users to format text and include code snippets in a user-friendly way.
|
|
6
7
|
.form-grid
|
|
7
8
|
.form-group.trix-editor
|
|
8
9
|
label.form-label(for='space_branding_full_description') Trix editor
|
|
@@ -53,20 +53,23 @@ fetchIcons(app)
|
|
|
53
53
|
<h4 class="section-title">Icon classes</h4>
|
|
54
54
|
</div>
|
|
55
55
|
<div class="grid gap-5 grid-cols-3">
|
|
56
|
-
<
|
|
57
|
-
<
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
56
|
+
<div>
|
|
57
|
+
<p class="mb-2">Here are the available icon classes which control the height of the icons.</p>
|
|
58
|
+
<dl class="list-inline">
|
|
59
|
+
<dd><span class="icon-xxs icon-check-circle-filled"></span></dd>
|
|
60
|
+
<dt>.icon-xxs</dt>
|
|
61
|
+
<dd><span class="icon-xs icon-check-circle-filled"></span></dd>
|
|
62
|
+
<dt>.icon-xs</dt>
|
|
63
|
+
<dd><span class="icon-sm icon-check-circle-filled"></span></dd>
|
|
64
|
+
<dt>.icon-sm</dt>
|
|
65
|
+
<dd><span class="icon icon-check-circle-filled"></span></dd>
|
|
66
|
+
<dt>.icon</dt>
|
|
67
|
+
<dd><span class="icon-lg icon-check-circle-filled"></span></dd>
|
|
68
|
+
<dt>.icon-lg</dt>
|
|
69
|
+
<dd><span class="icon-xl icon-check-circle-filled"></span></dd>
|
|
70
|
+
<dt>.icon-xl</dt>
|
|
71
|
+
</dl>
|
|
72
|
+
</div>
|
|
70
73
|
<div>
|
|
71
74
|
<p class="mb-2">Some icons have additional versions which you can use with the suffix <code class="bg-gray-lighter">-lg</code> and <code class="bg-gray-lighter">-xl</code></p>
|
|
72
75
|
<dl class="list-inline">
|
|
@@ -100,6 +103,7 @@ fetchIcons(app)
|
|
|
100
103
|
<div class="section-header">
|
|
101
104
|
<h4 class="section-title">Icon list</h4>
|
|
102
105
|
</div>
|
|
106
|
+
<p class="mb-heading">Here's a list of all available icons contained in our iconfont.</p>
|
|
103
107
|
<div class="grid grid-cols-3 gap-2 place-items-start pb-10" id="iconList"></div>
|
|
104
108
|
</section>
|
|
105
109
|
|
|
@@ -3,6 +3,7 @@ tags: layout
|
|
|
3
3
|
title: App layout structure
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading This is the basic structure of an application layout, including header, sidebar, main content area, metasidebar, and action bar.
|
|
6
7
|
.grid.gap-1px.p-xs.bg-card.rounded
|
|
7
8
|
%p.mb-heading .app-body
|
|
8
9
|
.p-xs.pl-md.bg-petrol-dark.text-white.rounded-t .header
|
|
@@ -16,6 +17,7 @@ title: App layout structure
|
|
|
16
17
|
.bg-petrol.text-white.p-xs.pl-md.rounded-br footer.actionbar
|
|
17
18
|
|
|
18
19
|
%h5.mt-md HTML structure
|
|
20
|
+
%p.mb-heading The following code snippet illustrates the HTML structure of the app layout components:
|
|
19
21
|
%code
|
|
20
22
|
<body class="app-body">
|
|
21
23
|
%br
|
|
@@ -3,9 +3,10 @@ tags: layout
|
|
|
3
3
|
title: Max-width capped
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading This page demonstrates the use of the .max-w-capped class to limit the maximum width of various elements for improved readability.
|
|
6
7
|
.card.bg-card.p-sm.max-w-capped.mb-spacing
|
|
7
8
|
%p Card with the class .max-width-capped. The card width will be capped to ensure readability.
|
|
8
|
-
%p.mb-sm.max-w-capped
|
|
9
|
+
%p.mb-sm.max-w-capped 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. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. 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. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
|
9
10
|
.form-grid.mb-sm.max-w-capped
|
|
10
11
|
.form-group
|
|
11
12
|
%label.form-label Input
|
|
@@ -3,6 +3,7 @@ tags: layout
|
|
|
3
3
|
title: Paddings
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
+
%p.mb-heading To provide more consistent padding throughout the application we have a range of custom spacing classes. In addition you can use everything TailWindCSS offers.
|
|
6
7
|
%dl.list-inline
|
|
7
8
|
%dd xxs
|
|
8
9
|
%dt.flex.flex-row.items-start.bg-card
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page-example.njk
|
|
3
|
+
title: "Actionbar"
|
|
4
|
+
tags: "layouts"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
%main.main-content.main-content-padding
|
|
8
|
+
%h1.mb-heading Layout with actionbar
|
|
9
|
+
%p.mb-heading This is a layout with an actionbar at the bottom of the page. The actionbar typically contains primary actions that the user can take, such as saving changes or submitting a form. This layout is useful for pages where you want to keep important actions easily accessible to the user.
|
|
10
|
+
%section.section
|
|
11
|
+
%h4.mb-heading Structure
|
|
12
|
+
.grid.gap-1px.p-xs.bg-gray-lightest.rounded.text-black
|
|
13
|
+
%p .app-body
|
|
14
|
+
.p-xs.pl-md.bg-petrol-dark.text-white.rounded-top .header
|
|
15
|
+
.bg-white.p-xs.pl-md.h-xxl .main-content
|
|
16
|
+
.bg-info.text-white.p-xs.pl-md.rounded-br .chat-container
|
|
17
|
+
.bg-petrol.text-white.p-xs.pl-md.rounded-bottom footer.actionbar
|
|
18
|
+
%h5.mt-md HTML structure
|
|
19
|
+
%code
|
|
20
|
+
<body class="app-body">
|
|
21
|
+
%br
|
|
22
|
+
.ml-md <header class="header">
|
|
23
|
+
.ml-md <main class="main-content">
|
|
24
|
+
.ml-md <div class="chat-container">
|
|
25
|
+
.ml-md <footer class="actionbar">
|
|
26
|
+
</body">
|
|
27
|
+
%section.section
|
|
28
|
+
%h2.mb-heading Dummy Content
|
|
29
|
+
%p Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
|
|
30
|
+
%p Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
|
|
31
|
+
%p Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
|
|
32
|
+
%p Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
|
|
33
|
+
%p Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur
|
|
34
|
+
%footer.actionbar
|
|
35
|
+
%button.btn.btn-default.btn-primary
|
|
36
|
+
%span.icon.icon-check-circle-filled.mr-icon-spacing
|
|
37
|
+
Primary
|
|
38
|
+
%button.btn.btn-default.btn-secondary
|
|
39
|
+
%span.icon.icon-check-circle-filled.mr-icon-spacing
|
|
40
|
+
Secondary
|
|
41
|
+
%button.btn.btn-default.btn-info
|
|
42
|
+
%span.icon.icon-check-circle-filled.mr-icon-spacing
|
|
43
|
+
Info
|
|
44
|
+
%button.btn-intercom
|
|
45
|
+
%span.icon.icon-intercom
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: page-example.njk
|
|
3
|
-
title: "
|
|
4
|
-
tags: "
|
|
3
|
+
title: "Basic"
|
|
4
|
+
tags: "layouts"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
%main.main-content.main-content-padding
|
|
8
8
|
%h1.mb-heading Basic layout
|
|
9
|
+
%p.mb-heading This is the basic layout structure used throughout the application. It consists of a header and a main content area.
|
|
9
10
|
%section.section
|
|
10
11
|
%h4.mb-heading Structure
|
|
11
12
|
.grid.gap-1px.p-xs.bg-gray-lightest.rounded.text-black
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: page-example-tester.njk
|
|
3
|
-
title: "
|
|
4
|
-
tags: "
|
|
3
|
+
title: "Chat page"
|
|
4
|
+
tags: "layouts"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
%nav.sidebar.tester{arialabel:'Sidebar'}
|
|
@@ -54,6 +54,7 @@ tags: "examples"
|
|
|
54
54
|
.navlink.disabled{href:""} Disabled
|
|
55
55
|
%main.main-content.main-content-padding
|
|
56
56
|
%h1.mb-heading Layout chat page
|
|
57
|
+
%p.mb-heading This is the layout for a chat page within the tester UI. In addition to other basic layout elements it contains a floating chat input at the bottom of the main content area.
|
|
57
58
|
%section.section
|
|
58
59
|
%section
|
|
59
60
|
.section-header
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: page-example.njk
|
|
3
|
-
title: "
|
|
4
|
-
tags: "
|
|
3
|
+
title: "Full layout plus chat window"
|
|
4
|
+
tags: "layouts"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
%nav.sidebar{arialabel:'Sidebar'}
|
|
@@ -33,6 +33,7 @@ tags: "examples"
|
|
|
33
33
|
Navlink with a long title to see how things are breaking into several lines and don't cause a broken layout
|
|
34
34
|
%main.main-content.main-content-padding
|
|
35
35
|
%h1.mb-heading Layout with sidebar, metasidebar and actionbar
|
|
36
|
+
%p.mb-heading This is a layout that includes a sidebar for navigation, a metasidebar for additional information or actions, and an actionbar at the bottom for primary actions. In addition to these elements, it also features a chat container for real-time communication. This layout is ideal for applications that require multiple interactive components while maintaining a clean and organized interface.
|
|
36
37
|
%section.section
|
|
37
38
|
.grid.gap-1px.p-xs.bg-gray-lightest.rounded
|
|
38
39
|
%p .app-body
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: page-example-customer.njk
|
|
3
|
-
title: "
|
|
4
|
-
tags: "
|
|
3
|
+
title: "Customer UI"
|
|
4
|
+
tags: "layouts"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
%nav.sidebar.customer.ds-removethisclass-flex{arialabel:'Sidebar'}
|
|
@@ -139,6 +139,7 @@ tags: "examples"
|
|
|
139
139
|
|
|
140
140
|
%main.main-content.main-content-padding
|
|
141
141
|
%h1.mb-heading Layout Customer UI
|
|
142
|
+
%p.mb-heading This is a layout for the Customer UI. It includes a sidebar for navigation, a metasidebar for additional information or actions, and an actionbar at the bottom for primary actions.
|
|
142
143
|
%section.section
|
|
143
144
|
.grid.gap-1px.p-xs.bg-gray-lightest.rounded
|
|
144
145
|
%p .app-body
|