@instructure/ui-buttons 10.16.1-snapshot-0 → 10.16.1
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/BaseButton/__new-tests__/BaseButton.test.js +123 -86
- package/es/BaseButton/index.js +33 -26
- package/es/Button/__new-tests__/Button.test.js +145 -105
- package/es/Button/index.js +6 -2
- package/es/CloseButton/__new-tests__/CloseButton.test.js +3 -3
- package/es/CloseButton/index.js +25 -20
- package/es/CondensedButton/__new-tests__/CondensedButton.test.js +60 -45
- package/es/CondensedButton/index.js +7 -4
- package/es/IconButton/__new-tests__/IconButton.test.js +25 -23
- package/es/IconButton/index.js +9 -4
- package/es/ToggleButton/__new-tests__/ToggleButton.test.js +19 -18
- package/es/ToggleButton/index.js +19 -15
- package/lib/BaseButton/__new-tests__/BaseButton.test.js +159 -122
- package/lib/BaseButton/index.js +32 -26
- package/lib/Button/__new-tests__/Button.test.js +187 -147
- package/lib/Button/index.js +6 -3
- package/lib/CloseButton/__new-tests__/CloseButton.test.js +7 -7
- package/lib/CloseButton/index.js +24 -19
- package/lib/CondensedButton/__new-tests__/CondensedButton.test.js +73 -58
- package/lib/CondensedButton/index.js +7 -5
- package/lib/IconButton/__new-tests__/IconButton.test.js +39 -37
- package/lib/IconButton/index.js +9 -5
- package/lib/ToggleButton/__new-tests__/ToggleButton.test.js +31 -30
- package/lib/ToggleButton/index.js +19 -16
- package/package.json +20 -20
- package/src/BaseButton/__new-tests__/BaseButton.test.tsx +0 -1
- package/src/BaseButton/index.tsx +2 -3
- package/src/Button/__new-tests__/Button.test.tsx +0 -1
- package/src/Button/index.tsx +1 -1
- package/src/CloseButton/__new-tests__/CloseButton.test.tsx +0 -1
- package/src/CloseButton/index.tsx +1 -2
- package/src/CondensedButton/__new-tests__/CondensedButton.test.tsx +0 -1
- package/src/CondensedButton/index.tsx +1 -1
- package/src/IconButton/__new-tests__/IconButton.test.tsx +0 -1
- package/src/IconButton/index.tsx +1 -1
- package/src/IconButton/props.ts +1 -1
- package/src/ToggleButton/__new-tests__/ToggleButton.test.tsx +0 -1
- package/src/ToggleButton/index.tsx +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/BaseButton/__new-tests__/BaseButton.test.d.ts.map +1 -1
- package/types/BaseButton/index.d.ts +4 -6
- package/types/BaseButton/index.d.ts.map +1 -1
- package/types/Button/__new-tests__/Button.test.d.ts.map +1 -1
- package/types/Button/index.d.ts +2 -2
- package/types/Button/index.d.ts.map +1 -1
- package/types/CloseButton/__new-tests__/CloseButton.test.d.ts.map +1 -1
- package/types/CloseButton/index.d.ts +1 -3
- package/types/CloseButton/index.d.ts.map +1 -1
- package/types/CondensedButton/__new-tests__/CondensedButton.test.d.ts.map +1 -1
- package/types/CondensedButton/index.d.ts +2 -2
- package/types/CondensedButton/index.d.ts.map +1 -1
- package/types/IconButton/__new-tests__/IconButton.test.d.ts.map +1 -1
- package/types/IconButton/index.d.ts +4 -4
- package/types/IconButton/index.d.ts.map +1 -1
- package/types/IconButton/props.d.ts +1 -1
- package/types/IconButton/props.d.ts.map +1 -1
- package/types/ToggleButton/__new-tests__/ToggleButton.test.d.ts.map +1 -1
- package/types/ToggleButton/index.d.ts +2 -2
- package/types/ToggleButton/index.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseButton.test.d.ts","sourceRoot":"","sources":["../../../src/BaseButton/__new-tests__/BaseButton.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseButton.test.d.ts","sourceRoot":"","sources":["../../../src/BaseButton/__new-tests__/BaseButton.test.tsx"],"names":[],"mappings":"AA4BA,OAAO,2BAA2B,CAAA"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import React, { Component } from 'react';
|
|
1
|
+
import { Component } from 'react';
|
|
3
2
|
import type { ViewProps } from '@instructure/ui-view';
|
|
4
|
-
import { jsx } from '@instructure/emotion';
|
|
5
3
|
import type { BaseButtonProps, BaseButtonStyleProps } from './props';
|
|
6
4
|
/**
|
|
7
5
|
---
|
|
@@ -32,7 +30,7 @@ declare class BaseButton extends Component<BaseButtonProps> {
|
|
|
32
30
|
componentDidUpdate(): void;
|
|
33
31
|
get makeStylesVariables(): BaseButtonStyleProps;
|
|
34
32
|
get hasOnlyIconVisible(): boolean;
|
|
35
|
-
get elementType():
|
|
33
|
+
get elementType(): import("react").ComponentClass<any, any> | import("react").FunctionComponent<Readonly<BaseButtonProps>> | import("react").ComponentClass<Readonly<BaseButtonProps>, any> | NonNullable<import("@instructure/shared-types").AsElementType | undefined>;
|
|
36
34
|
get interaction(): import("@instructure/ui-react-utils").InteractionType;
|
|
37
35
|
get isDisabled(): boolean;
|
|
38
36
|
get isReadOnly(): boolean;
|
|
@@ -43,8 +41,8 @@ declare class BaseButton extends Component<BaseButtonProps> {
|
|
|
43
41
|
handleElementRef: (el: Element | null) => void;
|
|
44
42
|
handleClick: (event: React.MouseEvent<ViewProps & Element>) => void;
|
|
45
43
|
handleKeyDown: (event: React.KeyboardEvent<ViewProps & Element>) => void;
|
|
46
|
-
renderChildren(): jsx.JSX.Element;
|
|
47
|
-
render(): jsx.JSX.Element;
|
|
44
|
+
renderChildren(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
45
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
48
46
|
}
|
|
49
47
|
export { BaseButton };
|
|
50
48
|
export default BaseButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BaseButton/index.tsx"],"names":[],"mappings":"AAwBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/BaseButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAajC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAQrD,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,0PAEd;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;CAmFP;AAED,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.test.d.ts","sourceRoot":"","sources":["../../../src/Button/__new-tests__/Button.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.test.d.ts","sourceRoot":"","sources":["../../../src/Button/__new-tests__/Button.test.tsx"],"names":[],"mappings":"AA2BA,OAAO,2BAA2B,CAAA"}
|
package/types/Button/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component } from 'react';
|
|
2
2
|
import { BaseButton } from '../BaseButton';
|
|
3
3
|
import type { ButtonProps } from './props';
|
|
4
4
|
/**
|
|
@@ -62,7 +62,7 @@ declare class Button extends Component<ButtonProps> {
|
|
|
62
62
|
focus(): void;
|
|
63
63
|
handleElementRef: (el: Element | null) => void;
|
|
64
64
|
handleButtonRef: (component: BaseButton | null) => void;
|
|
65
|
-
render():
|
|
65
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
66
66
|
}
|
|
67
67
|
export default Button;
|
|
68
68
|
export { Button };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Button/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Button/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAG1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C;;;;GAIG;AAEH,cAEM,MAAO,SAAQ,SAAS,CAAC,WAAW,CAAC;IACzC,MAAM,CAAC,QAAQ,CAAC,WAAW,YAAW;IAEtC,MAAM,CAAC,SAAS;mBANQ,MAAO,SAAS;;;;;;;;;;;;;;qBA+FxC,MAAO,SACT,UAAS,MAAO,SAAS;0BAAyF,MAAO,aAAa,6CAAa,MAAO,UAAU;OA1FtI;IAC5B,MAAM,CAAC,YAAY;mBAPK,MAAO,SAAS;;;;;;;;;;;;;;qBA+FxC,MAAO,SACT,UAAS,MAAO,SAAS;0BAAyF,MAAO,aAAa,6CAAa,MAAO,UAAU;SAzFhI;IAClC,MAAM,CAAC,YAAY;;;;;;;;;;;MAYlB;IAED,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAO;IAE1C,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,IAAI,OAAO,mBAEV;IAED,KAAK;IAIL,gBAAgB,OAAQ,OAAO,GAAG,IAAI,UAQrC;IAED,eAAe,cAAe,UAAU,GAAG,IAAI,UAE9C;IAED,MAAM;CA4CP;AAED,eAAe,MAAM,CAAA;AACrB,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CloseButton.test.d.ts","sourceRoot":"","sources":["../../../src/CloseButton/__new-tests__/CloseButton.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CloseButton.test.d.ts","sourceRoot":"","sources":["../../../src/CloseButton/__new-tests__/CloseButton.test.tsx"],"names":[],"mappings":"AA2BA,OAAO,2BAA2B,CAAA"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
1
|
import { Component } from 'react';
|
|
3
|
-
import { jsx } from '@instructure/emotion';
|
|
4
2
|
import type { CloseButtonProps } from './props';
|
|
5
3
|
/**
|
|
6
4
|
---
|
|
@@ -57,7 +55,7 @@ declare class CloseButton extends Component<CloseButtonProps> {
|
|
|
57
55
|
componentDidUpdate(): void;
|
|
58
56
|
get interaction(): import("@instructure/ui-react-utils").InteractionType;
|
|
59
57
|
get color(): "primary-inverse" | "secondary" | undefined;
|
|
60
|
-
render(): jsx.JSX.Element;
|
|
58
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
61
59
|
}
|
|
62
60
|
export default CloseButton;
|
|
63
61
|
export { CloseButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/CloseButton/index.tsx"],"names":[],"mappings":"AAwBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/CloseButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAcjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE/C;;;;GAIG;AACH,cAEM,WAAY,SAAQ,SAAS,CAAC,gBAAgB,CAAC;IACnD,MAAM,CAAC,QAAQ,CAAC,WAAW,iBAAgB;IAE3C,MAAM,CAAC,SAAS;2BAZV,MAAO,SAAS;;;;;0BAuBpB,MAAG,aAAa,6CAGb,MAAM,UAAU;;;;;;;;;OAdO;IAC5B,MAAM,CAAC,YAAY;2BAbb,MAAO,SAAS;;;;;0BAuBpB,MAAG,aAAa,6CAGb,MAAM,UAAU;;;;;;;;;SAba;IAClC,MAAM,CAAC,YAAY;;;;;;;;;MAUlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAK9B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,WAAW,0DAEd;IAED,IAAI,KAAK,gDAIR;IAED,MAAM;CA6CP;AAED,eAAe,WAAW,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CondensedButton.test.d.ts","sourceRoot":"","sources":["../../../src/CondensedButton/__new-tests__/CondensedButton.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CondensedButton.test.d.ts","sourceRoot":"","sources":["../../../src/CondensedButton/__new-tests__/CondensedButton.test.tsx"],"names":[],"mappings":"AA2BA,OAAO,2BAA2B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component } from 'react';
|
|
2
2
|
import { BaseButton } from '../BaseButton';
|
|
3
3
|
import type { CondensedButtonProps } from './props';
|
|
4
4
|
/**
|
|
@@ -50,7 +50,7 @@ declare class CondensedButton extends Component<CondensedButtonProps> {
|
|
|
50
50
|
handleRef: (el: Element | null) => void;
|
|
51
51
|
get focused(): boolean | null;
|
|
52
52
|
focus(): void;
|
|
53
|
-
render():
|
|
53
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
54
54
|
}
|
|
55
55
|
export default CondensedButton;
|
|
56
56
|
export { CondensedButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/CondensedButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/CondensedButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAG1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEnD;;;;GAIG;AAEH,cAEM,eAAgB,SAAQ,SAAS,CAAC,oBAAoB,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS;mBANkC,MAAM,SACxD;;;;;;;;;;qBAiEM,MAAE,SAAS,UACX,MAAO,SAAS;0BAIV,MAAO,aACX,6CACF,MAAA,UAAQ;OAnEc;IAC5B,MAAM,CAAC,YAAY;mBAP+B,MAAM,SACxD;;;;;;;;;;qBAiEM,MAAE,SAAS,UACX,MAAO,SAAS;0BAIV,MAAO,aACX,6CACF,MAAA,UAAQ;SAlEoB;IAClC,MAAM,CAAC,YAAY;;;;;;;;MASlB;IAED,WAAW,EAAE,UAAU,GAAG,IAAI,CAAO;IAErC,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,IAAI,OAAO,mBAEV;IAED,KAAK;IAIL,MAAM;CA2CP;AAED,eAAe,eAAe,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.test.d.ts","sourceRoot":"","sources":["../../../src/IconButton/__new-tests__/IconButton.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IconButton.test.d.ts","sourceRoot":"","sources":["../../../src/IconButton/__new-tests__/IconButton.test.tsx"],"names":[],"mappings":"AA2BA,OAAO,2BAA2B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component } from 'react';
|
|
2
2
|
import { BaseButton } from '../BaseButton';
|
|
3
3
|
import type { IconButtonProps } from './props';
|
|
4
4
|
/**
|
|
@@ -11,7 +11,7 @@ declare class IconButton extends Component<IconButtonProps> {
|
|
|
11
11
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
12
12
|
children?: import("@instructure/shared-types").Renderable;
|
|
13
13
|
renderIcon?: import("@instructure/shared-types").Renderable;
|
|
14
|
-
screenReaderLabel:
|
|
14
|
+
screenReaderLabel: import("react").ReactNode;
|
|
15
15
|
type?: "button" | "submit" | "reset";
|
|
16
16
|
size?: "small" | "medium" | "large";
|
|
17
17
|
elementRef?: (element: Element | null) => void;
|
|
@@ -30,7 +30,7 @@ declare class IconButton extends Component<IconButtonProps> {
|
|
|
30
30
|
static allowedProps: readonly (keyof {
|
|
31
31
|
children?: import("@instructure/shared-types").Renderable;
|
|
32
32
|
renderIcon?: import("@instructure/shared-types").Renderable;
|
|
33
|
-
screenReaderLabel:
|
|
33
|
+
screenReaderLabel: import("react").ReactNode;
|
|
34
34
|
type?: "button" | "submit" | "reset";
|
|
35
35
|
size?: "small" | "medium" | "large";
|
|
36
36
|
elementRef?: (element: Element | null) => void;
|
|
@@ -63,7 +63,7 @@ declare class IconButton extends Component<IconButtonProps> {
|
|
|
63
63
|
handleRef: (el: Element | null) => void;
|
|
64
64
|
get focused(): boolean | null;
|
|
65
65
|
focus(): void;
|
|
66
|
-
render():
|
|
66
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
67
67
|
}
|
|
68
68
|
export default IconButton;
|
|
69
69
|
export { IconButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/IconButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/IconButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AASjC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAG1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;;GAIG;AAGH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;0BAyFH,MAAM,aACb,6CACR,MAAM,UAAU;OA3Fc;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;0BAwFN,MAAM,aACb,6CACR,MAAM,UAAU;SA1FoB;IAClC,MAAM,CAAC,YAAY;;;;;;;;;;;MAYlB;IAED,WAAW,EAAE,UAAU,GAAG,IAAI,CAAO;IAErC,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,IAAI,OAAO,mBAEV;IAED,KAAK;IAIL,MAAM;CAiDP;AAED,eAAe,UAAU,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import type { Spacing, WithStyleProps } from '@instructure/emotion';
|
|
3
3
|
import type { ToProp, AsElementType, PropValidators, BaseButtonTheme, OtherHTMLAttributes, Renderable } from '@instructure/shared-types';
|
|
4
4
|
import type { Cursor } from '@instructure/ui-prop-types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/IconButton/props.ts"],"names":[],"mappings":"AAwBA,OAAO,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/IconButton/props.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGjC,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,KAAK,EACV,MAAM,EACN,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,UAAU,EACX,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAA;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB;;OAEG;IACH,iBAAiB,EAAE,SAAS,CAAA;IAE5B;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;IAEpC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAEnC;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAE9C;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAA;IAEjD;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAA;IAE1E;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAE/B;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAA;IAE9B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,CACR,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,KAChE,IAAI,CAAA;CACV,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,kBAAkB,CAAA;AAExC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,eAAe,GAAG,kBAAkB,GACvC,cAAc,CAAC,eAAe,EAAE,IAAI,CAAC,GACrC,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,MAAM,CAAA;AAER,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAwBvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAkBnB,CAAA;AAED,YAAY,EAAE,eAAe,EAAE,CAAA;AAC/B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleButton.test.d.ts","sourceRoot":"","sources":["../../../src/ToggleButton/__new-tests__/ToggleButton.test.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToggleButton.test.d.ts","sourceRoot":"","sources":["../../../src/ToggleButton/__new-tests__/ToggleButton.test.tsx"],"names":[],"mappings":"AA2BA,OAAO,2BAA2B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component } from 'react';
|
|
2
2
|
import type { ToggleButtonProps, ToggleButtonState } from './props';
|
|
3
3
|
/**
|
|
4
4
|
---
|
|
@@ -52,7 +52,7 @@ declare class ToggleButton extends Component<ToggleButtonProps, ToggleButtonStat
|
|
|
52
52
|
ref: Element | null;
|
|
53
53
|
handleRef: (el: Element | null) => void;
|
|
54
54
|
get isShowingTooltip(): boolean;
|
|
55
|
-
render():
|
|
55
|
+
render(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
56
56
|
}
|
|
57
57
|
export { ToggleButton };
|
|
58
58
|
export default ToggleButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUjC,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;;8BAGV,MAAO,SACX,KAAK,GAAG;;;;;;;0BAsCG,MACT,aAAU,6CACJ,MACN,UAAK;;;;;;OA7CmB;IAC5B,MAAM,CAAC,YAAY;;8BAEb,MAAO,SACX,KAAK,GAAG;;;;;;;0BAsCG,MACT,aAAU,6CACJ,MACN,UAAK;;;;;;SA5CyB;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"}
|