@cronocode/react-box 1.1.5 → 1.1.7
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/box.mjs +1 -1
- package/box.module.css.mjs +1 -1
- package/components/baseSvg.mjs +6 -6
- package/components/radioButtonCore.d.ts +20 -0
- package/components/radioButtonCore.mjs +25 -0
- package/components/textareaCore.d.ts +24 -0
- package/components/textareaCore.mjs +29 -0
- package/components/textboxCore.mjs +7 -6
- package/package.json +1 -1
- package/style.css +1 -1
- package/types.d.ts +4 -2
- package/components/uncontrolledRadioButtonCore.d.ts +0 -20
- package/components/uncontrolledRadioButtonCore.mjs +0 -27
- package/components/uncontrolledTextareaCore.d.ts +0 -23
- package/components/uncontrolledTextareaCore.mjs +0 -44
package/types.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare const styleVariables: {
|
|
|
38
38
|
flexSelf: readonly ["auto", "flex-start", "flex-end", "center", "baseline", "stretch"];
|
|
39
39
|
outlineOffset: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
40
40
|
transition: readonly ["none"];
|
|
41
|
+
background: readonly ["none"];
|
|
41
42
|
};
|
|
42
43
|
declare type GapType = (typeof styleVariables.gap)[number];
|
|
43
44
|
declare type BoxSizeValue = (typeof styleVariables.sizeSpecialValues)[number];
|
|
@@ -55,6 +56,7 @@ declare type TextTransformType = (typeof styleVariables.textTransform)[number];
|
|
|
55
56
|
declare type TextAlignType = (typeof styleVariables.textAlign)[number];
|
|
56
57
|
declare type BorderAndOutlineStyleType = (typeof styleVariables.borderAndOutlineStyles)[number];
|
|
57
58
|
declare type TransitionType = (typeof styleVariables.transition)[number];
|
|
59
|
+
declare type BackgroundType = (typeof styleVariables.background)[number];
|
|
58
60
|
interface BoxPseudoClasses {
|
|
59
61
|
hover?: boolean;
|
|
60
62
|
focus?: boolean;
|
|
@@ -149,8 +151,8 @@ interface BoxShadow {
|
|
|
149
151
|
shadow?: string;
|
|
150
152
|
}
|
|
151
153
|
interface BoxBackground {
|
|
152
|
-
background?: string;
|
|
153
|
-
bg?: string;
|
|
154
|
+
background?: BackgroundType | string;
|
|
155
|
+
bg?: BackgroundType | string;
|
|
154
156
|
}
|
|
155
157
|
interface BoxColors {
|
|
156
158
|
color?: ColorType | string;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Box from '../box';
|
|
3
|
-
declare type BoxProps = React.ComponentProps<typeof Box<'input'>>;
|
|
4
|
-
declare type BoxTagProps = Required<BoxProps>['props'];
|
|
5
|
-
declare type UncontrolledRadioButtonCoreTagProps = Omit<BoxTagProps, 'name' | 'onInput' | 'onChange' | 'type' | 'placeholder' | 'disabled' | 'value' | 'autoFocus' | 'readOnly' | 'required' | 'defaultChecked'>;
|
|
6
|
-
interface Props extends Omit<BoxProps, 'props'> {
|
|
7
|
-
name: string;
|
|
8
|
-
props?: UncontrolledRadioButtonCoreTagProps;
|
|
9
|
-
onInput?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
10
|
-
onChange?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
value?: string | number;
|
|
14
|
-
autoFocus?: boolean;
|
|
15
|
-
readOnly?: boolean;
|
|
16
|
-
required?: boolean;
|
|
17
|
-
defaultChecked?: boolean;
|
|
18
|
-
}
|
|
19
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "b" | "br" | "p" | "style" | "className" | "hover" | "focus" | "display" | "inline" | "boxSizing" | "position" | "inset" | "top" | "right" | "bottom" | "left" | "width" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "margin" | "m" | "marginHorizontal" | "mx" | "marginVertical" | "my" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "padding" | "paddingHorizontal" | "px" | "paddingVertical" | "py" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "border" | "borderHorizontal" | "bx" | "borderVertical" | "by" | "borderTop" | "bt" | "borderRight" | "borderBottom" | "bb" | "borderLeft" | "bl" | "borderStyle" | "borderRadius" | "borderRadiusTop" | "borderRadiusRight" | "borderRadiusBottom" | "borderRadiusLeft" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomLeft" | "borderRadiusBottomRight" | "shadow" | "background" | "bg" | "color" | "backgroundColor" | "bgColor" | "borderColor" | "outlineColor" | "cursor" | "zIndex" | "overflow" | "overflowX" | "overflowY" | "opacity" | "fontSize" | "lineHeight" | "fontWeight" | "letterSpacing" | "textDecoration" | "textTransform" | "textAlign" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "flex1" | "flexDirection" | "gap" | "rowGap" | "columnGap" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifySelf" | "outline" | "outlineStyle" | "outlineOffset" | "transition" | "hoverH" | "focusH" | "displayH" | "inlineH" | "boxSizingH" | "positionH" | "insetH" | "topH" | "rightH" | "bottomH" | "leftH" | "widthH" | "heightH" | "minWidthH" | "minHeightH" | "maxWidthH" | "maxHeightH" | "marginH" | "mH" | "marginHorizontalH" | "mxH" | "marginVerticalH" | "myH" | "marginTopH" | "mtH" | "marginRightH" | "mrH" | "marginBottomH" | "mbH" | "marginLeftH" | "mlH" | "paddingH" | "pH" | "paddingHorizontalH" | "pxH" | "paddingVerticalH" | "pyH" | "paddingTopH" | "ptH" | "paddingRightH" | "prH" | "paddingBottomH" | "pbH" | "paddingLeftH" | "plH" | "borderH" | "bH" | "borderHorizontalH" | "bxH" | "borderVerticalH" | "byH" | "borderTopH" | "btH" | "borderRightH" | "brH" | "borderBottomH" | "bbH" | "borderLeftH" | "blH" | "borderStyleH" | "borderRadiusH" | "borderRadiusTopH" | "borderRadiusRightH" | "borderRadiusBottomH" | "borderRadiusLeftH" | "borderRadiusTopLeftH" | "borderRadiusTopRightH" | "borderRadiusBottomLeftH" | "borderRadiusBottomRightH" | "shadowH" | "backgroundH" | "bgH" | "colorH" | "backgroundColorH" | "bgColorH" | "borderColorH" | "outlineColorH" | "cursorH" | "zIndexH" | "overflowH" | "overflowXH" | "overflowYH" | "opacityH" | "fontSizeH" | "lineHeightH" | "fontWeightH" | "letterSpacingH" | "textDecorationH" | "textTransformH" | "textAlignH" | "flexWrapH" | "justifyContentH" | "alignItemsH" | "alignContentH" | "flex1H" | "flexDirectionH" | "gapH" | "rowGapH" | "columnGapH" | "orderH" | "flexGrowH" | "flexShrinkH" | "alignSelfH" | "justifySelfH" | "outlineH" | "outlineStyleH" | "outlineOffsetH" | "transitionH" | "hoverF" | "focusF" | "displayF" | "inlineF" | "boxSizingF" | "positionF" | "insetF" | "topF" | "rightF" | "bottomF" | "leftF" | "widthF" | "heightF" | "minWidthF" | "minHeightF" | "maxWidthF" | "maxHeightF" | "marginF" | "mF" | "marginHorizontalF" | "mxF" | "marginVerticalF" | "myF" | "marginTopF" | "mtF" | "marginRightF" | "mrF" | "marginBottomF" | "mbF" | "marginLeftF" | "mlF" | "paddingF" | "pF" | "paddingHorizontalF" | "pxF" | "paddingVerticalF" | "pyF" | "paddingTopF" | "ptF" | "paddingRightF" | "prF" | "paddingBottomF" | "pbF" | "paddingLeftF" | "plF" | "borderF" | "bF" | "borderHorizontalF" | "bxF" | "borderVerticalF" | "byF" | "borderTopF" | "btF" | "borderRightF" | "brF" | "borderBottomF" | "bbF" | "borderLeftF" | "blF" | "borderStyleF" | "borderRadiusF" | "borderRadiusTopF" | "borderRadiusRightF" | "borderRadiusBottomF" | "borderRadiusLeftF" | "borderRadiusTopLeftF" | "borderRadiusTopRightF" | "borderRadiusBottomLeftF" | "borderRadiusBottomRightF" | "shadowF" | "backgroundF" | "bgF" | "colorF" | "backgroundColorF" | "bgColorF" | "borderColorF" | "outlineColorF" | "cursorF" | "zIndexF" | "overflowF" | "overflowXF" | "overflowYF" | "opacityF" | "fontSizeF" | "lineHeightF" | "fontWeightF" | "letterSpacingF" | "textDecorationF" | "textTransformF" | "textAlignF" | "flexWrapF" | "justifyContentF" | "alignItemsF" | "alignContentF" | "flex1F" | "flexDirectionF" | "gapF" | "rowGapF" | "columnGapF" | "orderF" | "flexGrowF" | "flexShrinkF" | "alignSelfF" | "justifySelfF" | "outlineF" | "outlineStyleF" | "outlineOffsetF" | "transitionF" | "hoverA" | "focusA" | "displayA" | "inlineA" | "boxSizingA" | "positionA" | "insetA" | "topA" | "rightA" | "bottomA" | "leftA" | "widthA" | "heightA" | "minWidthA" | "minHeightA" | "maxWidthA" | "maxHeightA" | "marginA" | "mA" | "marginHorizontalA" | "mxA" | "marginVerticalA" | "myA" | "marginTopA" | "mtA" | "marginRightA" | "mrA" | "marginBottomA" | "mbA" | "marginLeftA" | "mlA" | "paddingA" | "pA" | "paddingHorizontalA" | "pxA" | "paddingVerticalA" | "pyA" | "paddingTopA" | "ptA" | "paddingRightA" | "prA" | "paddingBottomA" | "pbA" | "paddingLeftA" | "plA" | "borderA" | "bA" | "borderHorizontalA" | "bxA" | "borderVerticalA" | "byA" | "borderTopA" | "btA" | "borderRightA" | "brA" | "borderBottomA" | "bbA" | "borderLeftA" | "blA" | "borderStyleA" | "borderRadiusA" | "borderRadiusTopA" | "borderRadiusRightA" | "borderRadiusBottomA" | "borderRadiusLeftA" | "borderRadiusTopLeftA" | "borderRadiusTopRightA" | "borderRadiusBottomLeftA" | "borderRadiusBottomRightA" | "shadowA" | "backgroundA" | "bgA" | "colorA" | "backgroundColorA" | "bgColorA" | "borderColorA" | "outlineColorA" | "cursorA" | "zIndexA" | "overflowA" | "overflowXA" | "overflowYA" | "opacityA" | "fontSizeA" | "lineHeightA" | "fontWeightA" | "letterSpacingA" | "textDecorationA" | "textTransformA" | "textAlignA" | "flexWrapA" | "justifyContentA" | "alignItemsA" | "alignContentA" | "flex1A" | "flexDirectionA" | "gapA" | "rowGapA" | "columnGapA" | "orderA" | "flexGrowA" | "flexShrinkA" | "alignSelfA" | "justifySelfA" | "outlineA" | "outlineStyleA" | "outlineOffsetA" | "transitionA" | "children" | "tag" | "props" | "name" | "defaultChecked" | "placeholder" | "onChange" | "onInput" | "autoFocus" | "disabled" | "value" | "readOnly" | "required"> & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as g } from "react";
|
|
3
|
-
import C from "../box.mjs";
|
|
4
|
-
import "../box.module.css.mjs";
|
|
5
|
-
import "../utils/utils.mjs";
|
|
6
|
-
function h(o, r) {
|
|
7
|
-
const { props: t, name: e, disabled: n, placeholder: a, value: d, onInput: i, onChange: p, autoFocus: u, readOnly: l, required: s, defaultChecked: c } = o, m = {
|
|
8
|
-
...t,
|
|
9
|
-
type: "radio",
|
|
10
|
-
name: e,
|
|
11
|
-
disabled: n,
|
|
12
|
-
placeholder: a,
|
|
13
|
-
onInput: i,
|
|
14
|
-
onChange: p,
|
|
15
|
-
value: d,
|
|
16
|
-
autoFocus: u,
|
|
17
|
-
readOnly: l,
|
|
18
|
-
required: s,
|
|
19
|
-
defaultChecked: c,
|
|
20
|
-
ref: r
|
|
21
|
-
};
|
|
22
|
-
return /* @__PURE__ */ f(C, { tag: "input", inline: !0, ...o, props: m });
|
|
23
|
-
}
|
|
24
|
-
const P = g(h);
|
|
25
|
-
export {
|
|
26
|
-
P as default
|
|
27
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Box from '../box';
|
|
3
|
-
declare type BoxProps = React.ComponentProps<typeof Box<'textarea'>>;
|
|
4
|
-
declare type BoxTagProps = Required<BoxProps>['props'];
|
|
5
|
-
declare type UncontrolledTextareaCoreTagProps = Omit<BoxTagProps, 'name' | 'onInput' | 'onChange' | 'placeholder' | 'disabled' | 'defaultValue' | 'rows' | 'cols' | 'autoFocus' | 'maxLength' | 'minLength' | 'readOnly' | 'required'>;
|
|
6
|
-
interface Props extends Omit<BoxProps, 'props'> {
|
|
7
|
-
name: string;
|
|
8
|
-
props?: UncontrolledTextareaCoreTagProps;
|
|
9
|
-
onInput?: (e: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
10
|
-
onChange?: (e: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
defaultValue?: string | number;
|
|
14
|
-
rows?: number;
|
|
15
|
-
cols?: number;
|
|
16
|
-
autoFocus?: boolean;
|
|
17
|
-
maxLength?: number;
|
|
18
|
-
minLength?: number;
|
|
19
|
-
readOnly?: boolean;
|
|
20
|
-
required?: boolean;
|
|
21
|
-
}
|
|
22
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "b" | "br" | "p" | "style" | "className" | "hover" | "focus" | "display" | "inline" | "boxSizing" | "position" | "inset" | "top" | "right" | "bottom" | "left" | "width" | "height" | "minWidth" | "minHeight" | "maxWidth" | "maxHeight" | "margin" | "m" | "marginHorizontal" | "mx" | "marginVertical" | "my" | "marginTop" | "mt" | "marginRight" | "mr" | "marginBottom" | "mb" | "marginLeft" | "ml" | "padding" | "paddingHorizontal" | "px" | "paddingVertical" | "py" | "paddingTop" | "pt" | "paddingRight" | "pr" | "paddingBottom" | "pb" | "paddingLeft" | "pl" | "border" | "borderHorizontal" | "bx" | "borderVertical" | "by" | "borderTop" | "bt" | "borderRight" | "borderBottom" | "bb" | "borderLeft" | "bl" | "borderStyle" | "borderRadius" | "borderRadiusTop" | "borderRadiusRight" | "borderRadiusBottom" | "borderRadiusLeft" | "borderRadiusTopLeft" | "borderRadiusTopRight" | "borderRadiusBottomLeft" | "borderRadiusBottomRight" | "shadow" | "background" | "bg" | "color" | "backgroundColor" | "bgColor" | "borderColor" | "outlineColor" | "cursor" | "zIndex" | "overflow" | "overflowX" | "overflowY" | "opacity" | "fontSize" | "lineHeight" | "fontWeight" | "letterSpacing" | "textDecoration" | "textTransform" | "textAlign" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "flex1" | "flexDirection" | "gap" | "rowGap" | "columnGap" | "order" | "flexGrow" | "flexShrink" | "alignSelf" | "justifySelf" | "outline" | "outlineStyle" | "outlineOffset" | "transition" | "hoverH" | "focusH" | "displayH" | "inlineH" | "boxSizingH" | "positionH" | "insetH" | "topH" | "rightH" | "bottomH" | "leftH" | "widthH" | "heightH" | "minWidthH" | "minHeightH" | "maxWidthH" | "maxHeightH" | "marginH" | "mH" | "marginHorizontalH" | "mxH" | "marginVerticalH" | "myH" | "marginTopH" | "mtH" | "marginRightH" | "mrH" | "marginBottomH" | "mbH" | "marginLeftH" | "mlH" | "paddingH" | "pH" | "paddingHorizontalH" | "pxH" | "paddingVerticalH" | "pyH" | "paddingTopH" | "ptH" | "paddingRightH" | "prH" | "paddingBottomH" | "pbH" | "paddingLeftH" | "plH" | "borderH" | "bH" | "borderHorizontalH" | "bxH" | "borderVerticalH" | "byH" | "borderTopH" | "btH" | "borderRightH" | "brH" | "borderBottomH" | "bbH" | "borderLeftH" | "blH" | "borderStyleH" | "borderRadiusH" | "borderRadiusTopH" | "borderRadiusRightH" | "borderRadiusBottomH" | "borderRadiusLeftH" | "borderRadiusTopLeftH" | "borderRadiusTopRightH" | "borderRadiusBottomLeftH" | "borderRadiusBottomRightH" | "shadowH" | "backgroundH" | "bgH" | "colorH" | "backgroundColorH" | "bgColorH" | "borderColorH" | "outlineColorH" | "cursorH" | "zIndexH" | "overflowH" | "overflowXH" | "overflowYH" | "opacityH" | "fontSizeH" | "lineHeightH" | "fontWeightH" | "letterSpacingH" | "textDecorationH" | "textTransformH" | "textAlignH" | "flexWrapH" | "justifyContentH" | "alignItemsH" | "alignContentH" | "flex1H" | "flexDirectionH" | "gapH" | "rowGapH" | "columnGapH" | "orderH" | "flexGrowH" | "flexShrinkH" | "alignSelfH" | "justifySelfH" | "outlineH" | "outlineStyleH" | "outlineOffsetH" | "transitionH" | "hoverF" | "focusF" | "displayF" | "inlineF" | "boxSizingF" | "positionF" | "insetF" | "topF" | "rightF" | "bottomF" | "leftF" | "widthF" | "heightF" | "minWidthF" | "minHeightF" | "maxWidthF" | "maxHeightF" | "marginF" | "mF" | "marginHorizontalF" | "mxF" | "marginVerticalF" | "myF" | "marginTopF" | "mtF" | "marginRightF" | "mrF" | "marginBottomF" | "mbF" | "marginLeftF" | "mlF" | "paddingF" | "pF" | "paddingHorizontalF" | "pxF" | "paddingVerticalF" | "pyF" | "paddingTopF" | "ptF" | "paddingRightF" | "prF" | "paddingBottomF" | "pbF" | "paddingLeftF" | "plF" | "borderF" | "bF" | "borderHorizontalF" | "bxF" | "borderVerticalF" | "byF" | "borderTopF" | "btF" | "borderRightF" | "brF" | "borderBottomF" | "bbF" | "borderLeftF" | "blF" | "borderStyleF" | "borderRadiusF" | "borderRadiusTopF" | "borderRadiusRightF" | "borderRadiusBottomF" | "borderRadiusLeftF" | "borderRadiusTopLeftF" | "borderRadiusTopRightF" | "borderRadiusBottomLeftF" | "borderRadiusBottomRightF" | "shadowF" | "backgroundF" | "bgF" | "colorF" | "backgroundColorF" | "bgColorF" | "borderColorF" | "outlineColorF" | "cursorF" | "zIndexF" | "overflowF" | "overflowXF" | "overflowYF" | "opacityF" | "fontSizeF" | "lineHeightF" | "fontWeightF" | "letterSpacingF" | "textDecorationF" | "textTransformF" | "textAlignF" | "flexWrapF" | "justifyContentF" | "alignItemsF" | "alignContentF" | "flex1F" | "flexDirectionF" | "gapF" | "rowGapF" | "columnGapF" | "orderF" | "flexGrowF" | "flexShrinkF" | "alignSelfF" | "justifySelfF" | "outlineF" | "outlineStyleF" | "outlineOffsetF" | "transitionF" | "hoverA" | "focusA" | "displayA" | "inlineA" | "boxSizingA" | "positionA" | "insetA" | "topA" | "rightA" | "bottomA" | "leftA" | "widthA" | "heightA" | "minWidthA" | "minHeightA" | "maxWidthA" | "maxHeightA" | "marginA" | "mA" | "marginHorizontalA" | "mxA" | "marginVerticalA" | "myA" | "marginTopA" | "mtA" | "marginRightA" | "mrA" | "marginBottomA" | "mbA" | "marginLeftA" | "mlA" | "paddingA" | "pA" | "paddingHorizontalA" | "pxA" | "paddingVerticalA" | "pyA" | "paddingTopA" | "ptA" | "paddingRightA" | "prA" | "paddingBottomA" | "pbA" | "paddingLeftA" | "plA" | "borderA" | "bA" | "borderHorizontalA" | "bxA" | "borderVerticalA" | "byA" | "borderTopA" | "btA" | "borderRightA" | "brA" | "borderBottomA" | "bbA" | "borderLeftA" | "blA" | "borderStyleA" | "borderRadiusA" | "borderRadiusTopA" | "borderRadiusRightA" | "borderRadiusBottomA" | "borderRadiusLeftA" | "borderRadiusTopLeftA" | "borderRadiusTopRightA" | "borderRadiusBottomLeftA" | "borderRadiusBottomRightA" | "shadowA" | "backgroundA" | "bgA" | "colorA" | "backgroundColorA" | "bgColorA" | "borderColorA" | "outlineColorA" | "cursorA" | "zIndexA" | "overflowA" | "overflowXA" | "overflowYA" | "opacityA" | "fontSizeA" | "lineHeightA" | "fontWeightA" | "letterSpacingA" | "textDecorationA" | "textTransformA" | "textAlignA" | "flexWrapA" | "justifyContentA" | "alignItemsA" | "alignContentA" | "flex1A" | "flexDirectionA" | "gapA" | "rowGapA" | "columnGapA" | "orderA" | "flexGrowA" | "flexShrinkA" | "alignSelfA" | "justifySelfA" | "outlineA" | "outlineStyleA" | "outlineOffsetA" | "transitionA" | "children" | "tag" | "props" | "name" | "defaultValue" | "placeholder" | "onChange" | "onInput" | "autoFocus" | "disabled" | "maxLength" | "minLength" | "readOnly" | "required" | "cols" | "rows"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
23
|
-
export default _default;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { jsx as h } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as w } from "react";
|
|
3
|
-
import C from "../box.mjs";
|
|
4
|
-
import "../box.module.css.mjs";
|
|
5
|
-
import "../utils/utils.mjs";
|
|
6
|
-
function T(o, e) {
|
|
7
|
-
const {
|
|
8
|
-
props: r,
|
|
9
|
-
name: t,
|
|
10
|
-
disabled: n,
|
|
11
|
-
placeholder: a,
|
|
12
|
-
defaultValue: l,
|
|
13
|
-
onInput: p,
|
|
14
|
-
onChange: s,
|
|
15
|
-
rows: i,
|
|
16
|
-
cols: m,
|
|
17
|
-
autoFocus: u,
|
|
18
|
-
maxLength: d,
|
|
19
|
-
minLength: c,
|
|
20
|
-
readOnly: f,
|
|
21
|
-
required: x
|
|
22
|
-
} = o, g = {
|
|
23
|
-
...r,
|
|
24
|
-
name: t,
|
|
25
|
-
disabled: n,
|
|
26
|
-
placeholder: a,
|
|
27
|
-
onInput: p,
|
|
28
|
-
onChange: s,
|
|
29
|
-
defaultValue: l,
|
|
30
|
-
rows: i,
|
|
31
|
-
cols: m,
|
|
32
|
-
autoFocus: u,
|
|
33
|
-
maxLength: d,
|
|
34
|
-
minLength: c,
|
|
35
|
-
readOnly: f,
|
|
36
|
-
required: x,
|
|
37
|
-
ref: e
|
|
38
|
-
};
|
|
39
|
-
return /* @__PURE__ */ h(C, { tag: "textarea", inline: !0, ...o, props: g });
|
|
40
|
-
}
|
|
41
|
-
const y = w(T);
|
|
42
|
-
export {
|
|
43
|
-
y as default
|
|
44
|
-
};
|