@zendeskgarden/react-draggable 9.0.0-next.23 → 9.0.0-next.25
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 +2 -5
- package/dist/esm/styled/draggable/StyledDraggable.js +2 -5
- package/dist/esm/styled/draggable/StyledGrip.js +2 -5
- package/dist/esm/styled/draggable-list/StyledDraggableList.js +2 -5
- package/dist/esm/styled/draggable-list/StyledDropIndicator.js +2 -5
- package/dist/esm/styled/draggable-list/StyledItem.js +2 -5
- package/dist/esm/styled/dropzone/StyledDropzone.js +2 -5
- package/dist/esm/styled/dropzone/StyledIcon.js +2 -5
- package/dist/esm/styled/dropzone/StyledMessage.js +2 -5
- package/dist/index.cjs.js +9 -36
- package/package.json +4 -4
|
@@ -5,18 +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 { retrieveComponentStyles
|
|
8
|
+
import { retrieveComponentStyles } 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.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.25'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledContent",
|
|
16
16
|
componentId: "sc-15arore-0"
|
|
17
17
|
})(["flex:1;word-wrap:break-word;overflow-wrap:anywhere;", ";"], props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
-
StyledContent.defaultProps = {
|
|
19
|
-
theme: DEFAULT_THEME
|
|
20
|
-
};
|
|
21
18
|
|
|
22
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 { retrieveComponentStyles,
|
|
8
|
+
import { retrieveComponentStyles, getColor, focusStyles, getLineHeight } from '@zendeskgarden/react-theming';
|
|
9
9
|
import { StyledGrip } from './StyledGrip.js';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'draggable';
|
|
@@ -103,13 +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.0.0-next.
|
|
106
|
+
'data-garden-version': '9.0.0-next.25'
|
|
107
107
|
}).withConfig({
|
|
108
108
|
displayName: "StyledDraggable",
|
|
109
109
|
componentId: "sc-3lxpf1-0"
|
|
110
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', props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
111
|
-
StyledDraggable.defaultProps = {
|
|
112
|
-
theme: DEFAULT_THEME
|
|
113
|
-
};
|
|
114
111
|
|
|
115
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, retrieveComponentStyles
|
|
8
|
+
import { getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'draggable.grip';
|
|
11
11
|
function sizeStyles(_ref) {
|
|
@@ -17,7 +17,7 @@ function sizeStyles(_ref) {
|
|
|
17
17
|
}
|
|
18
18
|
const StyledGrip = styled.div.attrs({
|
|
19
19
|
'data-garden-id': COMPONENT_ID,
|
|
20
|
-
'data-garden-version': '9.0.0-next.
|
|
20
|
+
'data-garden-version': '9.0.0-next.25'
|
|
21
21
|
}).withConfig({
|
|
22
22
|
displayName: "StyledGrip",
|
|
23
23
|
componentId: "sc-13uv9iv-0"
|
|
@@ -25,8 +25,5 @@ const StyledGrip = styled.div.attrs({
|
|
|
25
25
|
variable: 'foreground.subtle',
|
|
26
26
|
theme: p.theme
|
|
27
27
|
}), sizeStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
28
|
-
StyledGrip.defaultProps = {
|
|
29
|
-
theme: DEFAULT_THEME
|
|
30
|
-
};
|
|
31
28
|
|
|
32
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 { retrieveComponentStyles
|
|
8
|
+
import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
import { StyledItem } from './StyledItem.js';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'draggable_list';
|
|
@@ -26,13 +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.0.0-next.
|
|
29
|
+
'data-garden-version': '9.0.0-next.25'
|
|
30
30
|
}).withConfig({
|
|
31
31
|
displayName: "StyledDraggableList",
|
|
32
32
|
componentId: "sc-17agksa-0"
|
|
33
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, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
34
|
-
StyledDraggableList.defaultProps = {
|
|
35
|
-
theme: DEFAULT_THEME
|
|
36
|
-
};
|
|
37
34
|
|
|
38
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 { retrieveComponentStyles,
|
|
8
|
+
import { retrieveComponentStyles, getColor } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'draggable_list.drop_indicator';
|
|
11
11
|
const colorStyles = props => {
|
|
@@ -30,13 +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.0.0-next.
|
|
33
|
+
'data-garden-version': '9.0.0-next.25'
|
|
34
34
|
}).withConfig({
|
|
35
35
|
displayName: "StyledDropIndicator",
|
|
36
36
|
componentId: "sc-1f1u2lh-0"
|
|
37
37
|
})(["position:relative;", " ", " &::before,&::after{position:absolute;content:'';}", ";"], sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
38
|
-
StyledDropIndicator.defaultProps = {
|
|
39
|
-
theme: DEFAULT_THEME
|
|
40
|
-
};
|
|
41
38
|
|
|
42
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 { retrieveComponentStyles
|
|
8
|
+
import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'draggable_list.item';
|
|
11
11
|
const sizeStyles = props => {
|
|
@@ -19,13 +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.0.0-next.
|
|
22
|
+
'data-garden-version': '9.0.0-next.25'
|
|
23
23
|
}).withConfig({
|
|
24
24
|
displayName: "StyledItem",
|
|
25
25
|
componentId: "sc-1nps3s3-0"
|
|
26
26
|
})(["display:flex;", " ", ";"], sizeStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
27
|
-
StyledItem.defaultProps = {
|
|
28
|
-
theme: DEFAULT_THEME
|
|
29
|
-
};
|
|
30
27
|
|
|
31
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 { retrieveComponentStyles,
|
|
9
|
+
import { retrieveComponentStyles, getColor } from '@zendeskgarden/react-theming';
|
|
10
10
|
|
|
11
11
|
const COMPONENT_ID = 'dropzone';
|
|
12
12
|
const colorStyles = props => {
|
|
@@ -84,13 +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.0.0-next.
|
|
87
|
+
'data-garden-version': '9.0.0-next.25'
|
|
88
88
|
}).withConfig({
|
|
89
89
|
displayName: "StyledDropzone",
|
|
90
90
|
componentId: "sc-1b7zuip-0"
|
|
91
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, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
92
|
-
StyledDropzone.defaultProps = {
|
|
93
|
-
theme: DEFAULT_THEME
|
|
94
|
-
};
|
|
95
92
|
|
|
96
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 { retrieveComponentStyles
|
|
8
|
+
import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
|
|
9
9
|
|
|
10
10
|
const COMPONENT_ID = 'dropzone.icon';
|
|
11
11
|
function sizeStyles(_ref) {
|
|
@@ -26,13 +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.0.0-next.
|
|
29
|
+
'data-garden-version': '9.0.0-next.25'
|
|
30
30
|
}).withConfig({
|
|
31
31
|
displayName: "StyledIcon",
|
|
32
32
|
componentId: "sc-1o12gen-0"
|
|
33
33
|
})(["display:flex;width:", ";height:", ";", " ", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, p => p.hasMessage && sizeStyles(p), props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
34
|
-
StyledIcon.defaultProps = {
|
|
35
|
-
theme: DEFAULT_THEME
|
|
36
|
-
};
|
|
37
34
|
|
|
38
35
|
export { StyledIcon };
|
|
@@ -5,18 +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, retrieveComponentStyles
|
|
8
|
+
import { getLineHeight, retrieveComponentStyles } 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.0.0-next.
|
|
13
|
+
'data-garden-version': '9.0.0-next.25'
|
|
14
14
|
}).withConfig({
|
|
15
15
|
displayName: "StyledMessage",
|
|
16
16
|
componentId: "sc-5kb2l2-0"
|
|
17
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, props => retrieveComponentStyles(COMPONENT_ID, props));
|
|
18
|
-
StyledMessage.defaultProps = {
|
|
19
|
-
theme: DEFAULT_THEME
|
|
20
|
-
};
|
|
21
18
|
|
|
22
19
|
export { StyledMessage };
|
package/dist/index.cjs.js
CHANGED
|
@@ -44,7 +44,7 @@ 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.0.0-next.
|
|
47
|
+
'data-garden-version': '9.0.0-next.25'
|
|
48
48
|
}).withConfig({
|
|
49
49
|
displayName: "StyledGrip",
|
|
50
50
|
componentId: "sc-13uv9iv-0"
|
|
@@ -52,9 +52,6 @@ const StyledGrip = styled__default.default.div.attrs({
|
|
|
52
52
|
variable: 'foreground.subtle',
|
|
53
53
|
theme: p.theme
|
|
54
54
|
}), sizeStyles$6, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$8, props));
|
|
55
|
-
StyledGrip.defaultProps = {
|
|
56
|
-
theme: reactTheming.DEFAULT_THEME
|
|
57
|
-
};
|
|
58
55
|
|
|
59
56
|
const COMPONENT_ID$7 = 'draggable';
|
|
60
57
|
function getDragShadow(theme) {
|
|
@@ -151,26 +148,20 @@ const getCursor = props => {
|
|
|
151
148
|
};
|
|
152
149
|
const StyledDraggable = styled__default.default.div.attrs({
|
|
153
150
|
'data-garden-id': COMPONENT_ID$7,
|
|
154
|
-
'data-garden-version': '9.0.0-next.
|
|
151
|
+
'data-garden-version': '9.0.0-next.25'
|
|
155
152
|
}).withConfig({
|
|
156
153
|
displayName: "StyledDraggable",
|
|
157
154
|
componentId: "sc-3lxpf1-0"
|
|
158
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', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$7, props));
|
|
159
|
-
StyledDraggable.defaultProps = {
|
|
160
|
-
theme: reactTheming.DEFAULT_THEME
|
|
161
|
-
};
|
|
162
156
|
|
|
163
157
|
const COMPONENT_ID$6 = 'draggable.content';
|
|
164
158
|
const StyledContent = styled__default.default.div.attrs({
|
|
165
159
|
'data-garden-id': COMPONENT_ID$6,
|
|
166
|
-
'data-garden-version': '9.0.0-next.
|
|
160
|
+
'data-garden-version': '9.0.0-next.25'
|
|
167
161
|
}).withConfig({
|
|
168
162
|
displayName: "StyledContent",
|
|
169
163
|
componentId: "sc-15arore-0"
|
|
170
164
|
})(["flex:1;word-wrap:break-word;overflow-wrap:anywhere;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
|
|
171
|
-
StyledContent.defaultProps = {
|
|
172
|
-
theme: reactTheming.DEFAULT_THEME
|
|
173
|
-
};
|
|
174
165
|
|
|
175
166
|
const COMPONENT_ID$5 = 'draggable_list.item';
|
|
176
167
|
const sizeStyles$4 = props => {
|
|
@@ -184,14 +175,11 @@ const sizeStyles$4 = props => {
|
|
|
184
175
|
};
|
|
185
176
|
const StyledItem = styled__default.default.li.attrs({
|
|
186
177
|
'data-garden-id': COMPONENT_ID$5,
|
|
187
|
-
'data-garden-version': '9.0.0-next.
|
|
178
|
+
'data-garden-version': '9.0.0-next.25'
|
|
188
179
|
}).withConfig({
|
|
189
180
|
displayName: "StyledItem",
|
|
190
181
|
componentId: "sc-1nps3s3-0"
|
|
191
182
|
})(["display:flex;", " ", ";"], sizeStyles$4, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$5, props));
|
|
192
|
-
StyledItem.defaultProps = {
|
|
193
|
-
theme: reactTheming.DEFAULT_THEME
|
|
194
|
-
};
|
|
195
183
|
|
|
196
184
|
const COMPONENT_ID$4 = 'draggable_list';
|
|
197
185
|
const sizeStyles$3 = props => {
|
|
@@ -211,14 +199,11 @@ const sizeStyles$3 = props => {
|
|
|
211
199
|
};
|
|
212
200
|
const StyledDraggableList = styled__default.default.ul.attrs({
|
|
213
201
|
'data-garden-id': COMPONENT_ID$4,
|
|
214
|
-
'data-garden-version': '9.0.0-next.
|
|
202
|
+
'data-garden-version': '9.0.0-next.25'
|
|
215
203
|
}).withConfig({
|
|
216
204
|
displayName: "StyledDraggableList",
|
|
217
205
|
componentId: "sc-17agksa-0"
|
|
218
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, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$4, props));
|
|
219
|
-
StyledDraggableList.defaultProps = {
|
|
220
|
-
theme: reactTheming.DEFAULT_THEME
|
|
221
|
-
};
|
|
222
207
|
|
|
223
208
|
const COMPONENT_ID$3 = 'draggable_list.drop_indicator';
|
|
224
209
|
const colorStyles$1 = props => {
|
|
@@ -243,14 +228,11 @@ const sizeStyles$2 = props => {
|
|
|
243
228
|
};
|
|
244
229
|
const StyledDropIndicator = styled__default.default.li.attrs({
|
|
245
230
|
'data-garden-id': COMPONENT_ID$3,
|
|
246
|
-
'data-garden-version': '9.0.0-next.
|
|
231
|
+
'data-garden-version': '9.0.0-next.25'
|
|
247
232
|
}).withConfig({
|
|
248
233
|
displayName: "StyledDropIndicator",
|
|
249
234
|
componentId: "sc-1f1u2lh-0"
|
|
250
235
|
})(["position:relative;", " ", " &::before,&::after{position:absolute;content:'';}", ";"], sizeStyles$2, colorStyles$1, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$3, props));
|
|
251
|
-
StyledDropIndicator.defaultProps = {
|
|
252
|
-
theme: reactTheming.DEFAULT_THEME
|
|
253
|
-
};
|
|
254
236
|
|
|
255
237
|
const COMPONENT_ID$2 = 'dropzone';
|
|
256
238
|
const colorStyles = props => {
|
|
@@ -328,26 +310,20 @@ const sizeStyles$1 = props => {
|
|
|
328
310
|
};
|
|
329
311
|
const StyledDropzone = styled__default.default.div.attrs({
|
|
330
312
|
'data-garden-id': COMPONENT_ID$2,
|
|
331
|
-
'data-garden-version': '9.0.0-next.
|
|
313
|
+
'data-garden-version': '9.0.0-next.25'
|
|
332
314
|
}).withConfig({
|
|
333
315
|
displayName: "StyledDropzone",
|
|
334
316
|
componentId: "sc-1b7zuip-0"
|
|
335
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, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$2, props));
|
|
336
|
-
StyledDropzone.defaultProps = {
|
|
337
|
-
theme: reactTheming.DEFAULT_THEME
|
|
338
|
-
};
|
|
339
318
|
|
|
340
319
|
const COMPONENT_ID$1 = 'dropzone.message';
|
|
341
320
|
const StyledMessage = styled__default.default.p.attrs({
|
|
342
321
|
'data-garden-id': COMPONENT_ID$1,
|
|
343
|
-
'data-garden-version': '9.0.0-next.
|
|
322
|
+
'data-garden-version': '9.0.0-next.25'
|
|
344
323
|
}).withConfig({
|
|
345
324
|
displayName: "StyledMessage",
|
|
346
325
|
componentId: "sc-5kb2l2-0"
|
|
347
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, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$1, props));
|
|
348
|
-
StyledMessage.defaultProps = {
|
|
349
|
-
theme: reactTheming.DEFAULT_THEME
|
|
350
|
-
};
|
|
351
327
|
|
|
352
328
|
const COMPONENT_ID = 'dropzone.icon';
|
|
353
329
|
function sizeStyles(_ref) {
|
|
@@ -368,14 +344,11 @@ function sizeStyles(_ref) {
|
|
|
368
344
|
}
|
|
369
345
|
const StyledIcon = styled__default.default.div.attrs({
|
|
370
346
|
'data-garden-id': COMPONENT_ID,
|
|
371
|
-
'data-garden-version': '9.0.0-next.
|
|
347
|
+
'data-garden-version': '9.0.0-next.25'
|
|
372
348
|
}).withConfig({
|
|
373
349
|
displayName: "StyledIcon",
|
|
374
350
|
componentId: "sc-1o12gen-0"
|
|
375
351
|
})(["display:flex;width:", ";height:", ";", " ", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, p => p.hasMessage && sizeStyles(p), props => reactTheming.retrieveComponentStyles(COMPONENT_ID, props));
|
|
376
|
-
StyledIcon.defaultProps = {
|
|
377
|
-
theme: reactTheming.DEFAULT_THEME
|
|
378
|
-
};
|
|
379
352
|
|
|
380
353
|
const Content = React.forwardRef((props, ref) => React__namespace.default.createElement(StyledContent, Object.assign({}, props, {
|
|
381
354
|
ref: ref
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-draggable",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.25",
|
|
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>",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@dnd-kit/core": "6.1.0",
|
|
35
35
|
"@dnd-kit/sortable": "8.0.0",
|
|
36
36
|
"@dnd-kit/utilities": "3.2.2",
|
|
37
|
-
"@zendeskgarden/react-theming": "^9.0.0-next.
|
|
38
|
-
"@zendeskgarden/react-typography": "^9.0.0-next.
|
|
37
|
+
"@zendeskgarden/react-theming": "^9.0.0-next.25",
|
|
38
|
+
"@zendeskgarden/react-typography": "^9.0.0-next.25",
|
|
39
39
|
"@zendeskgarden/svg-icons": "7.2.0"
|
|
40
40
|
},
|
|
41
41
|
"keywords": [
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"zendeskgarden:src": "src/index.ts",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "460751d630ab1c46e11810d60e4d7701b9d30b8f"
|
|
56
56
|
}
|