@instructure/ui-form-field 9.0.2-snapshot-2 → 9.0.2-snapshot-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/CHANGELOG.md +1 -1
- package/es/FormFieldGroup/index.js +4 -4
- package/es/FormFieldLabel/index.js +4 -4
- package/es/FormFieldLayout/index.js +4 -4
- package/es/FormFieldLayout/props.js +0 -1
- package/es/FormFieldMessage/index.js +4 -4
- package/es/FormFieldMessages/index.js +3 -3
- package/lib/FormFieldGroup/index.js +4 -4
- package/lib/FormFieldLabel/index.js +4 -4
- package/lib/FormFieldLayout/index.js +4 -4
- package/lib/FormFieldMessage/index.js +4 -4
- package/lib/FormFieldMessages/index.js +3 -3
- package/package.json +18 -18
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/FormField/index.d.ts +1 -1
- package/types/FormField/index.d.ts.map +1 -1
- package/types/FormFieldGroup/index.d.ts +5 -5
- package/types/FormFieldLabel/index.d.ts +3 -3
- package/types/FormFieldLayout/index.d.ts +2 -2
- package/types/FormFieldLayout/index.d.ts.map +1 -1
- package/types/FormFieldMessage/index.d.ts +3 -3
- package/types/FormFieldMessages/index.d.ts +1 -1
- package/types/FormFieldMessages/index.d.ts.map +1 -1
|
@@ -7,7 +7,7 @@ category: components
|
|
|
7
7
|
**/
|
|
8
8
|
declare class FormField extends Component<FormFieldProps> {
|
|
9
9
|
static readonly componentId = "FormField";
|
|
10
|
-
static propTypes: import("@instructure/shared-types
|
|
10
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof import("./props").FormFieldOwnProps>;
|
|
11
11
|
static allowedProps: readonly (keyof import("./props").FormFieldOwnProps)[];
|
|
12
12
|
static defaultProps: {
|
|
13
13
|
inline: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/FormField/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C;;;;GAIG;AACH,cAAM,SAAU,SAAQ,SAAS,CAAC,cAAc,CAAC;IAC/C,MAAM,CAAC,QAAQ,CAAC,WAAW,eAAc;IAEzC,MAAM,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/FormField/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE7C;;;;GAIG;AACH,cAAM,SAAU,SAAQ,SAAS,CAAC,cAAc,CAAC;IAC/C,MAAM,CAAC,QAAQ,CAAC,WAAW,eAAc;IAEzC,MAAM,CAAC,SAAS,gGAAY;IAC5B,MAAM,CAAC,YAAY,yDAAe;IAClC,MAAM,CAAC,YAAY;;;;;MAKlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,MAAM;CAaP;AAED,eAAe,SAAS,CAAA;AACxB,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -9,10 +9,10 @@ category: components
|
|
|
9
9
|
**/
|
|
10
10
|
declare class FormFieldGroup extends Component<FormFieldGroupProps> {
|
|
11
11
|
static readonly componentId = "FormFieldGroup";
|
|
12
|
-
static propTypes: import("@instructure/shared-types
|
|
12
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
13
13
|
description: import("react").ReactNode;
|
|
14
|
-
as?: import("@instructure/shared-types
|
|
15
|
-
messages?: import("
|
|
14
|
+
as?: import("@instructure/shared-types").AsElementType | undefined;
|
|
15
|
+
messages?: import("..").FormMessage[] | undefined;
|
|
16
16
|
messagesId?: string | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
children?: import("react").ReactNode;
|
|
@@ -25,8 +25,8 @@ declare class FormFieldGroup extends Component<FormFieldGroupProps> {
|
|
|
25
25
|
}>;
|
|
26
26
|
static allowedProps: readonly (keyof {
|
|
27
27
|
description: import("react").ReactNode;
|
|
28
|
-
as?: import("@instructure/shared-types
|
|
29
|
-
messages?: import("
|
|
28
|
+
as?: import("@instructure/shared-types").AsElementType | undefined;
|
|
29
|
+
messages?: import("..").FormMessage[] | undefined;
|
|
30
30
|
messagesId?: string | undefined;
|
|
31
31
|
disabled?: boolean | undefined;
|
|
32
32
|
children?: import("react").ReactNode;
|
|
@@ -20,13 +20,13 @@ type: example
|
|
|
20
20
|
**/
|
|
21
21
|
declare class FormFieldLabel extends Component<FormFieldLabelProps> {
|
|
22
22
|
static readonly componentId = "FormFieldLabel";
|
|
23
|
-
static propTypes: import("@instructure/shared-types
|
|
23
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
24
24
|
children: import("react").ReactNode;
|
|
25
|
-
as?: import("@instructure/shared-types
|
|
25
|
+
as?: import("@instructure/shared-types").AsElementType | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
static allowedProps: readonly (keyof {
|
|
28
28
|
children: import("react").ReactNode;
|
|
29
|
-
as?: import("@instructure/shared-types
|
|
29
|
+
as?: import("@instructure/shared-types").AsElementType | undefined;
|
|
30
30
|
})[];
|
|
31
31
|
static defaultProps: {
|
|
32
32
|
readonly as: "span";
|
|
@@ -9,7 +9,7 @@ parent: FormField
|
|
|
9
9
|
**/
|
|
10
10
|
declare class FormFieldLayout extends Component<FormFieldLayoutProps> {
|
|
11
11
|
static readonly componentId = "FormFieldLayout";
|
|
12
|
-
static propTypes: import("@instructure/shared-types
|
|
12
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof import("./props").FormFieldLayoutOwnProps>;
|
|
13
13
|
static allowedProps: readonly (keyof import("./props").FormFieldLayoutOwnProps)[];
|
|
14
14
|
static defaultProps: {
|
|
15
15
|
readonly inline: false;
|
|
@@ -25,7 +25,7 @@ declare class FormFieldLayout extends Component<FormFieldLayoutProps> {
|
|
|
25
25
|
componentDidUpdate(): void;
|
|
26
26
|
get hasVisibleLabel(): boolean | "" | 0 | null | undefined;
|
|
27
27
|
get hasMessages(): boolean | undefined;
|
|
28
|
-
get elementType(): import("react").ComponentClass<any, any> | NonNullable<import("@instructure/shared-types
|
|
28
|
+
get elementType(): import("react").ComponentClass<any, any> | NonNullable<import("@instructure/shared-types").AsElementType | undefined> | import("react").FunctionComponent<Readonly<FormFieldLayoutProps>> | import("react").ComponentClass<Readonly<FormFieldLayoutProps>, any>;
|
|
29
29
|
get inlineContainerAndLabel(): boolean | undefined;
|
|
30
30
|
handleInputContainerRef: (node: HTMLSpanElement | null) => void;
|
|
31
31
|
renderLabel(): string | number | boolean | Iterable<import("react").ReactNode> | jsx.JSX.Element | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/FormFieldLayout/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAajC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEnD;;;;GAIG;AACH,cAEM,eAAgB,SAAQ,SAAS,CAAC,oBAAoB,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/FormFieldLayout/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAajC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEnD;;;;GAIG;AACH,cAEM,eAAgB,SAAQ,SAAS,CAAC,oBAAoB,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS,sGAAY;IAC5B,MAAM,CAAC,YAAY,+DAAe;IAClC,MAAM,CAAC,YAAY;;;;;MAKT;gBAEE,KAAK,EAAE,oBAAoB;IAcvC,OAAO,CAAC,WAAW,CAAQ;IAE3B,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,eAAe,wCAElB;IAED,IAAI,WAAW,wBAEd;IAED,IAAI,WAAW,oQAEd;IAED,IAAI,uBAAuB,wBAG1B;IAED,uBAAuB,SAAU,eAAe,GAAG,IAAI,UAItD;IAED,WAAW;IAsBX,YAAY;IAaZ,qBAAqB;IAgBrB,MAAM;CAyCP;AAED,eAAe,eAAe,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -19,12 +19,12 @@ type: example
|
|
|
19
19
|
**/
|
|
20
20
|
declare class FormFieldMessage extends Component<FormFieldMessageProps> {
|
|
21
21
|
static readonly componentId = "FormFieldMessage";
|
|
22
|
-
static propTypes: import("@instructure/shared-types
|
|
23
|
-
variant?: import("
|
|
22
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
23
|
+
variant?: import("..").FormMessageType | undefined;
|
|
24
24
|
children?: import("react").ReactNode;
|
|
25
25
|
}>;
|
|
26
26
|
static allowedProps: readonly (keyof {
|
|
27
|
-
variant?: import("
|
|
27
|
+
variant?: import("..").FormMessageType | undefined;
|
|
28
28
|
children?: import("react").ReactNode;
|
|
29
29
|
})[];
|
|
30
30
|
static defaultProps: {
|
|
@@ -22,7 +22,7 @@ type: example
|
|
|
22
22
|
**/
|
|
23
23
|
declare class FormFieldMessages extends Component<FormFieldMessagesProps> {
|
|
24
24
|
static readonly componentId = "FormFieldMessages";
|
|
25
|
-
static propTypes: import("@instructure/shared-types
|
|
25
|
+
static propTypes: import("@instructure/shared-types").PropValidators<"messages">;
|
|
26
26
|
static allowedProps: readonly "messages"[];
|
|
27
27
|
static defaultProps: {};
|
|
28
28
|
ref: Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/FormFieldMessages/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAErD;;;;;;;;;;;;;;;;;GAiBG;AACH,cACM,iBAAkB,SAAQ,SAAS,CAAC,sBAAsB,CAAC;IAC/D,MAAM,CAAC,QAAQ,CAAC,WAAW,uBAAsB;IAEjD,MAAM,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/FormFieldMessages/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQrD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAA;AAErD;;;;;;;;;;;;;;;;;GAiBG;AACH,cACM,iBAAkB,SAAQ,SAAS,CAAC,sBAAsB,CAAC;IAC/D,MAAM,CAAC,QAAQ,CAAC,WAAW,uBAAsB;IAEjD,MAAM,CAAC,SAAS,iEAAY;IAC5B,MAAM,CAAC,YAAY,wBAAe;IAClC,MAAM,CAAC,YAAY,KAAK;IAExB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,MAAM;CAmBP;AAED,eAAe,iBAAiB,CAAA;AAChC,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|