@instructure/ui-buttons 9.2.1-snapshot-10 → 9.2.1-snapshot-14

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":"index.d.ts","sourceRoot":"","sources":["../../src/BaseButton/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAaxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEpE;;;;GAIG;AAEH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,SAAS,iGAAY;IAC5B,MAAM,CAAC,YAAY,0DAAe;IAClC,MAAM,CAAC,YAAY;;;;;;;;;;;;;;MAeT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,mBAAmB,IAAI,oBAAoB,CAK9C;IAED,IAAI,kBAAkB,YAGrB;IAED,IAAI,WAAW,4NAEd;IAED,IAAI,WAAW,0DAEd;IAED,IAAI,UAAU,YAEb;IAED,IAAI,UAAU,YAEb;IAED,IAAI,SAAS,YAEZ;IAED,IAAI,UAAU,uBAiBb;IAED,IAAI,OAAO,YAEV;IAED,KAAK;IAIL,gBAAgB,OAAQ,OAAO,GAAG,IAAI,UAQrC;IAED,WAAW,UAAW,gBAAgB,CAAC,SAAS,GAAG,OAAO,CAAC,UAa1D;IAED,aAAa,UAAW,mBAAmB,CAAC,SAAS,GAAG,OAAO,CAAC,UA0B/D;IAED,cAAc;IAgCd,MAAM;CAuDP;AAED,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BaseButton/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAaxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEpE;;;;GAIG;AAEH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,SAAS,iGAAY;IAC5B,MAAM,CAAC,YAAY,0DAAe;IAClC,MAAM,CAAC,YAAY;;;;;;;;;;;;;;MAeT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,mBAAmB,IAAI,oBAAoB,CAK9C;IAED,IAAI,kBAAkB,YAGrB;IAED,IAAI,WAAW,4NAEd;IAED,IAAI,WAAW,0DAEd;IAED,IAAI,UAAU,YAEb;IAED,IAAI,UAAU,YAEb;IAED,IAAI,SAAS,YAEZ;IAED,IAAI,UAAU,uBAiBb;IAED,IAAI,OAAO,YAEV;IAED,KAAK;IAIL,gBAAgB,OAAQ,OAAO,GAAG,IAAI,UAQrC;IAED,WAAW,UAAW,KAAK,CAAC,UAAU,CAAC,SAAS,GAAG,OAAO,CAAC,UAa1D;IAED,aAAa,UAAW,KAAK,CAAC,aAAa,CAAC,SAAS,GAAG,OAAO,CAAC,UA0B/D;IAED,cAAc;IAgCd,MAAM;CAuDP;AAED,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,eAAe,UAAU,CAAA"}
@@ -10,39 +10,39 @@ declare class Button extends Component<ButtonProps> {
10
10
  static readonly componentId = "Button";
11
11
  static propTypes: import("@instructure/shared-types").PropValidators<keyof {
12
12
  children?: React.ReactNode;
13
- type?: "button" | "submit" | "reset" | undefined;
14
- size?: "small" | "medium" | "large" | undefined;
15
- elementRef?: ((element: Element | null) => void) | undefined;
16
- as?: import("@instructure/shared-types").AsElementType | undefined;
17
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
18
- color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger" | undefined;
19
- focusColor?: "info" | "inverse" | undefined;
20
- display?: "inline-block" | "block" | undefined;
21
- textAlign?: "center" | "start" | undefined;
22
- withBackground?: boolean | undefined;
23
- margin?: import("@instructure/emotion").Spacing | undefined;
24
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
25
- href?: string | undefined;
13
+ type?: "button" | "submit" | "reset";
14
+ size?: "small" | "medium" | "large";
15
+ elementRef?: (element: Element | null) => void;
16
+ as?: import("@instructure/shared-types").AsElementType;
17
+ interaction?: "enabled" | "disabled" | "readonly";
18
+ color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger";
19
+ focusColor?: "info" | "inverse";
20
+ display?: "inline-block" | "block";
21
+ textAlign?: "start" | "center";
22
+ withBackground?: boolean;
23
+ margin?: import("@instructure/emotion").Spacing;
24
+ cursor?: import("@instructure/ui-prop-types").Cursor;
25
+ href?: string;
26
26
  renderIcon?: React.ReactNode | (() => React.ReactNode);
27
- onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
27
+ onClick?: (event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
28
28
  }>;
29
29
  static allowedProps: readonly (keyof {
30
30
  children?: React.ReactNode;
31
- type?: "button" | "submit" | "reset" | undefined;
32
- size?: "small" | "medium" | "large" | undefined;
33
- elementRef?: ((element: Element | null) => void) | undefined;
34
- as?: import("@instructure/shared-types").AsElementType | undefined;
35
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
36
- color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger" | undefined;
37
- focusColor?: "info" | "inverse" | undefined;
38
- display?: "inline-block" | "block" | undefined;
39
- textAlign?: "center" | "start" | undefined;
40
- withBackground?: boolean | undefined;
41
- margin?: import("@instructure/emotion").Spacing | undefined;
42
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
43
- href?: string | undefined;
31
+ type?: "button" | "submit" | "reset";
32
+ size?: "small" | "medium" | "large";
33
+ elementRef?: (element: Element | null) => void;
34
+ as?: import("@instructure/shared-types").AsElementType;
35
+ interaction?: "enabled" | "disabled" | "readonly";
36
+ color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger";
37
+ focusColor?: "info" | "inverse";
38
+ display?: "inline-block" | "block";
39
+ textAlign?: "start" | "center";
40
+ withBackground?: boolean;
41
+ margin?: import("@instructure/emotion").Spacing;
42
+ cursor?: import("@instructure/ui-prop-types").Cursor;
43
+ href?: string;
44
44
  renderIcon?: React.ReactNode | (() => React.ReactNode);
45
- onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
45
+ onClick?: (event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
46
46
  })[];
47
47
  static defaultProps: {
48
48
  type: string;
@@ -11,35 +11,35 @@ declare class CloseButton extends Component<CloseButtonProps> {
11
11
  static readonly componentId = "CloseButton";
12
12
  static propTypes: import("@instructure/shared-types").PropValidators<keyof {
13
13
  screenReaderLabel: import("react").ReactNode;
14
- color?: "primary" | "primary-inverse" | undefined;
15
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
16
- elementRef?: ((element: Element | null) => void) | undefined;
17
- size?: "small" | "medium" | "large" | undefined;
18
- onClick?: ((event: import("react").KeyboardEvent<import("@instructure/ui-view").ViewProps> | import("react").MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
19
- margin?: import("@instructure/emotion").Spacing | undefined;
20
- placement?: "start" | "end" | "static" | undefined;
21
- offset?: "small" | "medium" | "none" | "x-small" | undefined;
22
- type?: "button" | "submit" | "reset" | undefined;
23
- as?: import("@instructure/shared-types").AsElementType | undefined;
24
- href?: string | undefined;
25
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
26
- tabIndex?: number | undefined;
14
+ color?: "primary" | "primary-inverse";
15
+ interaction?: "enabled" | "disabled" | "readonly";
16
+ elementRef?: (element: Element | null) => void;
17
+ size?: "small" | "medium" | "large";
18
+ onClick?: (event: import("react").KeyboardEvent<import("@instructure/ui-view").ViewProps> | import("react").MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
19
+ margin?: import("@instructure/emotion").Spacing;
20
+ placement?: "start" | "end" | "static";
21
+ offset?: "none" | "x-small" | "small" | "medium";
22
+ type?: "button" | "submit" | "reset";
23
+ as?: import("@instructure/shared-types").AsElementType;
24
+ href?: string;
25
+ cursor?: import("@instructure/ui-prop-types").Cursor;
26
+ tabIndex?: number;
27
27
  }>;
28
28
  static allowedProps: readonly (keyof {
29
29
  screenReaderLabel: import("react").ReactNode;
30
- color?: "primary" | "primary-inverse" | undefined;
31
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
32
- elementRef?: ((element: Element | null) => void) | undefined;
33
- size?: "small" | "medium" | "large" | undefined;
34
- onClick?: ((event: import("react").KeyboardEvent<import("@instructure/ui-view").ViewProps> | import("react").MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
35
- margin?: import("@instructure/emotion").Spacing | undefined;
36
- placement?: "start" | "end" | "static" | undefined;
37
- offset?: "small" | "medium" | "none" | "x-small" | undefined;
38
- type?: "button" | "submit" | "reset" | undefined;
39
- as?: import("@instructure/shared-types").AsElementType | undefined;
40
- href?: string | undefined;
41
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
42
- tabIndex?: number | undefined;
30
+ color?: "primary" | "primary-inverse";
31
+ interaction?: "enabled" | "disabled" | "readonly";
32
+ elementRef?: (element: Element | null) => void;
33
+ size?: "small" | "medium" | "large";
34
+ onClick?: (event: import("react").KeyboardEvent<import("@instructure/ui-view").ViewProps> | import("react").MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
35
+ margin?: import("@instructure/emotion").Spacing;
36
+ placement?: "start" | "end" | "static";
37
+ offset?: "none" | "x-small" | "small" | "medium";
38
+ type?: "button" | "submit" | "reset";
39
+ as?: import("@instructure/shared-types").AsElementType;
40
+ href?: string;
41
+ cursor?: import("@instructure/ui-prop-types").Cursor;
42
+ tabIndex?: number;
43
43
  })[];
44
44
  static defaultProps: {
45
45
  interaction: undefined;
@@ -10,31 +10,31 @@ declare class CondensedButton extends Component<CondensedButtonProps> {
10
10
  static readonly componentId = "CondensedButton";
11
11
  static propTypes: import("@instructure/shared-types").PropValidators<keyof {
12
12
  children?: React.ReactNode;
13
- type?: "button" | "submit" | "reset" | undefined;
14
- size?: "small" | "medium" | "large" | undefined;
15
- elementRef?: ((element: Element | null) => void) | undefined;
16
- as?: import("@instructure/shared-types").AsElementType | undefined;
17
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
18
- color?: "primary" | "primary-inverse" | "secondary" | undefined;
19
- margin?: import("@instructure/emotion").Spacing | undefined;
20
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
21
- href?: string | undefined;
13
+ type?: "button" | "submit" | "reset";
14
+ size?: "small" | "medium" | "large";
15
+ elementRef?: (element: Element | null) => void;
16
+ as?: import("@instructure/shared-types").AsElementType;
17
+ interaction?: "enabled" | "disabled" | "readonly";
18
+ color?: "primary" | "primary-inverse" | "secondary";
19
+ margin?: import("@instructure/emotion").Spacing;
20
+ cursor?: import("@instructure/ui-prop-types").Cursor;
21
+ href?: string;
22
22
  renderIcon?: React.ReactNode | (() => React.ReactNode);
23
- onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
23
+ onClick?: (event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
24
24
  }>;
25
25
  static allowedProps: readonly (keyof {
26
26
  children?: React.ReactNode;
27
- type?: "button" | "submit" | "reset" | undefined;
28
- size?: "small" | "medium" | "large" | undefined;
29
- elementRef?: ((element: Element | null) => void) | undefined;
30
- as?: import("@instructure/shared-types").AsElementType | undefined;
31
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
32
- color?: "primary" | "primary-inverse" | "secondary" | undefined;
33
- margin?: import("@instructure/emotion").Spacing | undefined;
34
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
35
- href?: string | undefined;
27
+ type?: "button" | "submit" | "reset";
28
+ size?: "small" | "medium" | "large";
29
+ elementRef?: (element: Element | null) => void;
30
+ as?: import("@instructure/shared-types").AsElementType;
31
+ interaction?: "enabled" | "disabled" | "readonly";
32
+ color?: "primary" | "primary-inverse" | "secondary";
33
+ margin?: import("@instructure/emotion").Spacing;
34
+ cursor?: import("@instructure/ui-prop-types").Cursor;
35
+ href?: string;
36
36
  renderIcon?: React.ReactNode | (() => React.ReactNode);
37
- onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
37
+ onClick?: (event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
38
38
  })[];
39
39
  static defaultProps: {
40
40
  type: string;
@@ -12,39 +12,39 @@ declare class IconButton extends Component<IconButtonProps> {
12
12
  children?: import("@instructure/shared-types").Renderable;
13
13
  renderIcon?: import("@instructure/shared-types").Renderable;
14
14
  screenReaderLabel: React.ReactNode;
15
- type?: "button" | "submit" | "reset" | undefined;
16
- size?: "small" | "medium" | "large" | undefined;
17
- elementRef?: ((element: Element | null) => void) | undefined;
18
- as?: import("@instructure/shared-types").AsElementType | undefined;
19
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
20
- color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger" | undefined;
21
- focusColor?: "info" | "inverse" | undefined;
22
- shape?: "circle" | "rectangle" | undefined;
23
- withBackground?: boolean | undefined;
24
- withBorder?: boolean | undefined;
25
- margin?: import("@instructure/emotion").Spacing | undefined;
26
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
27
- href?: string | undefined;
28
- onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
15
+ type?: "button" | "submit" | "reset";
16
+ size?: "small" | "medium" | "large";
17
+ elementRef?: (element: Element | null) => void;
18
+ as?: import("@instructure/shared-types").AsElementType;
19
+ interaction?: "enabled" | "disabled" | "readonly";
20
+ color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger";
21
+ focusColor?: "info" | "inverse";
22
+ shape?: "rectangle" | "circle";
23
+ withBackground?: boolean;
24
+ withBorder?: boolean;
25
+ margin?: import("@instructure/emotion").Spacing;
26
+ cursor?: import("@instructure/ui-prop-types").Cursor;
27
+ href?: string;
28
+ onClick?: (event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
29
29
  }>;
30
30
  static allowedProps: readonly (keyof {
31
31
  children?: import("@instructure/shared-types").Renderable;
32
32
  renderIcon?: import("@instructure/shared-types").Renderable;
33
33
  screenReaderLabel: React.ReactNode;
34
- type?: "button" | "submit" | "reset" | undefined;
35
- size?: "small" | "medium" | "large" | undefined;
36
- elementRef?: ((element: Element | null) => void) | undefined;
37
- as?: import("@instructure/shared-types").AsElementType | undefined;
38
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
39
- color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger" | undefined;
40
- focusColor?: "info" | "inverse" | undefined;
41
- shape?: "circle" | "rectangle" | undefined;
42
- withBackground?: boolean | undefined;
43
- withBorder?: boolean | undefined;
44
- margin?: import("@instructure/emotion").Spacing | undefined;
45
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
46
- href?: string | undefined;
47
- onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
34
+ type?: "button" | "submit" | "reset";
35
+ size?: "small" | "medium" | "large";
36
+ elementRef?: (element: Element | null) => void;
37
+ as?: import("@instructure/shared-types").AsElementType;
38
+ interaction?: "enabled" | "disabled" | "readonly";
39
+ color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger";
40
+ focusColor?: "info" | "inverse";
41
+ shape?: "rectangle" | "circle";
42
+ withBackground?: boolean;
43
+ withBorder?: boolean;
44
+ margin?: import("@instructure/emotion").Spacing;
45
+ cursor?: import("@instructure/ui-prop-types").Cursor;
46
+ href?: string;
47
+ onClick?: (event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
48
48
  })[];
49
49
  static defaultProps: {
50
50
  type: string;
@@ -12,32 +12,32 @@ declare class ToggleButton extends Component<ToggleButtonProps, ToggleButtonStat
12
12
  renderTooltipContent: React.ReactNode | ((...args: any[]) => any);
13
13
  renderIcon: import("@instructure/shared-types").Renderable;
14
14
  status: "pressed" | "unpressed";
15
- as?: import("@instructure/shared-types").AsElementType | undefined;
16
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
17
- size?: "small" | "medium" | "large" | undefined;
18
- elementRef?: ((element: Element | null) => void) | undefined;
19
- onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
20
- color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger" | undefined;
21
- isShowingTooltip?: boolean | undefined;
22
- mountNode?: import("@instructure/ui-position").PositionMountNode | undefined;
23
- placement?: import("@instructure/ui-position").PlacementPropValues | undefined;
24
- constrain?: import("@instructure/ui-position").PositionConstraint | undefined;
15
+ as?: import("@instructure/shared-types").AsElementType;
16
+ interaction?: "enabled" | "disabled" | "readonly";
17
+ size?: "small" | "medium" | "large";
18
+ elementRef?: (element: Element | null) => void;
19
+ onClick?: (event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
20
+ color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger";
21
+ isShowingTooltip?: boolean;
22
+ mountNode?: import("@instructure/ui-position").PositionMountNode;
23
+ placement?: import("@instructure/ui-position").PlacementPropValues;
24
+ constrain?: import("@instructure/ui-position").PositionConstraint;
25
25
  }>;
26
26
  static allowedProps: readonly (keyof {
27
27
  screenReaderLabel: string;
28
28
  renderTooltipContent: React.ReactNode | ((...args: any[]) => any);
29
29
  renderIcon: import("@instructure/shared-types").Renderable;
30
30
  status: "pressed" | "unpressed";
31
- as?: import("@instructure/shared-types").AsElementType | undefined;
32
- interaction?: "enabled" | "disabled" | "readonly" | undefined;
33
- size?: "small" | "medium" | "large" | undefined;
34
- elementRef?: ((element: Element | null) => void) | undefined;
35
- onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps, MouseEvent>) => void) | undefined;
36
- color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger" | undefined;
37
- isShowingTooltip?: boolean | undefined;
38
- mountNode?: import("@instructure/ui-position").PositionMountNode | undefined;
39
- placement?: import("@instructure/ui-position").PlacementPropValues | undefined;
40
- constrain?: import("@instructure/ui-position").PositionConstraint | undefined;
31
+ as?: import("@instructure/shared-types").AsElementType;
32
+ interaction?: "enabled" | "disabled" | "readonly";
33
+ size?: "small" | "medium" | "large";
34
+ elementRef?: (element: Element | null) => void;
35
+ onClick?: (event: React.KeyboardEvent<import("@instructure/ui-view").ViewProps> | React.MouseEvent<import("@instructure/ui-view").ViewProps>) => void;
36
+ color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger";
37
+ isShowingTooltip?: boolean;
38
+ mountNode?: import("@instructure/ui-position").PositionMountNode;
39
+ placement?: import("@instructure/ui-position").PlacementPropValues;
40
+ constrain?: import("@instructure/ui-position").PositionConstraint;
41
41
  })[];
42
42
  static defaultProps: {
43
43
  size: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEnE;;;;GAIG;AAEH,cACM,YAAa,SAAQ,SAAS,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACxE,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;;;;MASlB;gBAEW,KAAK,EAAE,iBAAiB;IAQpC,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAK9B;IAED,IAAI,gBAAgB,YAInB;IAED,MAAM;CAmDP;AAED,OAAO,EAAE,YAAY,EAAE,CAAA;AACvB,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEnE;;;;GAIG;AAEH,cACM,YAAa,SAAQ,SAAS,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACxE,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,SAAS;;kDAId,GAAC;;;;;;;;;;;;;OAJyB;IAC5B,MAAM,CAAC,YAAY;;kDAGjB,GAAC;;;;;;;;;;;;;SAH+B;IAClC,MAAM,CAAC,YAAY;;;;;;;;MASlB;gBAEW,KAAK,EAAE,iBAAiB;IAQpC,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAK9B;IAED,IAAI,gBAAgB,YAInB;IAED,MAAM;CAmDP;AAED,OAAO,EAAE,YAAY,EAAE,CAAA;AACvB,eAAe,YAAY,CAAA"}