@zendeskgarden/react-grid 9.2.0 → 9.3.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.
- package/dist/esm/elements/pane/components/SplitterButton.js +9 -8
- package/dist/esm/styled/StyledCol.js +1 -1
- package/dist/esm/styled/StyledGrid.js +1 -1
- package/dist/esm/styled/StyledRow.js +1 -1
- package/dist/esm/styled/pane/StyledPane.js +1 -1
- package/dist/esm/styled/pane/StyledPaneContent.js +1 -1
- package/dist/esm/styled/pane/StyledPaneSplitter.js +1 -1
- package/dist/esm/styled/pane/StyledPaneSplitterButton.js +1 -1
- package/dist/index.cjs.js +16 -15
- package/dist/typings/styled/StyledCol.d.ts +3 -1
- package/dist/typings/styled/StyledGrid.d.ts +3 -1
- package/dist/typings/styled/StyledRow.d.ts +3 -1
- package/dist/typings/styled/pane/StyledPane.d.ts +3 -4
- package/dist/typings/styled/pane/StyledPaneContent.d.ts +3 -4
- package/dist/typings/styled/pane/StyledPaneSplitter.d.ts +3 -5
- package/dist/typings/styled/pane/StyledPaneSplitterButton.d.ts +5 -1
- package/dist/typings/styled/pane/StyledPaneSplitterButtonContainer.d.ts +1 -2
- package/package.json +6 -6
|
@@ -18,11 +18,12 @@ import { StyledPaneSplitterButtonContainer } from '../../../styled/pane/StyledPa
|
|
|
18
18
|
import usePaneSplitterContext from '../../../utils/usePaneSplitterContext.js';
|
|
19
19
|
import { usePaneProviderContextData } from '../../../utils/usePaneProviderContext.js';
|
|
20
20
|
|
|
21
|
-
const SplitterButtonComponent = forwardRef((
|
|
22
|
-
|
|
21
|
+
const SplitterButtonComponent = forwardRef((_ref, ref) => {
|
|
22
|
+
let {
|
|
23
23
|
label,
|
|
24
|
-
placement: defaultPlacement
|
|
25
|
-
|
|
24
|
+
placement: defaultPlacement,
|
|
25
|
+
...other
|
|
26
|
+
} = _ref;
|
|
26
27
|
const {
|
|
27
28
|
orientation,
|
|
28
29
|
layoutKey,
|
|
@@ -52,16 +53,16 @@ const SplitterButtonComponent = forwardRef((props, ref) => {
|
|
|
52
53
|
paneProviderContext.setColumnValue(isStart, layoutKey, value);
|
|
53
54
|
}
|
|
54
55
|
}, [isRow, isTop, isStart, layoutKey, paneProviderContext]);
|
|
55
|
-
const onClick = composeEventHandlers(
|
|
56
|
+
const onClick = composeEventHandlers(other.onClick, () => {
|
|
56
57
|
if (isMin) {
|
|
57
58
|
setValue(max);
|
|
58
59
|
} else {
|
|
59
60
|
setValue(min);
|
|
60
61
|
}
|
|
61
62
|
});
|
|
62
|
-
const onKeyDown = composeEventHandlers(
|
|
63
|
+
const onKeyDown = composeEventHandlers(other.onKeyDown, event => event.stopPropagation()
|
|
63
64
|
);
|
|
64
|
-
const onMouseDown = composeEventHandlers(
|
|
65
|
+
const onMouseDown = composeEventHandlers(other.onMouseDown, event => event.stopPropagation()
|
|
65
66
|
);
|
|
66
67
|
return React.createElement(StyledPaneSplitterButtonContainer, {
|
|
67
68
|
$orientation: orientation,
|
|
@@ -77,7 +78,7 @@ const SplitterButtonComponent = forwardRef((props, ref) => {
|
|
|
77
78
|
onMouseDown: e => e.stopPropagation()
|
|
78
79
|
}, React.createElement(StyledPaneSplitterButton, Object.assign({
|
|
79
80
|
"aria-label": label
|
|
80
|
-
},
|
|
81
|
+
}, other, {
|
|
81
82
|
$orientation: orientation,
|
|
82
83
|
$isRotated: isMin,
|
|
83
84
|
ref: ref,
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
|
10
10
|
const COMPONENT_ID = 'pane';
|
|
11
11
|
const StyledPane = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.3.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledPane",
|
|
16
16
|
componentId: "sc-1ltjst7-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
|
10
10
|
const COMPONENT_ID = 'pane.content';
|
|
11
11
|
const StyledPaneContent = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.3.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledPaneContent",
|
|
16
16
|
componentId: "sc-1b38mbh-0"
|
|
@@ -107,7 +107,7 @@ const sizeStyles = _ref2 => {
|
|
|
107
107
|
};
|
|
108
108
|
const StyledPaneSplitter = styled.div.attrs({
|
|
109
109
|
'data-garden-id': COMPONENT_ID,
|
|
110
|
-
'data-garden-version': '9.
|
|
110
|
+
'data-garden-version': '9.3.0'
|
|
111
111
|
}).withConfig({
|
|
112
112
|
displayName: "StyledPaneSplitter",
|
|
113
113
|
componentId: "sc-jylemn-0"
|
|
@@ -35,7 +35,7 @@ const transformStyles = _ref2 => {
|
|
|
35
35
|
return css(["& > svg{transform:rotate(", "deg);}"], degrees);
|
|
36
36
|
};
|
|
37
37
|
const StyledPaneSplitterButton = styled(ChevronButton).attrs({
|
|
38
|
-
'data-garden-version': '9.
|
|
38
|
+
'data-garden-version': '9.3.0',
|
|
39
39
|
isBasic: true,
|
|
40
40
|
isPill: true,
|
|
41
41
|
size: 'small'
|
package/dist/index.cjs.js
CHANGED
|
@@ -102,7 +102,7 @@ const sizeStyles$5 = _ref2 => {
|
|
|
102
102
|
};
|
|
103
103
|
const StyledCol = styled__default.default.div.attrs({
|
|
104
104
|
'data-garden-id': COMPONENT_ID$6,
|
|
105
|
-
'data-garden-version': '9.
|
|
105
|
+
'data-garden-version': '9.3.0'
|
|
106
106
|
}).withConfig({
|
|
107
107
|
displayName: "StyledCol",
|
|
108
108
|
componentId: "sc-inuw62-0"
|
|
@@ -140,7 +140,7 @@ const sizeStyles$4 = _ref2 => {
|
|
|
140
140
|
};
|
|
141
141
|
const StyledGrid = styled__default.default.div.attrs({
|
|
142
142
|
'data-garden-id': COMPONENT_ID$5,
|
|
143
|
-
'data-garden-version': '9.
|
|
143
|
+
'data-garden-version': '9.3.0'
|
|
144
144
|
}).withConfig({
|
|
145
145
|
displayName: "StyledGrid",
|
|
146
146
|
componentId: "sc-oxgg5i-0"
|
|
@@ -194,7 +194,7 @@ const sizeStyles$3 = _ref2 => {
|
|
|
194
194
|
};
|
|
195
195
|
const StyledRow = styled__default.default.div.attrs({
|
|
196
196
|
'data-garden-id': COMPONENT_ID$4,
|
|
197
|
-
'data-garden-version': '9.
|
|
197
|
+
'data-garden-version': '9.3.0'
|
|
198
198
|
}).withConfig({
|
|
199
199
|
displayName: "StyledRow",
|
|
200
200
|
componentId: "sc-xjsdg1-0"
|
|
@@ -207,7 +207,7 @@ StyledRow.defaultProps = {
|
|
|
207
207
|
const COMPONENT_ID$3 = 'pane';
|
|
208
208
|
const StyledPane = styled__default.default.div.attrs({
|
|
209
209
|
'data-garden-id': COMPONENT_ID$3,
|
|
210
|
-
'data-garden-version': '9.
|
|
210
|
+
'data-garden-version': '9.3.0'
|
|
211
211
|
}).withConfig({
|
|
212
212
|
displayName: "StyledPane",
|
|
213
213
|
componentId: "sc-1ltjst7-0"
|
|
@@ -216,7 +216,7 @@ const StyledPane = styled__default.default.div.attrs({
|
|
|
216
216
|
const COMPONENT_ID$2 = 'pane.content';
|
|
217
217
|
const StyledPaneContent = styled__default.default.div.attrs({
|
|
218
218
|
'data-garden-id': COMPONENT_ID$2,
|
|
219
|
-
'data-garden-version': '9.
|
|
219
|
+
'data-garden-version': '9.3.0'
|
|
220
220
|
}).withConfig({
|
|
221
221
|
displayName: "StyledPaneContent",
|
|
222
222
|
componentId: "sc-1b38mbh-0"
|
|
@@ -321,7 +321,7 @@ const sizeStyles$2 = _ref2 => {
|
|
|
321
321
|
};
|
|
322
322
|
const StyledPaneSplitter = styled__default.default.div.attrs({
|
|
323
323
|
'data-garden-id': COMPONENT_ID$1,
|
|
324
|
-
'data-garden-version': '9.
|
|
324
|
+
'data-garden-version': '9.3.0'
|
|
325
325
|
}).withConfig({
|
|
326
326
|
displayName: "StyledPaneSplitter",
|
|
327
327
|
componentId: "sc-jylemn-0"
|
|
@@ -355,7 +355,7 @@ const transformStyles = _ref2 => {
|
|
|
355
355
|
return styled.css(["& > svg{transform:rotate(", "deg);}"], degrees);
|
|
356
356
|
};
|
|
357
357
|
const StyledPaneSplitterButton = styled__default.default(reactButtons.ChevronButton).attrs({
|
|
358
|
-
'data-garden-version': '9.
|
|
358
|
+
'data-garden-version': '9.3.0',
|
|
359
359
|
isBasic: true,
|
|
360
360
|
isPill: true,
|
|
361
361
|
size: 'small'
|
|
@@ -1026,11 +1026,12 @@ const ContentComponent = React.forwardRef((props, ref) => {
|
|
|
1026
1026
|
ContentComponent.displayName = 'Pane.Content';
|
|
1027
1027
|
const Content = ContentComponent;
|
|
1028
1028
|
|
|
1029
|
-
const SplitterButtonComponent = React.forwardRef((
|
|
1030
|
-
|
|
1029
|
+
const SplitterButtonComponent = React.forwardRef((_ref, ref) => {
|
|
1030
|
+
let {
|
|
1031
1031
|
label,
|
|
1032
|
-
placement: defaultPlacement
|
|
1033
|
-
|
|
1032
|
+
placement: defaultPlacement,
|
|
1033
|
+
...other
|
|
1034
|
+
} = _ref;
|
|
1034
1035
|
const {
|
|
1035
1036
|
orientation,
|
|
1036
1037
|
layoutKey,
|
|
@@ -1060,16 +1061,16 @@ const SplitterButtonComponent = React.forwardRef((props, ref) => {
|
|
|
1060
1061
|
paneProviderContext.setColumnValue(isStart, layoutKey, value);
|
|
1061
1062
|
}
|
|
1062
1063
|
}, [isRow, isTop, isStart, layoutKey, paneProviderContext]);
|
|
1063
|
-
const onClick = containerUtilities.composeEventHandlers(
|
|
1064
|
+
const onClick = containerUtilities.composeEventHandlers(other.onClick, () => {
|
|
1064
1065
|
if (isMin) {
|
|
1065
1066
|
setValue(max);
|
|
1066
1067
|
} else {
|
|
1067
1068
|
setValue(min);
|
|
1068
1069
|
}
|
|
1069
1070
|
});
|
|
1070
|
-
const onKeyDown = containerUtilities.composeEventHandlers(
|
|
1071
|
+
const onKeyDown = containerUtilities.composeEventHandlers(other.onKeyDown, event => event.stopPropagation()
|
|
1071
1072
|
);
|
|
1072
|
-
const onMouseDown = containerUtilities.composeEventHandlers(
|
|
1073
|
+
const onMouseDown = containerUtilities.composeEventHandlers(other.onMouseDown, event => event.stopPropagation()
|
|
1073
1074
|
);
|
|
1074
1075
|
return React__default.default.createElement(StyledPaneSplitterButtonContainer, {
|
|
1075
1076
|
$orientation: orientation,
|
|
@@ -1085,7 +1086,7 @@ const SplitterButtonComponent = React.forwardRef((props, ref) => {
|
|
|
1085
1086
|
onMouseDown: e => e.stopPropagation()
|
|
1086
1087
|
}, React__default.default.createElement(StyledPaneSplitterButton, Object.assign({
|
|
1087
1088
|
"aria-label": label
|
|
1088
|
-
},
|
|
1089
|
+
}, other, {
|
|
1089
1090
|
$orientation: orientation,
|
|
1090
1091
|
$isRotated: isMin,
|
|
1091
1092
|
ref: ref,
|
|
@@ -41,5 +41,7 @@ interface IStyledColProps extends ThemeProps<DefaultTheme> {
|
|
|
41
41
|
$orderLg?: IColProps['orderLg'];
|
|
42
42
|
$orderXl?: IColProps['orderXl'];
|
|
43
43
|
}
|
|
44
|
-
export declare const StyledCol: import("styled-components").
|
|
44
|
+
export declare const StyledCol: 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").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
45
|
+
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;
|
|
46
|
+
}>, IStyledColProps>, IStyledColProps>> & string;
|
|
45
47
|
export {};
|
|
@@ -10,5 +10,7 @@ interface IStyledGridProps extends ThemeProps<DefaultTheme> {
|
|
|
10
10
|
$debug?: IGridProps['debug'];
|
|
11
11
|
$gutters?: IGridProps['gutters'];
|
|
12
12
|
}
|
|
13
|
-
export declare const StyledGrid: import("styled-components").
|
|
13
|
+
export declare const StyledGrid: 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").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
+
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;
|
|
15
|
+
}>, IStyledGridProps>, IStyledGridProps>> & string;
|
|
14
16
|
export {};
|
|
@@ -28,5 +28,7 @@ interface IStyledRowProps extends ThemeProps<DefaultTheme> {
|
|
|
28
28
|
$wrapLg?: Wrap;
|
|
29
29
|
$wrapXl?: Wrap;
|
|
30
30
|
}
|
|
31
|
-
export declare const StyledRow: import("styled-components").
|
|
31
|
+
export declare const StyledRow: 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").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
32
|
+
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;
|
|
33
|
+
}>, IStyledRowProps>, IStyledRowProps>> & string;
|
|
32
34
|
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 StyledPane: import("styled-components").
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
7
|
+
export declare const StyledPane: 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;
|
|
@@ -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 StyledPaneContent: import("styled-components").
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
7
|
+
export declare const StyledPaneContent: 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;
|
|
@@ -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 { Orientation } from '../../types';
|
|
9
8
|
interface IStyledPaneSplitterProps {
|
|
10
9
|
$orientation?: Orientation;
|
|
@@ -15,8 +14,7 @@ interface IStyledPaneSplitterProps {
|
|
|
15
14
|
* 2. Stack below splitter button.
|
|
16
15
|
* 3. Stack above other splitters when focused
|
|
17
16
|
*/
|
|
18
|
-
export declare const StyledPaneSplitter: import("styled-components").
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} & IStyledPaneSplitterProps, "data-garden-id" | "data-garden-version">;
|
|
17
|
+
export declare const StyledPaneSplitter: 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<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
18
|
+
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;
|
|
19
|
+
}>, never>, IStyledPaneSplitterProps>> & string;
|
|
22
20
|
export {};
|
|
@@ -11,5 +11,9 @@ interface IStyledSplitterButtonProps {
|
|
|
11
11
|
$isRotated: boolean;
|
|
12
12
|
}
|
|
13
13
|
export declare const getSize: (theme: DefaultTheme) => number;
|
|
14
|
-
export declare const StyledPaneSplitterButton: import("styled-components").
|
|
14
|
+
export declare const StyledPaneSplitterButton: 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<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
|
+
}>, IStyledSplitterButtonProps>, IStyledSplitterButtonProps>> & string & Omit<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
|
|
15
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 { Orientation, PLACEMENT } from '../../types';
|
|
9
8
|
interface IStyledSplitterButtonContainerProps {
|
|
10
9
|
$orientation: Orientation;
|
|
@@ -14,5 +13,5 @@ interface IStyledSplitterButtonContainerProps {
|
|
|
14
13
|
/**
|
|
15
14
|
* 1. Match focused `Splitter` z-index
|
|
16
15
|
*/
|
|
17
|
-
export declare const StyledPaneSplitterButtonContainer: import("styled-components").
|
|
16
|
+
export declare const StyledPaneSplitterButtonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IStyledSplitterButtonContainerProps>> & string;
|
|
18
17
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-grid",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"description": "Components relating to layout grids in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@zendeskgarden/container-splitter": "^2.0.17",
|
|
25
25
|
"@zendeskgarden/container-utilities": "^2.0.0",
|
|
26
|
-
"@zendeskgarden/react-buttons": "^9.
|
|
27
|
-
"@zendeskgarden/react-tooltips": "^9.
|
|
26
|
+
"@zendeskgarden/react-buttons": "^9.3.0",
|
|
27
|
+
"@zendeskgarden/react-tooltips": "^9.3.0",
|
|
28
28
|
"polished": "^4.3.1",
|
|
29
29
|
"prop-types": "^15.5.7",
|
|
30
30
|
"react-merge-refs": "^2.0.0",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"@zendeskgarden/react-theming": ">=9.0.0",
|
|
35
35
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
36
36
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
37
|
-
"styled-components": "^5.3.1"
|
|
37
|
+
"styled-components": "^5.3.1 || ^6.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@zendeskgarden/react-theming": "^9.
|
|
40
|
+
"@zendeskgarden/react-theming": "^9.3.0"
|
|
41
41
|
},
|
|
42
42
|
"keywords": [
|
|
43
43
|
"components",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
51
|
"zendeskgarden:src": "src/index.ts",
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "fa6461e0d9fae27956980056006e8013daedc6b9"
|
|
53
53
|
}
|