@cleartrip/ct-design-field 2.2.0 → 2.3.0-beta.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/ct-design-field.umd.js +20 -20
- package/package.json +14 -14
|
@@ -317,26 +317,6 @@
|
|
|
317
317
|
return (jsxRuntime.jsx(Field, __assign({}, rest, { type: exports.FieldType.TEXT, ref: forwardedRef, onChange: onFieldChange, onKeyDown: onKeyDown, value: ctDesignCommonUtils.addSpaceAtInterval(value, gap) })));
|
|
318
318
|
});
|
|
319
319
|
|
|
320
|
-
var DownChevron = function (_a) {
|
|
321
|
-
var _b = _a.color,
|
|
322
|
-
color = _b === void 0 ? '#1A1A1A' : _b,
|
|
323
|
-
rest = __rest(_a, ["color"]);
|
|
324
|
-
return jsxRuntime.jsx("svg", __assign({
|
|
325
|
-
xmlns: 'http://www.w3.org/2000/svg',
|
|
326
|
-
width: '12',
|
|
327
|
-
height: '12',
|
|
328
|
-
fill: 'none',
|
|
329
|
-
viewBox: '0 0 12 12'
|
|
330
|
-
}, rest, {
|
|
331
|
-
children: jsxRuntime.jsx("path", {
|
|
332
|
-
stroke: color,
|
|
333
|
-
strokeLinecap: 'round',
|
|
334
|
-
strokeLinejoin: 'round',
|
|
335
|
-
strokeWidth: '2',
|
|
336
|
-
d: 'M2 4l4 4 4-4'
|
|
337
|
-
})
|
|
338
|
-
}));
|
|
339
|
-
};
|
|
340
320
|
function CheckCircle(props) {
|
|
341
321
|
return jsxRuntime.jsxs("svg", __assign({
|
|
342
322
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
@@ -369,6 +349,26 @@
|
|
|
369
349
|
}))]
|
|
370
350
|
}));
|
|
371
351
|
}
|
|
352
|
+
var DownChevron = function (_a) {
|
|
353
|
+
var _b = _a.color,
|
|
354
|
+
color = _b === void 0 ? '#1A1A1A' : _b,
|
|
355
|
+
rest = __rest(_a, ["color"]);
|
|
356
|
+
return jsxRuntime.jsx("svg", __assign({
|
|
357
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
358
|
+
width: '12',
|
|
359
|
+
height: '12',
|
|
360
|
+
fill: 'none',
|
|
361
|
+
viewBox: '0 0 12 12'
|
|
362
|
+
}, rest, {
|
|
363
|
+
children: jsxRuntime.jsx("path", {
|
|
364
|
+
stroke: color,
|
|
365
|
+
strokeLinecap: 'round',
|
|
366
|
+
strokeLinejoin: 'round',
|
|
367
|
+
strokeWidth: '2',
|
|
368
|
+
d: 'M2 4l4 4 4-4'
|
|
369
|
+
})
|
|
370
|
+
}));
|
|
371
|
+
};
|
|
372
372
|
|
|
373
373
|
var PhoneFieldPrefix = function (_a) {
|
|
374
374
|
var countryCode = _a.countryCode, _b = _a.disabled, disabled = _b === void 0 ? false : _b, flagIcon = _a.flagIcon, onDropdownClick = _a.onDropdownClick, showDropdownIcon = _a.showDropdownIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-design-field",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0-beta.0",
|
|
4
4
|
"description": "Field Component",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-design-field.cjs.js",
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@cleartrip/ct-design-
|
|
19
|
-
"@cleartrip/ct-design-
|
|
20
|
-
"@cleartrip/ct-design-
|
|
21
|
-
"@cleartrip/ct-design-
|
|
22
|
-
"@cleartrip/ct-design-
|
|
23
|
-
"@cleartrip/ct-design-
|
|
24
|
-
"@cleartrip/ct-design-
|
|
25
|
-
"@cleartrip/ct-design-
|
|
26
|
-
"@cleartrip/ct-design-
|
|
27
|
-
"@cleartrip/ct-design-
|
|
28
|
-
"@cleartrip/ct-design-
|
|
18
|
+
"@cleartrip/ct-design-outside-click-handler": "2.3.0-beta.0",
|
|
19
|
+
"@cleartrip/ct-design-container": "2.3.0-beta.0",
|
|
20
|
+
"@cleartrip/ct-design-typography": "2.3.0-beta.0",
|
|
21
|
+
"@cleartrip/ct-design-box": "2.3.0-beta.0",
|
|
22
|
+
"@cleartrip/ct-design-common-constants": "2.3.0-beta.0",
|
|
23
|
+
"@cleartrip/ct-design-dotted-loader": "2.3.0-beta.0",
|
|
24
|
+
"@cleartrip/ct-design-card": "2.3.0-beta.0",
|
|
25
|
+
"@cleartrip/ct-design-divider": "2.3.0-beta.0",
|
|
26
|
+
"@cleartrip/ct-design-common-utils": "2.3.0-beta.0",
|
|
27
|
+
"@cleartrip/ct-design-theme": "2.3.0-beta.0",
|
|
28
|
+
"@cleartrip/ct-design-types": "2.3.0-beta.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@cleartrip/ct-design-
|
|
32
|
-
"@cleartrip/ct-design-
|
|
31
|
+
"@cleartrip/ct-design-styles": "2.3.0-beta.0",
|
|
32
|
+
"@cleartrip/ct-design-icons": "4.0.0-beta.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=16.8.0",
|