@instructure/ui-modal 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.
@@ -10,11 +10,11 @@ id: Modal.Body
10
10
  **/
11
11
  declare class ModalBody extends Component<ModalBodyProps, ModalBodyState> {
12
12
  static readonly componentId = "Modal.Body";
13
- static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
13
+ static propTypes: import("@instructure/shared-types").PropValidators<keyof {
14
14
  children?: import("react").ReactNode;
15
- padding?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
15
+ padding?: import("@instructure/emotion").Spacing | undefined;
16
16
  elementRef?: ((element: Element | null) => void) | undefined;
17
- as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
17
+ as?: import("@instructure/shared-types").AsElementType | undefined;
18
18
  variant?: "default" | "inverse" | undefined; /**
19
19
  ---
20
20
  parent: Modal
@@ -25,9 +25,9 @@ declare class ModalBody extends Component<ModalBodyProps, ModalBodyState> {
25
25
  }>;
26
26
  static allowedProps: readonly (keyof {
27
27
  children?: import("react").ReactNode;
28
- padding?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
28
+ padding?: import("@instructure/emotion").Spacing | undefined;
29
29
  elementRef?: ((element: Element | null) => void) | undefined;
30
- as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
30
+ as?: import("@instructure/shared-types").AsElementType | undefined;
31
31
  variant?: "default" | "inverse" | undefined; /**
32
32
  ---
33
33
  parent: Modal
@@ -10,7 +10,7 @@ id: Modal.Footer
10
10
  **/
11
11
  declare class ModalFooter extends Component<ModalFooterProps> {
12
12
  static readonly componentId = "Modal.Footer";
13
- static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
13
+ static propTypes: import("@instructure/shared-types").PropValidators<keyof {
14
14
  children?: import("react").ReactNode;
15
15
  variant?: "default" | "inverse" | undefined;
16
16
  }>;
@@ -10,7 +10,7 @@ id: Modal.Header
10
10
  **/
11
11
  declare class ModalHeader extends Component<ModalHeaderProps> {
12
12
  static readonly componentId = "Modal.Header";
13
- static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
13
+ static propTypes: import("@instructure/shared-types").PropValidators<keyof {
14
14
  children?: React.ReactNode;
15
15
  variant?: "default" | "inverse" | undefined;
16
16
  spacing?: "default" | "compact" | undefined;
@@ -21,7 +21,7 @@ tags: overlay, portal, dialog
21
21
  **/
22
22
  declare class Modal extends Component<ModalProps, ModalState> {
23
23
  static readonly componentId = "Modal";
24
- static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<"children" | "variant" | "size" | "overflow" | "contentRef" | "constrain" | keyof ModalPropsForPortal | keyof ModalPropsForTransition | keyof import("./props").ModalPropsForDialog>;
24
+ static propTypes: import("@instructure/shared-types").PropValidators<"children" | "variant" | "size" | "overflow" | "contentRef" | "constrain" | keyof ModalPropsForPortal | keyof ModalPropsForTransition | keyof import("./props").ModalPropsForDialog>;
25
25
  static allowedProps: readonly ("children" | "variant" | "size" | "overflow" | "contentRef" | "constrain" | keyof ModalPropsForPortal | keyof ModalPropsForTransition | keyof import("./props").ModalPropsForDialog)[];
26
26
  static defaultProps: {
27
27
  open: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Modal/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAY,SAAS,EAAE,MAAM,OAAO,CAAA;AAYlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAG/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,aAA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