testio-tailwind 3.21.0 → 3.23.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.
Files changed (143) hide show
  1. package/AI_DESIGN_SYSTEM_REFERENCE.md +2618 -0
  2. package/package.json +1 -1
  3. package/src/_data/navigation.json +4 -0
  4. package/src/_includes/example-header-centered.njk +53 -0
  5. package/src/_includes/header.njk +8 -8
  6. package/src/_includes/page-with-sidebar.njk +10 -1
  7. package/src/_layouts/page-example-centered.njk +19 -0
  8. package/src/_layouts/page-example-darkmode.njk +19 -0
  9. package/src/assets/scripts/app.js +27 -0
  10. package/src/assets/stylesheets/components/actionbar.css +8 -0
  11. package/src/assets/stylesheets/components/designsystem/designsystem-styles.css +4 -2
  12. package/src/assets/stylesheets/components/header.css +22 -0
  13. package/src/assets/stylesheets/components/tables.css +4 -0
  14. package/src/pages/buttons/block.haml +1 -0
  15. package/src/pages/buttons/button_group.haml +1 -0
  16. package/src/pages/buttons/buttons-lg.haml +1 -0
  17. package/src/pages/buttons/buttons-round.haml +1 -0
  18. package/src/pages/buttons/buttons-sm.haml +1 -0
  19. package/src/pages/buttons/buttons-xl.haml +1 -0
  20. package/src/pages/buttons/buttons.haml +1 -0
  21. package/src/pages/buttons/buttons_input.haml +4 -0
  22. package/src/pages/buttons/dropdown-menu.haml +2 -11
  23. package/src/pages/buttons/square-buttons.haml +15 -0
  24. package/src/pages/components/alerts.haml +1 -0
  25. package/src/pages/components/banner_cards.haml +1 -0
  26. package/src/pages/components/card_badges.haml +8 -7
  27. package/src/pages/components/cards.haml +15 -22
  28. package/src/pages/components/cards_customer.haml +1 -0
  29. package/src/pages/components/cards_fixedwidth.haml +7 -0
  30. package/src/pages/components/cards_iconheader.haml +1 -0
  31. package/src/pages/components/cards_tester.haml +1 -0
  32. package/src/pages/components/descriptionlist.haml +12 -3
  33. package/src/pages/components/devices.haml +1 -0
  34. package/src/pages/components/drawer.haml +1 -0
  35. package/src/pages/components/drawer_filter.haml +1 -0
  36. package/src/pages/components/emptystate.haml +2 -0
  37. package/src/pages/{buttons → components}/info_popover.haml +2 -1
  38. package/src/pages/components/listitem_with_actionbar.haml +1 -0
  39. package/src/pages/components/listitem_with_footer.haml +1 -0
  40. package/src/pages/components/listitems.haml +1 -0
  41. package/src/pages/components/listitems_badge.haml +1 -0
  42. package/src/pages/components/listitems_collapsable.haml +1 -0
  43. package/src/pages/components/listitems_nested.haml +1 -0
  44. package/src/pages/components/listitems_selectable.haml +1 -0
  45. package/src/pages/components/loading_spinner.haml +1 -0
  46. package/src/pages/components/metasidebar.haml +1 -0
  47. package/src/pages/components/modal_details.haml +3 -1
  48. package/src/pages/components/notifications.haml +2 -1
  49. package/src/pages/components/user_item.haml +1 -0
  50. package/src/pages/forms/attachments.pug +71 -0
  51. package/src/pages/forms/checkboxes.haml +1 -0
  52. package/src/pages/forms/checkboxes_devices.haml +1 -0
  53. package/src/pages/forms/date-time.haml +1 -0
  54. package/src/pages/forms/dropzone.pug +38 -0
  55. package/src/pages/forms/flatpickr.haml +1 -1
  56. package/src/pages/forms/form-addon.haml +1 -0
  57. package/src/pages/forms/form-card.haml +1 -0
  58. package/src/pages/forms/form_grid.haml +1 -0
  59. package/src/pages/forms/form_hint.haml +1 -0
  60. package/src/pages/forms/forms.haml +1 -0
  61. package/src/pages/forms/radiobuttons.haml +1 -0
  62. package/src/pages/forms/rating_scale.haml +1 -0
  63. package/src/pages/forms/search.haml +1 -0
  64. package/src/pages/forms/selectable_token.haml +1 -0
  65. package/src/pages/forms/selectable_token_browsers.haml +1 -0
  66. package/src/pages/forms/selectable_token_lg.haml +1 -0
  67. package/src/pages/forms/selectable_token_xl.haml +1 -0
  68. package/src/pages/forms/textarea.haml +4 -0
  69. package/src/pages/forms/toggle-buttons.haml +1 -0
  70. package/src/pages/forms/toggle-switch.haml +1 -0
  71. package/src/pages/forms/trix_editor.pug +1 -0
  72. package/src/pages/icons/bug-icons.haml +1 -0
  73. package/src/pages/icons/index.njk +18 -14
  74. package/src/pages/icons/status-icons.haml +1 -0
  75. package/src/pages/layout/app_layout.haml +5 -1
  76. package/src/pages/layout/centered_layout.haml +26 -0
  77. package/src/pages/layout/darkmode.haml +9 -0
  78. package/src/pages/layout/margins.haml +1 -0
  79. package/src/pages/layout/max_width.haml +2 -1
  80. package/src/pages/layout/paddings.haml +1 -0
  81. package/src/pages/layout/spacing.haml +1 -0
  82. package/src/pages/{examples → layouts}/agenticqa_splitview.haml +1 -1
  83. package/src/pages/layouts/layout-actionbar.haml +45 -0
  84. package/src/pages/{examples → layouts}/layout-basic.haml +3 -2
  85. package/src/pages/layouts/layout-centered.haml +26 -0
  86. package/src/pages/{examples → layouts}/layout-chat.haml +3 -2
  87. package/src/pages/{examples → layouts}/layout-customer.haml +3 -2
  88. package/src/pages/{examples/layout-sidebar-actionbar.haml → layouts/layout-darkmode.haml} +20 -18
  89. package/src/pages/{examples → layouts}/layout-form-sidebar-actionbar-metasidebar.haml +5 -228
  90. package/src/pages/{examples/layout-sidebar-actionbar-metasidebar.haml → layouts/layout-full.haml} +3 -2
  91. package/src/pages/{examples → layouts}/layout-manager.haml +3 -2
  92. package/src/pages/{examples → layouts}/layout-metasidebar.haml +3 -2
  93. package/src/pages/{examples → layouts}/layout-sidebar.haml +3 -2
  94. package/src/pages/{examples → layouts}/layout-tester.haml +3 -2
  95. package/src/pages/{examples → layouts}/splitview-metasidebar.haml +3 -3
  96. package/src/pages/{examples → layouts}/splitview-testcases.haml +2 -2
  97. package/src/pages/{examples → layouts}/splitview.haml +3 -3
  98. package/src/pages/navigation/header-centered.haml +77 -0
  99. package/src/pages/navigation/header-manager.haml +1 -0
  100. package/src/pages/navigation/header-tester.haml +1 -0
  101. package/src/pages/navigation/header.haml +1 -0
  102. package/src/pages/navigation/header_customer.haml +1 -0
  103. package/src/pages/navigation/header_tester_epam.haml +1 -0
  104. package/src/pages/navigation/product_dropdown.haml +2 -0
  105. package/src/pages/navigation/radio_tabs.haml +1 -0
  106. package/src/pages/navigation/sidebar-manager.haml +2 -1
  107. package/src/pages/navigation/sidebar-tester-elements.haml +1 -0
  108. package/src/pages/navigation/sidebar-tester-seatlimitation.haml +1 -1
  109. package/src/pages/navigation/sidebar-tester.haml +1 -1
  110. package/src/pages/navigation/sidebar.haml +1 -0
  111. package/src/pages/navigation/sidebar_collapsables.haml +1 -0
  112. package/src/pages/navigation/sidebar_customer.haml +1 -0
  113. package/src/pages/navigation/tabnavigation.haml +1 -0
  114. package/src/pages/navigation/tabnavigation_actions.haml +1 -0
  115. package/src/pages/navigation/tabnavigation_pills.haml +1 -0
  116. package/src/pages/navigation/tabnavigation_sm.haml +1 -0
  117. package/src/pages/navigation/test-header-tester.haml +2 -0
  118. package/src/pages/tables/index.njk +7 -0
  119. package/src/pages/tables/tables-cellstyle.haml +38 -0
  120. package/src/pages/tables/tables-grid.haml +31 -0
  121. package/src/pages/tables/tables.haml +16 -0
  122. package/src/pages/tables/tables_alternating.haml +27 -0
  123. package/src/pages/tables/tables_borders.haml +22 -0
  124. package/src/pages/tables/tables_cells.haml +50 -0
  125. package/src/pages/tables/tables_footer.haml +27 -0
  126. package/src/pages/tables/tables_formrow.haml +31 -0
  127. package/src/pages/tables/tables_header.haml +22 -0
  128. package/src/pages/{components → tables}/tables_linked.haml +11 -10
  129. package/src/pages/typography/link_with_icon.haml +10 -2
  130. package/src/pages/typography/linked_icon.haml +6 -0
  131. package/src/pages/typography/section_header.haml +1 -0
  132. package/src/pages/typography/section_header_actions.haml +1 -0
  133. package/src/pages/typography/text_with_icon.haml +3 -2
  134. package/utils/filters.js +161 -0
  135. package/CLAUDE_DESIGN_SYSTEM_REFERENCE.md +0 -1978
  136. package/src/pages/buttons/link-with-icon.haml +0 -13
  137. package/src/pages/components/tables-cellstyle.pug +0 -285
  138. package/src/pages/components/tables-grid.pug +0 -258
  139. package/src/pages/components/tables.haml +0 -57
  140. package/src/pages/components/tables_cells.pug +0 -57
  141. package/src/pages/components/tables_formrow.haml +0 -55
  142. package/src/pages/examples/layout-actionbar.haml +0 -268
  143. package/src/pages/forms/uploads.pug +0 -101
@@ -3,6 +3,7 @@ tags: components
3
3
  title: List-item with actionbar
4
4
  ---
5
5
 
6
+ %p.mb-heading List items with action bars are used to provide a set of actions that can be performed on the list item. The action bar typically appears when the user hovers over or selects the list item, allowing for quick access to relevant actions.
6
7
  .list-listitems
7
8
  .listitem-with-footer
8
9
  %details.listitem
@@ -3,6 +3,7 @@ tags: components
3
3
  title: List-item with footer
4
4
  ---
5
5
 
6
+ %p.mb-heading List items with footers are used to provide additional actions or information related to the list item. The footer typically contains buttons or links for actions that can be performed on the item.
6
7
  .list-listitems
7
8
  .listitem-with-footer
8
9
  %details.listitem
@@ -3,6 +3,7 @@ tags: components
3
3
  title: List item
4
4
  ---
5
5
 
6
+ %p.mb-heading List items are used to display summarized information in lists.
6
7
  .list-listitems
7
8
  .listitem
8
9
  .listitem-title
@@ -3,6 +3,7 @@ tags: components
3
3
  title: List item badges
4
4
  ---
5
5
 
6
+ %p.mb-heading List item badges are used to highlight or indicate specific statuses or counts associated with list items. They can be styled differently to convey various meanings, such as success, danger, or informational states.
6
7
  .list-listitems
7
8
  .listitem
8
9
  .listitem-badge
@@ -3,6 +3,7 @@ tags: components
3
3
  title: List item collapsable
4
4
  ---
5
5
 
6
+ %p.mb-heading List items can be made collapsable using the HTML5 details tag. This allows users to expand and collapse additional content related to the list item as needed.
6
7
  .list-listitems
7
8
  %details.listitem
8
9
  %summary.listitem-header
@@ -3,6 +3,7 @@ tags: components
3
3
  title: List items nested
4
4
  ---
5
5
 
6
+ %p.mb-heading List items can contain nested list items, allowing for hierarchical organization of information. This is useful for displaying related data in a structured manner.
6
7
  .list-listitems
7
8
  %details.listitem
8
9
  %summary.listitem-header
@@ -3,6 +3,7 @@ tags: components
3
3
  title: List item selectable
4
4
  ---
5
5
 
6
+ %p.mb-heading List items can be made selectable by adding a checkbox to each item. This allows users to select one or more items from a list for further actions.
6
7
  .list-listitems
7
8
  .listitem
8
9
  .listitem-check
@@ -3,6 +3,7 @@ tags: components
3
3
  title: Loading spinner
4
4
  ---
5
5
 
6
+ %p.mb-heading Loading spinners are used to indicate that a process is ongoing. They can be customized in size and color to fit different design needs.
6
7
  .testio-loader-wrapper
7
8
  %svg.testio-loader-i{viewbox: "0 0 50 50"}
8
9
  %line.anim-bar.stroke{x1: "4px", x2: "4px", y1: "5px", y2: "45px"}
@@ -3,6 +3,7 @@ tags: components
3
3
  title: Metasidebar
4
4
  ---
5
5
 
6
+ %p.mb-heading Metasidebars are used to display additional contextual information alongside the main content. They can be expanded or collapsed by the user.
6
7
  %aside.metasidebar
7
8
  %details.metasidebar-wrapper{open:"true"}
8
9
  %summary.metasidebar-btn
@@ -1,8 +1,10 @@
1
1
  ---
2
2
  tags: components
3
- title: Modal - based on details tag
3
+ title: Modal
4
4
  ---
5
5
 
6
+ %p.mb-heading
7
+ Modals are used to display content in a layer above the main content. They can be opened and closed by the user, typically by clicking a button or link. They are an alternative to drawers.
6
8
  %p.mb-heading
7
9
  Add the class
8
10
  %code.bg-gray-lighter.rounded.mx-xxs .modal-close-btn
@@ -3,7 +3,8 @@ tags: components
3
3
  title: Notifications
4
4
  ---
5
5
 
6
- %p.mb-heading.prose remove the classes <code>relative z-0 top-0</code> in production
6
+ %p.mb-heading Notifications are used to inform users about important information or updates. They can replace alerts.
7
+ %p.mb-heading Remove the classes <code>relative z-0 top-0</code> in production
7
8
 
8
9
  .notification-container.relative.top-0.z-0
9
10
  %a.notification{href:""}
@@ -3,6 +3,7 @@ tags: components
3
3
  title: User item
4
4
  ---
5
5
 
6
+ %p.mb-heading User items are used to display user information such as profile pictures and names. They can be linked or have additional actions available.
6
7
  %dl.list-inline
7
8
  %dt standard
8
9
  %dd
@@ -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"}
@@ -3,6 +3,7 @@ tags: forms
3
3
  title: Checkboxes for devices
4
4
  ---
5
5
 
6
+ %p.mb-heading Checkboxes styled for selecting devices.
6
7
  .form-grid.single.narrow.mb-3
7
8
  .form-check.sm
8
9
  %input#devicecheck1{type:"checkbox", checked:"true"}
@@ -3,6 +3,7 @@ tags: "forms"
3
3
  title: Date and time inputs
4
4
  ---
5
5
 
6
+ %p.mb-heading Date and time inputs allow users to select dates and times using native browser controls.
6
7
  .form-grid
7
8
  .form-group
8
9
  %label.form-label Native date input
@@ -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: Form addon
4
4
  ---
5
5
 
6
+ %p.mb-heading Form input fields with addons showcasing different styles.
6
7
  .form-grid
7
8
  .form-group.with-addon
8
9
  %label.form-label Input with addon
@@ -3,6 +3,7 @@ tags: forms
3
3
  title: Form card
4
4
  ---
5
5
 
6
+ %p.mb-heading A card component containing a form with various input elements.
6
7
  .form-card
7
8
  .form-card-heading
8
9
  .form-card-title Form card title
@@ -3,6 +3,7 @@ tags: "forms"
3
3
  title: Form grid
4
4
  ---
5
5
 
6
+ %p.mb-heading Form grid layout managing the spacing between the form elements.
6
7
  .form-grid
7
8
  .bg-card.p-sm.rounded
8
9
  .bg-card.p-sm.rounded
@@ -3,6 +3,7 @@ tags: "forms"
3
3
  title: Form hint
4
4
  ---
5
5
 
6
+ %p.mb-heading Form input fields with various types of hints and error states.
6
7
  .form-grid
7
8
  .form-group
8
9
  %label.form-label Input with form hint
@@ -3,6 +3,7 @@ tags: "forms"
3
3
  title: Forms
4
4
  ---
5
5
 
6
+ %p.mb-heading Various form input fields showcasing different states including optional, disabled, and inverted styles.
6
7
  .form-grid
7
8
  .form-group
8
9
  %label.form-label 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: Rating scale
4
4
  ---
5
5
 
6
+ %p.mb-heading Rating scales allow users to provide feedback, often used in surveys and assessments.
6
7
  .form-grid
7
8
  .rating-wrapper
8
9
  .rating-scale
@@ -3,6 +3,7 @@ tags: "forms"
3
3
  title: Search
4
4
  ---
5
5
 
6
+ %p.mb-heading Various form input fields showcasing different states including optional, disabled, and inverted styles.
6
7
  .form-grid
7
8
  .form-group
8
9
  %label.form-label Search, direct input
@@ -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 for browsers
4
4
  ---
5
5
 
6
+ %p.mb-heading Selectable token components styled for selecting browsers on different devices.
6
7
  %ul
7
8
  %li
8
9
  %p.mb-xxs Smartphone | iOS 11
@@ -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: Toggle switch
4
4
  ---
5
5
 
6
+ %p.mb-heading Toggle switches allow users to turn an option on or off.
6
7
  .form-grid.single.narrow
7
8
  .form-toggle
8
9
  %label.toggle-switch{for:'toggle1active'}
@@ -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
@@ -3,6 +3,7 @@ tags: icons
3
3
  title: Bug icons
4
4
  ---
5
5
 
6
+ %p.mb-heading Here are bug and other issue and task related icons used throughout our applications.
6
7
  .grid.gap-5.grid-cols-3
7
8
  %dl.list-inline
8
9
  %dd.icon.icon-functional
@@ -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
- <dl class="list-inline">
57
- <dd><span class="icon-xxs icon-check-circle-filled"></span></dd>
58
- <dt>.icon-xxs</dt>
59
- <dd><span class="icon-xs icon-check-circle-filled"></span></dd>
60
- <dt>.icon-xs</dt>
61
- <dd><span class="icon-sm icon-check-circle-filled"></span></dd>
62
- <dt>.icon-sm</dt>
63
- <dd><span class="icon icon-check-circle-filled"></span></dd>
64
- <dt>.icon</dt>
65
- <dd><span class="icon-lg icon-check-circle-filled"></span></dd>
66
- <dt>.icon-lg</dt>
67
- <dd><span class="icon-xl icon-check-circle-filled"></span></dd>
68
- <dt>.icon-xl</dt>
69
- </dl>
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: icons
3
3
  title: Status icons
4
4
  ---
5
5
 
6
+ %p.mb-heading These status icons are used to represent various states or conditions within the complex workflow of our applications.
6
7
  %dl.list-inline
7
8
  %dd Open, Submitted
8
9
  %dl
@@ -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
  &#60body class=&quotapp-body&quot&#62
21
23
  %br
@@ -25,4 +27,6 @@ title: App layout structure
25
27
  .ml-md &#60main class=&quotmain-content&quot&#62
26
28
  .ml-md &#60aside class=&quotmetasidebar&quot&#62
27
29
  .ml-md &#60footer class=&quotactionbar&quot&#62
28
- &#60/body&quot&#62
30
+ &#60/body&quot&#62
31
+ %p.my-heading Take a look at the layout in action:
32
+ %a.btn.btn-primary{ href: "/pages/layouts/layout-full"} Layout example
@@ -0,0 +1,26 @@
1
+ ---
2
+ tags: layout
3
+ title: Centered layout
4
+ ---
5
+
6
+ %p.mb-heading This is the structure of a centered application layout. In this layout all elements are centered and have a max-width to ensure optimal readability on widescreen resolutions.
7
+ .grid.gap-1px.p-xs.bg-card.rounded.centered.text-center
8
+ %p.mb-heading .app-body
9
+ .p-xs.pl-md.bg-petrol-dark.text-white.rounded-t .header
10
+ .bg-white.p-md.flex.flex-col.items-center
11
+ %p.mb-heading .main-content.centered
12
+ .bg-gray-light.py-md.max-w-capped.w-full .centered-content
13
+ .bg-petrol.text-white.p-xs.pl-md.rounded-b footer.actionbar.centered
14
+
15
+ %h5.mt-md HTML structure
16
+ %p.mb-heading The following code snippet illustrates the HTML structure of the app layout components:
17
+ %code
18
+ &#60body class=&quotapp-body&quot&#62
19
+ %br
20
+ .ml-md &#60header class=&quotheader&quot&#62
21
+ .ml-md &#60main class=&quotmain-content centered&quot&#62
22
+ .ml-lg &#60div class=&quotcentered-content&quot&#62
23
+ .ml-md &#60footer class=&quotactionbar&quot&#62
24
+ &#60/body&quot&#62
25
+ %p.my-heading Take a look at the layout in action:
26
+ %a.btn.btn-primary{ href: "/pages/layouts/layout-centered"} Layout example
@@ -0,0 +1,9 @@
1
+ ---
2
+ tags: layout
3
+ title: Darkmode
4
+ ---
5
+
6
+ %p.mb-heading To use dark mode, add the class <code>dark</code> to the <code>body</code> element.
7
+ &#60body class=&quotapp-body dark&quot&#62
8
+ %p.my-heading Take a look at the layout in action:
9
+ %a.btn.btn-primary{ href: "/pages/layouts/layout-darkmode"} Layout example
@@ -3,6 +3,7 @@ tags: layout
3
3
  title: Margins
4
4
  ---
5
5
 
6
+ %p.mb-heading To provide more consistent margins 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.bg-card
@@ -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 This class should also be applied to text elements to ensure readability in the case of an endless amount of 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
+ %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
@@ -3,6 +3,7 @@ tags: layout
3
3
  title: Spacing
4
4
  ---
5
5
 
6
+ %p.mb-heading To provide more consistent spacing 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
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  layout: page-example-agenticqa.njk
3
3
  title: "Agentic QA - Splitview"
4
- tags: "examples"
4
+ tags: "layouts"
5
5
  ---
6
6
 
7
7
  %main.main-content.centered#ds-splitview-demo