@workday/canvas-kit-react 11.1.24 → 11.1.26
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.
|
@@ -83,7 +83,7 @@ const ChildrenContainer = styled_1.default('div')({
|
|
|
83
83
|
}, ({ open, openWidth }) => ({
|
|
84
84
|
width: open ? openWidth : closedWidth,
|
|
85
85
|
}));
|
|
86
|
-
const ToggleButton = styled_1.default(button_1.TertiaryButton)({
|
|
86
|
+
const ToggleButton = styled_1.default(button_1.TertiaryButton, { shouldForwardProp: prop => prop !== 'openDirection' })({
|
|
87
87
|
position: 'absolute',
|
|
88
88
|
bottom: tokens_1.space.s,
|
|
89
89
|
}, ({ openDirection }) => ({
|
|
@@ -58,7 +58,7 @@ const ChildrenContainer = styled('div')({
|
|
|
58
58
|
}, ({ open, openWidth }) => ({
|
|
59
59
|
width: open ? openWidth : closedWidth,
|
|
60
60
|
}));
|
|
61
|
-
const ToggleButton = styled(TertiaryButton)({
|
|
61
|
+
const ToggleButton = styled(TertiaryButton, { shouldForwardProp: prop => prop !== 'openDirection' })({
|
|
62
62
|
position: 'absolute',
|
|
63
63
|
bottom: space.s,
|
|
64
64
|
}, ({ openDirection }) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.26",
|
|
4
4
|
"description": "The parent module that contains all Workday Canvas Kit React components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@emotion/styled": "^11.6.0",
|
|
50
50
|
"@popperjs/core": "^2.5.4",
|
|
51
51
|
"@workday/canvas-colors-web": "^2.0.0",
|
|
52
|
-
"@workday/canvas-kit-popup-stack": "^11.1.
|
|
53
|
-
"@workday/canvas-kit-styling": "^11.1.
|
|
52
|
+
"@workday/canvas-kit-popup-stack": "^11.1.26",
|
|
53
|
+
"@workday/canvas-kit-styling": "^11.1.26",
|
|
54
54
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
55
55
|
"@workday/canvas-tokens-web": "^2.0.0",
|
|
56
56
|
"@workday/design-assets-types": "^0.2.8",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"@workday/canvas-accent-icons-web": "^3.0.0",
|
|
68
68
|
"@workday/canvas-applet-icons-web": "^2.0.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "4fea25c2cc781624e3187afcc93da0f2de6dbc01"
|
|
71
71
|
}
|
|
@@ -136,7 +136,7 @@ const ChildrenContainer = styled('div')<Pick<SidePanelProps, 'openWidth' | 'open
|
|
|
136
136
|
})
|
|
137
137
|
);
|
|
138
138
|
|
|
139
|
-
const ToggleButton = styled(TertiaryButton)<
|
|
139
|
+
const ToggleButton = styled(TertiaryButton, {shouldForwardProp: prop => prop !== 'openDirection'})<
|
|
140
140
|
TertiaryButtonProps & Pick<SidePanelProps, 'openDirection'>
|
|
141
141
|
>(
|
|
142
142
|
{
|