@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.
@@ -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" | undefined;
17
- isSelected?: boolean | undefined;
18
- isDisabled?: boolean | undefined;
19
- maxHeight?: string | number | undefined;
20
- minHeight?: string | number | undefined;
21
- id?: string | undefined;
22
- labelledBy?: string | undefined;
23
- padding?: import("@instructure/emotion").Spacing | undefined;
24
- textAlign?: "start" | "center" | "end" | undefined;
25
- elementRef?: ((element: HTMLDivElement | null) => void) | undefined;
26
- active?: boolean | undefined;
27
- unmountOnExit?: boolean | undefined;
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" | undefined;
33
- isSelected?: boolean | undefined;
34
- isDisabled?: boolean | undefined;
35
- maxHeight?: string | number | undefined;
36
- minHeight?: string | number | undefined;
37
- id?: string | undefined;
38
- labelledBy?: string | undefined;
39
- padding?: import("@instructure/emotion").Spacing | undefined;
40
- textAlign?: "start" | "center" | "end" | undefined;
41
- elementRef?: ((element: HTMLDivElement | null) => void) | undefined;
42
- active?: boolean | undefined;
43
- unmountOnExit?: boolean | undefined;
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" | undefined;
14
+ variant?: "default" | "secondary";
15
15
  id: string;
16
16
  index: number;
17
17
  controls: string;
18
- isDisabled?: boolean | undefined;
19
- isSelected?: boolean | undefined;
20
- onClick?: ((event: React.MouseEvent<ViewOwnProps, MouseEvent>, tabData: {
18
+ isDisabled?: boolean;
19
+ isSelected?: boolean;
20
+ onClick?: (event: React.MouseEvent<ViewOwnProps>, tabData: {
21
21
  index: number;
22
22
  id: string;
23
- }) => void) | undefined;
24
- onKeyDown?: ((event: React.KeyboardEvent<ViewOwnProps>, tabData: {
23
+ }) => void;
24
+ onKeyDown?: (event: React.KeyboardEvent<ViewOwnProps>, tabData: {
25
25
  index: number;
26
26
  id: string;
27
- }) => void) | undefined;
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" | undefined;
31
+ variant?: "default" | "secondary";
32
32
  id: string;
33
33
  index: number;
34
34
  controls: string;
35
- isDisabled?: boolean | undefined;
36
- isSelected?: boolean | undefined;
37
- onClick?: ((event: React.MouseEvent<ViewOwnProps, MouseEvent>, tabData: {
35
+ isDisabled?: boolean;
36
+ isSelected?: boolean;
37
+ onClick?: (event: React.MouseEvent<ViewOwnProps>, tabData: {
38
38
  index: number;
39
39
  id: string;
40
- }) => void) | undefined;
41
- onKeyDown?: ((event: React.KeyboardEvent<ViewOwnProps>, tabData: {
40
+ }) => void;
41
+ onKeyDown?: (event: React.KeyboardEvent<ViewOwnProps>, tabData: {
42
42
  index: number;
43
43
  id: string;
44
- }) => void) | undefined;
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,sBAAsB,CAAA;AAKrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C;;;;GAIG;AACH,cACM,GAAI,SAAQ,SAAS,CAAC,YAAY,CAAC;IACvC,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAExC,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;MAIlB;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,WAAW,UAAW,gBAAgB,CAAC,YAAY,CAAC,UAUnD;IAED,aAAa,UAAW,mBAAmB,CAAC,YAAY,CAAC,UAUxD;IAED,MAAM;CAgCP;AAED,eAAe,GAAG,CAAA;AAClB,OAAO,EAAE,GAAG,EAAE,CAAA"}
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,E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