@instructure/ui-tabs 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.
- package/CHANGELOG.md +1 -1
- package/package.json +23 -23
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Tabs/Panel/index.d.ts +24 -24
- package/types/Tabs/Tab/index.d.ts +14 -14
- package/types/Tabs/Tab/index.d.ts.map +1 -1
- package/types/Tabs/TabsLocator.d.ts +2239 -2377
- package/types/Tabs/TabsLocator.d.ts.map +1 -1
- package/types/Tabs/index.d.ts +30 -30
- package/types/Tabs/index.d.ts.map +1 -1
|
@@ -13,34 +13,34 @@ declare class Panel extends Component<TabsPanelProps> {
|
|
|
13
13
|
static allowedProps: readonly (keyof {
|
|
14
14
|
renderTitle: import("react").ReactNode | (() => import("react").ReactNode);
|
|
15
15
|
children?: import("react").ReactNode;
|
|
16
|
-
variant?: "default" | "secondary"
|
|
17
|
-
isSelected?: boolean
|
|
18
|
-
isDisabled?: boolean
|
|
19
|
-
maxHeight?: string | number
|
|
20
|
-
minHeight?: string | number
|
|
21
|
-
id?: string
|
|
22
|
-
labelledBy?: string
|
|
23
|
-
padding?: import("@instructure/emotion").Spacing
|
|
24
|
-
textAlign?: "start" | "center" | "end"
|
|
25
|
-
elementRef?: (
|
|
26
|
-
active?: boolean
|
|
27
|
-
unmountOnExit?: boolean
|
|
16
|
+
variant?: "default" | "secondary";
|
|
17
|
+
isSelected?: boolean;
|
|
18
|
+
isDisabled?: boolean;
|
|
19
|
+
maxHeight?: string | number;
|
|
20
|
+
minHeight?: string | number;
|
|
21
|
+
id?: string;
|
|
22
|
+
labelledBy?: string;
|
|
23
|
+
padding?: import("@instructure/emotion").Spacing;
|
|
24
|
+
textAlign?: "start" | "center" | "end";
|
|
25
|
+
elementRef?: (element: HTMLDivElement | null) => void;
|
|
26
|
+
active?: boolean;
|
|
27
|
+
unmountOnExit?: boolean;
|
|
28
28
|
})[];
|
|
29
29
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
30
30
|
renderTitle: import("react").ReactNode | (() => import("react").ReactNode);
|
|
31
31
|
children?: import("react").ReactNode;
|
|
32
|
-
variant?: "default" | "secondary"
|
|
33
|
-
isSelected?: boolean
|
|
34
|
-
isDisabled?: boolean
|
|
35
|
-
maxHeight?: string | number
|
|
36
|
-
minHeight?: string | number
|
|
37
|
-
id?: string
|
|
38
|
-
labelledBy?: string
|
|
39
|
-
padding?: import("@instructure/emotion").Spacing
|
|
40
|
-
textAlign?: "start" | "center" | "end"
|
|
41
|
-
elementRef?: (
|
|
42
|
-
active?: boolean
|
|
43
|
-
unmountOnExit?: boolean
|
|
32
|
+
variant?: "default" | "secondary";
|
|
33
|
+
isSelected?: boolean;
|
|
34
|
+
isDisabled?: boolean;
|
|
35
|
+
maxHeight?: string | number;
|
|
36
|
+
minHeight?: string | number;
|
|
37
|
+
id?: string;
|
|
38
|
+
labelledBy?: string;
|
|
39
|
+
padding?: import("@instructure/emotion").Spacing;
|
|
40
|
+
textAlign?: "start" | "center" | "end";
|
|
41
|
+
elementRef?: (element: HTMLDivElement | null) => void;
|
|
42
|
+
active?: boolean;
|
|
43
|
+
unmountOnExit?: boolean;
|
|
44
44
|
}>;
|
|
45
45
|
static defaultProps: {
|
|
46
46
|
isDisabled: boolean;
|
|
@@ -11,37 +11,37 @@ category: components/utilities
|
|
|
11
11
|
declare class Tab extends Component<TabsTabProps> {
|
|
12
12
|
static readonly componentId = "Tabs.Tab";
|
|
13
13
|
static allowedProps: readonly (keyof {
|
|
14
|
-
variant?: "default" | "secondary"
|
|
14
|
+
variant?: "default" | "secondary";
|
|
15
15
|
id: string;
|
|
16
16
|
index: number;
|
|
17
17
|
controls: string;
|
|
18
|
-
isDisabled?: boolean
|
|
19
|
-
isSelected?: boolean
|
|
20
|
-
onClick?: (
|
|
18
|
+
isDisabled?: boolean;
|
|
19
|
+
isSelected?: boolean;
|
|
20
|
+
onClick?: (event: React.MouseEvent<ViewOwnProps>, tabData: {
|
|
21
21
|
index: number;
|
|
22
22
|
id: string;
|
|
23
|
-
}) => void
|
|
24
|
-
onKeyDown?: (
|
|
23
|
+
}) => void;
|
|
24
|
+
onKeyDown?: (event: React.KeyboardEvent<ViewOwnProps>, tabData: {
|
|
25
25
|
index: number;
|
|
26
26
|
id: string;
|
|
27
|
-
}) => void
|
|
27
|
+
}) => void;
|
|
28
28
|
children?: import("@instructure/shared-types").Renderable;
|
|
29
29
|
})[];
|
|
30
30
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
31
|
-
variant?: "default" | "secondary"
|
|
31
|
+
variant?: "default" | "secondary";
|
|
32
32
|
id: string;
|
|
33
33
|
index: number;
|
|
34
34
|
controls: string;
|
|
35
|
-
isDisabled?: boolean
|
|
36
|
-
isSelected?: boolean
|
|
37
|
-
onClick?: (
|
|
35
|
+
isDisabled?: boolean;
|
|
36
|
+
isSelected?: boolean;
|
|
37
|
+
onClick?: (event: React.MouseEvent<ViewOwnProps>, tabData: {
|
|
38
38
|
index: number;
|
|
39
39
|
id: string;
|
|
40
|
-
}) => void
|
|
41
|
-
onKeyDown?: (
|
|
40
|
+
}) => void;
|
|
41
|
+
onKeyDown?: (event: React.KeyboardEvent<ViewOwnProps>, tabData: {
|
|
42
42
|
index: number;
|
|
43
43
|
id: string;
|
|
44
|
-
}) => void
|
|
44
|
+
}) => void;
|
|
45
45
|
children?: import("@instructure/shared-types").Renderable;
|
|
46
46
|
}>;
|
|
47
47
|
static defaultProps: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Tabs/Tab/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,OAAO,EAAa,GAAG,EAAE,MAAM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