@instructure/ui-link 9.2.1-snapshot-11 → 9.2.1-snapshot-15

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Link.examples.d.ts","sourceRoot":"","sources":["../../../src/Link/__examples__/Link.examples.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;;AAMzC,wBA0B2B"}
1
+ {"version":3,"file":"Link.examples.d.ts","sourceRoot":"","sources":["../../../src/Link/__examples__/Link.examples.ts"],"names":[],"mappings":"AA0BA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;wBAgCpC,WAAW,CAAC,SAAS,CAAC;AA1B3B,wBA0B2B"}
@@ -12,41 +12,41 @@ declare class Link extends Component<LinkProps, LinkState> {
12
12
  static readonly componentId = "Link";
13
13
  static propTypes: import("@instructure/shared-types").PropValidators<keyof {
14
14
  children: React.ReactNode;
15
- href?: string | undefined;
16
- color?: "link" | "link-inverse" | undefined;
17
- elementRef?: ((element: Element | null) => void) | undefined;
18
- as?: import("@instructure/shared-types").AsElementType | undefined;
19
- role?: string | undefined;
20
- forceButtonRole?: boolean | undefined;
21
- interaction?: "enabled" | "disabled" | undefined;
22
- margin?: import("@instructure/emotion").Spacing | undefined;
15
+ href?: string;
16
+ color?: "link" | "link-inverse";
17
+ elementRef?: (element: Element | null) => void;
18
+ as?: import("@instructure/shared-types").AsElementType;
19
+ role?: string;
20
+ forceButtonRole?: boolean;
21
+ interaction?: "enabled" | "disabled";
22
+ margin?: import("@instructure/emotion").Spacing;
23
23
  renderIcon?: import("@instructure/shared-types").Renderable;
24
- iconPlacement?: "start" | "end" | undefined;
25
- display?: "auto" | "block" | "inline-block" | "flex" | "inline-flex" | undefined;
26
- isWithinText?: boolean | undefined;
27
- onBlur?: ((event: React.FocusEvent<ViewOwnProps, Element>) => void) | undefined;
28
- onClick?: ((event: React.MouseEvent<ViewOwnProps, MouseEvent>) => void) | undefined;
29
- onFocus?: ((event: React.FocusEvent<ViewOwnProps, Element>) => void) | undefined;
30
- onMouseEnter?: ((event: React.MouseEvent<ViewOwnProps, MouseEvent>) => void) | undefined;
24
+ iconPlacement?: "start" | "end";
25
+ display?: "auto" | "block" | "inline-block" | "flex" | "inline-flex";
26
+ isWithinText?: boolean;
27
+ onBlur?: (event: React.FocusEvent<ViewOwnProps>) => void;
28
+ onClick?: (event: React.MouseEvent<ViewOwnProps>) => void;
29
+ onFocus?: (event: React.FocusEvent<ViewOwnProps>) => void;
30
+ onMouseEnter?: (event: React.MouseEvent<ViewOwnProps>) => void;
31
31
  }>;
32
32
  static allowedProps: readonly (keyof {
33
33
  children: React.ReactNode;
34
- href?: string | undefined;
35
- color?: "link" | "link-inverse" | undefined;
36
- elementRef?: ((element: Element | null) => void) | undefined;
37
- as?: import("@instructure/shared-types").AsElementType | undefined;
38
- role?: string | undefined;
39
- forceButtonRole?: boolean | undefined;
40
- interaction?: "enabled" | "disabled" | undefined;
41
- margin?: import("@instructure/emotion").Spacing | undefined;
34
+ href?: string;
35
+ color?: "link" | "link-inverse";
36
+ elementRef?: (element: Element | null) => void;
37
+ as?: import("@instructure/shared-types").AsElementType;
38
+ role?: string;
39
+ forceButtonRole?: boolean;
40
+ interaction?: "enabled" | "disabled";
41
+ margin?: import("@instructure/emotion").Spacing;
42
42
  renderIcon?: import("@instructure/shared-types").Renderable;
43
- iconPlacement?: "start" | "end" | undefined;
44
- display?: "auto" | "block" | "inline-block" | "flex" | "inline-flex" | undefined;
45
- isWithinText?: boolean | undefined;
46
- onBlur?: ((event: React.FocusEvent<ViewOwnProps, Element>) => void) | undefined;
47
- onClick?: ((event: React.MouseEvent<ViewOwnProps, MouseEvent>) => void) | undefined;
48
- onFocus?: ((event: React.FocusEvent<ViewOwnProps, Element>) => void) | undefined;
49
- onMouseEnter?: ((event: React.MouseEvent<ViewOwnProps, MouseEvent>) => void) | undefined;
43
+ iconPlacement?: "start" | "end";
44
+ display?: "auto" | "block" | "inline-block" | "flex" | "inline-flex";
45
+ isWithinText?: boolean;
46
+ onBlur?: (event: React.FocusEvent<ViewOwnProps>) => void;
47
+ onClick?: (event: React.MouseEvent<ViewOwnProps>) => void;
48
+ onFocus?: (event: React.FocusEvent<ViewOwnProps>) => void;
49
+ onMouseEnter?: (event: React.MouseEvent<ViewOwnProps>) => void;
50
50
  })[];
51
51
  static defaultProps: {
52
52
  readonly interaction: undefined;