@tidbcloud/uikit 2.4.9 → 2.4.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.4.10
4
+
5
+ ### Patch Changes
6
+
7
+ - feat(ProMultiSelect): support `sx` and `size` props ([#561](https://github.com/tidbcloud/tidbcloud-uikit/pull/561))
8
+
3
9
  ## 2.4.9
4
10
 
5
11
  ### Patch Changes
@@ -201,6 +201,7 @@ const ProMultiSelect = (_props) => {
201
201
  error,
202
202
  allowSelectAll,
203
203
  selectAllText,
204
+ sx,
204
205
  onOptionSubmit,
205
206
  renderOption,
206
207
  filter,
@@ -375,6 +376,8 @@ const ProMultiSelect = (_props) => {
375
376
  {
376
377
  error,
377
378
  w: width,
379
+ sx,
380
+ size,
378
381
  component: "button",
379
382
  type: "button",
380
383
  pointer: true,
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { MultiSelectProps } from '../../primitive/index.cjs';
3
- export interface ProMultiSelectProps extends Pick<MultiSelectProps, 'data' | 'value' | 'defaultValue' | 'limit' | 'searchable' | 'searchValue' | 'defaultSearchValue' | 'maxValues' | 'readOnly' | 'disabled' | 'size' | 'width' | 'selectFirstOptionOnChange' | 'placeholder' | 'clearable' | 'label' | 'nothingFoundMessage' | 'dropdownOpened' | 'defaultDropdownOpened' | 'maxDropdownHeight' | 'error' | 'onOptionSubmit' | 'renderOption' | 'filter' | 'onChange' | 'onSearchChange' | 'onRemove' | 'onClear'> {
3
+ export interface ProMultiSelectProps extends Pick<MultiSelectProps, 'data' | 'value' | 'defaultValue' | 'limit' | 'searchable' | 'searchValue' | 'defaultSearchValue' | 'maxValues' | 'readOnly' | 'disabled' | 'size' | 'width' | 'selectFirstOptionOnChange' | 'placeholder' | 'clearable' | 'label' | 'nothingFoundMessage' | 'dropdownOpened' | 'defaultDropdownOpened' | 'maxDropdownHeight' | 'error' | 'onOptionSubmit' | 'renderOption' | 'filter' | 'onChange' | 'onSearchChange' | 'onRemove' | 'onClear' | 'sx'> {
4
4
  loading?: boolean;
5
5
  allowSelectAll?: boolean;
6
6
  selectAllText?: string;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { MultiSelectProps } from '../../primitive/index.mjs';
3
- export interface ProMultiSelectProps extends Pick<MultiSelectProps, 'data' | 'value' | 'defaultValue' | 'limit' | 'searchable' | 'searchValue' | 'defaultSearchValue' | 'maxValues' | 'readOnly' | 'disabled' | 'size' | 'width' | 'selectFirstOptionOnChange' | 'placeholder' | 'clearable' | 'label' | 'nothingFoundMessage' | 'dropdownOpened' | 'defaultDropdownOpened' | 'maxDropdownHeight' | 'error' | 'onOptionSubmit' | 'renderOption' | 'filter' | 'onChange' | 'onSearchChange' | 'onRemove' | 'onClear'> {
3
+ export interface ProMultiSelectProps extends Pick<MultiSelectProps, 'data' | 'value' | 'defaultValue' | 'limit' | 'searchable' | 'searchValue' | 'defaultSearchValue' | 'maxValues' | 'readOnly' | 'disabled' | 'size' | 'width' | 'selectFirstOptionOnChange' | 'placeholder' | 'clearable' | 'label' | 'nothingFoundMessage' | 'dropdownOpened' | 'defaultDropdownOpened' | 'maxDropdownHeight' | 'error' | 'onOptionSubmit' | 'renderOption' | 'filter' | 'onChange' | 'onSearchChange' | 'onRemove' | 'onClear' | 'sx'> {
4
4
  loading?: boolean;
5
5
  allowSelectAll?: boolean;
6
6
  selectAllText?: string;
@@ -199,6 +199,7 @@ const ProMultiSelect = (_props) => {
199
199
  error,
200
200
  allowSelectAll,
201
201
  selectAllText,
202
+ sx,
202
203
  onOptionSubmit,
203
204
  renderOption,
204
205
  filter,
@@ -373,6 +374,8 @@ const ProMultiSelect = (_props) => {
373
374
  {
374
375
  error,
375
376
  w: width,
377
+ sx,
378
+ size,
376
379
  component: "button",
377
380
  type: "button",
378
381
  pointer: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.4.9",
3
+ "version": "2.4.10",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",