@zvoove/unity-ui 2.37.1 → 2.38.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.
- package/dist/{CodeBlock.highlighter-C9V8BQk6.cjs → CodeBlock.highlighter-h_hN6dvi.cjs} +1 -1
- package/dist/{rolldown-runtime-CpT3Q5gs.cjs → rolldown-runtime-C4w0-XYz.cjs} +1 -1
- package/dist/unity-ui.cjs.js +1 -1
- package/dist/unity-ui.css +2 -2
- package/dist/unity-ui.d.ts +6 -1
- package/dist/unity-ui.es.js +171 -163
- package/package.json +24 -36
package/dist/unity-ui.d.ts
CHANGED
|
@@ -3228,7 +3228,7 @@ export declare interface SegmentGroupProps<T extends React.ElementType = 'button
|
|
|
3228
3228
|
|
|
3229
3229
|
export declare type SegmentValue<T = string> = T | T[];
|
|
3230
3230
|
|
|
3231
|
-
export declare const Select: ({ value, multiple, options, onChange, error, errorMessage, disabled, label, hideLabel, name, id, searchable, allowClearAll, allowSelectAll, selectAllLabel, clearAllLabel, noResultsFoundMessage, onScrollEnd, isLoadingMore, ...props }: SelectProps) => JSX.Element;
|
|
3231
|
+
export declare const Select: ({ value, multiple, options, onChange, error, errorMessage, disabled, label, hideLabel, name, id, searchable, allowClearAll, allowSelectAll, selectAllLabel, clearAllLabel, noResultsFoundMessage, onScrollEnd, isLoadingMore, density, ...props }: SelectProps) => JSX.Element;
|
|
3232
3232
|
|
|
3233
3233
|
export declare type SelectOption = Omit<PopUpMenuItem, 'id' | 'onClick' | 'disabled' | 'linkComponent' | 'as'> & {
|
|
3234
3234
|
/**
|
|
@@ -3279,6 +3279,11 @@ export declare type SelectProps = Union & {
|
|
|
3279
3279
|
* The id of the select.
|
|
3280
3280
|
*/
|
|
3281
3281
|
id?: string;
|
|
3282
|
+
/**
|
|
3283
|
+
* The density of the select controls the size of the input.
|
|
3284
|
+
* @default 'default'
|
|
3285
|
+
*/
|
|
3286
|
+
density?: ResponsiveType<Density>;
|
|
3282
3287
|
} & Pick<PopUpMenuProps, 'allowClearAll' | 'allowSelectAll' | 'selectAllLabel' | 'clearAllLabel' | 'noResultsFoundMessage' | 'onScrollEnd' | 'isLoadingMore'> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>;
|
|
3283
3288
|
|
|
3284
3289
|
export declare const Sheet: {
|