@gusarov-studio/rubik-ui 14.0.2 → 14.0.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.
|
@@ -2,7 +2,6 @@ import React from "react";
|
|
|
2
2
|
import type { SliderProps } from "@radix-ui/react-slider";
|
|
3
3
|
import "./InputSlider.scss";
|
|
4
4
|
interface InputSliderProps extends SliderProps {
|
|
5
|
-
defaultValue: number[];
|
|
6
5
|
indeterminate?: boolean;
|
|
7
6
|
}
|
|
8
7
|
declare const InputSlider: React.ForwardRefExoticComponent<InputSliderProps & React.RefAttributes<HTMLSpanElement>>;
|
|
@@ -3,7 +3,7 @@ import "./Textarea.scss";
|
|
|
3
3
|
import type { CSSUnit } from "../types/CSSUnit";
|
|
4
4
|
type WidthValue = CSSUnit | `${number}` | `calc(${string})` | number;
|
|
5
5
|
type HeightType = "autocalc" | CSSUnit | `${number}` | `calc(${string})` | number;
|
|
6
|
-
interface TextareaPropsBase extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
6
|
+
interface TextareaPropsBase extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "rows"> {
|
|
7
7
|
appearance?: "fill" | "outline";
|
|
8
8
|
quiet?: boolean;
|
|
9
9
|
size?: "24" | "32" | "36" | "40" | "44" | "48";
|
|
@@ -13,7 +13,6 @@ interface TextareaPropsBase extends React.TextareaHTMLAttributes<HTMLTextAreaEle
|
|
|
13
13
|
width?: WidthValue;
|
|
14
14
|
resize?: "none" | "vertical" | "horizontal" | "both";
|
|
15
15
|
minRowNum?: number;
|
|
16
|
-
rows: never;
|
|
17
16
|
}
|
|
18
17
|
type TextareaProps = TextareaPropsBase & {
|
|
19
18
|
height?: HeightType;
|