diff --git a/.changeset/smooth-steaks-hug.md b/.changeset/smooth-steaks-hug.md new file mode 100644 index 00000000000..e6b22a508ab --- /dev/null +++ b/.changeset/smooth-steaks-hug.md @@ -0,0 +1,5 @@ +--- +'@primer/react': minor +--- + +Convert `_VisuallyHidden` internal component to CSS modules diff --git a/packages/react/src/Autocomplete/__snapshots__/Autocomplete.test.tsx.snap b/packages/react/src/Autocomplete/__snapshots__/Autocomplete.test.tsx.snap index de8a9e9fec6..6b44de82cf6 100644 --- a/packages/react/src/Autocomplete/__snapshots__/Autocomplete.test.tsx.snap +++ b/packages/react/src/Autocomplete/__snapshots__/Autocomplete.test.tsx.snap @@ -27,21 +27,8 @@ exports[`snapshots renders a custom empty state message 1`] = ` type="text" /> , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - -
, - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - -
, - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - -
    , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - -
      , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - -
        , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - -
          , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - -
            , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - -
            respects the inline prop 1`] = `
            `; exports[`CircleBadge > respects the variant prop 1`] = `
            `; exports[`CircleBadge > uses the size prop to override the variant prop 1`] = `
            `; diff --git a/packages/react/src/TextInput/__snapshots__/TextInput.test.tsx.snap b/packages/react/src/TextInput/__snapshots__/TextInput.test.tsx.snap index e3b775872b2..d94a8790436 100644 --- a/packages/react/src/TextInput/__snapshots__/TextInput.test.tsx.snap +++ b/packages/react/src/TextInput/__snapshots__/TextInput.test.tsx.snap @@ -642,20 +642,7 @@ exports[`TextInput renders trailingVisual 4`] = ` exports[`TextInput renders with a loading indicator 1`] = ` [ - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -714,20 +701,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
            , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -824,20 +798,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
            , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -896,20 +857,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
            , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -1030,20 +978,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
            , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -1164,20 +1099,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
            , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -1299,20 +1221,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
          , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -1395,20 +1304,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
        , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -1530,20 +1426,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
      , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -1626,20 +1509,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
    , - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -1786,20 +1656,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
, - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading @@ -1945,20 +1802,7 @@ exports[`TextInput renders with a loading indicator 1`] = `
, - .c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - - Loading diff --git a/packages/react/src/TextInputWithTokens/__snapshots__/TextInputWithTokens.test.tsx.snap b/packages/react/src/TextInputWithTokens/__snapshots__/TextInputWithTokens.test.tsx.snap index 686c364b211..d2c334bfc1b 100644 --- a/packages/react/src/TextInputWithTokens/__snapshots__/TextInputWithTokens.test.tsx.snap +++ b/packages/react/src/TextInputWithTokens/__snapshots__/TextInputWithTokens.test.tsx.snap @@ -65,7 +65,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > zero (press backspace or delete to remove) @@ -110,7 +110,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > one (press backspace or delete to remove) @@ -155,7 +155,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > two (press backspace or delete to remove) @@ -200,7 +200,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > three (press backspace or delete to remove) @@ -245,7 +245,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > four (press backspace or delete to remove) @@ -290,7 +290,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > five (press backspace or delete to remove) @@ -335,7 +335,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > six (press backspace or delete to remove) @@ -380,7 +380,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > seven (press backspace or delete to remove) @@ -492,7 +492,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > zero (press backspace or delete to remove) @@ -537,7 +537,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > one (press backspace or delete to remove) @@ -582,7 +582,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > two (press backspace or delete to remove) @@ -627,7 +627,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > three (press backspace or delete to remove) @@ -672,7 +672,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > four (press backspace or delete to remove) @@ -717,7 +717,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > five (press backspace or delete to remove) @@ -762,7 +762,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > six (press backspace or delete to remove) @@ -807,7 +807,7 @@ exports[`TextInputWithTokens > renders a leadingVisual and trailingVisual 1`] = > seven (press backspace or delete to remove) @@ -957,7 +957,7 @@ exports[`TextInputWithTokens > renders a truncated set of tokens 1`] = ` > zero (press backspace or delete to remove) @@ -1002,7 +1002,7 @@ exports[`TextInputWithTokens > renders a truncated set of tokens 1`] = ` > one (press backspace or delete to remove) @@ -1078,7 +1078,7 @@ exports[`TextInputWithTokens > renders a truncated set of tokens 1`] = ` > zero (press backspace or delete to remove) @@ -1123,7 +1123,7 @@ exports[`TextInputWithTokens > renders a truncated set of tokens 1`] = ` > one (press backspace or delete to remove) @@ -1371,7 +1371,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > zero (press backspace or delete to remove) @@ -1416,7 +1416,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > one (press backspace or delete to remove) @@ -1461,7 +1461,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > two (press backspace or delete to remove) @@ -1506,7 +1506,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > three (press backspace or delete to remove) @@ -1551,7 +1551,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > four (press backspace or delete to remove) @@ -1596,7 +1596,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > five (press backspace or delete to remove) @@ -1641,7 +1641,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > six (press backspace or delete to remove) @@ -1686,7 +1686,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > seven (press backspace or delete to remove) @@ -1756,7 +1756,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > zero (press backspace or delete to remove) @@ -1801,7 +1801,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > one (press backspace or delete to remove) @@ -1846,7 +1846,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > two (press backspace or delete to remove) @@ -1891,7 +1891,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > three (press backspace or delete to remove) @@ -1936,7 +1936,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > four (press backspace or delete to remove) @@ -1981,7 +1981,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > five (press backspace or delete to remove) @@ -2026,7 +2026,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > six (press backspace or delete to remove) @@ -2071,7 +2071,7 @@ exports[`TextInputWithTokens > renders at a maximum height when specified 1`] = > seven (press backspace or delete to remove) @@ -2200,7 +2200,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > zero (press backspace or delete to remove) @@ -2245,7 +2245,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > one (press backspace or delete to remove) @@ -2290,7 +2290,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > two (press backspace or delete to remove) @@ -2335,7 +2335,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > three (press backspace or delete to remove) @@ -2380,7 +2380,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > four (press backspace or delete to remove) @@ -2425,7 +2425,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > five (press backspace or delete to remove) @@ -2470,7 +2470,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > six (press backspace or delete to remove) @@ -2515,7 +2515,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > seven (press backspace or delete to remove) @@ -2583,7 +2583,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > zero (press backspace or delete to remove) @@ -2628,7 +2628,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > one (press backspace or delete to remove) @@ -2673,7 +2673,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > two (press backspace or delete to remove) @@ -2718,7 +2718,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > three (press backspace or delete to remove) @@ -2763,7 +2763,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > four (press backspace or delete to remove) @@ -2808,7 +2808,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > five (press backspace or delete to remove) @@ -2853,7 +2853,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > six (press backspace or delete to remove) @@ -2898,7 +2898,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 1`] = ` > seven (press backspace or delete to remove) @@ -3027,7 +3027,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > zero (press backspace or delete to remove) @@ -3072,7 +3072,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > one (press backspace or delete to remove) @@ -3117,7 +3117,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > two (press backspace or delete to remove) @@ -3162,7 +3162,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > three (press backspace or delete to remove) @@ -3207,7 +3207,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > four (press backspace or delete to remove) @@ -3252,7 +3252,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > five (press backspace or delete to remove) @@ -3297,7 +3297,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > six (press backspace or delete to remove) @@ -3342,7 +3342,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > seven (press backspace or delete to remove) @@ -3409,7 +3409,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > zero (press backspace or delete to remove) @@ -3454,7 +3454,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > one (press backspace or delete to remove) @@ -3499,7 +3499,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > two (press backspace or delete to remove) @@ -3544,7 +3544,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > three (press backspace or delete to remove) @@ -3589,7 +3589,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > four (press backspace or delete to remove) @@ -3634,7 +3634,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > five (press backspace or delete to remove) @@ -3679,7 +3679,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > six (press backspace or delete to remove) @@ -3724,7 +3724,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > seven (press backspace or delete to remove) @@ -3792,7 +3792,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > zero (press backspace or delete to remove) @@ -3837,7 +3837,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > one (press backspace or delete to remove) @@ -3882,7 +3882,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > two (press backspace or delete to remove) @@ -3927,7 +3927,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > three (press backspace or delete to remove) @@ -3972,7 +3972,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > four (press backspace or delete to remove) @@ -4017,7 +4017,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > five (press backspace or delete to remove) @@ -4062,7 +4062,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > six (press backspace or delete to remove) @@ -4107,7 +4107,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 2`] = ` > seven (press backspace or delete to remove) @@ -4236,7 +4236,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > zero (press backspace or delete to remove) @@ -4281,7 +4281,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > one (press backspace or delete to remove) @@ -4326,7 +4326,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > two (press backspace or delete to remove) @@ -4371,7 +4371,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > three (press backspace or delete to remove) @@ -4416,7 +4416,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > four (press backspace or delete to remove) @@ -4461,7 +4461,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > five (press backspace or delete to remove) @@ -4506,7 +4506,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > six (press backspace or delete to remove) @@ -4551,7 +4551,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > seven (press backspace or delete to remove) @@ -4618,7 +4618,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > zero (press backspace or delete to remove) @@ -4663,7 +4663,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > one (press backspace or delete to remove) @@ -4708,7 +4708,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > two (press backspace or delete to remove) @@ -4753,7 +4753,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > three (press backspace or delete to remove) @@ -4798,7 +4798,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > four (press backspace or delete to remove) @@ -4843,7 +4843,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > five (press backspace or delete to remove) @@ -4888,7 +4888,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > six (press backspace or delete to remove) @@ -4933,7 +4933,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > seven (press backspace or delete to remove) @@ -5000,7 +5000,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > zero (press backspace or delete to remove) @@ -5045,7 +5045,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > one (press backspace or delete to remove) @@ -5090,7 +5090,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > two (press backspace or delete to remove) @@ -5135,7 +5135,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > three (press backspace or delete to remove) @@ -5180,7 +5180,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > four (press backspace or delete to remove) @@ -5225,7 +5225,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > five (press backspace or delete to remove) @@ -5270,7 +5270,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > six (press backspace or delete to remove) @@ -5315,7 +5315,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > seven (press backspace or delete to remove) @@ -5383,7 +5383,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > zero (press backspace or delete to remove) @@ -5428,7 +5428,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > one (press backspace or delete to remove) @@ -5473,7 +5473,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > two (press backspace or delete to remove) @@ -5518,7 +5518,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > three (press backspace or delete to remove) @@ -5563,7 +5563,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > four (press backspace or delete to remove) @@ -5608,7 +5608,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > five (press backspace or delete to remove) @@ -5653,7 +5653,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > six (press backspace or delete to remove) @@ -5698,7 +5698,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 3`] = ` > seven (press backspace or delete to remove) @@ -5827,7 +5827,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > zero (press backspace or delete to remove) @@ -5872,7 +5872,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > one (press backspace or delete to remove) @@ -5917,7 +5917,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > two (press backspace or delete to remove) @@ -5962,7 +5962,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > three (press backspace or delete to remove) @@ -6007,7 +6007,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > four (press backspace or delete to remove) @@ -6052,7 +6052,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > five (press backspace or delete to remove) @@ -6097,7 +6097,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > six (press backspace or delete to remove) @@ -6142,7 +6142,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > seven (press backspace or delete to remove) @@ -6209,7 +6209,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > zero (press backspace or delete to remove) @@ -6254,7 +6254,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > one (press backspace or delete to remove) @@ -6299,7 +6299,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > two (press backspace or delete to remove) @@ -6344,7 +6344,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > three (press backspace or delete to remove) @@ -6389,7 +6389,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > four (press backspace or delete to remove) @@ -6434,7 +6434,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > five (press backspace or delete to remove) @@ -6479,7 +6479,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > six (press backspace or delete to remove) @@ -6524,7 +6524,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > seven (press backspace or delete to remove) @@ -6591,7 +6591,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > zero (press backspace or delete to remove) @@ -6636,7 +6636,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > one (press backspace or delete to remove) @@ -6681,7 +6681,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > two (press backspace or delete to remove) @@ -6726,7 +6726,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > three (press backspace or delete to remove) @@ -6771,7 +6771,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > four (press backspace or delete to remove) @@ -6816,7 +6816,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > five (press backspace or delete to remove) @@ -6861,7 +6861,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > six (press backspace or delete to remove) @@ -6906,7 +6906,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > seven (press backspace or delete to remove) @@ -6973,7 +6973,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > zero (press backspace or delete to remove) @@ -7018,7 +7018,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > one (press backspace or delete to remove) @@ -7063,7 +7063,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > two (press backspace or delete to remove) @@ -7108,7 +7108,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > three (press backspace or delete to remove) @@ -7153,7 +7153,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > four (press backspace or delete to remove) @@ -7198,7 +7198,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > five (press backspace or delete to remove) @@ -7243,7 +7243,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > six (press backspace or delete to remove) @@ -7288,7 +7288,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > seven (press backspace or delete to remove) @@ -7356,7 +7356,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > zero (press backspace or delete to remove) @@ -7401,7 +7401,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > one (press backspace or delete to remove) @@ -7446,7 +7446,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > two (press backspace or delete to remove) @@ -7491,7 +7491,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > three (press backspace or delete to remove) @@ -7536,7 +7536,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > four (press backspace or delete to remove) @@ -7581,7 +7581,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > five (press backspace or delete to remove) @@ -7626,7 +7626,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > six (press backspace or delete to remove) @@ -7671,7 +7671,7 @@ exports[`TextInputWithTokens > renders tokens at the specified sizes 4`] = ` > seven (press backspace or delete to remove) @@ -7801,7 +7801,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > zero (press backspace or delete to remove) @@ -7846,7 +7846,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > one (press backspace or delete to remove) @@ -7891,7 +7891,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > two (press backspace or delete to remove) @@ -7936,7 +7936,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > three (press backspace or delete to remove) @@ -7981,7 +7981,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > four (press backspace or delete to remove) @@ -8026,7 +8026,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > five (press backspace or delete to remove) @@ -8071,7 +8071,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > six (press backspace or delete to remove) @@ -8116,7 +8116,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > seven (press backspace or delete to remove) @@ -8185,7 +8185,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > zero (press backspace or delete to remove) @@ -8230,7 +8230,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > one (press backspace or delete to remove) @@ -8275,7 +8275,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > two (press backspace or delete to remove) @@ -8320,7 +8320,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > three (press backspace or delete to remove) @@ -8365,7 +8365,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > four (press backspace or delete to remove) @@ -8410,7 +8410,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > five (press backspace or delete to remove) @@ -8455,7 +8455,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > six (press backspace or delete to remove) @@ -8500,7 +8500,7 @@ exports[`TextInputWithTokens > renders tokens on a single line when specified 1` > seven (press backspace or delete to remove) @@ -8629,7 +8629,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > zero (press backspace or delete to remove) @@ -8650,7 +8650,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > one (press backspace or delete to remove) @@ -8671,7 +8671,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > two (press backspace or delete to remove) @@ -8692,7 +8692,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > three (press backspace or delete to remove) @@ -8713,7 +8713,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > four (press backspace or delete to remove) @@ -8734,7 +8734,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > five (press backspace or delete to remove) @@ -8755,7 +8755,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > six (press backspace or delete to remove) @@ -8776,7 +8776,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > seven (press backspace or delete to remove) @@ -8820,7 +8820,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > zero (press backspace or delete to remove) @@ -8841,7 +8841,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > one (press backspace or delete to remove) @@ -8862,7 +8862,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > two (press backspace or delete to remove) @@ -8883,7 +8883,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > three (press backspace or delete to remove) @@ -8904,7 +8904,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > four (press backspace or delete to remove) @@ -8925,7 +8925,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > five (press backspace or delete to remove) @@ -8946,7 +8946,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > six (press backspace or delete to remove) @@ -8967,7 +8967,7 @@ exports[`TextInputWithTokens > renders tokens without a remove button when speci > seven (press backspace or delete to remove) @@ -9073,7 +9073,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -9118,7 +9118,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -9163,7 +9163,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -9208,7 +9208,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -9253,7 +9253,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -9298,7 +9298,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -9343,7 +9343,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -9388,7 +9388,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -9528,7 +9528,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -9573,7 +9573,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -9618,7 +9618,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -9663,7 +9663,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -9708,7 +9708,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -9753,7 +9753,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -9798,7 +9798,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -9843,7 +9843,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -9946,7 +9946,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -9991,7 +9991,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -10036,7 +10036,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -10081,7 +10081,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -10126,7 +10126,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -10171,7 +10171,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -10216,7 +10216,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -10261,7 +10261,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -10421,7 +10421,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -10466,7 +10466,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -10511,7 +10511,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -10556,7 +10556,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -10601,7 +10601,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -10646,7 +10646,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -10691,7 +10691,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -10736,7 +10736,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -10896,7 +10896,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -10941,7 +10941,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -10986,7 +10986,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -11031,7 +11031,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -11076,7 +11076,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -11121,7 +11121,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -11166,7 +11166,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -11211,7 +11211,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -11372,7 +11372,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -11417,7 +11417,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -11462,7 +11462,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -11507,7 +11507,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -11552,7 +11552,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -11597,7 +11597,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -11642,7 +11642,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -11687,7 +11687,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -11790,7 +11790,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -11835,7 +11835,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -11880,7 +11880,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -11925,7 +11925,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -11970,7 +11970,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -12015,7 +12015,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -12060,7 +12060,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -12105,7 +12105,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -12266,7 +12266,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -12311,7 +12311,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -12356,7 +12356,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -12401,7 +12401,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -12446,7 +12446,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -12491,7 +12491,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -12536,7 +12536,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -12581,7 +12581,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -12704,7 +12704,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -12749,7 +12749,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -12794,7 +12794,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -12839,7 +12839,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -12884,7 +12884,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -12929,7 +12929,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -12974,7 +12974,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -13019,7 +13019,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -13200,7 +13200,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -13245,7 +13245,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -13290,7 +13290,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -13335,7 +13335,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -13380,7 +13380,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -13425,7 +13425,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -13470,7 +13470,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -13515,7 +13515,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -13696,7 +13696,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -13741,7 +13741,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -13786,7 +13786,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -13831,7 +13831,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -13876,7 +13876,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -13921,7 +13921,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -13966,7 +13966,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -14011,7 +14011,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -14192,7 +14192,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -14237,7 +14237,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -14282,7 +14282,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -14327,7 +14327,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -14372,7 +14372,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -14417,7 +14417,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -14462,7 +14462,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -14507,7 +14507,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -14633,7 +14633,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -14678,7 +14678,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -14723,7 +14723,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -14768,7 +14768,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -14813,7 +14813,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -14858,7 +14858,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -14903,7 +14903,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -14948,7 +14948,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -15088,7 +15088,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -15133,7 +15133,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -15178,7 +15178,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -15223,7 +15223,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -15268,7 +15268,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -15313,7 +15313,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -15358,7 +15358,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -15403,7 +15403,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -15506,7 +15506,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -15551,7 +15551,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -15596,7 +15596,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -15641,7 +15641,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -15686,7 +15686,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -15731,7 +15731,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -15776,7 +15776,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -15821,7 +15821,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -15981,7 +15981,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -16026,7 +16026,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -16071,7 +16071,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -16116,7 +16116,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -16161,7 +16161,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -16206,7 +16206,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -16251,7 +16251,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -16296,7 +16296,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -16456,7 +16456,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -16501,7 +16501,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -16546,7 +16546,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -16591,7 +16591,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -16636,7 +16636,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -16681,7 +16681,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -16726,7 +16726,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -16771,7 +16771,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -16932,7 +16932,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -16977,7 +16977,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -17022,7 +17022,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -17067,7 +17067,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -17112,7 +17112,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -17157,7 +17157,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -17202,7 +17202,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -17247,7 +17247,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -17350,7 +17350,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -17395,7 +17395,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -17440,7 +17440,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -17485,7 +17485,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -17530,7 +17530,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -17575,7 +17575,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -17620,7 +17620,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -17665,7 +17665,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -17826,7 +17826,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -17871,7 +17871,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -17916,7 +17916,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -17961,7 +17961,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -18006,7 +18006,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -18051,7 +18051,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -18096,7 +18096,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -18141,7 +18141,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -18264,7 +18264,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -18309,7 +18309,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -18354,7 +18354,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -18399,7 +18399,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -18444,7 +18444,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -18489,7 +18489,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -18534,7 +18534,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -18579,7 +18579,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -18760,7 +18760,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -18805,7 +18805,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -18850,7 +18850,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -18895,7 +18895,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -18940,7 +18940,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -18985,7 +18985,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -19030,7 +19030,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -19075,7 +19075,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -19256,7 +19256,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -19301,7 +19301,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -19346,7 +19346,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -19391,7 +19391,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -19436,7 +19436,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -19481,7 +19481,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -19526,7 +19526,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -19571,7 +19571,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -19752,7 +19752,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > zero (press backspace or delete to remove) @@ -19797,7 +19797,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > one (press backspace or delete to remove) @@ -19842,7 +19842,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > two (press backspace or delete to remove) @@ -19887,7 +19887,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > three (press backspace or delete to remove) @@ -19932,7 +19932,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > four (press backspace or delete to remove) @@ -19977,7 +19977,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > five (press backspace or delete to remove) @@ -20022,7 +20022,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > six (press backspace or delete to remove) @@ -20067,7 +20067,7 @@ exports[`TextInputWithTokens > renders with a loading indicator 1`] = ` > seven (press backspace or delete to remove) @@ -20253,7 +20253,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > zero (press backspace or delete to remove) @@ -20298,7 +20298,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > one (press backspace or delete to remove) @@ -20343,7 +20343,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > two (press backspace or delete to remove) @@ -20388,7 +20388,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > three (press backspace or delete to remove) @@ -20433,7 +20433,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > four (press backspace or delete to remove) @@ -20478,7 +20478,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > five (press backspace or delete to remove) @@ -20523,7 +20523,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > six (press backspace or delete to remove) @@ -20568,7 +20568,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > seven (press backspace or delete to remove) @@ -20636,7 +20636,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > zero (press backspace or delete to remove) @@ -20681,7 +20681,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > one (press backspace or delete to remove) @@ -20726,7 +20726,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > two (press backspace or delete to remove) @@ -20771,7 +20771,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > three (press backspace or delete to remove) @@ -20816,7 +20816,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > four (press backspace or delete to remove) @@ -20861,7 +20861,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > five (press backspace or delete to remove) @@ -20906,7 +20906,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > six (press backspace or delete to remove) @@ -20951,7 +20951,7 @@ exports[`TextInputWithTokens > renders with tokens 1`] = ` > seven (press backspace or delete to remove) diff --git a/packages/react/src/Token/__tests__/__snapshots__/Token.test.tsx.snap b/packages/react/src/Token/__tests__/__snapshots__/Token.test.tsx.snap index c3f81d992d7..aa29734e142 100644 --- a/packages/react/src/Token/__tests__/__snapshots__/Token.test.tsx.snap +++ b/packages/react/src/Token/__tests__/__snapshots__/Token.test.tsx.snap @@ -1,19 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Token components AvatarToken renders all sizes 1`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -96,19 +83,6 @@ exports[`Token components AvatarToken renders all sizes 1`] = ` `; exports[`Token components AvatarToken renders all sizes 2`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -191,19 +165,6 @@ exports[`Token components AvatarToken renders all sizes 2`] = ` `; exports[`Token components AvatarToken renders all sizes 3`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -286,19 +247,6 @@ exports[`Token components AvatarToken renders all sizes 3`] = ` `; exports[`Token components AvatarToken renders all sizes 4`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -426,19 +374,6 @@ exports[`Token components AvatarToken renders isSelected 1`] = ` `; exports[`Token components AvatarToken renders with a remove button 1`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -1087,19 +1022,6 @@ exports[`Token components IssueLabelToken renders with a remove button 1`] = ` `; exports[`Token components Token renders all sizes 1`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -1160,19 +1082,6 @@ exports[`Token components Token renders all sizes 1`] = ` `; exports[`Token components Token renders all sizes 2`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -1233,19 +1142,6 @@ exports[`Token components Token renders all sizes 2`] = ` `; exports[`Token components Token renders all sizes 3`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -1306,19 +1202,6 @@ exports[`Token components Token renders all sizes 3`] = ` `; exports[`Token components Token renders all sizes 4`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) @@ -1435,19 +1318,6 @@ exports[`Token components Token renders with a leadingVisual 1`] = ` `; exports[`Token components Token renders with a remove button 1`] = ` -.c0 { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - -webkit-clip: rect(0,0,0,0); - clip: rect(0,0,0,0); - white-space: nowrap; - border-width: 0; -} - token (press backspace or delete to remove) diff --git a/packages/react/src/_VisuallyHidden.module.css b/packages/react/src/_VisuallyHidden.module.css new file mode 100644 index 00000000000..c020435a2f0 --- /dev/null +++ b/packages/react/src/_VisuallyHidden.module.css @@ -0,0 +1,12 @@ +.InternalVisuallyHidden { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + /* stylelint-disable-next-line primer/spacing */ + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} diff --git a/packages/react/src/_VisuallyHidden.tsx b/packages/react/src/_VisuallyHidden.tsx index 641fd146f57..1736a9f2221 100644 --- a/packages/react/src/_VisuallyHidden.tsx +++ b/packages/react/src/_VisuallyHidden.tsx @@ -1,29 +1,19 @@ -import styled from 'styled-components' +import classes from './_VisuallyHidden.module.css' +import {clsx} from 'clsx' +import {BoxWithFallback} from './internal/components/BoxWithFallback' import type {SxProp} from './sx' -import sx from './sx' -interface Props { +interface Props extends React.ComponentPropsWithoutRef<'span'> { isVisible?: boolean + as?: React.ElementType } -const VisuallyHidden = styled.span` - ${({isVisible = false}) => { - if (isVisible) { - return sx - } - - return ` - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; - ` - }} -` +function VisuallyHidden({isVisible, children, as = 'span', className, ...rest}: Props & SxProp) { + return ( + + {children} + + ) +} export default VisuallyHidden