Skip to content

Commit

Permalink
fix: handle empty title when not passed to icon and update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed Sep 27, 2024
1 parent 0de063b commit e00e5a0
Show file tree
Hide file tree
Showing 55 changed files with 319 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="accordion-tools"
>
<svg
aria-label=""
class="icon"
style="height: 20px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -65,6 +66,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button image"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -78,6 +80,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button listing"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -91,6 +94,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button video"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -109,6 +113,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="accordion-tools"
>
<svg
aria-label=""
class="icon"
style="height: 20px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -134,6 +139,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button text"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -152,6 +158,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="accordion-tools"
>
<svg
aria-label=""
class="icon"
style="height: 20px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -177,6 +184,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button image"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -190,6 +198,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button leadimage"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -203,6 +212,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button video"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -221,6 +231,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="accordion-tools"
>
<svg
aria-label=""
class="icon"
style="height: 20px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -246,6 +257,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button listing"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -259,6 +271,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button toc"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -272,6 +285,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button hero"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -285,6 +299,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button maps"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -298,6 +313,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button html"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -311,6 +327,7 @@ exports[`BlocksChooser Fallback BlockChooser component onMutateBlock 1`] = `
class="ui basic icon button table"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand Down Expand Up @@ -365,6 +382,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="accordion-tools"
>
<svg
aria-label=""
class="icon"
style="height: 20px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -390,6 +408,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button image"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -403,6 +422,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button listing"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -416,6 +436,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button video"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -434,6 +455,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="accordion-tools"
>
<svg
aria-label=""
class="icon"
style="height: 20px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -459,6 +481,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button text"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -477,6 +500,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="accordion-tools"
>
<svg
aria-label=""
class="icon"
style="height: 20px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -502,6 +526,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button image"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -515,6 +540,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button leadimage"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -528,6 +554,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button video"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -546,6 +573,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="accordion-tools"
>
<svg
aria-label=""
class="icon"
style="height: 20px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -571,6 +599,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button listing"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -584,6 +613,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button toc"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -597,6 +627,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button hero"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -610,6 +641,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button maps"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -623,6 +655,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button html"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand All @@ -636,6 +669,7 @@ exports[`BlocksChooser renders a BlockChooser component 1`] = `
class="ui basic icon button table"
>
<svg
aria-label=""
class="icon"
style="height: 36px; width: auto; fill: currentColor;"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ exports[`Renders a button 1`] = `
title="Add block"
>
<svg
aria-label=""
class="icon block-add-button"
style="height: 19px; width: auto; fill: currentColor;"
viewBox=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ exports[`Allow override of blocksConfig 1`] = `
tabindex="0"
>
<svg
aria-label=""
class="icon"
style="height: 18px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -59,6 +60,7 @@ exports[`Allow override of blocksConfig 1`] = `
class="ui basic icon button delete-button"
>
<svg
aria-label=""
class="icon"
style="height: 18px; width: auto; fill: currentColor;"
viewBox=""
Expand Down Expand Up @@ -87,6 +89,7 @@ exports[`Allow override of blocksConfig 1`] = `
tabindex="0"
>
<svg
aria-label=""
class="icon"
style="height: 18px; width: auto; fill: currentColor;"
viewBox=""
Expand Down Expand Up @@ -156,6 +159,7 @@ exports[`Allow override of blocksConfig 1`] = `
tabindex="0"
>
<svg
aria-label=""
class="icon"
style="height: 16px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -172,6 +176,7 @@ exports[`Allow override of blocksConfig 1`] = `
tabindex="0"
>
<svg
aria-label=""
class="icon"
style="width: auto; fill: currentColor;"
viewBox=""
Expand Down Expand Up @@ -218,6 +223,7 @@ exports[`Allow override of blocksConfig 1`] = `
tabindex="0"
>
<svg
aria-label=""
class="icon"
style="height: 16px; width: auto; fill: currentColor;"
viewBox=""
Expand All @@ -234,6 +240,7 @@ exports[`Allow override of blocksConfig 1`] = `
tabindex="0"
>
<svg
aria-label=""
class="icon"
style="width: auto; fill: currentColor;"
viewBox=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Array [
title="Clear image"
>
<svg
aria-label=""
className="icon"
dangerouslySetInnerHTML={
Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ exports[`renders a Lead Image block Sidebar component 1`] = `
onClick={[Function]}
>
<svg
aria-label=""
className="icon"
dangerouslySetInnerHTML={
Object {
Expand Down Expand Up @@ -96,6 +97,7 @@ exports[`renders a Lead Image block Sidebar component 1`] = `
onClick={[Function]}
>
<svg
aria-label=""
className="icon"
dangerouslySetInnerHTML={
Object {
Expand Down Expand Up @@ -124,6 +126,7 @@ exports[`renders a Lead Image block Sidebar component 1`] = `
onClick={[Function]}
>
<svg
aria-label=""
className="icon"
dangerouslySetInnerHTML={
Object {
Expand Down Expand Up @@ -152,6 +155,7 @@ exports[`renders a Lead Image block Sidebar component 1`] = `
onClick={[Function]}
>
<svg
aria-label=""
className="icon"
dangerouslySetInnerHTML={
Object {
Expand Down Expand Up @@ -186,6 +190,7 @@ exports[`renders a Lead Image block Sidebar component 1`] = `
>
Link Settings
<svg
aria-label=""
className="icon"
dangerouslySetInnerHTML={
Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ exports[`DateRangeFaceg renders a facet component with a date range widget 1`] =
type="button"
>
<svg
aria-label=""
class="icon close"
style="height: 24px; width: auto; fill: currentColor;"
viewBox=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exports[`FilterList renders filters listing component for search block 1`] = `
className="filter-list-title"
>
<svg
aria-label=""
className="icon"
dangerouslySetInnerHTML={
Object {
Expand Down
Loading

0 comments on commit e00e5a0

Please sign in to comment.