@instructure/ui-form-field 8.27.1-snapshot-21 → 8.28.1-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.
@@ -12,12 +12,12 @@ declare class FormFieldGroup extends Component<FormFieldGroupProps> {
12
12
  static readonly componentId = "FormFieldGroup";
13
13
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
14
14
  description: import("react").ReactNode;
15
- as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
15
+ as?: import("@instructure/shared-types/types/CommonProps").AsElementType<any> | undefined;
16
16
  messages?: import("../FormPropTypes").FormMessage[] | undefined;
17
17
  messagesId?: string | undefined;
18
18
  disabled?: boolean | undefined;
19
19
  children?: import("react").ReactNode;
20
- layout?: "columns" | "inline" | "stacked" | undefined;
20
+ layout?: "inline" | "columns" | "stacked" | undefined;
21
21
  rowSpacing?: "small" | "none" | "medium" | "large" | undefined;
22
22
  colSpacing?: "small" | "none" | "medium" | "large" | undefined;
23
23
  vAlign?: "middle" | "bottom" | "top" | undefined;
@@ -26,12 +26,12 @@ declare class FormFieldGroup extends Component<FormFieldGroupProps> {
26
26
  }>;
27
27
  static allowedProps: readonly (keyof {
28
28
  description: import("react").ReactNode;
29
- as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
29
+ as?: import("@instructure/shared-types/types/CommonProps").AsElementType<any> | undefined;
30
30
  messages?: import("../FormPropTypes").FormMessage[] | undefined;
31
31
  messagesId?: string | undefined;
32
32
  disabled?: boolean | undefined;
33
33
  children?: import("react").ReactNode;
34
- layout?: "columns" | "inline" | "stacked" | undefined;
34
+ layout?: "inline" | "columns" | "stacked" | undefined;
35
35
  rowSpacing?: "small" | "none" | "medium" | "large" | undefined;
36
36
  colSpacing?: "small" | "none" | "medium" | "large" | undefined;
37
37
  vAlign?: "middle" | "bottom" | "top" | undefined;
@@ -23,11 +23,11 @@ declare class FormFieldLabel extends Component<FormFieldLabelProps> {
23
23
  static readonly componentId = "FormFieldLabel";
24
24
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
25
25
  children: import("react").ReactNode;
26
- as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
26
+ as?: import("@instructure/shared-types/types/CommonProps").AsElementType<any> | undefined;
27
27
  }>;
28
28
  static allowedProps: readonly (keyof {
29
29
  children: import("react").ReactNode;
30
- as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
30
+ as?: import("@instructure/shared-types/types/CommonProps").AsElementType<any> | undefined;
31
31
  })[];
32
32
  static defaultProps: {
33
33
  readonly as: "span";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/FormFieldLabel/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;;;;;;;;;;;GAgBG;AACH,cACM,cAAe,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,WAAW,oBAAmB;IAE9C,MAAM,CAAC,SAAS;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;SAAe;IAClC,MAAM,CAAC,YAAY;;MAET;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,MAAM;CAgBP;AAED,eAAe,cAAc,CAAA;AAC7B,OAAO,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/FormFieldLabel/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;;;;;;;;;;;GAgBG;AACH,cACM,cAAe,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,WAAW,oBAAmB;IAE9C,MAAM,CAAC,SAAS;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;SAAe;IAClC,MAAM,CAAC,YAAY;;MAET;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,MAAM;CAeP;AAED,eAAe,cAAc,CAAA;AAC7B,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -26,7 +26,7 @@ declare class FormFieldLayout extends Component<FormFieldLayoutProps> {
26
26
  componentDidUpdate(): void;
27
27
  get hasVisibleLabel(): boolean | "" | 0 | null | undefined;
28
28
  get hasMessages(): boolean | undefined;
29
- get elementType(): import("@instructure/shared-types/types/CommonProps").AsElementType;
29
+ get elementType(): import("react").ComponentClass<any, any> | NonNullable<import("@instructure/shared-types/types/CommonProps").AsElementType<any> | undefined> | import("react").FunctionComponent<Readonly<FormFieldLayoutProps>> | import("react").ComponentClass<Readonly<FormFieldLayoutProps>, any>;
30
30
  get inlineContainerAndLabel(): boolean | undefined;
31
31
  handleInputContainerRef: (node: HTMLSpanElement | null) => void;
32
32
  renderLabel(): string | number | boolean | import("react").ReactFragment | 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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