@zohodesk/components 1.0.0-temp-129 → 1.0.0-temp-130
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/es/MultiSelect/MultiSelect.js +15 -4
- package/es/MultiSelect/MultiSelectWithAvatar.js +16 -5
- package/es/MultiSelect/props/defaultProps.js +5 -2
- package/es/MultiSelect/props/propTypes.js +7 -1
- package/es/index.js +0 -1
- package/es/utils/dropDownUtils.js +3 -2
- package/lib/MultiSelect/MultiSelect.js +15 -4
- package/lib/MultiSelect/MultiSelectWithAvatar.js +17 -5
- package/lib/MultiSelect/props/defaultProps.js +5 -2
- package/lib/MultiSelect/props/propTypes.js +7 -1
- package/lib/index.js +0 -8
- package/lib/utils/dropDownUtils.js +5 -2
- package/package.json +1 -3
- package/es/ucl/Grid/Grid.js +0 -42
- package/es/ucl/Grid/css/Grid.module.css +0 -308
- package/es/ucl/Grid/css/cssJSLogic.js +0 -45
- package/es/ucl/Grid/index.js +0 -4
- package/es/ucl/Grid/props/ariaPropTypes.js +0 -7
- package/es/ucl/Grid/props/defaultProps.js +0 -7
- package/es/ucl/Grid/props/propConstants.js +0 -66
- package/es/ucl/Grid/props/propTypes.js +0 -27
- package/lib/ucl/Grid/Grid.js +0 -48
- package/lib/ucl/Grid/css/Grid.module.css +0 -308
- package/lib/ucl/Grid/css/cssJSLogic.js +0 -38
- package/lib/ucl/Grid/index.js +0 -27
- package/lib/ucl/Grid/props/ariaPropTypes.js +0 -16
- package/lib/ucl/Grid/props/defaultProps.js +0 -14
- package/lib/ucl/Grid/props/propConstants.js +0 -73
- package/lib/ucl/Grid/props/propTypes.js +0 -33
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
.cover {
|
|
2
|
-
height: 100%;
|
|
3
|
-
width: 100%;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/* Container Props */
|
|
7
|
-
|
|
8
|
-
.grid {
|
|
9
|
-
display: grid;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.inlineGrid {
|
|
13
|
-
display: inline-grid;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.row {
|
|
17
|
-
grid-auto-flow: row;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.column {
|
|
21
|
-
grid-auto-flow: column;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.dense {
|
|
25
|
-
grid-auto-flow: dense;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.rowDense {
|
|
29
|
-
grid-auto-flow: row dense;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.colDense {
|
|
33
|
-
grid-auto-flow: column dense;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* align-items props start */
|
|
37
|
-
|
|
38
|
-
.alignItems_start {
|
|
39
|
-
align-items: start;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.alignItems_end {
|
|
43
|
-
align-items: end;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.alignItems_center {
|
|
47
|
-
align-items: center;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.alignItems_stretch {
|
|
51
|
-
align-items: stretch;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.alignItems_baseline {
|
|
55
|
-
align-items: baseline;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/* align-items props end */
|
|
59
|
-
|
|
60
|
-
/* align-self props start */
|
|
61
|
-
|
|
62
|
-
.alignSelf_start {
|
|
63
|
-
align-self: start;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.alignSelf_end {
|
|
67
|
-
align-self: end;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.alignSelf_center {
|
|
71
|
-
align-self: center;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.alignSelf_stretch {
|
|
75
|
-
align-self: stretch;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.alignSelf_baseline {
|
|
79
|
-
align-self: baseline;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* align-self props End */
|
|
83
|
-
|
|
84
|
-
/* align-content props start*/
|
|
85
|
-
|
|
86
|
-
.alignContent_start {
|
|
87
|
-
align-content: start;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.alignContent_end {
|
|
91
|
-
align-content: end;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.alignContent_center {
|
|
95
|
-
align-content: center;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.alignContent_stretch {
|
|
99
|
-
align-content: stretch;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.alignContent_baseline {
|
|
103
|
-
align-content: baseline;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.alignContent_spaceBetween {
|
|
107
|
-
align-content: space-between;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.alignContent_spaceAround {
|
|
111
|
-
align-content: space-around;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.alignContent_spaceEvenly {
|
|
115
|
-
align-content: space-evenly;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/* align-content props end*/
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
/* justify-items props start */
|
|
122
|
-
|
|
123
|
-
.justifyItems_start {
|
|
124
|
-
justify-items: start;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.justifyItems_end {
|
|
128
|
-
justify-items: end;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.justifyItems_center {
|
|
132
|
-
justify-items: center;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.justifyItems_stretch {
|
|
136
|
-
justify-items: stretch;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.justifyItems_baseline {
|
|
140
|
-
justify-items: baseline;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/* justify-items props end */
|
|
144
|
-
|
|
145
|
-
/* justify-self props start */
|
|
146
|
-
|
|
147
|
-
.justifySelf_start {
|
|
148
|
-
justify-self: start;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.justifySelf_end {
|
|
152
|
-
justify-self: end;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.justifySelf_center {
|
|
156
|
-
justify-self: center;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.justifySelf_stretch {
|
|
160
|
-
justify-self: stretch;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.justifySelf_baseline {
|
|
164
|
-
justify-self: baseline;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/* justify-self props end */
|
|
168
|
-
|
|
169
|
-
/* justify-content props start */
|
|
170
|
-
|
|
171
|
-
.justifyContent_start {
|
|
172
|
-
justify-content: start;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.justifyContent_end {
|
|
176
|
-
justify-content: end;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.justifyContent_center {
|
|
180
|
-
justify-content: center;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.justifyContent_stretch {
|
|
184
|
-
justify-content: stretch;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.justifyContent_spaceBetween {
|
|
188
|
-
justify-content: space-between;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.justifyContent_spaceAround {
|
|
192
|
-
justify-content: space-around;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.justifyContent_spaceEvenly {
|
|
196
|
-
justify-content: space-evenly;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/* justify-content props end */
|
|
200
|
-
|
|
201
|
-
.scroll_y {
|
|
202
|
-
overflow-y: auto;
|
|
203
|
-
overflow-x: hidden;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.scroll_x {
|
|
207
|
-
overflow-x: auto;
|
|
208
|
-
overflow-y: hidden;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.scroll_none {
|
|
212
|
-
overflow: hidden;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.scroll_both {
|
|
216
|
-
overflow: auto;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/* Custom Grid Classes */
|
|
220
|
-
.layout {
|
|
221
|
-
grid-template-columns: repeat(var(--zdg_base_columns, 12), 1fr);
|
|
222
|
-
grid-template-rows: repeat(var(--zdg_base_rows, 1), 1fr);
|
|
223
|
-
gap: var(--zd_layout_gap, var(--zd_size15));
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.layout_areas {
|
|
227
|
-
grid-template-areas: var(--zdg_layout_areas, "content");
|
|
228
|
-
gap: var(--zd_layout_gap, var(--zd_size15));
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.auto_repeat {
|
|
232
|
-
grid-template-columns: repeat(var(--zdg_auto_repeat, auto-fit), minmax(var(--zdg_auto_repeat_min, 0), var(--zdg_auto_repeat_max, 1fr)));
|
|
233
|
-
/* grid-template-columns: repeat(var(--zdg_auto_grid_placement, auto-fill), minmax(var(--zdg_auto_grid_min_item_size, 16rem), 1fr)); */
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.auto_repeat_fixed {
|
|
237
|
-
grid-template-columns: repeat(var(--zdg_auto_repeat, auto-fit), var(--zdg_auto_repeat_val, 1fr));
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.custom_columns {
|
|
241
|
-
grid-template-columns: var(--zdg_custom_columns, 1fr);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.custom_rows {
|
|
245
|
-
grid-template-rows: var(--zdg_custom_rows, auto);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.auto_columns {
|
|
249
|
-
grid-auto-columns: var(--zdg_auto_columns, auto);
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.auto_rows {
|
|
253
|
-
grid-auto-rows: var(--zdg_auto_rows, auto);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
/* Custom Grid Item Classes */
|
|
258
|
-
.item_area {
|
|
259
|
-
grid-area: var(--zdg_item_area, content);
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.item_col_span1 {
|
|
263
|
-
grid-column: auto/span 1
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.item_col_span2 {
|
|
267
|
-
grid-column: auto/span 2;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.item_col_span3 {
|
|
271
|
-
grid-column: auto/span 3
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.item_col_span4 {
|
|
275
|
-
grid-column: auto/span 4
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.item_col_span5 {
|
|
279
|
-
grid-column: auto/span 5
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.item_col_span6 {
|
|
283
|
-
grid-column: auto/span 6
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.item_col_span7 {
|
|
287
|
-
grid-column: auto/span 7
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.item_col_span8 {
|
|
291
|
-
grid-column: auto/span 8
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
.item_col_span9 {
|
|
295
|
-
grid-column: auto/span 9
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.item_col_span10 {
|
|
299
|
-
grid-column: auto/span 10
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.item_col_span11 {
|
|
303
|
-
grid-column: auto/span 11
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.item_col_span12 {
|
|
307
|
-
grid-column: auto/span 12
|
|
308
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = _default;
|
|
7
|
-
var _utils = require("@zohodesk/utils");
|
|
8
|
-
var _propConstants = _interopRequireDefault(require("../props/propConstants"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
-
/**
|
|
12
|
-
* container classname based on js state
|
|
13
|
-
* @param {object} props flex props
|
|
14
|
-
* @param {object} flex style object
|
|
15
|
-
* @returns {string} classnames string with space separate
|
|
16
|
-
*/
|
|
17
|
-
function _default(props, newStyle) {
|
|
18
|
-
var _compileClassNames;
|
|
19
|
-
var display = props.display,
|
|
20
|
-
flow = props.flow,
|
|
21
|
-
alignItems = props.alignItems,
|
|
22
|
-
alignSelf = props.alignSelf,
|
|
23
|
-
alignContent = props.alignContent,
|
|
24
|
-
justifyItems = props.justifyItems,
|
|
25
|
-
justifySelf = props.justifySelf,
|
|
26
|
-
justifyContent = props.justifyContent,
|
|
27
|
-
overFlowScroll = props.overFlowScroll,
|
|
28
|
-
isCover = props.isCover,
|
|
29
|
-
className = props.className;
|
|
30
|
-
var alignItemsClassname = "alignItems_".concat(alignItems);
|
|
31
|
-
var alignSelfClassname = "alignSelf_".concat(alignSelf);
|
|
32
|
-
var alignContentClassname = "alignContent_".concat(alignContent);
|
|
33
|
-
var justifyItemsClassname = "justifyItems_".concat(justifyItems);
|
|
34
|
-
var justifySelfClassname = "justifySelf_".concat(justifySelf);
|
|
35
|
-
var justifyContentClassname = "justifyContent_".concat(justifyContent);
|
|
36
|
-
var overFlow = "scroll_".concat(overFlowScroll);
|
|
37
|
-
return (0, _utils.compileClassNames)((_compileClassNames = {}, _defineProperty(_compileClassNames, newStyle.base, true), _defineProperty(_compileClassNames, newStyle.grid, display === _propConstants["default"].display.grid), _defineProperty(_compileClassNames, newStyle.inlineGrid, display === _propConstants["default"].display.inline), _defineProperty(_compileClassNames, newStyle[flow], flow && display), _defineProperty(_compileClassNames, newStyle[alignItemsClassname], alignItems && display), _defineProperty(_compileClassNames, newStyle[justifyItemsClassname], justifyItems && display), _defineProperty(_compileClassNames, newStyle[alignContentClassname], alignContent && display), _defineProperty(_compileClassNames, newStyle[justifyContentClassname], justifyContent && display), _defineProperty(_compileClassNames, newStyle[alignSelfClassname], alignSelf), _defineProperty(_compileClassNames, newStyle[justifySelfClassname], justifySelf), _defineProperty(_compileClassNames, newStyle[overFlow], overFlowScroll), _defineProperty(_compileClassNames, newStyle.cover, isCover), _defineProperty(_compileClassNames, className, className), _compileClassNames));
|
|
38
|
-
}
|
package/lib/ucl/Grid/index.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "GridPropConstants", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _propConstants["default"];
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "GridPropTypes", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _propTypes["default"];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "default", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function get() {
|
|
21
|
-
return _Grid["default"];
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
var _Grid = _interopRequireDefault(require("./Grid"));
|
|
25
|
-
var _propTypes = _interopRequireDefault(require("./props/propTypes"));
|
|
26
|
-
var _propConstants = _interopRequireDefault(require("./props/propConstants"));
|
|
27
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
|
-
var _generalAriaProps = _interopRequireDefault(require("@zohodesk/utils/es/props/generalAriaProps"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
|
-
var _default = {
|
|
14
|
-
a11y: _propTypes["default"].shape(_objectSpread({}, _generalAriaProps["default"]))
|
|
15
|
-
};
|
|
16
|
-
exports["default"] = _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _default = {
|
|
8
|
-
tagName: 'div',
|
|
9
|
-
isCover: false,
|
|
10
|
-
customStyle: {},
|
|
11
|
-
tagAttributes: {},
|
|
12
|
-
tagGeneralAttributes: {}
|
|
13
|
-
};
|
|
14
|
-
exports["default"] = _default;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _default = {
|
|
8
|
-
display: {
|
|
9
|
-
inline: "inline",
|
|
10
|
-
grid: "grid"
|
|
11
|
-
},
|
|
12
|
-
flow: {
|
|
13
|
-
row: "row",
|
|
14
|
-
column: "column",
|
|
15
|
-
dense: "dense",
|
|
16
|
-
rowDense: "rowDense",
|
|
17
|
-
colDense: "colDense"
|
|
18
|
-
},
|
|
19
|
-
alignItems: {
|
|
20
|
-
start: "start",
|
|
21
|
-
end: "end",
|
|
22
|
-
center: "center",
|
|
23
|
-
stretch: "stretch",
|
|
24
|
-
baseline: "baseline"
|
|
25
|
-
},
|
|
26
|
-
alignSelf: {
|
|
27
|
-
start: "start",
|
|
28
|
-
end: "end",
|
|
29
|
-
center: "center",
|
|
30
|
-
stretch: "stretch",
|
|
31
|
-
baseline: "baseline"
|
|
32
|
-
},
|
|
33
|
-
alignContent: {
|
|
34
|
-
start: "start",
|
|
35
|
-
end: "end",
|
|
36
|
-
center: "center",
|
|
37
|
-
stretch: "stretch",
|
|
38
|
-
baseline: "baseline",
|
|
39
|
-
spaceBetween: "spaceBetween",
|
|
40
|
-
spaceAround: "spaceAround",
|
|
41
|
-
spaceEvenly: "spaceEvenly"
|
|
42
|
-
},
|
|
43
|
-
justifyItems: {
|
|
44
|
-
start: "start",
|
|
45
|
-
end: "end",
|
|
46
|
-
center: "center",
|
|
47
|
-
stretch: "stretch",
|
|
48
|
-
baseline: "baseline"
|
|
49
|
-
},
|
|
50
|
-
justifySelf: {
|
|
51
|
-
start: "start",
|
|
52
|
-
end: "end",
|
|
53
|
-
center: "center",
|
|
54
|
-
stretch: "stretch",
|
|
55
|
-
baseline: "baseline"
|
|
56
|
-
},
|
|
57
|
-
justifyContent: {
|
|
58
|
-
start: "start",
|
|
59
|
-
end: "end",
|
|
60
|
-
center: "center",
|
|
61
|
-
stretch: "stretch",
|
|
62
|
-
spaceBetween: "spaceBetween",
|
|
63
|
-
spaceAround: "spaceAround",
|
|
64
|
-
spaceEvenly: "spaceEvenly"
|
|
65
|
-
},
|
|
66
|
-
scroll: {
|
|
67
|
-
x: "x",
|
|
68
|
-
y: "y",
|
|
69
|
-
both: "both",
|
|
70
|
-
none: "none"
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
exports["default"] = _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
8
|
-
var _automationProps = _interopRequireDefault(require("@zohodesk/utils/es/props/automationProps"));
|
|
9
|
-
var _customStyleProps = _interopRequireDefault(require("@zohodesk/utils/es/props/customStyleProps"));
|
|
10
|
-
var _tagAttributeProps = _interopRequireDefault(require("@zohodesk/utils/es/props/tagAttributeProps"));
|
|
11
|
-
var _tagGeneralAttributeProps = _interopRequireDefault(require("@zohodesk/utils/es/props/tagGeneralAttributeProps"));
|
|
12
|
-
var _propConstants = _interopRequireDefault(require("./propConstants"));
|
|
13
|
-
var _ariaPropTypes = _interopRequireDefault(require("./ariaPropTypes"));
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
17
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18
|
-
var _default = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
|
|
19
|
-
tagName: _propTypes["default"].string,
|
|
20
|
-
isCover: _propTypes["default"].bool,
|
|
21
|
-
alignItems: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignItems)),
|
|
22
|
-
alignSelf: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignSelf)),
|
|
23
|
-
alignContent: _propTypes["default"].oneOf(Object.values(_propConstants["default"].alignContent)),
|
|
24
|
-
justifyItems: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifyItems)),
|
|
25
|
-
justifySelf: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifySelf)),
|
|
26
|
-
justifyContent: _propTypes["default"].oneOf(Object.values(_propConstants["default"].justifyContent)),
|
|
27
|
-
flow: _propTypes["default"].oneOf(Object.values(_propConstants["default"].flow)),
|
|
28
|
-
overFlowScroll: _propTypes["default"].oneOf(Object.values(_propConstants["default"].scroll)),
|
|
29
|
-
display: _propTypes["default"].oneOf(Object.values(_propConstants["default"].display)),
|
|
30
|
-
children: _propTypes["default"].node,
|
|
31
|
-
className: _propTypes["default"].string
|
|
32
|
-
}, _automationProps["default"]), _ariaPropTypes["default"]), _customStyleProps["default"]), _tagAttributeProps["default"]), _tagGeneralAttributeProps["default"]);
|
|
33
|
-
exports["default"] = _default;
|