@takecasper/acuity-design-system 1.27.2 → 1.27.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.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +8 -4
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -274,13 +274,14 @@ export declare interface TextareaProps extends React.TextareaHTMLAttributes<HTML
|
|
|
274
274
|
hasMarginBottom?: boolean;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export declare const TextInput: ({ id, state, disabled, type, label, optionalityLabel, helpText, message, className, hasMarginBottom, ...props }: TextInputProps) => JSX_2.Element;
|
|
277
|
+
export declare const TextInput: ({ id, state, disabled, type, label, optionalityLabel, helpText, message, className, hasMarginBottom, ref, ...props }: TextInputProps) => JSX_2.Element;
|
|
278
278
|
|
|
279
|
-
export declare const TextInputAtom: ({ state, disabled, type, ...props }: TextInputAtomProps) => JSX_2.Element;
|
|
279
|
+
export declare const TextInputAtom: ({ state, disabled, type, ref, ...props }: TextInputAtomProps) => JSX_2.Element;
|
|
280
280
|
|
|
281
281
|
export declare interface TextInputAtomProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
282
282
|
state?: InputState;
|
|
283
283
|
type?: TextInputTypes;
|
|
284
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
284
285
|
}
|
|
285
286
|
|
|
286
287
|
export declare interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -294,6 +295,7 @@ export declare interface TextInputProps extends React.InputHTMLAttributes<HTMLIn
|
|
|
294
295
|
message?: string;
|
|
295
296
|
className?: string;
|
|
296
297
|
hasMarginBottom?: boolean;
|
|
298
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
297
299
|
}
|
|
298
300
|
|
|
299
301
|
export declare type TextInputTypes = 'text' | 'password' | 'email' | 'number' | 'tel' | 'url';
|
package/dist/index.es.js
CHANGED
|
@@ -7618,7 +7618,8 @@ const Yi = ({
|
|
|
7618
7618
|
state: e = "default",
|
|
7619
7619
|
disabled: r = !1,
|
|
7620
7620
|
type: n = "text",
|
|
7621
|
-
|
|
7621
|
+
ref: t,
|
|
7622
|
+
...s
|
|
7622
7623
|
}) => /* @__PURE__ */ i.jsx(
|
|
7623
7624
|
"input",
|
|
7624
7625
|
{
|
|
@@ -7626,7 +7627,8 @@ const Yi = ({
|
|
|
7626
7627
|
readOnly: r,
|
|
7627
7628
|
type: n,
|
|
7628
7629
|
className: vl({ disabled: r, state: e }),
|
|
7629
|
-
|
|
7630
|
+
ref: t,
|
|
7631
|
+
...s
|
|
7630
7632
|
}
|
|
7631
7633
|
), Cl = xl, wl = ({
|
|
7632
7634
|
id: e,
|
|
@@ -7639,7 +7641,8 @@ const Yi = ({
|
|
|
7639
7641
|
message: l = "",
|
|
7640
7642
|
className: c = "",
|
|
7641
7643
|
hasMarginBottom: f = !0,
|
|
7642
|
-
|
|
7644
|
+
ref: u,
|
|
7645
|
+
...p
|
|
7643
7646
|
}) => /* @__PURE__ */ i.jsx(
|
|
7644
7647
|
ut,
|
|
7645
7648
|
{
|
|
@@ -7661,7 +7664,8 @@ const Yi = ({
|
|
|
7661
7664
|
type: t,
|
|
7662
7665
|
state: r,
|
|
7663
7666
|
disabled: n,
|
|
7664
|
-
|
|
7667
|
+
ref: u,
|
|
7668
|
+
...p
|
|
7665
7669
|
}
|
|
7666
7670
|
)
|
|
7667
7671
|
}
|