@zendeskgarden/react-grid 9.0.0-next.12 → 9.0.0-next.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.
- package/dist/esm/styled/StyledCol.js +23 -7
- package/dist/esm/styled/StyledGrid.js +20 -8
- package/dist/esm/styled/StyledRow.js +20 -8
- 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 +41 -21
- package/dist/esm/styled/pane/StyledPaneSplitterButton.js +1 -1
- package/dist/esm/styled/pane/StyledPaneSplitterButtonContainer.js +30 -11
- package/dist/index.cjs.js +132 -53
- package/package.json +7 -7
|
@@ -6,11 +6,23 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
8
|
import { math } from 'polished';
|
|
9
|
-
import { retrieveComponentStyles, DEFAULT_THEME,
|
|
9
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColor } from '@zendeskgarden/react-theming';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'grid.col';
|
|
12
|
-
const colorStyles =
|
|
13
|
-
|
|
12
|
+
const colorStyles = _ref => {
|
|
13
|
+
let {
|
|
14
|
+
theme
|
|
15
|
+
} = _ref;
|
|
16
|
+
const backgroundColor = getColor({
|
|
17
|
+
theme,
|
|
18
|
+
variable: 'background.primaryEmphasis',
|
|
19
|
+
dark: {
|
|
20
|
+
transparency: theme.opacity[200]
|
|
21
|
+
},
|
|
22
|
+
light: {
|
|
23
|
+
transparency: theme.opacity[100]
|
|
24
|
+
}
|
|
25
|
+
});
|
|
14
26
|
return css(["background-clip:content-box;background-color:", ";"], backgroundColor);
|
|
15
27
|
};
|
|
16
28
|
const flexStyles = (size, alignSelf, textAlign, offset, order, props) => {
|
|
@@ -54,17 +66,21 @@ const flexStyles = (size, alignSelf, textAlign, offset, order, props) => {
|
|
|
54
66
|
const mediaStyles = (minWidth, size, alignSelf, textAlign, offset, order, props) => {
|
|
55
67
|
return css(["@media (min-width:", "){", ";}"], minWidth, flexStyles(size, alignSelf, textAlign, offset, order, props));
|
|
56
68
|
};
|
|
57
|
-
const sizeStyles =
|
|
58
|
-
|
|
69
|
+
const sizeStyles = _ref2 => {
|
|
70
|
+
let {
|
|
71
|
+
theme,
|
|
72
|
+
gutters
|
|
73
|
+
} = _ref2;
|
|
74
|
+
const padding = gutters ? math(`${theme.space[gutters]} / 2`) : 0;
|
|
59
75
|
return css(["padding-right:", ";padding-left:", ";"], padding, padding);
|
|
60
76
|
};
|
|
61
77
|
const StyledCol = styled.div.attrs({
|
|
62
78
|
'data-garden-id': COMPONENT_ID,
|
|
63
|
-
'data-garden-version': '9.0.0-next.
|
|
79
|
+
'data-garden-version': '9.0.0-next.14'
|
|
64
80
|
}).withConfig({
|
|
65
81
|
displayName: "StyledCol",
|
|
66
82
|
componentId: "sc-inuw62-0"
|
|
67
|
-
})(["box-sizing:border-box;width:100%;", ";", ";", ";", ";", ";", ";", ";", ";", ";"], props => flexStyles(!props.sizeAll && (props.xs || props.sm || props.md || props.lg || props.xl) ? undefined : props.sizeAll || false, props.alignSelf, props.textAlign, props.offset, props.order, props),
|
|
83
|
+
})(["box-sizing:border-box;width:100%;", ";", ";", ";", ";", ";", ";", ";", ";", ";"], props => flexStyles(!props.sizeAll && (props.xs || props.sm || props.md || props.lg || props.xl) ? undefined : props.sizeAll || false, props.alignSelf, props.textAlign, props.offset, props.order, props), sizeStyles, props => props.debug && colorStyles(props), props => mediaStyles(props.theme.breakpoints.xs, props.xs, props.alignSelfXs, props.textAlignXs, props.offsetXs, props.orderXs, props), props => mediaStyles(props.theme.breakpoints.sm, props.sm, props.alignSelfSm, props.textAlignSm, props.offsetSm, props.orderSm, props), props => mediaStyles(props.theme.breakpoints.md, props.md, props.alignSelfMd, props.textAlignMd, props.offsetMd, props.orderMd, props), props => mediaStyles(props.theme.breakpoints.lg, props.lg, props.alignSelfLg, props.textAlignLg, props.offsetLg, props.orderLg, props), props => mediaStyles(props.theme.breakpoints.xl, props.xl, props.alignSelfXl, props.textAlignXl, props.offsetXl, props.orderXl, props), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
68
84
|
StyledCol.defaultProps = {
|
|
69
85
|
columns: 12,
|
|
70
86
|
theme: DEFAULT_THEME
|
|
@@ -6,25 +6,37 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
8
|
import { math } from 'polished';
|
|
9
|
-
import { retrieveComponentStyles, DEFAULT_THEME,
|
|
9
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColor } from '@zendeskgarden/react-theming';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'grid.grid';
|
|
12
|
-
const colorStyles =
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
const colorStyles = _ref => {
|
|
13
|
+
let {
|
|
14
|
+
theme
|
|
15
|
+
} = _ref;
|
|
16
|
+
const borderColor = getColor({
|
|
17
|
+
theme,
|
|
18
|
+
hue: 'crimson',
|
|
19
|
+
shade: 700,
|
|
20
|
+
transparency: theme.opacity[600]
|
|
21
|
+
});
|
|
22
|
+
const borderWidth = math(`${theme.borderWidths.sm} * 2`);
|
|
15
23
|
return css(["box-shadow:-", " 0 0 0 ", ",", " 0 0 0 ", ";"], borderWidth, borderColor, borderWidth, borderColor);
|
|
16
24
|
};
|
|
17
|
-
const sizeStyles =
|
|
18
|
-
|
|
25
|
+
const sizeStyles = _ref2 => {
|
|
26
|
+
let {
|
|
27
|
+
theme,
|
|
28
|
+
gutters
|
|
29
|
+
} = _ref2;
|
|
30
|
+
const padding = gutters ? math(`${theme.space[gutters]} / 2`) : 0;
|
|
19
31
|
return css(["padding-right:", ";padding-left:", ";"], padding, padding);
|
|
20
32
|
};
|
|
21
33
|
const StyledGrid = styled.div.attrs({
|
|
22
34
|
'data-garden-id': COMPONENT_ID,
|
|
23
|
-
'data-garden-version': '9.0.0-next.
|
|
35
|
+
'data-garden-version': '9.0.0-next.14'
|
|
24
36
|
}).withConfig({
|
|
25
37
|
displayName: "StyledGrid",
|
|
26
38
|
componentId: "sc-oxgg5i-0"
|
|
27
|
-
})(["direction:", ";margin-right:auto;margin-left:auto;width:100%;box-sizing:border-box;", ";", ";", ";"], props => props.theme.rtl && 'rtl',
|
|
39
|
+
})(["direction:", ";margin-right:auto;margin-left:auto;width:100%;box-sizing:border-box;", ";", ";", ";"], props => props.theme.rtl && 'rtl', sizeStyles, props => props.debug && colorStyles(props), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
28
40
|
StyledGrid.defaultProps = {
|
|
29
41
|
gutters: 'md',
|
|
30
42
|
theme: DEFAULT_THEME
|
|
@@ -6,12 +6,20 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
8
|
import { math } from 'polished';
|
|
9
|
-
import { retrieveComponentStyles, DEFAULT_THEME,
|
|
9
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColor } from '@zendeskgarden/react-theming';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'grid.row';
|
|
12
|
-
const colorStyles =
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
const colorStyles = _ref => {
|
|
13
|
+
let {
|
|
14
|
+
theme
|
|
15
|
+
} = _ref;
|
|
16
|
+
const borderColor = getColor({
|
|
17
|
+
theme,
|
|
18
|
+
hue: 'mint',
|
|
19
|
+
shade: 700,
|
|
20
|
+
transparency: theme.opacity[600]
|
|
21
|
+
});
|
|
22
|
+
const borderWidth = theme.borderWidths.sm;
|
|
15
23
|
return css(["box-shadow:inset 0 ", " 0 0 ", ",inset 0 -", " 0 0 ", ";"], borderWidth, borderColor, borderWidth, borderColor);
|
|
16
24
|
};
|
|
17
25
|
const flexStyles = (alignItems, justifyContent, wrap) => {
|
|
@@ -34,17 +42,21 @@ const flexStyles = (alignItems, justifyContent, wrap) => {
|
|
|
34
42
|
const mediaStyles = (minWidth, alignItems, justifyContent, wrap) => {
|
|
35
43
|
return css(["@media (min-width:", "){", ";}"], minWidth, flexStyles(alignItems, justifyContent, wrap));
|
|
36
44
|
};
|
|
37
|
-
const sizeStyles =
|
|
38
|
-
|
|
45
|
+
const sizeStyles = _ref2 => {
|
|
46
|
+
let {
|
|
47
|
+
theme,
|
|
48
|
+
gutters
|
|
49
|
+
} = _ref2;
|
|
50
|
+
const margin = gutters ? math(`${theme.space[gutters]} / 2`) : 0;
|
|
39
51
|
return css(["margin-right:-", ";margin-left:-", ";"], margin, margin);
|
|
40
52
|
};
|
|
41
53
|
const StyledRow = styled.div.attrs({
|
|
42
54
|
'data-garden-id': COMPONENT_ID,
|
|
43
|
-
'data-garden-version': '9.0.0-next.
|
|
55
|
+
'data-garden-version': '9.0.0-next.14'
|
|
44
56
|
}).withConfig({
|
|
45
57
|
displayName: "StyledRow",
|
|
46
58
|
componentId: "sc-xjsdg1-0"
|
|
47
|
-
})(["display:flex;box-sizing:border-box;", " ", ";", ";", ";", ";", ";", ";", ";", ";"], props => flexStyles(props.alignItems, props.justifyContent, props.wrapAll),
|
|
59
|
+
})(["display:flex;box-sizing:border-box;", " ", ";", ";", ";", ";", ";", ";", ";", ";"], props => flexStyles(props.alignItems, props.justifyContent, props.wrapAll), sizeStyles, props => props.debug && colorStyles(props), props => mediaStyles(props.theme.breakpoints.xs, props.alignItemsXs, props.justifyContentXs, props.wrapXs), props => mediaStyles(props.theme.breakpoints.sm, props.alignItemsSm, props.justifyContentSm, props.wrapSm), props => mediaStyles(props.theme.breakpoints.md, props.alignItemsMd, props.justifyContentMd, props.wrapMd), props => mediaStyles(props.theme.breakpoints.lg, props.alignItemsLg, props.justifyContentLg, props.wrapLg), props => mediaStyles(props.theme.breakpoints.xl, props.alignItemsXl, props.justifyContentXl, props.wrapXl), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
48
60
|
StyledRow.defaultProps = {
|
|
49
61
|
wrapAll: 'wrap',
|
|
50
62
|
theme: DEFAULT_THEME
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
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.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledPane",
|
|
16
16
|
componentId: "sc-1ltjst7-0"
|
|
@@ -10,7 +10,7 @@ import { retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-the
|
|
|
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.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.14'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledPaneContent",
|
|
16
16
|
componentId: "sc-1b38mbh-0"
|
|
@@ -6,27 +6,47 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
8
|
import { math } from 'polished';
|
|
9
|
-
import { SELECTOR_FOCUS_VISIBLE, retrieveComponentStyles, DEFAULT_THEME,
|
|
9
|
+
import { SELECTOR_FOCUS_VISIBLE, retrieveComponentStyles, DEFAULT_THEME, getColor, focusStyles } from '@zendeskgarden/react-theming';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'pane.splitter';
|
|
12
|
-
const colorStyles =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
theme
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
const colorStyles = _ref => {
|
|
13
|
+
let {
|
|
14
|
+
theme
|
|
15
|
+
} = _ref;
|
|
16
|
+
const color = getColor({
|
|
17
|
+
theme,
|
|
18
|
+
variable: 'border.default'
|
|
19
|
+
});
|
|
20
|
+
const options = {
|
|
21
|
+
theme,
|
|
22
|
+
variable: 'border.primaryEmphasis'
|
|
23
|
+
};
|
|
24
|
+
const hoverColor = getColor(options);
|
|
25
|
+
const activeColor = getColor({
|
|
26
|
+
...options,
|
|
27
|
+
dark: {
|
|
28
|
+
offset: -200
|
|
20
29
|
},
|
|
30
|
+
light: {
|
|
31
|
+
offset: 200
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
return css(["&::before{background-color:", ";}&:hover::before{background-color:", ";}", " &:active::before{background-color:", ";}"], color, hoverColor, focusStyles({
|
|
35
|
+
theme,
|
|
21
36
|
styles: {
|
|
22
37
|
backgroundColor: hoverColor
|
|
23
38
|
},
|
|
24
39
|
selector: '&:focus-visible::before'
|
|
25
40
|
}), activeColor);
|
|
26
41
|
};
|
|
27
|
-
const sizeStyles =
|
|
28
|
-
|
|
29
|
-
|
|
42
|
+
const sizeStyles = _ref2 => {
|
|
43
|
+
let {
|
|
44
|
+
theme,
|
|
45
|
+
orientation,
|
|
46
|
+
isFixed
|
|
47
|
+
} = _ref2;
|
|
48
|
+
const size = math(`${theme.shadowWidths.md} * 2`);
|
|
49
|
+
const separatorSize = math(`${theme.borderWidths.sm} * 2`);
|
|
30
50
|
const offset = math(`-${size} / 2`);
|
|
31
51
|
let cursor;
|
|
32
52
|
let top;
|
|
@@ -37,14 +57,14 @@ const sizeStyles = props => {
|
|
|
37
57
|
let height;
|
|
38
58
|
let separatorWidth;
|
|
39
59
|
let separatorHeight;
|
|
40
|
-
switch (
|
|
60
|
+
switch (orientation) {
|
|
41
61
|
case 'top':
|
|
42
62
|
cursor = 'row-resize';
|
|
43
63
|
top = offset;
|
|
44
64
|
width = '100%';
|
|
45
65
|
height = size;
|
|
46
66
|
separatorWidth = width;
|
|
47
|
-
separatorHeight =
|
|
67
|
+
separatorHeight = theme.borderWidths.sm;
|
|
48
68
|
break;
|
|
49
69
|
case 'bottom':
|
|
50
70
|
cursor = 'row-resize';
|
|
@@ -52,16 +72,16 @@ const sizeStyles = props => {
|
|
|
52
72
|
width = '100%';
|
|
53
73
|
height = size;
|
|
54
74
|
separatorWidth = width;
|
|
55
|
-
separatorHeight =
|
|
75
|
+
separatorHeight = theme.borderWidths.sm;
|
|
56
76
|
break;
|
|
57
77
|
case 'start':
|
|
58
78
|
cursor = 'col-resize';
|
|
59
79
|
top = 0;
|
|
60
80
|
width = size;
|
|
61
81
|
height = '100%';
|
|
62
|
-
separatorWidth =
|
|
82
|
+
separatorWidth = theme.borderWidths.sm;
|
|
63
83
|
separatorHeight = height;
|
|
64
|
-
if (
|
|
84
|
+
if (theme.rtl) {
|
|
65
85
|
right = offset;
|
|
66
86
|
} else {
|
|
67
87
|
left = offset;
|
|
@@ -73,9 +93,9 @@ const sizeStyles = props => {
|
|
|
73
93
|
top = 0;
|
|
74
94
|
width = size;
|
|
75
95
|
height = '100%';
|
|
76
|
-
separatorWidth =
|
|
96
|
+
separatorWidth = theme.borderWidths.sm;
|
|
77
97
|
separatorHeight = height;
|
|
78
|
-
if (
|
|
98
|
+
if (theme.rtl) {
|
|
79
99
|
left = offset;
|
|
80
100
|
} else {
|
|
81
101
|
right = offset;
|
|
@@ -83,11 +103,11 @@ const sizeStyles = props => {
|
|
|
83
103
|
break;
|
|
84
104
|
}
|
|
85
105
|
const dimensionProperty = width === '100%' ? 'height' : 'width';
|
|
86
|
-
return css(["top:", ";right:", ";bottom:", ";left:", ";cursor:", ";width:", ";height:", ";&::before{width:", ";height:", ";}&:hover::before{", ":", ";}&:focus::before,&:focus-visible::before{", ":", ";}&:focus-visible::before{border-radius:", ";}"], top, right, bottom, left,
|
|
106
|
+
return css(["top:", ";right:", ";bottom:", ";left:", ";cursor:", ";width:", ";height:", ";&::before{width:", ";height:", ";}&:hover::before{", ":", ";}&:focus::before,&:focus-visible::before{", ":", ";}&:focus-visible::before{border-radius:", ";}"], top, right, bottom, left, isFixed ? 'pointer' : cursor, width, height, separatorWidth, separatorHeight, dimensionProperty, separatorSize, dimensionProperty, separatorSize, theme.borderRadii.md);
|
|
87
107
|
};
|
|
88
108
|
const StyledPaneSplitter = styled.div.attrs({
|
|
89
109
|
'data-garden-id': COMPONENT_ID,
|
|
90
|
-
'data-garden-version': '9.0.0-next.
|
|
110
|
+
'data-garden-version': '9.0.0-next.14'
|
|
91
111
|
}).withConfig({
|
|
92
112
|
displayName: "StyledPaneSplitter",
|
|
93
113
|
componentId: "sc-jylemn-0"
|
|
@@ -31,7 +31,7 @@ const transformStyles = props => {
|
|
|
31
31
|
return css(["& > svg{transform:rotate(", "deg);}"], degrees);
|
|
32
32
|
};
|
|
33
33
|
const StyledPaneSplitterButton = styled(ChevronButton).attrs({
|
|
34
|
-
'data-garden-version': '9.0.0-next.
|
|
34
|
+
'data-garden-version': '9.0.0-next.14',
|
|
35
35
|
isBasic: true,
|
|
36
36
|
isPill: true,
|
|
37
37
|
size: 'small'
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
8
|
import { stripUnit, math } from 'polished';
|
|
9
|
-
import { retrieveComponentStyles, DEFAULT_THEME,
|
|
9
|
+
import { retrieveComponentStyles, DEFAULT_THEME, getColor } from '@zendeskgarden/react-theming';
|
|
10
10
|
import { StyledPaneSplitter } from './StyledPaneSplitter.js';
|
|
11
11
|
import { getSize } from './StyledPaneSplitterButton.js';
|
|
12
12
|
|
|
@@ -15,20 +15,39 @@ const colorStyles = _ref => {
|
|
|
15
15
|
let {
|
|
16
16
|
theme
|
|
17
17
|
} = _ref;
|
|
18
|
-
const backgroundColor =
|
|
19
|
-
|
|
18
|
+
const backgroundColor = getColor({
|
|
19
|
+
theme,
|
|
20
|
+
variable: 'background.raised'
|
|
21
|
+
});
|
|
22
|
+
const boxShadow = theme.shadows.lg(`${theme.space.base}px`, `${theme.space.base * 2}px`, getColor({
|
|
23
|
+
theme,
|
|
24
|
+
hue: 'neutralHue',
|
|
25
|
+
shade: 1200,
|
|
26
|
+
dark: {
|
|
27
|
+
transparency: theme.opacity[1100]
|
|
28
|
+
},
|
|
29
|
+
light: {
|
|
30
|
+
transparency: theme.opacity[200]
|
|
31
|
+
}
|
|
32
|
+
}));
|
|
20
33
|
return css(["box-shadow:", ";background-color:", ";"], boxShadow, backgroundColor);
|
|
21
34
|
};
|
|
22
|
-
const positionStyles =
|
|
35
|
+
const positionStyles = _ref2 => {
|
|
36
|
+
let {
|
|
37
|
+
theme,
|
|
38
|
+
placement,
|
|
39
|
+
splitterSize,
|
|
40
|
+
orientation
|
|
41
|
+
} = _ref2;
|
|
23
42
|
let top;
|
|
24
43
|
let left;
|
|
25
44
|
let right;
|
|
26
45
|
let bottom;
|
|
27
|
-
const size = getSize(
|
|
46
|
+
const size = getSize(theme);
|
|
28
47
|
const inset = `-${size / 2}px`;
|
|
29
|
-
if (
|
|
30
|
-
const center = `${
|
|
31
|
-
switch (`${
|
|
48
|
+
if (placement === 'center' || splitterSize < size * 3) {
|
|
49
|
+
const center = `${splitterSize / 2 - size / 2}px`;
|
|
50
|
+
switch (`${orientation}-${theme.rtl ? 'rtl' : 'ltr'}`) {
|
|
32
51
|
case 'top-ltr':
|
|
33
52
|
case 'top-rtl':
|
|
34
53
|
top = inset;
|
|
@@ -52,7 +71,7 @@ const positionStyles = props => {
|
|
|
52
71
|
}
|
|
53
72
|
} else {
|
|
54
73
|
const offset = `${size}px`;
|
|
55
|
-
switch (`${
|
|
74
|
+
switch (`${orientation}-${placement}-${theme.rtl ? 'rtl' : 'ltr'}`) {
|
|
56
75
|
case 'top-end-ltr':
|
|
57
76
|
case 'top-end-rtl':
|
|
58
77
|
case 'top-start-rtl':
|
|
@@ -97,10 +116,10 @@ const positionStyles = props => {
|
|
|
97
116
|
}
|
|
98
117
|
return css(["top:", ";right:", ";bottom:", ";left:", ";"], top, right, bottom, left);
|
|
99
118
|
};
|
|
100
|
-
const sizeStyles =
|
|
119
|
+
const sizeStyles = _ref3 => {
|
|
101
120
|
let {
|
|
102
121
|
theme
|
|
103
|
-
} =
|
|
122
|
+
} = _ref3;
|
|
104
123
|
const size = getSize(theme);
|
|
105
124
|
return css(["border-radius:", "px;width:", "px;height:", "px;"], size, size, size);
|
|
106
125
|
};
|
package/dist/index.cjs.js
CHANGED
|
@@ -35,8 +35,20 @@ const WRAP = ['nowrap', 'wrap', 'wrap-reverse'];
|
|
|
35
35
|
const ORIENTATION = ['top', 'bottom', 'start', 'end'];
|
|
36
36
|
|
|
37
37
|
const COMPONENT_ID$6 = 'grid.col';
|
|
38
|
-
const colorStyles$4 =
|
|
39
|
-
|
|
38
|
+
const colorStyles$4 = _ref => {
|
|
39
|
+
let {
|
|
40
|
+
theme
|
|
41
|
+
} = _ref;
|
|
42
|
+
const backgroundColor = reactTheming.getColor({
|
|
43
|
+
theme,
|
|
44
|
+
variable: 'background.primaryEmphasis',
|
|
45
|
+
dark: {
|
|
46
|
+
transparency: theme.opacity[200]
|
|
47
|
+
},
|
|
48
|
+
light: {
|
|
49
|
+
transparency: theme.opacity[100]
|
|
50
|
+
}
|
|
51
|
+
});
|
|
40
52
|
return styled.css(["background-clip:content-box;background-color:", ";"], backgroundColor);
|
|
41
53
|
};
|
|
42
54
|
const flexStyles$1 = (size, alignSelf, textAlign, offset, order, props) => {
|
|
@@ -80,48 +92,72 @@ const flexStyles$1 = (size, alignSelf, textAlign, offset, order, props) => {
|
|
|
80
92
|
const mediaStyles$1 = (minWidth, size, alignSelf, textAlign, offset, order, props) => {
|
|
81
93
|
return styled.css(["@media (min-width:", "){", ";}"], minWidth, flexStyles$1(size, alignSelf, textAlign, offset, order, props));
|
|
82
94
|
};
|
|
83
|
-
const sizeStyles$5 =
|
|
84
|
-
|
|
95
|
+
const sizeStyles$5 = _ref2 => {
|
|
96
|
+
let {
|
|
97
|
+
theme,
|
|
98
|
+
gutters
|
|
99
|
+
} = _ref2;
|
|
100
|
+
const padding = gutters ? polished.math(`${theme.space[gutters]} / 2`) : 0;
|
|
85
101
|
return styled.css(["padding-right:", ";padding-left:", ";"], padding, padding);
|
|
86
102
|
};
|
|
87
103
|
const StyledCol = styled__default.default.div.attrs({
|
|
88
104
|
'data-garden-id': COMPONENT_ID$6,
|
|
89
|
-
'data-garden-version': '9.0.0-next.
|
|
105
|
+
'data-garden-version': '9.0.0-next.14'
|
|
90
106
|
}).withConfig({
|
|
91
107
|
displayName: "StyledCol",
|
|
92
108
|
componentId: "sc-inuw62-0"
|
|
93
|
-
})(["box-sizing:border-box;width:100%;", ";", ";", ";", ";", ";", ";", ";", ";", ";"], props => flexStyles$1(!props.sizeAll && (props.xs || props.sm || props.md || props.lg || props.xl) ? undefined : props.sizeAll || false, props.alignSelf, props.textAlign, props.offset, props.order, props),
|
|
109
|
+
})(["box-sizing:border-box;width:100%;", ";", ";", ";", ";", ";", ";", ";", ";", ";"], props => flexStyles$1(!props.sizeAll && (props.xs || props.sm || props.md || props.lg || props.xl) ? undefined : props.sizeAll || false, props.alignSelf, props.textAlign, props.offset, props.order, props), sizeStyles$5, props => props.debug && colorStyles$4(props), props => mediaStyles$1(props.theme.breakpoints.xs, props.xs, props.alignSelfXs, props.textAlignXs, props.offsetXs, props.orderXs, props), props => mediaStyles$1(props.theme.breakpoints.sm, props.sm, props.alignSelfSm, props.textAlignSm, props.offsetSm, props.orderSm, props), props => mediaStyles$1(props.theme.breakpoints.md, props.md, props.alignSelfMd, props.textAlignMd, props.offsetMd, props.orderMd, props), props => mediaStyles$1(props.theme.breakpoints.lg, props.lg, props.alignSelfLg, props.textAlignLg, props.offsetLg, props.orderLg, props), props => mediaStyles$1(props.theme.breakpoints.xl, props.xl, props.alignSelfXl, props.textAlignXl, props.offsetXl, props.orderXl, props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
|
|
94
110
|
StyledCol.defaultProps = {
|
|
95
111
|
columns: 12,
|
|
96
112
|
theme: reactTheming.DEFAULT_THEME
|
|
97
113
|
};
|
|
98
114
|
|
|
99
115
|
const COMPONENT_ID$5 = 'grid.grid';
|
|
100
|
-
const colorStyles$3 =
|
|
101
|
-
|
|
102
|
-
|
|
116
|
+
const colorStyles$3 = _ref => {
|
|
117
|
+
let {
|
|
118
|
+
theme
|
|
119
|
+
} = _ref;
|
|
120
|
+
const borderColor = reactTheming.getColor({
|
|
121
|
+
theme,
|
|
122
|
+
hue: 'crimson',
|
|
123
|
+
shade: 700,
|
|
124
|
+
transparency: theme.opacity[600]
|
|
125
|
+
});
|
|
126
|
+
const borderWidth = polished.math(`${theme.borderWidths.sm} * 2`);
|
|
103
127
|
return styled.css(["box-shadow:-", " 0 0 0 ", ",", " 0 0 0 ", ";"], borderWidth, borderColor, borderWidth, borderColor);
|
|
104
128
|
};
|
|
105
|
-
const sizeStyles$4 =
|
|
106
|
-
|
|
129
|
+
const sizeStyles$4 = _ref2 => {
|
|
130
|
+
let {
|
|
131
|
+
theme,
|
|
132
|
+
gutters
|
|
133
|
+
} = _ref2;
|
|
134
|
+
const padding = gutters ? polished.math(`${theme.space[gutters]} / 2`) : 0;
|
|
107
135
|
return styled.css(["padding-right:", ";padding-left:", ";"], padding, padding);
|
|
108
136
|
};
|
|
109
137
|
const StyledGrid = styled__default.default.div.attrs({
|
|
110
138
|
'data-garden-id': COMPONENT_ID$5,
|
|
111
|
-
'data-garden-version': '9.0.0-next.
|
|
139
|
+
'data-garden-version': '9.0.0-next.14'
|
|
112
140
|
}).withConfig({
|
|
113
141
|
displayName: "StyledGrid",
|
|
114
142
|
componentId: "sc-oxgg5i-0"
|
|
115
|
-
})(["direction:", ";margin-right:auto;margin-left:auto;width:100%;box-sizing:border-box;", ";", ";", ";"], props => props.theme.rtl && 'rtl',
|
|
143
|
+
})(["direction:", ";margin-right:auto;margin-left:auto;width:100%;box-sizing:border-box;", ";", ";", ";"], props => props.theme.rtl && 'rtl', sizeStyles$4, props => props.debug && colorStyles$3(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$5, props));
|
|
116
144
|
StyledGrid.defaultProps = {
|
|
117
145
|
gutters: 'md',
|
|
118
146
|
theme: reactTheming.DEFAULT_THEME
|
|
119
147
|
};
|
|
120
148
|
|
|
121
149
|
const COMPONENT_ID$4 = 'grid.row';
|
|
122
|
-
const colorStyles$2 =
|
|
123
|
-
|
|
124
|
-
|
|
150
|
+
const colorStyles$2 = _ref => {
|
|
151
|
+
let {
|
|
152
|
+
theme
|
|
153
|
+
} = _ref;
|
|
154
|
+
const borderColor = reactTheming.getColor({
|
|
155
|
+
theme,
|
|
156
|
+
hue: 'mint',
|
|
157
|
+
shade: 700,
|
|
158
|
+
transparency: theme.opacity[600]
|
|
159
|
+
});
|
|
160
|
+
const borderWidth = theme.borderWidths.sm;
|
|
125
161
|
return styled.css(["box-shadow:inset 0 ", " 0 0 ", ",inset 0 -", " 0 0 ", ";"], borderWidth, borderColor, borderWidth, borderColor);
|
|
126
162
|
};
|
|
127
163
|
const flexStyles = (alignItems, justifyContent, wrap) => {
|
|
@@ -144,17 +180,21 @@ const flexStyles = (alignItems, justifyContent, wrap) => {
|
|
|
144
180
|
const mediaStyles = (minWidth, alignItems, justifyContent, wrap) => {
|
|
145
181
|
return styled.css(["@media (min-width:", "){", ";}"], minWidth, flexStyles(alignItems, justifyContent, wrap));
|
|
146
182
|
};
|
|
147
|
-
const sizeStyles$3 =
|
|
148
|
-
|
|
183
|
+
const sizeStyles$3 = _ref2 => {
|
|
184
|
+
let {
|
|
185
|
+
theme,
|
|
186
|
+
gutters
|
|
187
|
+
} = _ref2;
|
|
188
|
+
const margin = gutters ? polished.math(`${theme.space[gutters]} / 2`) : 0;
|
|
149
189
|
return styled.css(["margin-right:-", ";margin-left:-", ";"], margin, margin);
|
|
150
190
|
};
|
|
151
191
|
const StyledRow = styled__default.default.div.attrs({
|
|
152
192
|
'data-garden-id': COMPONENT_ID$4,
|
|
153
|
-
'data-garden-version': '9.0.0-next.
|
|
193
|
+
'data-garden-version': '9.0.0-next.14'
|
|
154
194
|
}).withConfig({
|
|
155
195
|
displayName: "StyledRow",
|
|
156
196
|
componentId: "sc-xjsdg1-0"
|
|
157
|
-
})(["display:flex;box-sizing:border-box;", " ", ";", ";", ";", ";", ";", ";", ";", ";"], props => flexStyles(props.alignItems, props.justifyContent, props.wrapAll),
|
|
197
|
+
})(["display:flex;box-sizing:border-box;", " ", ";", ";", ";", ";", ";", ";", ";", ";"], props => flexStyles(props.alignItems, props.justifyContent, props.wrapAll), sizeStyles$3, props => props.debug && colorStyles$2(props), props => mediaStyles(props.theme.breakpoints.xs, props.alignItemsXs, props.justifyContentXs, props.wrapXs), props => mediaStyles(props.theme.breakpoints.sm, props.alignItemsSm, props.justifyContentSm, props.wrapSm), props => mediaStyles(props.theme.breakpoints.md, props.alignItemsMd, props.justifyContentMd, props.wrapMd), props => mediaStyles(props.theme.breakpoints.lg, props.alignItemsLg, props.justifyContentLg, props.wrapLg), props => mediaStyles(props.theme.breakpoints.xl, props.alignItemsXl, props.justifyContentXl, props.wrapXl), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$4, props));
|
|
158
198
|
StyledRow.defaultProps = {
|
|
159
199
|
wrapAll: 'wrap',
|
|
160
200
|
theme: reactTheming.DEFAULT_THEME
|
|
@@ -163,7 +203,7 @@ StyledRow.defaultProps = {
|
|
|
163
203
|
const COMPONENT_ID$3 = 'pane';
|
|
164
204
|
const StyledPane = styled__default.default.div.attrs({
|
|
165
205
|
'data-garden-id': COMPONENT_ID$3,
|
|
166
|
-
'data-garden-version': '9.0.0-next.
|
|
206
|
+
'data-garden-version': '9.0.0-next.14'
|
|
167
207
|
}).withConfig({
|
|
168
208
|
displayName: "StyledPane",
|
|
169
209
|
componentId: "sc-1ltjst7-0"
|
|
@@ -175,7 +215,7 @@ StyledPane.defaultProps = {
|
|
|
175
215
|
const COMPONENT_ID$2 = 'pane.content';
|
|
176
216
|
const StyledPaneContent = styled__default.default.div.attrs({
|
|
177
217
|
'data-garden-id': COMPONENT_ID$2,
|
|
178
|
-
'data-garden-version': '9.0.0-next.
|
|
218
|
+
'data-garden-version': '9.0.0-next.14'
|
|
179
219
|
}).withConfig({
|
|
180
220
|
displayName: "StyledPaneContent",
|
|
181
221
|
componentId: "sc-1b38mbh-0"
|
|
@@ -185,24 +225,44 @@ StyledPaneContent.defaultProps = {
|
|
|
185
225
|
};
|
|
186
226
|
|
|
187
227
|
const COMPONENT_ID$1 = 'pane.splitter';
|
|
188
|
-
const colorStyles$1 =
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
theme
|
|
194
|
-
|
|
195
|
-
|
|
228
|
+
const colorStyles$1 = _ref => {
|
|
229
|
+
let {
|
|
230
|
+
theme
|
|
231
|
+
} = _ref;
|
|
232
|
+
const color = reactTheming.getColor({
|
|
233
|
+
theme,
|
|
234
|
+
variable: 'border.default'
|
|
235
|
+
});
|
|
236
|
+
const options = {
|
|
237
|
+
theme,
|
|
238
|
+
variable: 'border.primaryEmphasis'
|
|
239
|
+
};
|
|
240
|
+
const hoverColor = reactTheming.getColor(options);
|
|
241
|
+
const activeColor = reactTheming.getColor({
|
|
242
|
+
...options,
|
|
243
|
+
dark: {
|
|
244
|
+
offset: -200
|
|
196
245
|
},
|
|
246
|
+
light: {
|
|
247
|
+
offset: 200
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
return styled.css(["&::before{background-color:", ";}&:hover::before{background-color:", ";}", " &:active::before{background-color:", ";}"], color, hoverColor, reactTheming.focusStyles({
|
|
251
|
+
theme,
|
|
197
252
|
styles: {
|
|
198
253
|
backgroundColor: hoverColor
|
|
199
254
|
},
|
|
200
255
|
selector: '&:focus-visible::before'
|
|
201
256
|
}), activeColor);
|
|
202
257
|
};
|
|
203
|
-
const sizeStyles$2 =
|
|
204
|
-
|
|
205
|
-
|
|
258
|
+
const sizeStyles$2 = _ref2 => {
|
|
259
|
+
let {
|
|
260
|
+
theme,
|
|
261
|
+
orientation,
|
|
262
|
+
isFixed
|
|
263
|
+
} = _ref2;
|
|
264
|
+
const size = polished.math(`${theme.shadowWidths.md} * 2`);
|
|
265
|
+
const separatorSize = polished.math(`${theme.borderWidths.sm} * 2`);
|
|
206
266
|
const offset = polished.math(`-${size} / 2`);
|
|
207
267
|
let cursor;
|
|
208
268
|
let top;
|
|
@@ -213,14 +273,14 @@ const sizeStyles$2 = props => {
|
|
|
213
273
|
let height;
|
|
214
274
|
let separatorWidth;
|
|
215
275
|
let separatorHeight;
|
|
216
|
-
switch (
|
|
276
|
+
switch (orientation) {
|
|
217
277
|
case 'top':
|
|
218
278
|
cursor = 'row-resize';
|
|
219
279
|
top = offset;
|
|
220
280
|
width = '100%';
|
|
221
281
|
height = size;
|
|
222
282
|
separatorWidth = width;
|
|
223
|
-
separatorHeight =
|
|
283
|
+
separatorHeight = theme.borderWidths.sm;
|
|
224
284
|
break;
|
|
225
285
|
case 'bottom':
|
|
226
286
|
cursor = 'row-resize';
|
|
@@ -228,16 +288,16 @@ const sizeStyles$2 = props => {
|
|
|
228
288
|
width = '100%';
|
|
229
289
|
height = size;
|
|
230
290
|
separatorWidth = width;
|
|
231
|
-
separatorHeight =
|
|
291
|
+
separatorHeight = theme.borderWidths.sm;
|
|
232
292
|
break;
|
|
233
293
|
case 'start':
|
|
234
294
|
cursor = 'col-resize';
|
|
235
295
|
top = 0;
|
|
236
296
|
width = size;
|
|
237
297
|
height = '100%';
|
|
238
|
-
separatorWidth =
|
|
298
|
+
separatorWidth = theme.borderWidths.sm;
|
|
239
299
|
separatorHeight = height;
|
|
240
|
-
if (
|
|
300
|
+
if (theme.rtl) {
|
|
241
301
|
right = offset;
|
|
242
302
|
} else {
|
|
243
303
|
left = offset;
|
|
@@ -249,9 +309,9 @@ const sizeStyles$2 = props => {
|
|
|
249
309
|
top = 0;
|
|
250
310
|
width = size;
|
|
251
311
|
height = '100%';
|
|
252
|
-
separatorWidth =
|
|
312
|
+
separatorWidth = theme.borderWidths.sm;
|
|
253
313
|
separatorHeight = height;
|
|
254
|
-
if (
|
|
314
|
+
if (theme.rtl) {
|
|
255
315
|
left = offset;
|
|
256
316
|
} else {
|
|
257
317
|
right = offset;
|
|
@@ -259,11 +319,11 @@ const sizeStyles$2 = props => {
|
|
|
259
319
|
break;
|
|
260
320
|
}
|
|
261
321
|
const dimensionProperty = width === '100%' ? 'height' : 'width';
|
|
262
|
-
return styled.css(["top:", ";right:", ";bottom:", ";left:", ";cursor:", ";width:", ";height:", ";&::before{width:", ";height:", ";}&:hover::before{", ":", ";}&:focus::before,&:focus-visible::before{", ":", ";}&:focus-visible::before{border-radius:", ";}"], top, right, bottom, left,
|
|
322
|
+
return styled.css(["top:", ";right:", ";bottom:", ";left:", ";cursor:", ";width:", ";height:", ";&::before{width:", ";height:", ";}&:hover::before{", ":", ";}&:focus::before,&:focus-visible::before{", ":", ";}&:focus-visible::before{border-radius:", ";}"], top, right, bottom, left, isFixed ? 'pointer' : cursor, width, height, separatorWidth, separatorHeight, dimensionProperty, separatorSize, dimensionProperty, separatorSize, theme.borderRadii.md);
|
|
263
323
|
};
|
|
264
324
|
const StyledPaneSplitter = styled__default.default.div.attrs({
|
|
265
325
|
'data-garden-id': COMPONENT_ID$1,
|
|
266
|
-
'data-garden-version': '9.0.0-next.
|
|
326
|
+
'data-garden-version': '9.0.0-next.14'
|
|
267
327
|
}).withConfig({
|
|
268
328
|
displayName: "StyledPaneSplitter",
|
|
269
329
|
componentId: "sc-jylemn-0"
|
|
@@ -295,7 +355,7 @@ const transformStyles = props => {
|
|
|
295
355
|
return styled.css(["& > svg{transform:rotate(", "deg);}"], degrees);
|
|
296
356
|
};
|
|
297
357
|
const StyledPaneSplitterButton = styled__default.default(reactButtons.ChevronButton).attrs({
|
|
298
|
-
'data-garden-version': '9.0.0-next.
|
|
358
|
+
'data-garden-version': '9.0.0-next.14',
|
|
299
359
|
isBasic: true,
|
|
300
360
|
isPill: true,
|
|
301
361
|
size: 'small'
|
|
@@ -312,20 +372,39 @@ const colorStyles = _ref => {
|
|
|
312
372
|
let {
|
|
313
373
|
theme
|
|
314
374
|
} = _ref;
|
|
315
|
-
const backgroundColor = reactTheming.
|
|
316
|
-
|
|
375
|
+
const backgroundColor = reactTheming.getColor({
|
|
376
|
+
theme,
|
|
377
|
+
variable: 'background.raised'
|
|
378
|
+
});
|
|
379
|
+
const boxShadow = theme.shadows.lg(`${theme.space.base}px`, `${theme.space.base * 2}px`, reactTheming.getColor({
|
|
380
|
+
theme,
|
|
381
|
+
hue: 'neutralHue',
|
|
382
|
+
shade: 1200,
|
|
383
|
+
dark: {
|
|
384
|
+
transparency: theme.opacity[1100]
|
|
385
|
+
},
|
|
386
|
+
light: {
|
|
387
|
+
transparency: theme.opacity[200]
|
|
388
|
+
}
|
|
389
|
+
}));
|
|
317
390
|
return styled.css(["box-shadow:", ";background-color:", ";"], boxShadow, backgroundColor);
|
|
318
391
|
};
|
|
319
|
-
const positionStyles =
|
|
392
|
+
const positionStyles = _ref2 => {
|
|
393
|
+
let {
|
|
394
|
+
theme,
|
|
395
|
+
placement,
|
|
396
|
+
splitterSize,
|
|
397
|
+
orientation
|
|
398
|
+
} = _ref2;
|
|
320
399
|
let top;
|
|
321
400
|
let left;
|
|
322
401
|
let right;
|
|
323
402
|
let bottom;
|
|
324
|
-
const size = getSize(
|
|
403
|
+
const size = getSize(theme);
|
|
325
404
|
const inset = `-${size / 2}px`;
|
|
326
|
-
if (
|
|
327
|
-
const center = `${
|
|
328
|
-
switch (`${
|
|
405
|
+
if (placement === 'center' || splitterSize < size * 3) {
|
|
406
|
+
const center = `${splitterSize / 2 - size / 2}px`;
|
|
407
|
+
switch (`${orientation}-${theme.rtl ? 'rtl' : 'ltr'}`) {
|
|
329
408
|
case 'top-ltr':
|
|
330
409
|
case 'top-rtl':
|
|
331
410
|
top = inset;
|
|
@@ -349,7 +428,7 @@ const positionStyles = props => {
|
|
|
349
428
|
}
|
|
350
429
|
} else {
|
|
351
430
|
const offset = `${size}px`;
|
|
352
|
-
switch (`${
|
|
431
|
+
switch (`${orientation}-${placement}-${theme.rtl ? 'rtl' : 'ltr'}`) {
|
|
353
432
|
case 'top-end-ltr':
|
|
354
433
|
case 'top-end-rtl':
|
|
355
434
|
case 'top-start-rtl':
|
|
@@ -394,10 +473,10 @@ const positionStyles = props => {
|
|
|
394
473
|
}
|
|
395
474
|
return styled.css(["top:", ";right:", ";bottom:", ";left:", ";"], top, right, bottom, left);
|
|
396
475
|
};
|
|
397
|
-
const sizeStyles =
|
|
476
|
+
const sizeStyles = _ref3 => {
|
|
398
477
|
let {
|
|
399
478
|
theme
|
|
400
|
-
} =
|
|
479
|
+
} = _ref3;
|
|
401
480
|
const size = getSize(theme);
|
|
402
481
|
return styled.css(["border-radius:", "px;width:", "px;height:", "px;"], size, size, size);
|
|
403
482
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-grid",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.14",
|
|
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>",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"types": "dist/typings/index.d.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@zendeskgarden/container-splitter": "^2.0.
|
|
24
|
+
"@zendeskgarden/container-splitter": "^2.0.17",
|
|
25
25
|
"@zendeskgarden/container-utilities": "^2.0.0",
|
|
26
|
-
"@zendeskgarden/react-buttons": "^9.0.0-next.
|
|
27
|
-
"@zendeskgarden/react-tooltips": "^9.0.0-next.
|
|
28
|
-
"polished": "^4.
|
|
26
|
+
"@zendeskgarden/react-buttons": "^9.0.0-next.14",
|
|
27
|
+
"@zendeskgarden/react-tooltips": "^9.0.0-next.14",
|
|
28
|
+
"polished": "^4.3.1",
|
|
29
29
|
"prop-types": "^15.5.7",
|
|
30
30
|
"react-merge-refs": "^2.0.0",
|
|
31
31
|
"use-resize-observer": "^9.1.0"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"styled-components": "^5.3.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@zendeskgarden/react-theming": "^9.0.0-next.
|
|
40
|
+
"@zendeskgarden/react-theming": "^9.0.0-next.14"
|
|
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": "4cd4e10839f6d083f0c5e642b99256e390a37ae6"
|
|
53
53
|
}
|