@zendeskgarden/react-draggable 9.4.0 → 9.5.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/styled/draggable/StyledContent.js +3 -3
- package/dist/esm/styled/draggable/StyledDraggable.js +3 -3
- package/dist/esm/styled/draggable/StyledGrip.js +3 -3
- package/dist/esm/styled/draggable-list/StyledDraggableList.js +3 -3
- package/dist/esm/styled/draggable-list/StyledDropIndicator.js +3 -3
- package/dist/esm/styled/draggable-list/StyledItem.js +3 -3
- package/dist/esm/styled/dropzone/StyledDropzone.js +3 -3
- package/dist/esm/styled/dropzone/StyledIcon.js +3 -3
- package/dist/esm/styled/dropzone/StyledMessage.js +3 -3
- package/dist/index.cjs.js +18 -18
- package/package.json +7 -7
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled from 'styled-components';
|
|
8
|
-
import {
|
|
8
|
+
import { componentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'draggable.content';
|
|
11
11
|
const StyledContent = styled.div.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.5.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledContent",
|
|
16
16
|
componentId: "sc-15arore-0"
|
|
17
|
-
})(["flex:1;word-wrap:break-word;overflow-wrap:anywhere;", ";"],
|
|
17
|
+
})(["flex:1;word-wrap:break-word;overflow-wrap:anywhere;", ";"], componentStyles);
|
|
18
18
|
|
|
19
19
|
export { StyledContent };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
|
-
import {
|
|
8
|
+
import { componentStyles, getColor, focusStyles, getLineHeight } from '@zendeskgarden/react-theming';
|
|
9
9
|
import { StyledGrip } from './StyledGrip.js';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'draggable';
|
|
@@ -103,10 +103,10 @@ const getCursor = props => {
|
|
|
103
103
|
};
|
|
104
104
|
const StyledDraggable = styled.div.attrs({
|
|
105
105
|
'data-garden-id': COMPONENT_ID,
|
|
106
|
-
'data-garden-version': '9.
|
|
106
|
+
'data-garden-version': '9.5.0'
|
|
107
107
|
}).withConfig({
|
|
108
108
|
displayName: "StyledDraggable",
|
|
109
109
|
componentId: "sc-3lxpf1-0"
|
|
110
|
-
})(["display:flex;flex:1;align-items:center;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;cursor:", ";font-family:", ";direction:", ";box-sizing:border-box;", " ", " > *{visibility:", ";}", ";"], getCursor, props => props.theme.fonts.system, props => props.theme.rtl && 'rtl', sizeStyles, colorStyles, p => p.$isPlaceholder && !p.$isDisabled && 'hidden',
|
|
110
|
+
})(["display:flex;flex:1;align-items:center;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;cursor:", ";font-family:", ";direction:", ";box-sizing:border-box;", " ", " > *{visibility:", ";}", ";"], getCursor, props => props.theme.fonts.system, props => props.theme.rtl && 'rtl', sizeStyles, colorStyles, p => p.$isPlaceholder && !p.$isDisabled && 'hidden', componentStyles);
|
|
111
111
|
|
|
112
112
|
export { StyledDraggable, getDragShadow };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
|
-
import { getColor,
|
|
8
|
+
import { getColor, componentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'draggable.grip';
|
|
11
11
|
function sizeStyles(_ref) {
|
|
@@ -17,13 +17,13 @@ function sizeStyles(_ref) {
|
|
|
17
17
|
}
|
|
18
18
|
const StyledGrip = styled.div.attrs({
|
|
19
19
|
'data-garden-id': COMPONENT_ID,
|
|
20
|
-
'data-garden-version': '9.
|
|
20
|
+
'data-garden-version': '9.5.0'
|
|
21
21
|
}).withConfig({
|
|
22
22
|
displayName: "StyledGrip",
|
|
23
23
|
componentId: "sc-13uv9iv-0"
|
|
24
24
|
})(["display:flex;transition:color 0.1s ease-in-out;box-sizing:border-box;color:", ";", " ", ";"], p => getColor({
|
|
25
25
|
variable: 'foreground.subtle',
|
|
26
26
|
theme: p.theme
|
|
27
|
-
}), sizeStyles,
|
|
27
|
+
}), sizeStyles, componentStyles);
|
|
28
28
|
|
|
29
29
|
export { StyledGrip };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
|
-
import {
|
|
8
|
+
import { componentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
import { StyledItem } from './StyledItem.js';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'draggable_list';
|
|
@@ -26,10 +26,10 @@ const sizeStyles = props => {
|
|
|
26
26
|
};
|
|
27
27
|
const StyledDraggableList = styled.ul.attrs({
|
|
28
28
|
'data-garden-id': COMPONENT_ID,
|
|
29
|
-
'data-garden-version': '9.
|
|
29
|
+
'data-garden-version': '9.5.0'
|
|
30
30
|
}).withConfig({
|
|
31
31
|
displayName: "StyledDraggableList",
|
|
32
32
|
componentId: "sc-17agksa-0"
|
|
33
|
-
})(["display:flex;flex-direction:", ";margin:0;padding:0;list-style:none;box-sizing:border-box;direction:", ";> ", "{flex:1;}", ";", ";"], p => p.$isHorizontal ? 'row' : 'column', props => props.theme.rtl && 'rtl', StyledItem, sizeStyles,
|
|
33
|
+
})(["display:flex;flex-direction:", ";margin:0;padding:0;list-style:none;box-sizing:border-box;direction:", ";> ", "{flex:1;}", ";", ";"], p => p.$isHorizontal ? 'row' : 'column', props => props.theme.rtl && 'rtl', StyledItem, sizeStyles, componentStyles);
|
|
34
34
|
|
|
35
35
|
export { StyledDraggableList };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
|
-
import {
|
|
8
|
+
import { componentStyles, getColor } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'draggable_list.drop_indicator';
|
|
11
11
|
const colorStyles = props => {
|
|
@@ -30,10 +30,10 @@ const sizeStyles = props => {
|
|
|
30
30
|
};
|
|
31
31
|
const StyledDropIndicator = styled.li.attrs({
|
|
32
32
|
'data-garden-id': COMPONENT_ID,
|
|
33
|
-
'data-garden-version': '9.
|
|
33
|
+
'data-garden-version': '9.5.0'
|
|
34
34
|
}).withConfig({
|
|
35
35
|
displayName: "StyledDropIndicator",
|
|
36
36
|
componentId: "sc-1f1u2lh-0"
|
|
37
|
-
})(["position:relative;", " ", " &::before,&::after{position:absolute;content:'';}", ";"], sizeStyles, colorStyles,
|
|
37
|
+
})(["position:relative;", " ", " &::before,&::after{position:absolute;content:'';}", ";"], sizeStyles, colorStyles, componentStyles);
|
|
38
38
|
|
|
39
39
|
export { StyledDropIndicator };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
|
-
import {
|
|
8
|
+
import { componentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'draggable_list.item';
|
|
11
11
|
const sizeStyles = props => {
|
|
@@ -19,10 +19,10 @@ const sizeStyles = props => {
|
|
|
19
19
|
};
|
|
20
20
|
const StyledItem = styled.li.attrs({
|
|
21
21
|
'data-garden-id': COMPONENT_ID,
|
|
22
|
-
'data-garden-version': '9.
|
|
22
|
+
'data-garden-version': '9.5.0'
|
|
23
23
|
}).withConfig({
|
|
24
24
|
displayName: "StyledItem",
|
|
25
25
|
componentId: "sc-1nps3s3-0"
|
|
26
|
-
})(["display:flex;", " ", ";"], sizeStyles,
|
|
26
|
+
})(["display:flex;", " ", ";"], sizeStyles, componentStyles);
|
|
27
27
|
|
|
28
28
|
export { StyledItem };
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
8
|
import { math } from 'polished';
|
|
9
|
-
import {
|
|
9
|
+
import { componentStyles, getColor } from '@zendeskgarden/react-theming';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'dropzone';
|
|
12
12
|
const colorStyles = props => {
|
|
@@ -84,10 +84,10 @@ const sizeStyles = props => {
|
|
|
84
84
|
};
|
|
85
85
|
const StyledDropzone = styled.div.attrs({
|
|
86
86
|
'data-garden-id': COMPONENT_ID,
|
|
87
|
-
'data-garden-version': '9.
|
|
87
|
+
'data-garden-version': '9.5.0'
|
|
88
88
|
}).withConfig({
|
|
89
89
|
displayName: "StyledDropzone",
|
|
90
90
|
componentId: "sc-1b7zuip-0"
|
|
91
|
-
})(["display:", ";flex-direction:", ";align-items:", ";justify-content:", ";transition:border-color 0.25s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;margin:0;text-align:", ";direction:", ";box-sizing:border-box;", " ", " ", ";"], p => (p.$hasMessage || p.$hasIcon) && 'flex', p => p.$hasMessage && p.$isVertical && 'column', p => (p.$hasMessage || p.$hasIcon) && 'center', p => (p.$hasMessage || p.$hasIcon) && 'center', p => p.$hasMessage && 'center', props => props.theme.rtl && 'rtl', sizeStyles, colorStyles,
|
|
91
|
+
})(["display:", ";flex-direction:", ";align-items:", ";justify-content:", ";transition:border-color 0.25s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;margin:0;text-align:", ";direction:", ";box-sizing:border-box;", " ", " ", ";"], p => (p.$hasMessage || p.$hasIcon) && 'flex', p => p.$hasMessage && p.$isVertical && 'column', p => (p.$hasMessage || p.$hasIcon) && 'center', p => (p.$hasMessage || p.$hasIcon) && 'center', p => p.$hasMessage && 'center', props => props.theme.rtl && 'rtl', sizeStyles, colorStyles, componentStyles);
|
|
92
92
|
|
|
93
93
|
export { StyledDropzone };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled, { css } from 'styled-components';
|
|
8
|
-
import {
|
|
8
|
+
import { componentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'dropzone.icon';
|
|
11
11
|
function sizeStyles(_ref) {
|
|
@@ -26,10 +26,10 @@ function sizeStyles(_ref) {
|
|
|
26
26
|
}
|
|
27
27
|
const StyledIcon = styled.div.attrs({
|
|
28
28
|
'data-garden-id': COMPONENT_ID,
|
|
29
|
-
'data-garden-version': '9.
|
|
29
|
+
'data-garden-version': '9.5.0'
|
|
30
30
|
}).withConfig({
|
|
31
31
|
displayName: "StyledIcon",
|
|
32
32
|
componentId: "sc-1o12gen-0"
|
|
33
|
-
})(["display:flex;width:", ";height:", ";", " ", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, p => p.$hasMessage && sizeStyles(p),
|
|
33
|
+
})(["display:flex;width:", ";height:", ";", " ", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, p => p.$hasMessage && sizeStyles(p), componentStyles);
|
|
34
34
|
|
|
35
35
|
export { StyledIcon };
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
6
|
*/
|
|
7
7
|
import styled from 'styled-components';
|
|
8
|
-
import { getLineHeight,
|
|
8
|
+
import { getLineHeight, componentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'dropzone.message';
|
|
11
11
|
const StyledMessage = styled.p.attrs({
|
|
12
12
|
'data-garden-id': COMPONENT_ID,
|
|
13
|
-
'data-garden-version': '9.
|
|
13
|
+
'data-garden-version': '9.5.0'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledMessage",
|
|
16
16
|
componentId: "sc-5kb2l2-0"
|
|
17
|
-
})(["margin:0;line-height:", ";color:inherit;font-size:", ";font-weight:", ";", ";"], p => getLineHeight(p.theme.space.base * 5, p.theme.fontSizes.md), p => p.theme.fontSizes.md, p => p.theme.fontWeights.regular,
|
|
17
|
+
})(["margin:0;line-height:", ";color:inherit;font-size:", ";font-weight:", ";", ";"], p => getLineHeight(p.theme.space.base * 5, p.theme.fontSizes.md), p => p.theme.fontSizes.md, p => p.theme.fontWeights.regular, componentStyles);
|
|
18
18
|
|
|
19
19
|
export { StyledMessage };
|
package/dist/index.cjs.js
CHANGED
|
@@ -44,14 +44,14 @@ function sizeStyles$6(_ref) {
|
|
|
44
44
|
}
|
|
45
45
|
const StyledGrip = styled__default.default.div.attrs({
|
|
46
46
|
'data-garden-id': COMPONENT_ID$8,
|
|
47
|
-
'data-garden-version': '9.
|
|
47
|
+
'data-garden-version': '9.5.0'
|
|
48
48
|
}).withConfig({
|
|
49
49
|
displayName: "StyledGrip",
|
|
50
50
|
componentId: "sc-13uv9iv-0"
|
|
51
51
|
})(["display:flex;transition:color 0.1s ease-in-out;box-sizing:border-box;color:", ";", " ", ";"], p => reactTheming.getColor({
|
|
52
52
|
variable: 'foreground.subtle',
|
|
53
53
|
theme: p.theme
|
|
54
|
-
}), sizeStyles$6,
|
|
54
|
+
}), sizeStyles$6, reactTheming.componentStyles);
|
|
55
55
|
|
|
56
56
|
const COMPONENT_ID$7 = 'draggable';
|
|
57
57
|
function getDragShadow(theme) {
|
|
@@ -148,20 +148,20 @@ const getCursor = props => {
|
|
|
148
148
|
};
|
|
149
149
|
const StyledDraggable = styled__default.default.div.attrs({
|
|
150
150
|
'data-garden-id': COMPONENT_ID$7,
|
|
151
|
-
'data-garden-version': '9.
|
|
151
|
+
'data-garden-version': '9.5.0'
|
|
152
152
|
}).withConfig({
|
|
153
153
|
displayName: "StyledDraggable",
|
|
154
154
|
componentId: "sc-3lxpf1-0"
|
|
155
|
-
})(["display:flex;flex:1;align-items:center;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;cursor:", ";font-family:", ";direction:", ";box-sizing:border-box;", " ", " > *{visibility:", ";}", ";"], getCursor, props => props.theme.fonts.system, props => props.theme.rtl && 'rtl', sizeStyles$5, colorStyles$2, p => p.$isPlaceholder && !p.$isDisabled && 'hidden',
|
|
155
|
+
})(["display:flex;flex:1;align-items:center;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;cursor:", ";font-family:", ";direction:", ";box-sizing:border-box;", " ", " > *{visibility:", ";}", ";"], getCursor, props => props.theme.fonts.system, props => props.theme.rtl && 'rtl', sizeStyles$5, colorStyles$2, p => p.$isPlaceholder && !p.$isDisabled && 'hidden', reactTheming.componentStyles);
|
|
156
156
|
|
|
157
157
|
const COMPONENT_ID$6 = 'draggable.content';
|
|
158
158
|
const StyledContent = styled__default.default.div.attrs({
|
|
159
159
|
'data-garden-id': COMPONENT_ID$6,
|
|
160
|
-
'data-garden-version': '9.
|
|
160
|
+
'data-garden-version': '9.5.0'
|
|
161
161
|
}).withConfig({
|
|
162
162
|
displayName: "StyledContent",
|
|
163
163
|
componentId: "sc-15arore-0"
|
|
164
|
-
})(["flex:1;word-wrap:break-word;overflow-wrap:anywhere;", ";"],
|
|
164
|
+
})(["flex:1;word-wrap:break-word;overflow-wrap:anywhere;", ";"], reactTheming.componentStyles);
|
|
165
165
|
|
|
166
166
|
const COMPONENT_ID$5 = 'draggable_list.item';
|
|
167
167
|
const sizeStyles$4 = props => {
|
|
@@ -175,11 +175,11 @@ const sizeStyles$4 = props => {
|
|
|
175
175
|
};
|
|
176
176
|
const StyledItem = styled__default.default.li.attrs({
|
|
177
177
|
'data-garden-id': COMPONENT_ID$5,
|
|
178
|
-
'data-garden-version': '9.
|
|
178
|
+
'data-garden-version': '9.5.0'
|
|
179
179
|
}).withConfig({
|
|
180
180
|
displayName: "StyledItem",
|
|
181
181
|
componentId: "sc-1nps3s3-0"
|
|
182
|
-
})(["display:flex;", " ", ";"], sizeStyles$4,
|
|
182
|
+
})(["display:flex;", " ", ";"], sizeStyles$4, reactTheming.componentStyles);
|
|
183
183
|
|
|
184
184
|
const COMPONENT_ID$4 = 'draggable_list';
|
|
185
185
|
const sizeStyles$3 = props => {
|
|
@@ -199,11 +199,11 @@ const sizeStyles$3 = props => {
|
|
|
199
199
|
};
|
|
200
200
|
const StyledDraggableList = styled__default.default.ul.attrs({
|
|
201
201
|
'data-garden-id': COMPONENT_ID$4,
|
|
202
|
-
'data-garden-version': '9.
|
|
202
|
+
'data-garden-version': '9.5.0'
|
|
203
203
|
}).withConfig({
|
|
204
204
|
displayName: "StyledDraggableList",
|
|
205
205
|
componentId: "sc-17agksa-0"
|
|
206
|
-
})(["display:flex;flex-direction:", ";margin:0;padding:0;list-style:none;box-sizing:border-box;direction:", ";> ", "{flex:1;}", ";", ";"], p => p.$isHorizontal ? 'row' : 'column', props => props.theme.rtl && 'rtl', StyledItem, sizeStyles$3,
|
|
206
|
+
})(["display:flex;flex-direction:", ";margin:0;padding:0;list-style:none;box-sizing:border-box;direction:", ";> ", "{flex:1;}", ";", ";"], p => p.$isHorizontal ? 'row' : 'column', props => props.theme.rtl && 'rtl', StyledItem, sizeStyles$3, reactTheming.componentStyles);
|
|
207
207
|
|
|
208
208
|
const COMPONENT_ID$3 = 'draggable_list.drop_indicator';
|
|
209
209
|
const colorStyles$1 = props => {
|
|
@@ -228,11 +228,11 @@ const sizeStyles$2 = props => {
|
|
|
228
228
|
};
|
|
229
229
|
const StyledDropIndicator = styled__default.default.li.attrs({
|
|
230
230
|
'data-garden-id': COMPONENT_ID$3,
|
|
231
|
-
'data-garden-version': '9.
|
|
231
|
+
'data-garden-version': '9.5.0'
|
|
232
232
|
}).withConfig({
|
|
233
233
|
displayName: "StyledDropIndicator",
|
|
234
234
|
componentId: "sc-1f1u2lh-0"
|
|
235
|
-
})(["position:relative;", " ", " &::before,&::after{position:absolute;content:'';}", ";"], sizeStyles$2, colorStyles$1,
|
|
235
|
+
})(["position:relative;", " ", " &::before,&::after{position:absolute;content:'';}", ";"], sizeStyles$2, colorStyles$1, reactTheming.componentStyles);
|
|
236
236
|
|
|
237
237
|
const COMPONENT_ID$2 = 'dropzone';
|
|
238
238
|
const colorStyles = props => {
|
|
@@ -310,20 +310,20 @@ const sizeStyles$1 = props => {
|
|
|
310
310
|
};
|
|
311
311
|
const StyledDropzone = styled__default.default.div.attrs({
|
|
312
312
|
'data-garden-id': COMPONENT_ID$2,
|
|
313
|
-
'data-garden-version': '9.
|
|
313
|
+
'data-garden-version': '9.5.0'
|
|
314
314
|
}).withConfig({
|
|
315
315
|
displayName: "StyledDropzone",
|
|
316
316
|
componentId: "sc-1b7zuip-0"
|
|
317
|
-
})(["display:", ";flex-direction:", ";align-items:", ";justify-content:", ";transition:border-color 0.25s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;margin:0;text-align:", ";direction:", ";box-sizing:border-box;", " ", " ", ";"], p => (p.$hasMessage || p.$hasIcon) && 'flex', p => p.$hasMessage && p.$isVertical && 'column', p => (p.$hasMessage || p.$hasIcon) && 'center', p => (p.$hasMessage || p.$hasIcon) && 'center', p => p.$hasMessage && 'center', props => props.theme.rtl && 'rtl', sizeStyles$1, colorStyles,
|
|
317
|
+
})(["display:", ";flex-direction:", ";align-items:", ";justify-content:", ";transition:border-color 0.25s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;margin:0;text-align:", ";direction:", ";box-sizing:border-box;", " ", " ", ";"], p => (p.$hasMessage || p.$hasIcon) && 'flex', p => p.$hasMessage && p.$isVertical && 'column', p => (p.$hasMessage || p.$hasIcon) && 'center', p => (p.$hasMessage || p.$hasIcon) && 'center', p => p.$hasMessage && 'center', props => props.theme.rtl && 'rtl', sizeStyles$1, colorStyles, reactTheming.componentStyles);
|
|
318
318
|
|
|
319
319
|
const COMPONENT_ID$1 = 'dropzone.message';
|
|
320
320
|
const StyledMessage = styled__default.default.p.attrs({
|
|
321
321
|
'data-garden-id': COMPONENT_ID$1,
|
|
322
|
-
'data-garden-version': '9.
|
|
322
|
+
'data-garden-version': '9.5.0'
|
|
323
323
|
}).withConfig({
|
|
324
324
|
displayName: "StyledMessage",
|
|
325
325
|
componentId: "sc-5kb2l2-0"
|
|
326
|
-
})(["margin:0;line-height:", ";color:inherit;font-size:", ";font-weight:", ";", ";"], p => reactTheming.getLineHeight(p.theme.space.base * 5, p.theme.fontSizes.md), p => p.theme.fontSizes.md, p => p.theme.fontWeights.regular,
|
|
326
|
+
})(["margin:0;line-height:", ";color:inherit;font-size:", ";font-weight:", ";", ";"], p => reactTheming.getLineHeight(p.theme.space.base * 5, p.theme.fontSizes.md), p => p.theme.fontSizes.md, p => p.theme.fontWeights.regular, reactTheming.componentStyles);
|
|
327
327
|
|
|
328
328
|
const COMPONENT_ID = 'dropzone.icon';
|
|
329
329
|
function sizeStyles(_ref) {
|
|
@@ -344,11 +344,11 @@ function sizeStyles(_ref) {
|
|
|
344
344
|
}
|
|
345
345
|
const StyledIcon = styled__default.default.div.attrs({
|
|
346
346
|
'data-garden-id': COMPONENT_ID,
|
|
347
|
-
'data-garden-version': '9.
|
|
347
|
+
'data-garden-version': '9.5.0'
|
|
348
348
|
}).withConfig({
|
|
349
349
|
displayName: "StyledIcon",
|
|
350
350
|
componentId: "sc-1o12gen-0"
|
|
351
|
-
})(["display:flex;width:", ";height:", ";", " ", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, p => p.$hasMessage && sizeStyles(p),
|
|
351
|
+
})(["display:flex;width:", ";height:", ";", " ", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, p => p.$hasMessage && sizeStyles(p), reactTheming.componentStyles);
|
|
352
352
|
|
|
353
353
|
const Content = React.forwardRef((props, ref) => React__namespace.default.createElement(StyledContent, Object.assign({}, props, {
|
|
354
354
|
ref: ref
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-draggable",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"description": "Components related to drag and drop in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"styled-components": "^5.3.1 || ^6.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@dnd-kit/core": "6.1
|
|
35
|
-
"@dnd-kit/sortable": "
|
|
34
|
+
"@dnd-kit/core": "6.3.1",
|
|
35
|
+
"@dnd-kit/sortable": "10.0.0",
|
|
36
36
|
"@dnd-kit/utilities": "3.2.2",
|
|
37
|
-
"@zendeskgarden/react-theming": "^9.
|
|
38
|
-
"@zendeskgarden/react-typography": "^9.
|
|
39
|
-
"@zendeskgarden/svg-icons": "7.
|
|
37
|
+
"@zendeskgarden/react-theming": "^9.5.0",
|
|
38
|
+
"@zendeskgarden/react-typography": "^9.5.0",
|
|
39
|
+
"@zendeskgarden/svg-icons": "7.5.0"
|
|
40
40
|
},
|
|
41
41
|
"keywords": [
|
|
42
42
|
"components",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"zendeskgarden:src": "src/index.ts",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "43546784a9aa985332ddcc6dd09209a11e2c03ff"
|
|
56
56
|
}
|