@lax-wp/design-system 0.13.27 → 0.13.28-beta.1

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.
@@ -6,6 +6,8 @@ import type { LabelType } from "../../data-display/label/Label";
6
6
  * Confidence score type
7
7
  */
8
8
  export type ConfidenceScoreType = "low" | "medium" | "high";
9
+ /** Height size variant for the select trigger. Maps to a Tailwind min-height class. */
10
+ export type SelectFieldInputSize = "sm" | "md" | "lg";
9
11
  export type SourceMetaBBox = {
10
12
  b: number;
11
13
  l: number;
@@ -169,6 +171,8 @@ export interface SelectFieldProps extends Omit<SelectProps, "onChange"> {
169
171
  labelExtra?: React.ReactNode;
170
172
  /** Input surface style: `'modified'` — Warning colors; `'deleted'` — Error colors, text #475467; `'success'` — Success colors, text #101828. */
171
173
  inputEmphasis?: "default" | "modified" | "deleted" | "success";
174
+ /** Height size of the select trigger. `'sm'` = 24px, `'md'` = 32px (default), `'lg'` = 40px. */
175
+ inputSize?: SelectFieldInputSize;
172
176
  }
173
177
  /**
174
178
  * SelectField component - A feature-rich select dropdown with multi-select, tags, search, and more