idea-react 3.0.0-beta.3 → 3.0.0-beta.4

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.mts CHANGED
@@ -320,13 +320,12 @@ export type Breakpoint = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
320
320
  export type ColSize = number | 'auto';
321
321
  export type BreakpointColSize = ColSize | true;
322
322
  export interface ContainerProps extends ComponentPropsWithRef<'div'> {
323
- fluid?: boolean;
324
- breakpoint?: Breakpoint;
323
+ fluid?: boolean | Breakpoint;
325
324
  }
326
325
  export declare const Container: PolymorphicComponent<ContainerProps>;
327
326
  export type RowCols = number | 'auto';
328
327
  export interface RowProps extends ComponentPropsWithRef<'div'> {
329
- cols?: RowCols;
328
+ xs?: RowCols;
330
329
  sm?: RowCols;
331
330
  md?: RowCols;
332
331
  lg?: RowCols;
@@ -335,7 +334,7 @@ export interface RowProps extends ComponentPropsWithRef<'div'> {
335
334
  }
336
335
  export declare const Row: PolymorphicComponent<RowProps>;
337
336
  export interface ColProps extends ComponentPropsWithRef<'div'> {
338
- span?: ColSize;
337
+ xs?: BreakpointColSize;
339
338
  sm?: BreakpointColSize;
340
339
  md?: BreakpointColSize;
341
340
  lg?: BreakpointColSize;
@@ -831,7 +830,7 @@ export type CheckboxProps = Omit<ComponentPropsWithoutRef<'input'>, 'type' | 'si
831
830
  theme?: ComponentTheme;
832
831
  indeterminate?: boolean;
833
832
  };
834
- export declare const Checkbox: PolymorphicComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "type" | "size"> & FormValidationProps & {
833
+ export declare const Checkbox: PolymorphicComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "type"> & FormValidationProps & {
835
834
  size?: "sm" | "lg";
836
835
  theme?: ComponentTheme;
837
836
  indeterminate?: boolean;
@@ -1118,7 +1117,7 @@ export type OTPInputProps = Omit<ComponentPropsWithoutRef<'input'>, 'type' | 'ma
1118
1117
  onComplete?: (value: string) => unknown;
1119
1118
  onValueChange?: (value: string) => unknown;
1120
1119
  };
1121
- export declare const OTPInput: PolymorphicComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "type" | "size" | "maxLength"> & FormValidationProps & {
1120
+ export declare const OTPInput: PolymorphicComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "type" | "maxLength"> & FormValidationProps & {
1122
1121
  length: number;
1123
1122
  type?: "numeric" | "alphanumeric" | "alpha";
1124
1123
  mask?: boolean;
@@ -1326,7 +1325,7 @@ declare class ScrollSpyModel {
1326
1325
  accessor guides: (Record<'top' | 'left' | 'width' | 'height' | 'line', number> & {
1327
1326
  atBottom: boolean;
1328
1327
  }) | undefined;
1329
- setGuides: (guides: ScrollSpyModel["guides"]) => (Record<"line" | "top" | "height" | "width" | "left", number> & {
1328
+ setGuides: (guides: ScrollSpyModel["guides"]) => (Record<"line" | "height" | "width" | "top" | "left", number> & {
1330
1329
  atBottom: boolean;
1331
1330
  }) | undefined;
1332
1331
  setActiveId: (id: string) => string;
@@ -1360,7 +1359,7 @@ export declare class ScrollSpy<T extends ElementType | undefined = 'div'> extend
1360
1359
  componentWillUnmount(): void;
1361
1360
  refresh: () => void;
1362
1361
  handleResize: () => void;
1363
- handleScroll: () => (Record<"line" | "top" | "height" | "width" | "left", number> & {
1362
+ handleScroll: () => (Record<"line" | "height" | "width" | "top" | "left", number> & {
1364
1363
  atBottom: boolean;
1365
1364
  }) | undefined;
1366
1365
  private getRootHeight;
package/dist/index.d.ts CHANGED
@@ -320,13 +320,12 @@ export type Breakpoint = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
320
320
  export type ColSize = number | 'auto';
321
321
  export type BreakpointColSize = ColSize | true;
322
322
  export interface ContainerProps extends ComponentPropsWithRef<'div'> {
323
- fluid?: boolean;
324
- breakpoint?: Breakpoint;
323
+ fluid?: boolean | Breakpoint;
325
324
  }
326
325
  export declare const Container: PolymorphicComponent<ContainerProps>;
327
326
  export type RowCols = number | 'auto';
328
327
  export interface RowProps extends ComponentPropsWithRef<'div'> {
329
- cols?: RowCols;
328
+ xs?: RowCols;
330
329
  sm?: RowCols;
331
330
  md?: RowCols;
332
331
  lg?: RowCols;
@@ -335,7 +334,7 @@ export interface RowProps extends ComponentPropsWithRef<'div'> {
335
334
  }
336
335
  export declare const Row: PolymorphicComponent<RowProps>;
337
336
  export interface ColProps extends ComponentPropsWithRef<'div'> {
338
- span?: ColSize;
337
+ xs?: BreakpointColSize;
339
338
  sm?: BreakpointColSize;
340
339
  md?: BreakpointColSize;
341
340
  lg?: BreakpointColSize;
@@ -831,7 +830,7 @@ export type CheckboxProps = Omit<ComponentPropsWithoutRef<'input'>, 'type' | 'si
831
830
  theme?: ComponentTheme;
832
831
  indeterminate?: boolean;
833
832
  };
834
- export declare const Checkbox: PolymorphicComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "type" | "size"> & FormValidationProps & {
833
+ export declare const Checkbox: PolymorphicComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "type"> & FormValidationProps & {
835
834
  size?: "sm" | "lg";
836
835
  theme?: ComponentTheme;
837
836
  indeterminate?: boolean;
@@ -1118,7 +1117,7 @@ export type OTPInputProps = Omit<ComponentPropsWithoutRef<'input'>, 'type' | 'ma
1118
1117
  onComplete?: (value: string) => unknown;
1119
1118
  onValueChange?: (value: string) => unknown;
1120
1119
  };
1121
- export declare const OTPInput: PolymorphicComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "type" | "size" | "maxLength"> & FormValidationProps & {
1120
+ export declare const OTPInput: PolymorphicComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "type" | "maxLength"> & FormValidationProps & {
1122
1121
  length: number;
1123
1122
  type?: "numeric" | "alphanumeric" | "alpha";
1124
1123
  mask?: boolean;
@@ -1326,7 +1325,7 @@ declare class ScrollSpyModel {
1326
1325
  accessor guides: (Record<'top' | 'left' | 'width' | 'height' | 'line', number> & {
1327
1326
  atBottom: boolean;
1328
1327
  }) | undefined;
1329
- setGuides: (guides: ScrollSpyModel["guides"]) => (Record<"line" | "top" | "height" | "width" | "left", number> & {
1328
+ setGuides: (guides: ScrollSpyModel["guides"]) => (Record<"line" | "height" | "width" | "top" | "left", number> & {
1330
1329
  atBottom: boolean;
1331
1330
  }) | undefined;
1332
1331
  setActiveId: (id: string) => string;
@@ -1360,7 +1359,7 @@ export declare class ScrollSpy<T extends ElementType | undefined = 'div'> extend
1360
1359
  componentWillUnmount(): void;
1361
1360
  refresh: () => void;
1362
1361
  handleResize: () => void;
1363
- handleScroll: () => (Record<"line" | "top" | "height" | "width" | "left", number> & {
1362
+ handleScroll: () => (Record<"line" | "height" | "width" | "top" | "left", number> & {
1364
1363
  atBottom: boolean;
1365
1364
  }) | undefined;
1366
1365
  private getRootHeight;