@zvoove/unity-ui 2.37.0 → 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.
@@ -1019,7 +1019,9 @@ export declare interface DatePickerProps extends Omit<TextFieldProps, 'onChange'
1019
1019
  */
1020
1020
  label: string;
1021
1021
  /**
1022
- * The value of the date picker.
1022
+ * The value of the date picker. <br />
1023
+ * For `mode="month"`, this must be ISO format: `YYYY-MM` or
1024
+ * `YYYY-MM-DD` (e.g. `"2022-05"`) — the day, if present, is ignored.
1023
1025
  */
1024
1026
  value?: string;
1025
1027
  /**
@@ -2600,7 +2602,7 @@ export declare type MidSectionMenusProps<T extends ElementType = 'a'> = {
2600
2602
  onItemClick?: (item: ListMenuItem<T>) => void;
2601
2603
  };
2602
2604
 
2603
- declare type MonthYear = {
2605
+ export declare type MonthYear = {
2604
2606
  month: number;
2605
2607
  year: number;
2606
2608
  };
@@ -3226,7 +3228,7 @@ export declare interface SegmentGroupProps<T extends React.ElementType = 'button
3226
3228
 
3227
3229
  export declare type SegmentValue<T = string> = T | T[];
3228
3230
 
3229
- 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;
3230
3232
 
3231
3233
  export declare type SelectOption = Omit<PopUpMenuItem, 'id' | 'onClick' | 'disabled' | 'linkComponent' | 'as'> & {
3232
3234
  /**
@@ -3277,6 +3279,11 @@ export declare type SelectProps = Union & {
3277
3279
  * The id of the select.
3278
3280
  */
3279
3281
  id?: string;
3282
+ /**
3283
+ * The density of the select controls the size of the input.
3284
+ * @default 'default'
3285
+ */
3286
+ density?: ResponsiveType<Density>;
3280
3287
  } & Pick<PopUpMenuProps, 'allowClearAll' | 'allowSelectAll' | 'selectAllLabel' | 'clearAllLabel' | 'noResultsFoundMessage' | 'onScrollEnd' | 'isLoadingMore'> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>;
3281
3288
 
3282
3289
  export declare const Sheet: {