@cleen/ui 0.1.159 → 0.1.161

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/index.d.ts CHANGED
@@ -13,7 +13,7 @@ import { RgbaColor } from 'react-colorful';
13
13
  import ReactMarkdown from 'react-markdown';
14
14
  import * as react_toastify from 'react-toastify';
15
15
  import { ToastOptions, ToastContainerProps } from 'react-toastify';
16
- import ReactSelect, { components, SelectInstance, GroupBase } from 'react-select';
16
+ import ReactSelect, { components } from 'react-select';
17
17
 
18
18
  interface TooltipProps extends ComponentProps<'div'> {
19
19
  label?: ReactNode;
@@ -1586,6 +1586,7 @@ declare const checkedVariants: {
1586
1586
  };
1587
1587
 
1588
1588
  type CheckboxProps = Omit<ComponentProps<'input'>, 'title'> & {
1589
+ inputRef?: RefObject<HTMLInputElement | null>;
1589
1590
  checked?: boolean | null;
1590
1591
  defaultChecked?: boolean;
1591
1592
  title?: ReactNode;
@@ -1624,7 +1625,7 @@ type CheckboxProps = Omit<ComponentProps<'input'>, 'title'> & {
1624
1625
  * - Set `fullTriggerArea` to make the entire label row clickable instead of just the checkbox box.
1625
1626
  * - Accepts `classNames` and `styles` to customize: `container`, `title`, `checkboxContainer`, `checkbox`, `label`, `sublabel`.
1626
1627
  */
1627
- declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
1628
+ declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1628
1629
 
1629
1630
  interface CheckboxGroupProps extends Omit<ComponentProps<'div'>, 'onChange'> {
1630
1631
  required?: boolean;
@@ -1671,7 +1672,7 @@ interface CheckboxGroupProps extends Omit<ComponentProps<'div'>, 'onChange'> {
1671
1672
  * - Use `infoLabels` for static error, info, or subtitle messages below the group.
1672
1673
  * - Accepts `classNames` and `styles` to customize: `container`, `label`, `checkboxes`, `checkboxContainer`, `requiresAtLeastOne`.
1673
1674
  */
1674
- declare const CheckboxGroup: ({ required, label, labelTooltip, checkboxes, allowIndeterminate, infoLabels, requiresAtLeastOneOptions, classNames, styles, onChange, ...props }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
1675
+ declare const CheckboxGroup: react.ForwardRefExoticComponent<Omit<CheckboxGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1675
1676
 
1676
1677
  interface CollapsibleItem {
1677
1678
  content: ReactNode;
@@ -2051,7 +2052,7 @@ type SwitchProps = Omit<ComponentProps<'button'>, 'onChange' | 'title'> & {
2051
2052
  * - Pass `title` for a heading row above the switch, `label` for primary text, and `sublabel` for secondary text beside it.
2052
2053
  * - Accepts `classNames` and `styles` for keys: `container`, `title`, `switch`, `check`.
2053
2054
  */
2054
- declare const Switch: ({ required, checked, defaultChecked, onChange, title, label, labelTooltip, sublabel, disabled, classNames, className, style, styles, infoLabels, ...props }: SwitchProps) => react_jsx_runtime.JSX.Element;
2055
+ declare const Switch: react.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
2055
2056
 
2056
2057
  interface FilterDrawerLabels {
2057
2058
  title?: ReactNode;
@@ -2853,7 +2854,7 @@ interface RadioButtonGroupProps {
2853
2854
  * - Flip radio indicator position with `radioPosition` (`left` | `right`).
2854
2855
  * - Accepts `classNames` and `styles` for keys: `container`, `label`, `radios`, `radioContainer`, `radioActive`, `radioOuterCheckBox`, `radioLabelsContainer`, `radioTitle`, `radiotPostTitle`, `radioSubTitle`, `infoLabels`.
2855
2856
  */
2856
- declare const RadioButtonGroup: ({ required, radios, label, labelTooltip, className, classNames, style, styles, name, direction, radioPosition, defaultActiveId, value, infoLabels, onChange, }: RadioButtonGroupProps) => react_jsx_runtime.JSX.Element;
2857
+ declare const RadioButtonGroup: react.ForwardRefExoticComponent<RadioButtonGroupProps & react.RefAttributes<HTMLDivElement>>;
2857
2858
 
2858
2859
  type RatingLabels = {
2859
2860
  helperText?: ReactNode;
@@ -2942,7 +2943,7 @@ interface SelectProps extends Omit<ComponentPropsWithoutRef<ReactSelect>, 'isDis
2942
2943
  /**
2943
2944
  * Select component is a customizable dropdown select input field that allows users to choose one or more options from a list.
2944
2945
  */
2945
- declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<SelectInstance<unknown, boolean, GroupBase<unknown>>>>;
2946
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLDivElement>>;
2946
2947
 
2947
2948
  /**
2948
2949
  * Represents a single item in the sidebar navigation
@@ -3383,7 +3384,7 @@ interface SliderProps {
3383
3384
  * - Attach a tooltip to the thumb via the `tooltip` prop (forwarded to the Tooltip component).
3384
3385
  * - Accepts `classNames` and `styles` for keys: `container`, `track`, `path`, `filledTrack`, `thumb`, `infoLabels`.
3385
3386
  */
3386
- declare const Slider: react__default.FC<SliderProps>;
3387
+ declare const Slider: react__default.ForwardRefExoticComponent<SliderProps & react__default.RefAttributes<HTMLDivElement>>;
3387
3388
 
3388
3389
  interface SliderRangeProps {
3389
3390
  required?: boolean;
@@ -3436,7 +3437,7 @@ interface SliderRangeProps {
3436
3437
  * - Attach tooltip configuration to each thumb via `tooltips.min`, `tooltips.max`, or a shared preset via `tooltips.shared`.
3437
3438
  * - Accepts `classNames` and `styles` for keys: `container`, `track`, `filledTrack`, `thumb`, `infoLabels`.
3438
3439
  */
3439
- declare const SliderRange: FC<SliderRangeProps>;
3440
+ declare const SliderRange: react__default.ForwardRefExoticComponent<SliderRangeProps & react__default.RefAttributes<HTMLDivElement>>;
3440
3441
 
3441
3442
  type StarRatingProps = Omit<ComponentProps<'div'>, 'onChange'> & {
3442
3443
  value?: number;