@box/blueprint-web 12.122.2 → 12.123.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComboboxPopoverProps } from '@ariakit/react';
|
|
1
|
+
import { type ComboboxProps as AriakitComboboxProps, type ComboboxPopoverProps } from '@ariakit/react';
|
|
2
2
|
import { type SelectItemProps } from '@ariakit/react-core/select/select-item';
|
|
3
3
|
import { type SelectRendererProps } from '@ariakit/react-core/select/select-renderer';
|
|
4
4
|
import { type InputChipProps } from '../input-chip/types';
|
|
@@ -247,6 +247,18 @@ export interface ComboboxBaseProps<Multiple extends boolean, FreeInput extends b
|
|
|
247
247
|
* @default none
|
|
248
248
|
*/
|
|
249
249
|
autoComplete?: string;
|
|
250
|
+
/**
|
|
251
|
+
* If `true`, the combobox popover will open when the user changes the input value.
|
|
252
|
+
*
|
|
253
|
+
* @default true
|
|
254
|
+
*/
|
|
255
|
+
showOnChange?: AriakitComboboxProps['showOnChange'];
|
|
256
|
+
/**
|
|
257
|
+
* If `true`, the combobox popover will open when the user clicks the input element.
|
|
258
|
+
*
|
|
259
|
+
* @default true
|
|
260
|
+
*/
|
|
261
|
+
showOnClick?: AriakitComboboxProps['showOnClick'];
|
|
250
262
|
}
|
|
251
263
|
export type ComboboxTextArea = Pick<TextAreaProps, 'maxRows' | 'minRows' | 'maxLength' | 'aria-describedby'> & {
|
|
252
264
|
as: 'textarea';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.123.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"publishConfig": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@ariakit/react": "0.4.15",
|
|
49
49
|
"@ariakit/react-core": "0.4.15",
|
|
50
|
-
"@box/blueprint-web-assets": "^4.96.
|
|
50
|
+
"@box/blueprint-web-assets": "^4.96.1",
|
|
51
51
|
"@internationalized/date": "^3.7.0",
|
|
52
52
|
"@radix-ui/react-accordion": "1.1.2",
|
|
53
53
|
"@radix-ui/react-checkbox": "1.0.4",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"type-fest": "^3.2.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@box/storybook-utils": "^0.16.
|
|
80
|
+
"@box/storybook-utils": "^0.16.12",
|
|
81
81
|
"@figma/code-connect": "1.3.12",
|
|
82
82
|
"@types/react": "^18.0.0",
|
|
83
83
|
"@types/react-dom": "^18.0.0",
|