@instructure/ui-tabs 8.13.1-snapshot.9 → 8.14.0

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,24 +1,31 @@
1
1
  /** @jsx jsx */
2
- import React, { Component, ComponentElement, ReactElement } from 'react';
2
+ import React, { Component, ComponentElement } from 'react';
3
+ import type { ViewOwnProps } from '@instructure/ui-view';
4
+ import { Focusable } from '@instructure/ui-focusable';
3
5
  import { jsx } from '@instructure/emotion';
4
6
  import { Tab } from './Tab';
5
7
  import { Panel } from './Panel';
6
- import type { TabsProps } from './props';
8
+ import type { TabsProps, TabsState } from './props';
7
9
  import type { TabsTabProps } from './Tab/props';
8
10
  import type { TabsPanelProps } from './Panel/props';
9
- declare type TabChild = ReactElement & ComponentElement<TabsTabProps, any>;
10
- declare type PanelChild = ReactElement & ComponentElement<TabsPanelProps, any>;
11
+ declare type TabChild = ComponentElement<TabsTabProps, any>;
12
+ declare type PanelChild = ComponentElement<TabsPanelProps, any>;
11
13
  /**
12
14
  ---
13
15
  category: components
14
16
  ---
17
+ @tsProps
15
18
  **/
16
- declare class Tabs extends Component<TabsProps> {
19
+ declare class Tabs extends Component<TabsProps, TabsState> {
17
20
  static readonly componentId = "Tabs";
18
21
  static allowedProps: readonly (keyof {
22
+ children?: React.ReactNode;
19
23
  variant?: "default" | "secondary" | undefined;
20
24
  screenReaderLabel?: string | undefined;
21
- onRequestTabChange?: ((...args: any[]) => any) | undefined;
25
+ onRequestTabChange?: ((event: React.KeyboardEvent<ViewOwnProps> | React.MouseEvent<ViewOwnProps, MouseEvent>, tabData: {
26
+ index: number;
27
+ id?: string | undefined;
28
+ }) => void) | undefined;
22
29
  maxWidth?: string | number | undefined;
23
30
  maxHeight?: string | number | undefined;
24
31
  minHeight?: string | number | undefined;
@@ -29,12 +36,15 @@ declare class Tabs extends Component<TabsProps> {
29
36
  elementRef?: ((element: Element | null) => void) | undefined;
30
37
  tabOverflow?: "scroll" | "stack" | undefined;
31
38
  shouldFocusOnRender?: boolean | undefined;
32
- children?: React.ReactNode;
33
39
  })[];
34
40
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
41
+ children?: React.ReactNode;
35
42
  variant?: "default" | "secondary" | undefined;
36
43
  screenReaderLabel?: string | undefined;
37
- onRequestTabChange?: ((...args: any[]) => any) | undefined;
44
+ onRequestTabChange?: ((event: React.KeyboardEvent<ViewOwnProps> | React.MouseEvent<ViewOwnProps, MouseEvent>, tabData: {
45
+ index: number;
46
+ id?: string | undefined;
47
+ }) => void) | undefined;
38
48
  maxWidth?: string | number | undefined;
39
49
  maxHeight?: string | number | undefined;
40
50
  minHeight?: string | number | undefined;
@@ -45,51 +55,44 @@ declare class Tabs extends Component<TabsProps> {
45
55
  elementRef?: ((element: Element | null) => void) | undefined;
46
56
  tabOverflow?: "scroll" | "stack" | undefined;
47
57
  shouldFocusOnRender?: boolean | undefined;
48
- children?: React.ReactNode;
49
58
  }>;
50
59
  static defaultProps: {
51
60
  variant: string;
52
- onRequestTabChange: (event: any, { index, id }: {
53
- index: any;
54
- id: any;
55
- }) => void;
56
- children: null;
57
- elementRef: () => void;
58
61
  shouldFocusOnRender: boolean;
59
62
  tabOverflow: string;
60
63
  };
61
64
  static Panel: typeof Panel;
62
65
  static Tab: typeof Tab;
66
+ private _tabList;
67
+ private _focusable;
68
+ private _tabListPosition?;
69
+ private _debounced?;
70
+ private _resizeListener?;
63
71
  ref: Element | null;
64
72
  handleRef: (el: Element | null) => void;
65
- constructor(props: any);
73
+ constructor(props: TabsProps);
66
74
  componentDidMount(): void;
67
- componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void;
75
+ componentDidUpdate(prevProps: TabsProps, prevState: TabsState): void;
68
76
  componentWillUnmount(): void;
69
77
  startScrollOverflow(): void;
70
78
  cancelScrollOverflow(): void;
71
- getOverlayWidth(): number | undefined;
72
- showActiveTabIfOverlayed(activeTabEl: any): void;
73
- handleTabClick: (event: any, { index, id }: {
74
- index: any;
75
- id: any;
76
- }) => void;
77
- handleTabKeyDown: (event: any, { index }: {
78
- index: any;
79
- }) => void;
79
+ getOverlayWidth(): number;
80
+ showActiveTabIfOverlayed(activeTabEl: Element | null): void;
81
+ handleTabClick: TabsTabProps['onClick'];
82
+ handleTabKeyDown: TabsTabProps['onKeyDown'];
80
83
  handleResize: () => void;
81
- getNextTab(startIndex: any, step: any): {
82
- index: any;
83
- id: any;
84
+ getNextTab(startIndex: number, step: -1 | 0 | 1): {
85
+ index: number;
86
+ id?: string;
84
87
  };
85
- fireOnChange(event: any, { index, id }: {
86
- index: any;
87
- id: any;
88
+ fireOnChange(event: React.MouseEvent<ViewOwnProps> | React.KeyboardEvent<ViewOwnProps>, { index, id }: {
89
+ index: number;
90
+ id?: string;
88
91
  }): void;
89
92
  createTab(index: number, generatedId: string, selected: boolean, panel: PanelChild): TabChild;
90
- clonePanel(_index: number, generatedId: string, selected: boolean, panel: PanelChild): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
91
- handleFocusableRef: (el: any) => void;
92
- handleTabListRef: (el: any) => void;
93
+ clonePanel(_index: number, generatedId: string, selected: boolean, panel: PanelChild): PanelChild;
94
+ handleFocusableRef: (el: Focusable | null) => void;
95
+ handleTabListRef: (el: Element | null) => void;
93
96
  focus(): void;
94
97
  render(): jsx.JSX.Element;
95
98
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Tabs/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EACZ,SAAS,EAET,gBAAgB,EAEhB,YAAY,EACb,MAAM,OAAO,CAAA;AAmBd,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAKrD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;A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ACjB,KAAK,EAAE,UAAU;IAoBnB,kBAAkB,OAAQ,SAAS,GAAG,IAAI,UAEzC;IAED,gBAAgB,OAAQ,OAAO,GAAG,IAAI,UAErC;IAED,KAAK;IAML,MAAM;CA4FP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAA"}
@@ -2,28 +2,64 @@ import React from 'react';
2
2
  import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
3
3
  import type { OtherHTMLAttributes, PropValidators, TabsTheme } from '@instructure/shared-types';
4
4
  import type { BidirectionalProps } from '@instructure/ui-i18n';
5
+ import type { ViewOwnProps } from '@instructure/ui-view';
5
6
  declare type TabsOwnProps = {
7
+ /**
8
+ * children of type `Tabs.Panel`
9
+ */
10
+ children?: React.ReactNode;
6
11
  variant?: 'default' | 'secondary';
12
+ /**
13
+ * A screen ready only label for the list of tabs
14
+ */
7
15
  screenReaderLabel?: string;
8
- onRequestTabChange?: (...args: any[]) => any;
16
+ /**
17
+ * Called when the selected tab should change
18
+ */
19
+ onRequestTabChange?: (event: React.MouseEvent<ViewOwnProps> | React.KeyboardEvent<ViewOwnProps>, tabData: {
20
+ index: number;
21
+ id?: string;
22
+ }) => void;
9
23
  maxWidth?: string | number;
10
24
  maxHeight?: string | number;
11
25
  minHeight?: string | number;
12
26
  fixHeight?: string | number;
27
+ /**
28
+ * Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
29
+ * `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
30
+ * familiar CSS-like shorthand. For example: `margin="small auto large"`.
31
+ */
13
32
  margin?: Spacing;
33
+ /**
34
+ * Valid values are `0`, `none`, `xxx-small`, `xx-small`, `x-small`,
35
+ * `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
36
+ * familiar CSS-like shorthand. For example: `padding="small x-large large"`.
37
+ */
14
38
  padding?: Spacing;
15
39
  textAlign?: 'start' | 'center' | 'end';
40
+ /**
41
+ * provides a reference to the underlying html root element
42
+ */
16
43
  elementRef?: (element: Element | null) => void;
44
+ /**
45
+ * Choose whether Tabs should stack or scroll when they exceed the width of their
46
+ * container.
47
+ */
17
48
  tabOverflow?: 'stack' | 'scroll';
18
49
  shouldFocusOnRender?: boolean;
19
- children?: React.ReactNode;
20
50
  };
21
51
  declare type PropKeys = keyof TabsOwnProps;
22
52
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
23
53
  declare type TabsProps = TabsOwnProps & BidirectionalProps & WithStyleProps<TabsTheme, TabsStyle> & OtherHTMLAttributes<TabsOwnProps>;
24
- declare type TabsStyle = ComponentStyle<'tabs' | 'container' | 'tabList' | 'panelsContainer' | 'scrollOverlay' | 'scrollSpacer' | 'scrollOverlayWidthDefault' | 'scrollOverlayWidthSecondary'>;
54
+ declare type TabsStyle = ComponentStyle<'tabs' | 'container' | 'tabList' | 'panelsContainer' | 'scrollOverlay' | 'scrollSpacer'> & {
55
+ scrollOverlayWidthDefault: string;
56
+ scrollOverlayWidthSecondary: string;
57
+ };
58
+ declare type TabsState = {
59
+ withTabListOverflow: boolean;
60
+ };
25
61
  declare const propTypes: PropValidators<PropKeys>;
26
62
  declare const allowedProps: AllowedPropKeys;
27
- export type { TabsProps, TabsStyle };
63
+ export type { TabsProps, TabsState, TabsStyle };
28
64
  export { propTypes, allowedProps };
29
65
  //# sourceMappingURL=props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Tabs/props.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,SAAS,EACV,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,aAAK,YAAY,GAAG;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AAG,QAAQ,GAAG,KAAK,CAAA;IACtC;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAChC,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,YAAY,CAAA;AAElC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,SAAS,GAAG,YAAY,GAC3B,kBAAkB,GAClB,cAAc,CAAC,SAAS,EAAE,SAAS,CAAC,GACpC,mBAAmB,CAAC,YAAY,CAAC,CAAA;AAEnC,aAAK,SAAS,GAAG,cAAc,CAC3B,MAAM,GACN,WAAW,GACX,SAAS,GACT,iBAAiB,GACjB,eAAe,GACf,cAAc,CACjB,GAAG;IACF,yBAAyB,EAAE,MAAM,CAAA;IACjC,2BAA2B,EAAE,MAAM,CAAA;CACpC,CAAA;AAED,aAAK,SAAS,GAAG;IACf,mBAAmB,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAevC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAenB,CAAA;AAED,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
package/LICENSE.md DELETED
@@ -1,27 +0,0 @@
1
- ---
2
- title: The MIT License (MIT)
3
- category: Getting Started
4
- order: 9
5
- ---
6
-
7
- # The MIT License (MIT)
8
-
9
- Copyright (c) 2015 Instructure, Inc.
10
-
11
- **Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions.**
17
-
18
- The above copyright notice and this permission notice shall be included in all
19
- copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
- SOFTWARE.