Skip to content

Commit

Permalink
chore(DFD-491): Update ArrayItem styles (#5113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuchet authored Jan 15, 2024
1 parent 2a65607 commit 2065869
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 30 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-crabs-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@talend/react-forms': minor
---

chore(DFD-491): Update ArrayItem styles
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function ArrayItem(props) {
id: id && `${id}-delete`,
onClick: event => onRemove(event, index),
disabled: widgetIsDisabled,
icon: 'talend-trash',
icon: 'trash',
};
const actions = [];
if (!readOnly) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
.control {
flex-grow: 0;
flex-shrink: 0;
border-right: tokens.$coral-border-s-solid tokens.$coral-color-neutral-border-weak;
display: flex;
flex-direction: column;
justify-content: space-between;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,14 @@ exports[`Array component should render array 1`] = `
>
<svg
aria-hidden="true"
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-trash"
focusable="false"
name="talend-trash"
pointer-events="none"
shape-rendering="geometricPrecision"
/>
style="width: 1.6rem; height: 1.6rem;"
>
<use
xlink:href="#trash:M"
/>
</svg>
</span>
</button>
</div>
Expand Down Expand Up @@ -377,12 +379,14 @@ exports[`Array component should render array 1`] = `
>
<svg
aria-hidden="true"
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-trash"
focusable="false"
name="talend-trash"
pointer-events="none"
shape-rendering="geometricPrecision"
/>
style="width: 1.6rem; height: 1.6rem;"
>
<use
xlink:href="#trash:M"
/>
</svg>
</span>
</button>
</div>
Expand Down Expand Up @@ -558,12 +562,14 @@ exports[`Array component should render array 1`] = `
>
<svg
aria-hidden="true"
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-trash"
focusable="false"
name="talend-trash"
pointer-events="none"
shape-rendering="geometricPrecision"
/>
style="width: 1.6rem; height: 1.6rem;"
>
<use
xlink:href="#trash:M"
/>
</svg>
</span>
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,14 @@ exports[`Array Item component should render control panel with item content 1`]
>
<svg
aria-hidden="true"
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-trash"
focusable="false"
name="talend-trash"
pointer-events="none"
shape-rendering="geometricPrecision"
/>
style="width: 1.6rem; height: 1.6rem;"
>
<use
xlink:href="#trash:M"
/>
</svg>
</span>
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,14 @@ exports[`Default Array Template component should render default array template 1
>
<svg
aria-hidden="true"
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-trash"
focusable="false"
name="talend-trash"
pointer-events="none"
shape-rendering="geometricPrecision"
/>
style="width: 1.6rem; height: 1.6rem;"
>
<use
xlink:href="#trash:M"
/>
</svg>
</span>
</button>
</div>
Expand Down Expand Up @@ -227,12 +229,14 @@ exports[`Default Array Template component should render default array template 1
>
<svg
aria-hidden="true"
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-trash"
focusable="false"
name="talend-trash"
pointer-events="none"
shape-rendering="geometricPrecision"
/>
style="width: 1.6rem; height: 1.6rem;"
>
<use
xlink:href="#trash:M"
/>
</svg>
</span>
</button>
</div>
Expand Down Expand Up @@ -318,12 +322,14 @@ exports[`Default Array Template component should render default array template 1
>
<svg
aria-hidden="true"
class="tc-svg-icon tc-icon theme-svg tc-icon-name-talend-trash"
focusable="false"
name="talend-trash"
pointer-events="none"
shape-rendering="geometricPrecision"
/>
style="width: 1.6rem; height: 1.6rem;"
>
<use
xlink:href="#trash:M"
/>
</svg>
</span>
</button>
</div>
Expand Down

0 comments on commit 2065869

Please sign in to comment.