Skip to content

Commit a0acc99

Browse files
committed
OEL-4230: Remove spaceless from templates and fix for tests whitespace.
1 parent 6fd6d68 commit a0acc99

File tree

77 files changed

+238
-387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+238
-387
lines changed

src/components/bcl-accordion/accordion.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{#
42
Parameters:
53
- title (string) (default: '')
@@ -141,4 +139,3 @@
141139
</div>
142140
{% endif %}
143141

144-
{% endapply %}

src/components/bcl-alert/alert.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{# Parameters:
42
- message (string) (default: '')
53
- heading (string) (default: '')
@@ -80,4 +78,3 @@
8078
{%- endif -%}
8179
</div>
8280

83-
{% endapply %}

src/components/bcl-badge/badge.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{# Parameters:
42
- label (string) (default: '')
53
- background: (string) (default: 'primary')
@@ -76,4 +74,3 @@
7674
</span>
7775
{%- endif -%}
7876

79-
{% endapply %}

src/components/bcl-blockquote/blockquote.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{# Parameters:
42
- title (string) (default: '')
53
- title_tag (string) (default: 'h2')
@@ -70,4 +68,3 @@
7068
{% endif %}
7169
</figure>
7270

73-
{% endapply %}

src/components/bcl-breadcrumb/breadcrumb.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{# Parameters:
42
- links (link[]) (default: [])
53
- icon_path (string) (default: '')
@@ -59,4 +57,3 @@
5957
</nav>
6058
{% endif %}
6159

62-
{% endapply %}

src/components/bcl-button-group/button-group.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{# Parameters:
42
- vertical (boolean) (default: false)
53
- size (string) (default: 'md')
@@ -64,4 +62,3 @@
6462
</div>
6563
{% endif %}
6664

67-
{% endapply %}

src/components/bcl-button/button.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{#
42
Parameters:
53
- label (string) (default: '')
@@ -111,4 +109,3 @@
111109
{%- endif -%}
112110
</button>
113111

114-
{% endapply %}

src/components/bcl-card-layout/__snapshots__/card-layout.test.js.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ exports[`OE - Card grid renders correctly with cards having equal height 1`] = `
585585
class="col"
586586
>
587587
<article
588-
class="mb-3 h-100 card"
588+
class="mb-3 card h-100"
589589
>
590590
<div
591591
class="card-header"
@@ -632,7 +632,7 @@ exports[`OE - Card grid renders correctly with cards having equal height 1`] = `
632632
class="col"
633633
>
634634
<article
635-
class="mb-3 h-100 card"
635+
class="mb-3 card h-100"
636636
>
637637
<div
638638
class="card-header"
@@ -678,7 +678,7 @@ exports[`OE - Card grid renders correctly with cards having equal height 1`] = `
678678
class="col"
679679
>
680680
<article
681-
class="mb-3 h-100 card"
681+
class="mb-3 card h-100"
682682
>
683683
<div
684684
class="card-header"
@@ -730,7 +730,7 @@ exports[`OE - Card grid renders correctly with cards having equal height 1`] = `
730730
class="col"
731731
>
732732
<article
733-
class="mb-3 h-100 card"
733+
class="mb-3 card h-100"
734734
>
735735
<div
736736
class="card-header"
@@ -777,7 +777,7 @@ exports[`OE - Card grid renders correctly with cards having equal height 1`] = `
777777
class="col"
778778
>
779779
<article
780-
class="mb-3 h-100 card"
780+
class="mb-3 card h-100"
781781
>
782782
<div
783783
class="card-header"
@@ -819,7 +819,7 @@ exports[`OE - Card grid renders correctly with cards having equal height 1`] = `
819819
class="col"
820820
>
821821
<article
822-
class="mb-3 h-100 card"
822+
class="mb-3 card h-100"
823823
>
824824
<div
825825
class="card-header"

src/components/bcl-card-layout/card-layout.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{# Parameters:
42
- type (string) (default: 'group')
53
options: ['group', 'grid', 'masonry']
@@ -84,4 +82,3 @@
8482
{% endif %}
8583
</div>
8684

87-
{% endapply %}

src/components/bcl-card/card.html.twig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
{% apply spaceless %}
2-
31
{# Parameters:
42
- title: (string) (default: '')
53
- title_tag: (string) (default: 'h1')
@@ -272,4 +270,3 @@
272270
{% endif %}
273271
</article>
274272

275-
{% endapply %}

0 commit comments

Comments
 (0)