@stenajs-webui/forms 19.0.0-next.40 → 19.0.0-next.41
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/components/ui/input-label/InputLabel.d.ts +9 -0
- package/dist/components/ui/input-label/InputLabelText.d.ts +6 -0
- package/dist/components/ui/labelled-text-input/LabelledTextInput.d.ts +16 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +447 -348
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { InputElementProps } from "@stenajs-webui/core";
|
|
3
|
+
import { ValueAndOnValueChangeProps } from "../types";
|
|
4
|
+
export declare type LabelledTextInputVariant = "normal" | "error";
|
|
5
|
+
export declare type LabelledTextInputSize = "medium" | "large";
|
|
6
|
+
export declare type LabelledTextInputBorderVariant = "normalBorder" | "onlyTop" | "onlyBottom";
|
|
7
|
+
export interface LabelledTextInputProps extends Omit<InputElementProps, "value" | "size">, ValueAndOnValueChangeProps<string> {
|
|
8
|
+
id: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
size?: LabelledTextInputSize;
|
|
11
|
+
screenReaderLabel?: string;
|
|
12
|
+
pattern?: string;
|
|
13
|
+
borderRadiusVariant?: LabelledTextInputBorderVariant;
|
|
14
|
+
variant?: LabelledTextInputVariant;
|
|
15
|
+
}
|
|
16
|
+
export declare const LabelledTextInput: React.ForwardRefExoticComponent<LabelledTextInputProps & React.RefAttributes<HTMLInputElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ export * from "./components/ui/radio/RadioButtonWithLabel";
|
|
|
8
8
|
export * from "./components/ui/numeric-text-input/NumericTextInput";
|
|
9
9
|
export * from "./components/ui/numeric-text-input/hooks/UseNumericInputValue";
|
|
10
10
|
export * from "./components/ui/password-input/PasswordInput";
|
|
11
|
+
export * from "./components/ui/input-label/InputLabel";
|
|
12
|
+
export * from "./components/ui/input-label/InputLabelText";
|
|
13
|
+
export * from "./components/ui/labelled-text-input/LabelledTextInput";
|
|
11
14
|
export * from "./components/ui/text-input/TextInput";
|
|
12
15
|
export * from "./components/ui/text-input/TextInputBox";
|
|
13
16
|
export * from "./components/ui/text-area/TextArea";
|