freemium-ui 2.0.0-beta.53 → 2.0.0-beta.55

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.
Files changed (4) hide show
  1. package/index.cjs.js +3874 -3870
  2. package/index.d.ts +7 -3
  3. package/index.js +3858 -3856
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import * as react from 'react';
3
- import react__default, { ReactNode, HTMLAttributes } from 'react';
3
+ import react__default, { ReactNode } from 'react';
4
4
  import { AccordionSingleProps } from '@radix-ui/react-accordion';
5
5
  import * as Popover$1 from '@radix-ui/react-popover';
6
6
  import { PopperContentProps } from '@radix-ui/react-popover';
7
7
  import { RadioGroupProps as RadioGroupProps$1, RadioGroupContextValue } from '@radix-ui/react-radio-group';
8
8
  import { CheckboxProps as CheckboxProps$1 } from '@radix-ui/react-checkbox';
9
9
  import * as Select from '@radix-ui/react-select';
10
- import { SelectProps, SelectItemProps } from '@radix-ui/react-select';
10
+ import { SelectProps, SelectContentProps, SelectItemProps } from '@radix-ui/react-select';
11
11
  export { Item as RadixSelectItem } from '@radix-ui/react-select';
12
12
  import * as styled_components from 'styled-components';
13
13
  import * as styled_components_dist_types from 'styled-components/dist/types';
@@ -503,6 +503,10 @@ interface DropdownProps<T extends DefaultDropdownItem = DefaultDropdownItem> ext
503
503
  *
504
504
  */
505
505
  isMenuLoading?: boolean;
506
+ /**
507
+ *
508
+ */
509
+ matchButtonWidth?: boolean;
506
510
  /**
507
511
  *
508
512
  */
@@ -535,7 +539,7 @@ interface DropdownProps<T extends DefaultDropdownItem = DefaultDropdownItem> ext
535
539
  */
536
540
  useComboboxProps?: UseComboboxProps<T>;
537
541
  itemComponent?: (item: T, props?: DropdownItemProps | DropdownInputItemProps) => React.ReactNode | string;
538
- contentProps?: Pick<HTMLAttributes<HTMLElement>, 'style' | 'className'>;
542
+ buttonContentProps?: SelectContentProps;
539
543
  }
540
544
  interface DropdownButtonProps<T extends DefaultDropdownItem = DefaultDropdownItem> extends DropdownProps<T> {
541
545
  }