testio-tailwind 0.2.1 → 0.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testio-tailwind",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Tailwind based design system for Test IO",
5
5
  "scripts": {
6
6
  "clean": "del dist",
@@ -29,15 +29,6 @@
29
29
  {% endif %}
30
30
  {{ section.templateContent | safe }}
31
31
 
32
- <details class="mt-3">
33
- <summary class="btn btn-sm btn-secondary">
34
- <span class="icon icon-format-code mr-icon-spacing"></span>
35
- <span>Show source</span>
36
- </summary>
37
- <div class="prose max-w-none bg-gray-light p-2 rounded mt-1 mb-1">
38
- <pre><code class="code html-preview">{{ section.templateContent | trim }}</code></pre>
39
- </div>
40
- </details>
41
32
  </section>
42
33
  {%- endfor -%}
43
34
  </article>
@@ -30,7 +30,7 @@
30
30
  }
31
31
 
32
32
  em {
33
- @apply px-xxs text-white font-normal bg-info rounded;
33
+ @apply px-xxs text-white font-normal not-italic bg-info rounded;
34
34
  }
35
35
 
36
36
  code {
@@ -290,6 +290,7 @@ module.exports = {
290
290
  '4-auto': 'auto auto auto auto',
291
291
  '3-auto': 'auto auto auto',
292
292
  '2-auto': 'auto auto',
293
+ '2-auto-fr': 'auto auto 1fr',
293
294
  'auto-fr-auto': 'auto 1fr auto',
294
295
  'auto-fr-2-auto': 'auto 1fr auto auto',
295
296
  'auto-fr': 'auto 1fr',
@@ -48,7 +48,7 @@ fetchIcons(app)
48
48
 
49
49
  <h1 class="mb-8">Icons</h1>
50
50
  {%- for section in collection -%}
51
- <section class="space-y-6" id="{{ section.data.title }}">
51
+ <section class="mb-section-margin" id="{{ section.data.title }}">
52
52
  <div class="section-header">
53
53
  <h4 class="section-title">{{ section.data.title }}</h4>
54
54
  </div>
@@ -60,22 +60,14 @@ fetchIcons(app)
60
60
  {% endif %}
61
61
  {{ section.templateContent | safe }}
62
62
 
63
- <details class="mt-3">
64
- <summary class="btn btn-sm btn-secondary inline-block cursor-pointer mb-2">
65
- Show source
66
- </summary>
67
- <div class="prose max-w-none bg-gray-light p-2 rounded mb-1">
68
- <pre><code class="html-preview">{{ section.templateContent | trim }}</code></pre>
69
- </div>
70
- </details>
71
63
  </section>
72
64
  {%- endfor -%}
73
65
 
74
- <section>
75
- <div class="section-header">
76
- <h4 class="section-title">Icon list</h4>
77
- </div>
78
- <div class="grid grid-cols-3 gap-2 place-items-start pb-10" id="iconList"></div>
66
+ <section class="mb-section-margin">
67
+ <div class="section-header">
68
+ <h4 class="section-title">Icon list</h4>
69
+ </div>
70
+ <div class="grid grid-cols-3 gap-2 place-items-start pb-10" id="iconList"></div>
79
71
  </section>
80
72
 
81
73
  </main>
@@ -4,13 +4,13 @@ title: App layout structure
4
4
  ---
5
5
 
6
6
  .grid.gap-1px.p-xs.bg-gray-lightest.rounded
7
- %p .app-body
8
- .p-xs.pl-md.bg-petrol-dark.text-white.rounded-top .header
9
- .grid.grid-cols-2-auto-fr.gap-1px
7
+ %p.mb-heading .app-body
8
+ .p-xs.pl-md.bg-petrol-dark.text-white.rounded-t .header
9
+ .grid.grid-cols-auto-fr.gap-1px
10
10
  .bg-petrol-dark.text-white.p-xs.pl-md.w-sidebar.rounded-bl nav.sidebar
11
11
  .grid.gap-1px
12
12
  .bg-gray-light.p-xs.pl-md .test-header.tester
13
- .grid.grid-cols-2-fr-auto
13
+ .grid.grid-cols-3-1
14
14
  .bg-white.p-xs.pl-md.h-xxl .main-content
15
15
  .bg-gray-lighter.p-xs.pl-md.w-metasidebar aside.metasidebar
16
16
  .bg-petrol.text-white.p-xs.pl-md.rounded-br footer.actionbar
@@ -4,4 +4,4 @@ permalink: layout/
4
4
  ---
5
5
 
6
6
  {% set collection = collections.layout %}
7
- {% include "page-with-sidebar.njk" %}
7
+ {% include "page-with-sidebar-nocode.njk" %}
@@ -3,7 +3,7 @@ tags: layout
3
3
  title: Max-width capped
4
4
  ---
5
5
 
6
- .card.bg-gray-lighter.p-sm.max-w-capped
6
+ .card.bg-gray-lighter.p-sm.max-w-capped.mb-spacing
7
7
  %p Card with the class .max-width-capped. The card width will be capped to ensure readability.
8
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
9
  .form-grid.mb-sm.max-w-capped
@@ -14442,6 +14442,7 @@ a.user-item:hover,
14442
14442
  padding-left: 5px;
14443
14443
  padding-right: 5px;
14444
14444
  font-weight: 400;
14445
+ font-style: normal;
14445
14446
  --tw-text-opacity: 1;
14446
14447
  color: rgba(255, 255, 255, var(--tw-text-opacity));
14447
14448
  }
@@ -50858,6 +50859,10 @@ details.card-section[open] .card-section-header {
50858
50859
  grid-template-columns: auto auto;
50859
50860
  }
50860
50861
 
50862
+ .grid-cols-2-auto-fr{
50863
+ grid-template-columns: auto auto 1fr;
50864
+ }
50865
+
50861
50866
  .grid-cols-auto-fr-auto{
50862
50867
  grid-template-columns: auto 1fr auto;
50863
50868
  }
@@ -115320,6 +115325,10 @@ details.card-section[open] .card-section-header {
115320
115325
  grid-template-columns: auto auto;
115321
115326
  }
115322
115327
 
115328
+ .sm\:grid-cols-2-auto-fr{
115329
+ grid-template-columns: auto auto 1fr;
115330
+ }
115331
+
115323
115332
  .sm\:grid-cols-auto-fr-auto{
115324
115333
  grid-template-columns: auto 1fr auto;
115325
115334
  }
@@ -179770,6 +179779,10 @@ details.card-section[open] .card-section-header {
179770
179779
  grid-template-columns: auto auto;
179771
179780
  }
179772
179781
 
179782
+ .md\:grid-cols-2-auto-fr{
179783
+ grid-template-columns: auto auto 1fr;
179784
+ }
179785
+
179773
179786
  .md\:grid-cols-auto-fr-auto{
179774
179787
  grid-template-columns: auto 1fr auto;
179775
179788
  }
@@ -244220,6 +244233,10 @@ details.card-section[open] .card-section-header {
244220
244233
  grid-template-columns: auto auto;
244221
244234
  }
244222
244235
 
244236
+ .lg\:grid-cols-2-auto-fr{
244237
+ grid-template-columns: auto auto 1fr;
244238
+ }
244239
+
244223
244240
  .lg\:grid-cols-auto-fr-auto{
244224
244241
  grid-template-columns: auto 1fr auto;
244225
244242
  }
@@ -308670,6 +308687,10 @@ details.card-section[open] .card-section-header {
308670
308687
  grid-template-columns: auto auto;
308671
308688
  }
308672
308689
 
308690
+ .xl\:grid-cols-2-auto-fr{
308691
+ grid-template-columns: auto auto 1fr;
308692
+ }
308693
+
308673
308694
  .xl\:grid-cols-auto-fr-auto{
308674
308695
  grid-template-columns: auto 1fr auto;
308675
308696
  }
@@ -373120,6 +373141,10 @@ details.card-section[open] .card-section-header {
373120
373141
  grid-template-columns: auto auto;
373121
373142
  }
373122
373143
 
373144
+ .\32xl\:grid-cols-2-auto-fr{
373145
+ grid-template-columns: auto auto 1fr;
373146
+ }
373147
+
373123
373148
  .\32xl\:grid-cols-auto-fr-auto{
373124
373149
  grid-template-columns: auto 1fr auto;
373125
373150
  }
@@ -437570,6 +437595,10 @@ details.card-section[open] .card-section-header {
437570
437595
  grid-template-columns: auto auto;
437571
437596
  }
437572
437597
 
437598
+ .\33xl\:grid-cols-2-auto-fr{
437599
+ grid-template-columns: auto auto 1fr;
437600
+ }
437601
+
437573
437602
  .\33xl\:grid-cols-auto-fr-auto{
437574
437603
  grid-template-columns: auto 1fr auto;
437575
437604
  }