Skip to content

Commit e1f1a2e

Browse files
chore(deps): update dependency @zendeskgarden/eslint-config to v34 (#1577)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Zempel <jzempel@gmail.com>
1 parent fb7e35d commit e1f1a2e

File tree

11 files changed

+224
-174
lines changed

11 files changed

+224
-174
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
"@types/react": "17.0.60",
6060
"@types/react-dom": "17.0.20",
6161
"@types/styled-components": "5.1.26",
62-
"@typescript-eslint/eslint-plugin": "5.59.9",
63-
"@typescript-eslint/parser": "5.59.9",
62+
"@typescript-eslint/eslint-plugin": "6.1.0",
63+
"@typescript-eslint/parser": "6.1.0",
6464
"@zendeskgarden/css-bedrock": "9.0.0",
65-
"@zendeskgarden/eslint-config": "32.0.0",
65+
"@zendeskgarden/eslint-config": "34.0.0",
6666
"@zendeskgarden/scripts": "1.4.1",
6767
"@zendeskgarden/stylelint-config": "16.0.1",
6868
"@zendeskgarden/svg-icons": "6.33.0",
@@ -77,10 +77,10 @@
7777
"core-js": "3.30.2",
7878
"coveralls": "3.1.1",
7979
"envalid": "7.3.1",
80-
"eslint": "8.42.0",
80+
"eslint": "8.45.0",
8181
"eslint-config-prettier": "8.8.0",
8282
"eslint-plugin-garden-local": "file:./utils/eslint",
83-
"eslint-plugin-jest": "27.2.1",
83+
"eslint-plugin-jest": "27.2.3",
8484
"eslint-plugin-jsx-a11y": "6.7.1",
8585
"eslint-plugin-node": "11.1.0",
8686
"eslint-plugin-notice": "0.9.10",

packages/buttons/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
* found at http://www.apache.org/licenses/LICENSE-2.0.
66
*/
77

8-
export { Button } from './elements/Button';
9-
export type { IIconProps } from './elements/Button';
8+
export { Button, type IIconProps } from './elements/Button';
109
export { Anchor } from './elements/Anchor';
1110
export { ButtonGroup } from './elements/ButtonGroup';
1211
export { ChevronButton } from './elements/ChevronButton';

packages/chrome/src/index.ts

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,22 @@ export { SubNavItemText } from './elements/subnav/SubNavItemText';
2828
export { CollapsibleSubNavItem } from './elements/subnav/CollapsibleSubNavItem';
2929
export { Sheet } from './elements/sheet/Sheet';
3030

31-
export { PRODUCT as PRODUCTS } from './types';
32-
33-
export type {
34-
IChromeProps,
35-
ISkipNavProps,
36-
IBodyProps,
37-
IHeaderProps,
38-
IHeaderItemProps,
39-
IHeaderItemTextProps,
40-
IHeaderItemWrapperProps,
41-
INavProps,
42-
INavItemProps,
43-
INavItemTextProps,
44-
ISubNavItemProps,
45-
ICollapsibleSubNavItemProps,
46-
ISheetProps,
47-
ISheetFooterProps,
31+
export {
32+
PRODUCT as PRODUCTS,
33+
type IChromeProps,
34+
type ISkipNavProps,
35+
type IBodyProps,
36+
type IHeaderProps,
37+
type IHeaderItemProps,
38+
type IHeaderItemTextProps,
39+
type IHeaderItemWrapperProps,
40+
type INavProps,
41+
type INavItemProps,
42+
type INavItemTextProps,
43+
type ISubNavItemProps,
44+
type ICollapsibleSubNavItemProps,
45+
type ISheetProps,
46+
type ISheetFooterProps,
4847
/** @deprecated can be accessed via IHeaderItemProps['product'] */
49-
Product as PRODUCT
48+
type Product as PRODUCT
5049
} from './types';

packages/forms/demo/stories/FieldStory.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { Story } from '@storybook/react';
1010
import { Field } from '@zendeskgarden/react-forms';
1111
import { ICommonArgs, renderHint, renderLabel, renderMessage } from './common';
1212

13+
/* eslint-disable-next-line no-duplicate-imports */
1314
export type { ICommonArgs as IFieldArgs } from './common';
1415

1516
interface IArgs extends HTMLAttributes<HTMLDivElement>, ICommonArgs {}

packages/forms/src/index.ts

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
*/
77

88
/** Common */
9-
export { Field } from './elements/common/Field';
10-
export type { IFieldProps } from './elements/common/Field';
9+
export { Field, type IFieldProps } from './elements/common/Field';
1110
export { Fieldset } from './elements/common/Fieldset';
1211
export { Hint } from './elements/common/Hint';
1312
export { Label } from './elements/common/Label';
@@ -37,32 +36,30 @@ export { FileList } from './elements/file-list/FileList';
3736
export { File } from './elements/file-list/components/File';
3837

3938
/** Other */
40-
export { FauxInput } from './elements/faux-input/FauxInput';
41-
export type { IIconProps } from './elements/faux-input/FauxInput';
39+
export { FauxInput, type IIconProps } from './elements/faux-input/FauxInput';
4240
export { MediaInput } from './elements/MediaInput';
4341

4442
/** types */
45-
export { VALIDATION } from './types';
46-
47-
export type {
48-
IFieldsetProps,
49-
ILabelProps,
50-
IMessageProps,
51-
ICheckboxProps,
52-
IRadioProps,
53-
IToggleProps,
54-
IInputProps,
55-
ITextareaProps,
56-
ISelectProps,
57-
IFileUploadProps,
58-
IFileProps,
59-
IRangeProps,
60-
IMultiThumbRangeProps,
61-
IInputGroupProps,
62-
ITilesProps,
63-
ITilesTileProps,
64-
IFauxInputProps,
65-
IFauxInputIconProps as IFauxInputStartIconProps,
66-
IFauxInputIconProps as IFauxInputEndIconProps,
67-
IMediaInputProps
43+
export {
44+
VALIDATION,
45+
type IFieldsetProps,
46+
type ILabelProps,
47+
type IMessageProps,
48+
type ICheckboxProps,
49+
type IRadioProps,
50+
type IToggleProps,
51+
type IInputProps,
52+
type ITextareaProps,
53+
type ISelectProps,
54+
type IFileUploadProps,
55+
type IFileProps,
56+
type IRangeProps,
57+
type IMultiThumbRangeProps,
58+
type IInputGroupProps,
59+
type ITilesProps,
60+
type ITilesTileProps,
61+
type IFauxInputProps,
62+
type IFauxInputIconProps as IFauxInputStartIconProps,
63+
type IFauxInputIconProps as IFauxInputEndIconProps,
64+
type IMediaInputProps
6865
} from './types';

packages/grid/src/index.ts

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,21 @@ export {
1919
JUSTIFY_CONTENT as ARRAY_JUSTIFY_CONTENT,
2020
TEXT_ALIGN as ARRAY_TEXT_ALIGN,
2121
SPACE as ARRAY_SPACE,
22-
WRAP as ARRAY_WRAP
23-
} from './types';
24-
25-
export type {
26-
IPaneProviderProps,
27-
ISplitterProps,
28-
ISplitterButtonProps,
29-
IColProps,
30-
IGridProps,
31-
IRowProps,
22+
WRAP as ARRAY_WRAP,
23+
type IPaneProviderProps,
24+
type ISplitterProps,
25+
type ISplitterButtonProps,
26+
type IColProps,
27+
type IGridProps,
28+
type IRowProps,
3229
/* @deprecated these types can be dereferenced on the exported interfaces */
33-
AlignItems as ALIGN_ITEMS,
34-
AlignSelf as ALIGN_SELF,
35-
Direction as DIRECTION,
36-
JustifyContent as JUSTIFY_CONTENT,
37-
TextAlign as TEXT_ALIGN,
38-
GridNumber as GRID_NUMBER,
39-
Breakpoint as BREAKPOINT,
40-
Space as SPACE,
41-
Wrap as WRAP
30+
type AlignItems as ALIGN_ITEMS,
31+
type AlignSelf as ALIGN_SELF,
32+
type Direction as DIRECTION,
33+
type JustifyContent as JUSTIFY_CONTENT,
34+
type TextAlign as TEXT_ALIGN,
35+
type GridNumber as GRID_NUMBER,
36+
type Breakpoint as BREAKPOINT,
37+
type Space as SPACE,
38+
type Wrap as WRAP
4239
} from './types';

packages/modals/src/index.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ export { TooltipModal } from './elements/TooltipModal/TooltipModal';
1717

1818
export { DrawerModal } from './elements/DrawerModal/DrawerModal';
1919

20-
export { PLACEMENT } from './types';
21-
22-
export type {
23-
IModalProps,
24-
IDrawerModalProps,
25-
ITooltipModalProps,
20+
export {
21+
PLACEMENT,
22+
type IModalProps,
23+
type IDrawerModalProps,
24+
type ITooltipModalProps,
2625
/* @deprecated type can be dereferenced from the exported interfaces */
27-
Placement as GARDEN_PLACEMENT
26+
type Placement as GARDEN_PLACEMENT
2827
} from './types';

packages/notifications/src/index.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ export { Close } from './elements/content/Close';
1212
export { Paragraph } from './elements/content/Paragraph';
1313
export { Title } from './elements/content/Title';
1414
export { ToastProvider } from './elements/toaster/ToastProvider';
15-
export { useToast } from './elements/toaster/useToast';
15+
export {
16+
useToast,
17+
type IToastOptions,
18+
type IToast,
19+
/** @deprecated can be dereferenced via IToast['content'] */
20+
type Content as ToastContent
21+
} from './elements/toaster/useToast';
1622
export { GlobalAlert } from './elements/global-alert/GlobalAlert';
1723

1824
export type {
@@ -27,10 +33,3 @@ export type {
2733
/** @deprecated can be dereferenced via IToastOptions['placement'] */
2834
Placement as ToastPlacement
2935
} from './types';
30-
31-
export type {
32-
IToastOptions,
33-
IToast,
34-
/** @deprecated can be dereferenced via IToast['content'] */
35-
Content as ToastContent
36-
} from './elements/toaster/useToast';

packages/pagination/src/styled/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export { StyledPagination } from './Pagination/StyledPagination';
99
export { StyledPage } from './Pagination/StyledPage';
1010
export { StyledCursorPagination } from './CursorPagination/StyledCursorPagination';
1111
export { StyledCursor } from './CursorPagination/StyledCursor';
12-
export { StyledIcon } from './CursorPagination/StyledIcon';
13-
export type { IStyledIcon } from './CursorPagination/StyledIcon';
12+
export { StyledIcon, type IStyledIcon } from './CursorPagination/StyledIcon';
1413
export { StyledGap } from './Pagination/StyledGap';
1514
export { StyledNavigation } from './Pagination/StyledNavigation';

packages/theming/src/index.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@ export { focusStyles, SELECTOR_FOCUS_VISIBLE } from './utils/focusStyles';
2929

3030
export {
3131
ARROW_POSITION as ARRAY_ARROW_POSITION,
32-
MENU_POSITION as ARRAY_MENU_POSITION
33-
} from './types';
34-
35-
export type {
36-
IGardenTheme,
37-
IThemeProviderProps,
38-
ArrowPosition as ARROW_POSITION,
39-
MenuPosition as MENU_POSITION
32+
MENU_POSITION as ARRAY_MENU_POSITION,
33+
type IGardenTheme,
34+
type IThemeProviderProps,
35+
type ArrowPosition as ARROW_POSITION,
36+
type MenuPosition as MENU_POSITION
4037
} from './types';

0 commit comments

Comments
 (0)