@wordpress/components 30.4.0 → 30.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -342,6 +342,10 @@
342
342
  padding-right: $grid-unit-15;
343
343
  padding-left: $grid-unit-10;
344
344
  gap: $grid-unit-05;
345
+ &.has-icon-right {
346
+ padding-right: $grid-unit-10;
347
+ padding-left: $grid-unit-15;
348
+ }
345
349
  }
346
350
  }
347
351
 
@@ -23,6 +23,7 @@ import {
23
23
  ValidatedToggleControl,
24
24
  ValidatedToggleGroupControl,
25
25
  } from './validated-form-controls';
26
+ import { ValidatedFormTokenField } from './validated-form-controls/components/form-token-field';
26
27
  import { Picker } from './color-picker/picker';
27
28
 
28
29
  export const privateApis = {};
@@ -49,4 +50,5 @@ lock( privateApis, {
49
50
  ValidatedTextareaControl,
50
51
  ValidatedToggleControl,
51
52
  ValidatedToggleGroupControl,
53
+ ValidatedFormTokenField,
52
54
  } );
@@ -39,6 +39,7 @@ export const StyledTextarea = styled.textarea`
39
39
  line-height: 20px;
40
40
  background: ${ COLORS.theme.background };
41
41
  color: ${ COLORS.theme.foreground };
42
+ resize: vertical;
42
43
 
43
44
  // Vertical padding is to match the standard 40px control height when rows=1,
44
45
  // in conjunction with the 20px line-height.