@veracity/vui 2.22.3-beta.0 → 2.22.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veracity/vui",
3
- "version": "2.22.3-beta.0",
3
+ "version": "2.22.3",
4
4
  "description": "Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.",
5
5
  "module": "./dist/esm/index.js",
6
6
  "main": "./dist/cjs/index.js",
@@ -38,6 +38,7 @@ export function Select(props: SelectProps) {
38
38
  name,
39
39
  onChange,
40
40
  options,
41
+ matchWidth = true,
41
42
  placeholder = 'Please select',
42
43
  selectedText,
43
44
  readOnly,
@@ -95,7 +96,7 @@ export function Select(props: SelectProps) {
95
96
  labelTooltipText={labelTooltipText}
96
97
  />
97
98
  )}
98
- <Popover matchWidth {...rest}>
99
+ <Popover matchWidth={matchWidth} {...rest}>
99
100
  <>
100
101
  {selectButton ?? <SelectButton {...selectButtonProps} />}
101
102
  <SelectContent overflow="hidden">
@@ -44,6 +44,8 @@ export type SelectProps = ThemingProps<'Select'> &
44
44
  labelMarkOptional?: boolean
45
45
  /** Adds a tooltip with the text inside the label */
46
46
  labelTooltipText?: string
47
+ /** Sets the Popover matchWidth prop. @default true */
48
+ matchWidth?: boolean
47
49
  /** Data prop to display an array of options in the popover. */
48
50
  options?: SelectOptionData[]
49
51
  /** Displayed inside the trigger when no value is selected. */