Skip to content

Commit

Permalink
feat(TextInput): Convert TextInput (Part 4) - Update TextInputAction …
Browse files Browse the repository at this point in the history
…& TextInputInnerVisualSlot
  • Loading branch information
hussam-i-am committed Nov 13, 2024
1 parent 729c0fa commit a24acc3
Show file tree
Hide file tree
Showing 7 changed files with 1,040 additions and 956 deletions.
210 changes: 105 additions & 105 deletions packages/react/src/__tests__/__snapshots__/Autocomplete.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@

exports[`snapshots renders a custom empty state message 1`] = `
[
.c0 {
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
.c0 {
font-size: 14px;
line-height: 20px;
color: var(--fgColor-default,var(--color-fg-default,#1F2328));
Expand Down Expand Up @@ -95,20 +109,6 @@ exports[`snapshots renders a custom empty state message 1`] = `
padding-right: 12px;
}
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
@media (min-width:768px) {
.c0 {
font-size: 14px;
Expand Down Expand Up @@ -177,7 +177,21 @@ exports[`snapshots renders a custom empty state message 1`] = `

exports[`snapshots renders a loading state 1`] = `
[
.c0 {
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
.c0 {
font-size: 14px;
line-height: 20px;
color: var(--fgColor-default,var(--color-fg-default,#1F2328));
Expand Down Expand Up @@ -270,20 +284,6 @@ exports[`snapshots renders a loading state 1`] = `
padding-right: 12px;
}
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
@media (min-width:768px) {
.c0 {
font-size: 14px;
Expand Down Expand Up @@ -409,7 +409,21 @@ exports[`snapshots renders a loading state 1`] = `

exports[`snapshots renders a menu that contains an item to add to the menu 1`] = `
[
.c0 {
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
.c0 {
font-size: 14px;
line-height: 20px;
color: var(--fgColor-default,var(--color-fg-default,#1F2328));
Expand Down Expand Up @@ -502,20 +516,6 @@ exports[`snapshots renders a menu that contains an item to add to the menu 1`] =
padding-right: 12px;
}
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
@media (forced-colors:active) {
}
Expand Down Expand Up @@ -1260,7 +1260,21 @@ exports[`snapshots renders a menu that contains an item to add to the menu 1`] =

exports[`snapshots renders a multiselect input 1`] = `
[
.c0 {
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
.c0 {
font-size: 14px;
line-height: 20px;
color: var(--fgColor-default,var(--color-fg-default,#1F2328));
Expand Down Expand Up @@ -1353,20 +1367,6 @@ exports[`snapshots renders a multiselect input 1`] = `
padding-right: 12px;
}
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
@media (forced-colors:active) {
}
Expand Down Expand Up @@ -1989,7 +1989,21 @@ exports[`snapshots renders a multiselect input 1`] = `

exports[`snapshots renders a multiselect input with selected menu items 1`] = `
[
.c0 {
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
.c0 {
font-size: 14px;
line-height: 20px;
color: var(--fgColor-default,var(--color-fg-default,#1F2328));
Expand Down Expand Up @@ -2082,20 +2096,6 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `
padding-right: 12px;
}
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
@media (forced-colors:active) {
}
Expand Down Expand Up @@ -2901,7 +2901,21 @@ exports[`snapshots renders a multiselect input with selected menu items 1`] = `

exports[`snapshots renders a single select input 1`] = `
[
.c0 {
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
.c0 {
font-size: 14px;
line-height: 20px;
color: var(--fgColor-default,var(--color-fg-default,#1F2328));
Expand Down Expand Up @@ -2994,20 +3008,6 @@ exports[`snapshots renders a single select input 1`] = `
padding-right: 12px;
}
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
@media (forced-colors:active) {
}
Expand Down Expand Up @@ -4005,7 +4005,21 @@ exports[`snapshots renders with a custom text input component 1`] = `

exports[`snapshots renders with an input value 1`] = `
[
.c0 {
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
.c0 {
font-size: 14px;
line-height: 20px;
color: var(--fgColor-default,var(--color-fg-default,#1F2328));
Expand Down Expand Up @@ -4098,20 +4112,6 @@ exports[`snapshots renders with an input value 1`] = `
padding-right: 12px;
}
.c2 {
border: 0;
font-size: inherit;
font-family: inherit;
background-color: transparent;
-webkit-appearance: none;
color: inherit;
width: 100%;
}
.c2:focus {
outline: 0;
}
@media (forced-colors:active) {
}
Expand Down
Loading

0 comments on commit a24acc3

Please sign in to comment.