@zendeskgarden/react-tables 9.2.0 → 9.4.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.
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'tables.body';
11
11
  const StyledBody = styled.tbody.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledBody",
16
16
  componentId: "sc-14ud6y-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'tables.caption';
11
11
  const StyledCaption = styled.caption.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.2.0'
13
+ 'data-garden-version': '9.4.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledCaption",
16
16
  componentId: "sc-113y327-0"
@@ -35,7 +35,7 @@ const sizeStyling = props => {
35
35
  };
36
36
  const StyledCell = styled.td.attrs({
37
37
  'data-garden-id': COMPONENT_ID,
38
- 'data-garden-version': '9.2.0'
38
+ 'data-garden-version': '9.4.0'
39
39
  }).withConfig({
40
40
  displayName: "StyledCell",
41
41
  componentId: "sc-8hpncx-0"
@@ -35,7 +35,7 @@ const sizeStyles = props => {
35
35
  };
36
36
  const StyledGroupRow = styled(StyledBaseRow).attrs({
37
37
  'data-garden-id': COMPONENT_ID,
38
- 'data-garden-version': '9.2.0'
38
+ 'data-garden-version': '9.4.0'
39
39
  }).withConfig({
40
40
  displayName: "StyledGroupRow",
41
41
  componentId: "sc-mpd0r8-0"
@@ -28,7 +28,7 @@ const stickyStyles = () => {
28
28
  };
29
29
  const StyledHead = styled.thead.attrs({
30
30
  'data-garden-id': COMPONENT_ID,
31
- 'data-garden-version': '9.2.0'
31
+ 'data-garden-version': '9.4.0'
32
32
  }).withConfig({
33
33
  displayName: "StyledHead",
34
34
  componentId: "sc-spf23a-0"
@@ -24,7 +24,7 @@ const sizeStyles = props => {
24
24
  const StyledHeaderCell = styled(StyledCell).attrs({
25
25
  as: 'th',
26
26
  'data-garden-id': COMPONENT_ID,
27
- 'data-garden-version': '9.2.0'
27
+ 'data-garden-version': '9.4.0'
28
28
  }).withConfig({
29
29
  displayName: "StyledHeaderCell",
30
30
  componentId: "sc-fzagoe-0"
@@ -34,7 +34,7 @@ const sizeStyles = props => {
34
34
  };
35
35
  const StyledHeaderRow = styled(StyledBaseRow).attrs({
36
36
  'data-garden-id': COMPONENT_ID,
37
- 'data-garden-version': '9.2.0'
37
+ 'data-garden-version': '9.4.0'
38
38
  }).withConfig({
39
39
  displayName: "StyledHeaderRow",
40
40
  componentId: "sc-16ogvdx-0"
@@ -11,7 +11,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
11
11
  const COMPONENT_ID = 'tables.hidden_cell';
12
12
  const StyledHiddenCell = styled.div.attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.2.0'
14
+ 'data-garden-version': '9.4.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledHiddenCell",
17
17
  componentId: "sc-1x454xw-0"
@@ -14,7 +14,7 @@ const COMPONENT_ID = 'tables.overflow_button';
14
14
  const OVERFLOW_BUTTON_SIZE = '2em';
15
15
  const StyledOverflowButton = styled(IconButton).attrs({
16
16
  'data-garden-id': COMPONENT_ID,
17
- 'data-garden-version': '9.2.0'
17
+ 'data-garden-version': '9.4.0'
18
18
  }).withConfig({
19
19
  displayName: "StyledOverflowButton",
20
20
  componentId: "sc-1eba2ml-0"
@@ -94,7 +94,7 @@ const sizeStyles = props => {
94
94
  };
95
95
  const StyledRow = styled(StyledBaseRow).attrs({
96
96
  'data-garden-id': COMPONENT_ID,
97
- 'data-garden-version': '9.2.0'
97
+ 'data-garden-version': '9.4.0'
98
98
  }).withConfig({
99
99
  displayName: "StyledRow",
100
100
  componentId: "sc-ek66ow-0"
@@ -82,7 +82,7 @@ const colorStyles = _ref => {
82
82
  };
83
83
  const StyledSortableButton = styled.button.attrs({
84
84
  'data-garden-id': COMPONENT_ID,
85
- 'data-garden-version': '9.2.0',
85
+ 'data-garden-version': '9.4.0',
86
86
  type: 'button'
87
87
  }).withConfig({
88
88
  displayName: "StyledSortableButton",
@@ -13,7 +13,7 @@ const getLineHeight = props => {
13
13
  };
14
14
  const StyledTable = styled.table.attrs({
15
15
  'data-garden-id': COMPONENT_ID,
16
- 'data-garden-version': '9.2.0'
16
+ 'data-garden-version': '9.4.0'
17
17
  }).withConfig({
18
18
  displayName: "StyledTable",
19
19
  componentId: "sc-gje7na-0"
package/dist/index.cjs.js CHANGED
@@ -41,7 +41,7 @@ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
41
41
  const COMPONENT_ID$b = 'tables.body';
42
42
  const StyledBody = styled__default.default.tbody.attrs({
43
43
  'data-garden-id': COMPONENT_ID$b,
44
- 'data-garden-version': '9.2.0'
44
+ 'data-garden-version': '9.4.0'
45
45
  }).withConfig({
46
46
  displayName: "StyledBody",
47
47
  componentId: "sc-14ud6y-0"
@@ -50,7 +50,7 @@ const StyledBody = styled__default.default.tbody.attrs({
50
50
  const COMPONENT_ID$a = 'tables.caption';
51
51
  const StyledCaption = styled__default.default.caption.attrs({
52
52
  'data-garden-id': COMPONENT_ID$a,
53
- 'data-garden-version': '9.2.0'
53
+ 'data-garden-version': '9.4.0'
54
54
  }).withConfig({
55
55
  displayName: "StyledCaption",
56
56
  componentId: "sc-113y327-0"
@@ -102,7 +102,7 @@ const COMPONENT_ID$9 = 'tables.overflow_button';
102
102
  const OVERFLOW_BUTTON_SIZE = '2em';
103
103
  const StyledOverflowButton = styled__default.default(reactButtons.IconButton).attrs({
104
104
  'data-garden-id': COMPONENT_ID$9,
105
- 'data-garden-version': '9.2.0'
105
+ 'data-garden-version': '9.4.0'
106
106
  }).withConfig({
107
107
  displayName: "StyledOverflowButton",
108
108
  componentId: "sc-1eba2ml-0"
@@ -132,7 +132,7 @@ const sizeStyles$3 = props => {
132
132
  };
133
133
  const StyledHeaderRow = styled__default.default(StyledBaseRow).attrs({
134
134
  'data-garden-id': COMPONENT_ID$8,
135
- 'data-garden-version': '9.2.0'
135
+ 'data-garden-version': '9.4.0'
136
136
  }).withConfig({
137
137
  displayName: "StyledHeaderRow",
138
138
  componentId: "sc-16ogvdx-0"
@@ -158,7 +158,7 @@ const stickyStyles = () => {
158
158
  };
159
159
  const StyledHead = styled__default.default.thead.attrs({
160
160
  'data-garden-id': COMPONENT_ID$7,
161
- 'data-garden-version': '9.2.0'
161
+ 'data-garden-version': '9.4.0'
162
162
  }).withConfig({
163
163
  displayName: "StyledHead",
164
164
  componentId: "sc-spf23a-0"
@@ -170,7 +170,7 @@ const getLineHeight = props => {
170
170
  };
171
171
  const StyledTable = styled__default.default.table.attrs({
172
172
  'data-garden-id': COMPONENT_ID$6,
173
- 'data-garden-version': '9.2.0'
173
+ 'data-garden-version': '9.4.0'
174
174
  }).withConfig({
175
175
  displayName: "StyledTable",
176
176
  componentId: "sc-gje7na-0"
@@ -204,7 +204,7 @@ const sizeStyling = props => {
204
204
  };
205
205
  const StyledCell = styled__default.default.td.attrs({
206
206
  'data-garden-id': COMPONENT_ID$5,
207
- 'data-garden-version': '9.2.0'
207
+ 'data-garden-version': '9.4.0'
208
208
  }).withConfig({
209
209
  displayName: "StyledCell",
210
210
  componentId: "sc-8hpncx-0"
@@ -234,7 +234,7 @@ const sizeStyles$2 = props => {
234
234
  };
235
235
  const StyledGroupRow = styled__default.default(StyledBaseRow).attrs({
236
236
  'data-garden-id': COMPONENT_ID$4,
237
- 'data-garden-version': '9.2.0'
237
+ 'data-garden-version': '9.4.0'
238
238
  }).withConfig({
239
239
  displayName: "StyledGroupRow",
240
240
  componentId: "sc-mpd0r8-0"
@@ -314,7 +314,7 @@ const colorStyles$1 = _ref => {
314
314
  };
315
315
  const StyledSortableButton = styled__default.default.button.attrs({
316
316
  'data-garden-id': COMPONENT_ID$3,
317
- 'data-garden-version': '9.2.0',
317
+ 'data-garden-version': '9.4.0',
318
318
  type: 'button'
319
319
  }).withConfig({
320
320
  displayName: "StyledSortableButton",
@@ -333,7 +333,7 @@ const sizeStyles$1 = props => {
333
333
  const StyledHeaderCell = styled__default.default(StyledCell).attrs({
334
334
  as: 'th',
335
335
  'data-garden-id': COMPONENT_ID$2,
336
- 'data-garden-version': '9.2.0'
336
+ 'data-garden-version': '9.4.0'
337
337
  }).withConfig({
338
338
  displayName: "StyledHeaderCell",
339
339
  componentId: "sc-fzagoe-0"
@@ -350,7 +350,7 @@ const StyledHeaderCell = styled__default.default(StyledCell).attrs({
350
350
  const COMPONENT_ID$1 = 'tables.hidden_cell';
351
351
  const StyledHiddenCell = styled__default.default.div.attrs({
352
352
  'data-garden-id': COMPONENT_ID$1,
353
- 'data-garden-version': '9.2.0'
353
+ 'data-garden-version': '9.4.0'
354
354
  }).withConfig({
355
355
  displayName: "StyledHiddenCell",
356
356
  componentId: "sc-1x454xw-0"
@@ -439,7 +439,7 @@ const sizeStyles = props => {
439
439
  };
440
440
  const StyledRow = styled__default.default(StyledBaseRow).attrs({
441
441
  'data-garden-id': COMPONENT_ID,
442
- 'data-garden-version': '9.2.0'
442
+ 'data-garden-version': '9.4.0'
443
443
  }).withConfig({
444
444
  displayName: "StyledRow",
445
445
  componentId: "sc-ek66ow-0"
@@ -4,8 +4,7 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  export interface IStyledBaseRowProps {
9
8
  $isStriped?: boolean;
10
9
  }
11
- export declare const StyledBaseRow: import("styled-components").StyledComponent<"tr", DefaultTheme, IStyledBaseRowProps, never>;
10
+ export declare const StyledBaseRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, IStyledBaseRowProps>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledBody: import("styled-components").StyledComponent<"tbody", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
8
+ ref?: ((instance: HTMLTableSectionElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableSectionElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledCaption: import("styled-components").StyledComponent<"caption", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledCaption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
8
+ ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { ICellProps, ITableProps } from '../types';
9
8
  export interface IStyledCellProps extends Pick<ICellProps, 'width'> {
10
9
  $size?: ITableProps['size'];
@@ -12,4 +11,6 @@ export interface IStyledCellProps extends Pick<ICellProps, 'width'> {
12
11
  $isTruncated?: boolean;
13
12
  $hasOverflow?: boolean;
14
13
  }
15
- export declare const StyledCell: import("styled-components").StyledComponent<"td", DefaultTheme, IStyledCellProps, never>;
14
+ export declare const StyledCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, Omit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
15
+ ref?: ((instance: HTMLTableDataCellElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableDataCellElement> | null | undefined;
16
+ }>, IStyledCellProps>, IStyledCellProps>> & string;
@@ -4,13 +4,13 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { ITableProps } from '../types';
9
8
  interface IStyledGroupRowProps {
10
9
  $size?: ITableProps['size'];
11
10
  }
12
- export declare const StyledGroupRow: import("styled-components").StyledComponent<"tr", DefaultTheme, import("./StyledBaseRow").IStyledBaseRowProps & {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- } & IStyledGroupRowProps, "data-garden-id" | "data-garden-version">;
11
+ export declare const StyledGroupRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "$isStriped"> & import("./StyledBaseRow").IStyledBaseRowProps, "ref"> & {
12
+ ref?: ((instance: HTMLTableRowElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
13
+ }, Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "$isStriped"> & import("./StyledBaseRow").IStyledBaseRowProps, "ref"> & {
14
+ ref?: ((instance: HTMLTableRowElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
15
+ }>, never>, IStyledGroupRowProps>> & string;
16
16
  export {};
@@ -4,12 +4,10 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  interface IStyledHeadProps {
9
8
  $isSticky?: boolean;
10
9
  }
11
- export declare const StyledHead: import("styled-components").StyledComponent<"thead", DefaultTheme, {
12
- 'data-garden-id': string;
13
- 'data-garden-version': string;
14
- } & IStyledHeadProps, "data-garden-id" | "data-garden-version">;
10
+ export declare const StyledHead: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
11
+ ref?: ((instance: HTMLTableSectionElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableSectionElement> | null | undefined;
12
+ }>, never>, IStyledHeadProps>> & string;
15
13
  export {};
@@ -4,10 +4,9 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { IStyledCellProps } from './StyledCell';
9
- export declare const StyledHeaderCell: import("styled-components").StyledComponent<"td", DefaultTheme, IStyledCellProps & {
10
- as: string;
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- }, "as" | "data-garden-id" | "data-garden-version">;
8
+ export declare const StyledHeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, Omit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
9
+ ref?: ((instance: HTMLTableDataCellElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableDataCellElement> | null | undefined;
10
+ }>, IStyledCellProps>, keyof IStyledCellProps> & IStyledCellProps, Omit<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & {
11
+ ref?: ((instance: HTMLTableHeaderCellElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableHeaderCellElement> | null | undefined;
12
+ }>, never>, never>> & string;
@@ -4,13 +4,13 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { ITableProps } from '../types';
9
8
  interface IStyledHeaderRowProps {
10
9
  $size?: ITableProps['size'];
11
10
  }
12
- export declare const StyledHeaderRow: import("styled-components").StyledComponent<"tr", DefaultTheme, import("./StyledBaseRow").IStyledBaseRowProps & {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- } & IStyledHeaderRowProps, "data-garden-id" | "data-garden-version">;
11
+ export declare const StyledHeaderRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "$isStriped"> & import("./StyledBaseRow").IStyledBaseRowProps, "ref"> & {
12
+ ref?: ((instance: HTMLTableRowElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
13
+ }, Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "$isStriped"> & import("./StyledBaseRow").IStyledBaseRowProps, "ref"> & {
14
+ ref?: ((instance: HTMLTableRowElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
15
+ }>, never>, IStyledHeaderRowProps>> & string;
16
16
  export {};
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledHiddenCell: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledHiddenCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -11,8 +11,9 @@ interface IStyledOverflowButtonProps {
11
11
  /**
12
12
  * 1. Overrides IconButton sizing
13
13
  */
14
- export declare const StyledOverflowButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {
15
- 'data-garden-id': string;
16
- 'data-garden-version': string;
17
- } & IStyledOverflowButtonProps, "data-garden-id" | "data-garden-version">;
14
+ export declare const StyledOverflowButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
15
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
16
+ }, Omit<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
17
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
18
+ }>, never>, IStyledOverflowButtonProps>> & string & Omit<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
18
19
  export {};
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { ITableProps } from '../types';
9
8
  export interface IStyledRowProps {
10
9
  $isStriped?: boolean;
@@ -14,7 +13,8 @@ export interface IStyledRowProps {
14
13
  $isReadOnly?: ITableProps['isReadOnly'];
15
14
  $size?: ITableProps['size'];
16
15
  }
17
- export declare const StyledRow: import("styled-components").StyledComponent<"tr", DefaultTheme, import("./StyledBaseRow").IStyledBaseRowProps & {
18
- 'data-garden-id': string;
19
- 'data-garden-version': string;
20
- } & IStyledRowProps, "data-garden-id" | "data-garden-version">;
16
+ export declare const StyledRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "$isStriped"> & import("./StyledBaseRow").IStyledBaseRowProps, "ref"> & {
17
+ ref?: ((instance: HTMLTableRowElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
18
+ }, Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "$isStriped"> & import("./StyledBaseRow").IStyledBaseRowProps, "ref"> & {
19
+ ref?: ((instance: HTMLTableRowElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
20
+ }>, never>, IStyledRowProps>> & string;
@@ -4,10 +4,13 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { ISortableCellProps } from '../types';
9
- export declare const StyledSortableStrokeIconWrapper: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
10
- export declare const StyledSortableFillIconWrapper: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
8
+ export declare const StyledSortableStrokeIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
9
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
+ }, never>> & string;
11
+ export declare const StyledSortableFillIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
+ }, never>> & string;
11
14
  interface IStyledSortableButtonProps {
12
15
  $sort?: ISortableCellProps['sort'];
13
16
  width?: ISortableCellProps['width'];
@@ -16,5 +19,7 @@ interface IStyledSortableButtonProps {
16
19
  * 1. Reset for <button> element
17
20
  * 2. Reset for <a>nchor element
18
21
  */
19
- export declare const StyledSortableButton: import("styled-components").StyledComponent<"button", DefaultTheme, IStyledSortableButtonProps, never>;
22
+ export declare const StyledSortableButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
23
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
24
+ }>, IStyledSortableButtonProps>, IStyledSortableButtonProps>> & string;
20
25
  export {};
@@ -9,7 +9,6 @@ export declare const getLineHeight: (props: ThemeProps<DefaultTheme>) => string;
9
9
  /**
10
10
  * 1. <table> reset
11
11
  */
12
- export declare const StyledTable: import("styled-components").StyledComponent<"table", DefaultTheme, {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- }, "data-garden-id" | "data-garden-version">;
12
+ export declare const StyledTable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, Omit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
13
+ ref?: ((instance: HTMLTableElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableElement> | null | undefined;
14
+ }>, never>, never>> & string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-tables",
3
- "version": "9.2.0",
3
+ "version": "9.4.0",
4
4
  "description": "Components relating to tables in the Garden Design System",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -22,7 +22,7 @@
22
22
  "types": "dist/typings/index.d.ts",
23
23
  "dependencies": {
24
24
  "@zendeskgarden/container-utilities": "^2.0.0",
25
- "@zendeskgarden/react-buttons": "^9.2.0",
25
+ "@zendeskgarden/react-buttons": "^9.4.0",
26
26
  "dom-helpers": "^5.1.0",
27
27
  "polished": "^4.3.1",
28
28
  "prop-types": "^15.5.7"
@@ -31,10 +31,10 @@
31
31
  "@zendeskgarden/react-theming": ">=9.0.0",
32
32
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
33
33
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
34
- "styled-components": "^5.3.1"
34
+ "styled-components": "^5.3.1 || ^6.0.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@zendeskgarden/react-theming": "^9.2.0",
37
+ "@zendeskgarden/react-theming": "^9.4.0",
38
38
  "@zendeskgarden/svg-icons": "7.3.0"
39
39
  },
40
40
  "keywords": [
@@ -47,5 +47,5 @@
47
47
  "access": "public"
48
48
  },
49
49
  "zendeskgarden:src": "src/index.ts",
50
- "gitHead": "23a86c9a1e830685e277544c089b44614c2261ac"
50
+ "gitHead": "02e3f240b6f0c776fdae785254d6fe90cbfc37e4"
51
51
  }