@sellout/ui 0.0.398 → 0.0.400
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/build/Colors.d.ts +37 -37
- package/build/Colors.js +38 -38
- package/build/Colors.js.map +1 -1
- package/build/components/AddressSearchDropdown.d.ts +31 -31
- package/build/components/AddressSearchDropdown.js +101 -101
- package/build/components/AddressSearchDropdown.js.map +1 -1
- package/build/components/Button.d.ts +51 -51
- package/build/components/Button.js +252 -267
- package/build/components/Button.js.map +1 -1
- package/build/components/CodeInput.d.ts +22 -22
- package/build/components/CodeInput.js +90 -91
- package/build/components/CodeInput.js.map +1 -1
- package/build/components/Counter.d.ts +9 -9
- package/build/components/Counter.js +17 -18
- package/build/components/Counter.js.map +1 -1
- package/build/components/Dropdown.d.ts +40 -40
- package/build/components/Dropdown.js +41 -44
- package/build/components/Dropdown.js.map +1 -1
- package/build/components/Flex.d.ts +14 -14
- package/build/components/Flex.js +6 -6
- package/build/components/Flex.js.map +1 -1
- package/build/components/FormattedInput.d.ts +34 -34
- package/build/components/FormattedInput.js +66 -70
- package/build/components/FormattedInput.js.map +1 -1
- package/build/components/FormattedfullInput.d.ts +32 -32
- package/build/components/FormattedfullInput.js +66 -70
- package/build/components/FormattedfullInput.js.map +1 -1
- package/build/components/Icon.d.ts +219 -219
- package/build/components/Icon.js +28 -29
- package/build/components/Icon.js.map +1 -1
- package/build/components/Icons.d.ts +190 -190
- package/build/components/Icons.js +189 -189
- package/build/components/Icons.js.map +1 -1
- package/build/components/Input.d.ts +77 -77
- package/build/components/Input.js +165 -176
- package/build/components/Input.js.map +1 -1
- package/build/components/InputOld.d.ts +23 -23
- package/build/components/Label.d.ts +16 -16
- package/build/components/Label.js +14 -14
- package/build/components/Label.js.map +1 -1
- package/build/components/Loader.d.ts +14 -14
- package/build/components/Loader.js +29 -29
- package/build/components/Loader.js.map +1 -1
- package/build/components/MaxLength.d.ts +8 -8
- package/build/components/MaxLength.js +12 -12
- package/build/components/MaxLength.js.map +1 -1
- package/build/components/Motion.d.ts +30 -30
- package/build/components/Motion.js +33 -33
- package/build/components/Motion.js.map +1 -1
- package/build/components/PhoneNumberInput.d.ts +36 -36
- package/build/components/PhoneNumberInput.js +37 -40
- package/build/components/PhoneNumberInput.js.map +1 -1
- package/build/components/Product.d.ts +35 -35
- package/build/components/Product.js +111 -110
- package/build/components/Product.js.map +1 -1
- package/build/components/SearchDropdown.d.ts +41 -41
- package/build/components/SearchDropdown.js +60 -59
- package/build/components/SearchDropdown.js.map +1 -1
- package/build/components/SvgIcons.d.ts +15 -15
- package/build/components/SvgIcons.js +35 -35
- package/build/components/SvgIcons.js.map +1 -1
- package/build/components/SvgRendrer.d.ts +5 -5
- package/build/components/SvgRendrer.js +14 -14
- package/build/components/SvgRendrer.js.map +1 -1
- package/build/components/TextButton.d.ts +21 -21
- package/build/components/TextButton.js +39 -40
- package/build/components/TextButton.js.map +1 -1
- package/build/components/Tip.d.ts +7 -7
- package/build/components/Tip.js +10 -10
- package/build/components/Tip.js.map +1 -1
- package/build/components/UserImage.d.ts +13 -13
- package/build/components/UserImage.js +28 -29
- package/build/components/UserImage.js.map +1 -1
- package/build/components/UserInfo.d.ts +24 -24
- package/build/components/UserInfo.js +31 -31
- package/build/components/UserInfo.js.map +1 -1
- package/build/components/ValidationError.d.ts +7 -7
- package/build/components/ValidationError.js +17 -17
- package/build/components/ValidationError.js.map +1 -1
- package/build/index.d.ts +29 -29
- package/build/node_modules/tslib/tslib.es6.js +97 -0
- package/build/node_modules/tslib/tslib.es6.js.map +1 -0
- package/build/utils/ErrorUtil.d.ts +1 -1
- package/build/utils/ErrorUtil.js +15 -15
- package/build/utils/ErrorUtil.js.map +1 -1
- package/build/utils/MediaQuery.d.ts +18 -18
- package/build/utils/MediaQuery.js +59 -59
- package/build/utils/MediaQuery.js.map +1 -1
- package/build/utils/Validation.d.ts +6 -6
- package/build/utils/Validation.js +44 -44
- package/build/utils/Validation.js.map +1 -1
- package/build/utils/makeEventHandler.d.ts +1 -1
- package/build/utils/makeEventHandler.js +8 -8
- package/build/utils/makeEventHandler.js.map +1 -1
- package/package.json +6 -6
- package/build/_virtual/_tslib.js.map +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
length: number;
|
|
4
|
-
onChange: Function;
|
|
5
|
-
onComplete: Function;
|
|
6
|
-
resetCode?: boolean;
|
|
7
|
-
color?: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
height?: string;
|
|
10
|
-
width?: string;
|
|
11
|
-
border?: string;
|
|
12
|
-
bgColor?: string;
|
|
13
|
-
borderRadius?: string;
|
|
14
|
-
borderHover?: string;
|
|
15
|
-
fontSize?: string;
|
|
16
|
-
marginRight?: string;
|
|
17
|
-
fontWeight?: string;
|
|
18
|
-
fontFamily?: string;
|
|
19
|
-
paddingLeft?: string;
|
|
20
|
-
};
|
|
21
|
-
declare const CodeInput: React.FC<CodeInputProps>;
|
|
22
|
-
export default CodeInput;
|
|
1
|
+
import React from "react";
|
|
2
|
+
type CodeInputProps = {
|
|
3
|
+
length: number;
|
|
4
|
+
onChange: Function;
|
|
5
|
+
onComplete: Function;
|
|
6
|
+
resetCode?: boolean;
|
|
7
|
+
color?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
width?: string;
|
|
11
|
+
border?: string;
|
|
12
|
+
bgColor?: string;
|
|
13
|
+
borderRadius?: string;
|
|
14
|
+
borderHover?: string;
|
|
15
|
+
fontSize?: string;
|
|
16
|
+
marginRight?: string;
|
|
17
|
+
fontWeight?: string;
|
|
18
|
+
fontFamily?: string;
|
|
19
|
+
paddingLeft?: string;
|
|
20
|
+
};
|
|
21
|
+
declare const CodeInput: React.FC<CodeInputProps>;
|
|
22
|
+
export default CodeInput;
|
|
@@ -1,98 +1,97 @@
|
|
|
1
|
-
import { __makeTemplateObject,
|
|
1
|
+
import { __makeTemplateObject, __spreadArray } from '../node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React, { useState, useEffect } from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { Colors } from '../Colors.js';
|
|
5
5
|
|
|
6
|
-
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin: ", ";\n padding-left: ", ";\n"], ["\n margin: ", ";\n padding-left: ", ";\n"])), function (props) { return props.margin; }, function (props) { return props.paddingLeft; });
|
|
7
|
-
var Input = styled.input(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border: ", ";\n height: ", ";\n width: ", ";\n background-color: ", ";\n transition: all 0.1s;\n margin-right:", "; \n outline: 0px;\n font-size: ", ";\n text-align: center;\n border-radius: ", ";\n -moz-appearance: textfield;\n padding: 0px;\n box-shadow: none;\n font-weight:", "; \n font-family:", ";\n color: ", ";\n -moz-appearance: textfield;\n\n &:focus {\n border: ", ";\n }\n &::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"], ["\n border: ",
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
currentValue
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
currentValue
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
event.keyCode ===
|
|
86
|
-
event.keyCode ===
|
|
87
|
-
event.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
};
|
|
6
|
+
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin: ", ";\n padding-left: ", ";\n"], ["\n margin: ", ";\n padding-left: ", ";\n"])), function (props) { return props.margin; }, function (props) { return props.paddingLeft; });
|
|
7
|
+
var Input = styled.input(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border: ", ";\n height: ", ";\n width: ", ";\n background-color: ", ";\n transition: all 0.1s;\n margin-right:", "; \n outline: 0px;\n font-size: ", ";\n text-align: center;\n border-radius: ", ";\n -moz-appearance: textfield;\n padding: 0px;\n box-shadow: none;\n font-weight:", "; \n font-family:", ";\n color: ", ";\n -moz-appearance: textfield;\n\n &:focus {\n border: ", ";\n }\n &::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"], ["\n border: ", ";\n height: ", ";\n width: ", ";\n background-color: ", ";\n transition: all 0.1s;\n margin-right:", "; \n outline: 0px;\n font-size: ", ";\n text-align: center;\n border-radius: ", ";\n -moz-appearance: textfield;\n padding: 0px;\n box-shadow: none;\n font-weight:", "; \n font-family:", ";\n color: ", ";\n -moz-appearance: textfield;\n\n &:focus {\n border: ", ";\n }\n &::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), function (props) {
|
|
8
|
+
return props.height ? "".concat(props.border) : "2px solid ".concat(Colors.Grey5);
|
|
9
|
+
}, function (props) { return props.height || "70px"; }, function (props) { return props.width || "55px"; }, function (props) { return props.bgColor || "white"; }, function (props) { return props.marginRight || "10px"; }, function (props) { return props.fontSize || "24px"; }, function (props) { return props.borderRadius || "10px"; }, function (props) { return props.fontWeight; }, function (props) { return props.fontFamily; }, function (props) { return props.color; }, function (props) { return props.borderHover || "2px solid ".concat(Colors.Grey1); });
|
|
10
|
+
var CodeInput = function (_a) {
|
|
11
|
+
var onChange = _a.onChange, onComplete = _a.onComplete, _b = _a.length, length = _b === void 0 ? 4 : _b, _c = _a.resetCode, resetCode = _c === void 0 ? false : _c, color = _a.color, placeholder = _a.placeholder, height = _a.height, width = _a.width, border = _a.border, bgColor = _a.bgColor, borderRadius = _a.borderRadius, borderHover = _a.borderHover, fontSize = _a.fontSize, marginRight = _a.marginRight, fontWeight = _a.fontWeight, fontFamily = _a.fontFamily, paddingLeft = _a.paddingLeft;
|
|
12
|
+
var _d = useState(new Array(length).fill("")), value = _d[0], setValue = _d[1];
|
|
13
|
+
useEffect(function () {
|
|
14
|
+
if (resetCode) {
|
|
15
|
+
setValue(new Array(length).fill(""));
|
|
16
|
+
}
|
|
17
|
+
}, [resetCode]);
|
|
18
|
+
var inputs = [];
|
|
19
|
+
var change = function (valueAt, index) {
|
|
20
|
+
var currentValue = __spreadArray([], value, true);
|
|
21
|
+
if (valueAt.length > 1) {
|
|
22
|
+
valueAt = valueAt.substring(1);
|
|
23
|
+
}
|
|
24
|
+
// Single Character Press
|
|
25
|
+
if (valueAt.length === 1) {
|
|
26
|
+
currentValue[index] = valueAt;
|
|
27
|
+
setValue(currentValue);
|
|
28
|
+
if (inputs[index + 1]) {
|
|
29
|
+
inputs[index + 1].focus();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
else if (valueAt.length === length) {
|
|
33
|
+
//code pasted
|
|
34
|
+
setValue(valueAt.split(""));
|
|
35
|
+
onComplete(valueAt);
|
|
36
|
+
if (inputs[index + 1]) {
|
|
37
|
+
inputs[index + 1].focus();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
else if (valueAt.length > 0 && valueAt.length < length) {
|
|
41
|
+
// More than 1 character, less than the total number required
|
|
42
|
+
change(valueAt.charAt(valueAt.length - 1), index);
|
|
43
|
+
}
|
|
44
|
+
if (index + 1 === length) {
|
|
45
|
+
onComplete(currentValue.join(""));
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
useEffect(function () {
|
|
49
|
+
onChange && onChange(value);
|
|
50
|
+
}, [value]);
|
|
51
|
+
var renderInput = function (index) {
|
|
52
|
+
var curValue = value[index];
|
|
53
|
+
return (React.createElement(Input, { key: index, autoFocus: index === 0, value: curValue, type: "number", pattern: "\\d*", ref: function (ref) { return (inputs[index] = ref); }, onChange: function (event) {
|
|
54
|
+
onChange();
|
|
55
|
+
change(event.target.value, index);
|
|
56
|
+
}, color: color, placeholder: placeholder, height: height, width: width, border: border, bgColor: bgColor, borderRadius: borderRadius, borderHover: borderHover, fontSize: fontSize, marginRight: marginRight, fontWeight: fontWeight, fontFamily: fontFamily, onKeyDown: function (event) {
|
|
57
|
+
if (event.keyCode === 8 || event.keyCode === 46) {
|
|
58
|
+
// handle backspace or delete
|
|
59
|
+
event.preventDefault();
|
|
60
|
+
var currentValue = __spreadArray([], value, true);
|
|
61
|
+
currentValue[index] = "";
|
|
62
|
+
setValue(currentValue);
|
|
63
|
+
if (index !== 0) {
|
|
64
|
+
inputs[index - 1].focus();
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
else if (event.keyCode === 37) {
|
|
68
|
+
// navigate left with left arrow key
|
|
69
|
+
event.preventDefault();
|
|
70
|
+
if (index !== 0) {
|
|
71
|
+
inputs[index - 1].focus();
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
else if (event.keyCode === 39) {
|
|
75
|
+
// navigate right with right arrow key
|
|
76
|
+
event.preventDefault();
|
|
77
|
+
if (index !== value.length - 1) {
|
|
78
|
+
inputs[index + 1].focus();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
else if (
|
|
82
|
+
// prohibit weird behavior when up, down, +, or - are pressed
|
|
83
|
+
event.keyCode === 38 ||
|
|
84
|
+
event.keyCode === 40 ||
|
|
85
|
+
event.keyCode === 107 ||
|
|
86
|
+
event.keyCode === 109) {
|
|
87
|
+
event.preventDefault();
|
|
88
|
+
}
|
|
89
|
+
} }));
|
|
90
|
+
};
|
|
91
|
+
return (React.createElement(Container, { paddingLeft: paddingLeft }, value.map(function (_, index) {
|
|
92
|
+
return renderInput(index);
|
|
93
|
+
})));
|
|
94
|
+
};
|
|
96
95
|
var templateObject_1, templateObject_2;
|
|
97
96
|
|
|
98
97
|
export { CodeInput as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeInput.js","sources":["../../src/components/CodeInput.tsx"],"sourcesContent":["import React, { useState, useEffect } from \"react\";\nimport styled from \"styled-components\";\nimport { Colors } from \"../Colors\";\n\ntype ContainerProps = {\n margin?: string;\n paddingLeft?: string;\n};\nconst Container = styled.div<ContainerProps>`\n margin: ${(props) => props.margin};\n padding-left: ${(props) => props.paddingLeft};\n`;\ntype StyledInputProps = {\n color?: string;\n border?: string;\n width?: string;\n height?: string;\n bgColor?: string;\n borderRadius?: string;\n borderHover?: string;\n fontSize?: string;\n marginRight?: string;\n fontWeight?: string;\n fontFamily?: string;\n \n};\nconst Input = styled.input<StyledInputProps>`\n border: ${(props) =>\n props.height ? `${props.border}` : `2px solid ${Colors.Grey5}`};\n height: ${(props) => props.height || \"70px\"};\n width: ${(props) => props.width || \"55px\"};\n background-color: ${(props) => props.bgColor || \"white\"};\n transition: all 0.1s;\n margin-right:${(props) => props.marginRight || \"10px\"}; \n outline: 0px;\n font-size: ${(props) => props.fontSize || \"24px\"};\n text-align: center;\n border-radius: ${(props) => props.borderRadius || \"10px\"};\n -moz-appearance: textfield;\n padding: 0px;\n box-shadow: none;\n font-weight:${(props) => props.fontWeight}; \n font-family:${(props) => props.fontFamily};\n color: ${(props) => props.color};\n -moz-appearance: textfield;\n\n &:focus {\n border: ${(props) => props.borderHover || `2px solid ${Colors.Grey1}`};\n }\n &::-webkit-inner-spin-button,\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n`;\n\ntype CodeInputProps = {\n length: number;\n onChange: Function;\n onComplete: Function;\n resetCode?: boolean;\n color?: string;\n placeholder?: string;\n height?: string;\n width?: string;\n border?: string;\n bgColor?: string;\n borderRadius?: string;\n borderHover?: string;\n fontSize?: string;\n marginRight?: string;\n fontWeight?: string;\n fontFamily?: string;\n paddingLeft?: string;\n};\nconst CodeInput: React.FC<CodeInputProps> = ({\n onChange,\n onComplete,\n length = 4,\n resetCode = false,\n color,\n placeholder,\n height,\n width,\n border,\n bgColor,\n borderRadius,\n borderHover,\n fontSize,\n marginRight,\n fontWeight,\n fontFamily,\n paddingLeft,\n}) => {\n const [value, setValue] = useState<Array<string>>(new Array(length).fill(\"\"));\n useEffect(() => {\n if (resetCode) {\n setValue(new Array(length).fill(\"\"));\n }\n }, [resetCode]);\n\n const inputs: any[] = [];\n\n const change = (valueAt: any, index: any) => {\n const currentValue = [...value];\n if (valueAt.length > 1) {\n valueAt = valueAt.substring(1);\n }\n // Single Character Press\n if (valueAt.length === 1) {\n currentValue[index] = valueAt;\n setValue(currentValue);\n if (inputs[index + 1]) {\n inputs[index + 1].focus();\n }\n } else if (valueAt.length === length) {\n //code pasted\n setValue(valueAt.split(\"\"));\n onComplete(valueAt);\n if (inputs[index + 1]) {\n inputs[index + 1].focus();\n }\n } else if (valueAt.length > 0 && valueAt.length < length) {\n // More than 1 character, less than the total number required\n\n change(valueAt.charAt(valueAt.length - 1), index);\n }\n\n if (index + 1 === length) {\n onComplete(currentValue.join(\"\"));\n }\n };\n\n useEffect(() => {\n onChange && onChange(value);\n }, [value]);\n\n const renderInput = (index: any) => {\n const curValue = value[index];\n return (\n <Input\n key={index}\n autoFocus={index === 0}\n value={curValue}\n type=\"number\"\n pattern=\"\\d*\"\n ref={(ref) => (inputs[index] = ref)}\n onChange={(event) => {\n onChange();\n change(event.target.value, index);\n }}\n color={color}\n placeholder={placeholder}\n height={height}\n width={width}\n border={border}\n bgColor={bgColor}\n borderRadius={borderRadius}\n borderHover={borderHover}\n fontSize={fontSize}\n marginRight={marginRight}\n fontWeight={fontWeight}\n fontFamily={fontFamily}\n onKeyDown={(event) => {\n if (event.keyCode === 8 || event.keyCode === 46) {\n // handle backspace or delete\n event.preventDefault();\n const currentValue = [...value];\n currentValue[index] = \"\";\n setValue(currentValue);\n if (index !== 0) {\n inputs[index - 1].focus();\n }\n } else if (event.keyCode === 37) {\n // navigate left with left arrow key\n event.preventDefault();\n if (index !== 0) {\n inputs[index - 1].focus();\n }\n } else if (event.keyCode === 39) {\n // navigate right with right arrow key\n event.preventDefault();\n if (index !== value.length - 1) {\n inputs[index + 1].focus();\n }\n } else if (\n // prohibit weird behavior when up, down, +, or - are pressed\n event.keyCode === 38 ||\n event.keyCode === 40 ||\n event.keyCode === 107 ||\n event.keyCode === 109\n ) {\n event.preventDefault();\n }\n }}\n />\n );\n };\n\n return (\n <Container paddingLeft={paddingLeft}>\n {value.map((_, index) => {\n return renderInput(index);\n })}\n </Container>\n );\n};\n\nexport default CodeInput;\n"],"names":[],"mappings":";;;;;AAQA,IAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAgB,gBAAA,KAAA,gBAAA,GAAA,oBAAA,CAAA,CAAA,cAAA,EAAA,qBAAA,EAAA,KAAA,CAAA,EAAA,CAAA,cAChC,EAAuB,qBACjB,EAA4B,KAC7C,CAFW,CAAA,CAAA,EAAA,UAAC,KAAK,EAAK,EAAA,OAAA,KAAK,CAAC,MAAM,C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AC,OAAO,KAAK,GAAG;AACrB,oBAAA,KAAK,CAAC,OAAO,KAAK,GAAG,EACrB;oBACA,KAAK,CAAC,cAAc,EAAE,CAAC;AACxB,iBAAA;aACF,EAAA,CACD,EACF;AACJ,KAAC,CAAC;AAEF,IAAA,QACE,KAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAC,WAAW,EAAE,WAAW,EAChC,EAAA,KAAK,CAAC,GAAG,CAAC,UAAC,CAAC,EAAE,KAAK,EAAA;AAClB,QAAA,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;KAC3B,CAAC,CACQ,EACZ;AACJ,EAAE;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export
|
|
3
|
-
value: number;
|
|
4
|
-
maxValue?: number;
|
|
5
|
-
minValue: number;
|
|
6
|
-
onIncrement: Function;
|
|
7
|
-
onDecrement: Function;
|
|
8
|
-
};
|
|
9
|
-
export default function Counter({ value, maxValue, minValue, onIncrement, onDecrement, }: CounterProps): React.JSX.Element;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type CounterProps = {
|
|
3
|
+
value: number;
|
|
4
|
+
maxValue?: number;
|
|
5
|
+
minValue: number;
|
|
6
|
+
onIncrement: Function;
|
|
7
|
+
onDecrement: Function;
|
|
8
|
+
};
|
|
9
|
+
export default function Counter({ value, maxValue, minValue, onIncrement, onDecrement, }: CounterProps): React.JSX.Element;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
import { __makeTemplateObject } from '../
|
|
1
|
+
import { __makeTemplateObject } from '../node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React, { Fragment } from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import * as Polished from 'polished';
|
|
5
5
|
import { Colors } from '../Colors.js';
|
|
6
6
|
import Button, { ButtonTypes } from './Button.js';
|
|
7
7
|
|
|
8
|
-
// Fixed issue SELLOUT-24
|
|
9
|
-
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: auto;\n min-height: 42px;\n gap:13px;\n /* background-color: red; */\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: auto;\n min-height: 42px;\n gap:13px;\n /* background-color: red; */\n"])));
|
|
10
|
-
var IconContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: ", ";\n flex: 1;\n /* background-color: blue; */\n height: 100%;\n\n &:hover {\n cursor: ", ";\n }\n\n .svg-inline--fa {\n color: ", " !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: ", ";\n flex: 1;\n /* background-color: blue; */\n height: 100%;\n\n &:hover {\n cursor: ", ";\n }\n\n .svg-inline--fa {\n color: ",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
8
|
+
// Fixed issue SELLOUT-24
|
|
9
|
+
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: auto;\n min-height: 42px;\n gap:13px;\n /* background-color: red; */\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: auto;\n min-height: 42px;\n gap:13px;\n /* background-color: red; */\n"])));
|
|
10
|
+
var IconContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: ", ";\n flex: 1;\n /* background-color: blue; */\n height: 100%;\n\n &:hover {\n cursor: ", ";\n }\n\n .svg-inline--fa {\n color: ", " !important;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: ", ";\n flex: 1;\n /* background-color: blue; */\n height: 100%;\n\n &:hover {\n cursor: ", ";\n }\n\n .svg-inline--fa {\n color: ", " !important;\n }\n"])), function (props) { return props.justify; }, function (props) { return (props.active ? "pointer" : null); }, function (props) {
|
|
11
|
+
return props.active ? Polished.lighten(0.025, Colors.Orange) : null;
|
|
12
|
+
});
|
|
13
|
+
function Counter(_a) {
|
|
14
|
+
var value = _a.value, maxValue = _a.maxValue, _b = _a.minValue, minValue = _b === void 0 ? 0 : _b, onIncrement = _a.onIncrement, onDecrement = _a.onDecrement;
|
|
15
|
+
var canDecrement = value > minValue;
|
|
16
|
+
var canIncrement = Boolean(!Boolean(maxValue) || (maxValue && value < maxValue));
|
|
17
|
+
return (React.createElement(Container, null,
|
|
18
|
+
React.createElement(Fragment, null,
|
|
19
|
+
React.createElement(IconContainer, { active: canDecrement, onClick: function () { return (canDecrement ? onDecrement() : null); }, justify: "flex-start" },
|
|
20
|
+
React.createElement(Button, { type: ButtonTypes.Normal, text: "-", bgColor: Colors.InteractiveBGSecondary }))),
|
|
21
|
+
React.createElement(IconContainer, { active: canIncrement, onClick: function () { return (canIncrement ? onIncrement() : null); }, justify: "flex-end" },
|
|
22
|
+
React.createElement(Button, { type: ButtonTypes.Normal, text: "+", bgColor: Colors.InteractiveBGPrimary }))));
|
|
23
|
+
}
|
|
25
24
|
var templateObject_1, templateObject_2;
|
|
26
25
|
|
|
27
26
|
export { Counter as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Counter.js","sources":["../../src/components/Counter.tsx"],"sourcesContent":[
|
|
1
|
+
{"version":3,"file":"Counter.js","sources":["../../src/components/Counter.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAMA;AACA,IAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA,gBAAA,KAAA,gBAAA,GAAA,oBAAA,CAAA,CAAA,0LAAA,CAAA,EAAA,CAAA,0LAS3B,IAAA,CAAC;AAOF,IAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAoB,gBAAA,KAAA,gBAAA,GAAA,oB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AAI,EAAE,WAAW,CAAC,MAAM,EACxB,IAAI,EAAE,GAAG,EACT,OAAO,EAAE,MAAM,CAAC,sBAAsB,EAAA,CACrC,CACY,CACP;QACb,KAAC,CAAA,aAAA,CAAA,aAAa,EACZ,EAAA,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,YAAA,EAAM,QAAC,YAAY,GAAG,WAAW,EAAE,GAAG,IAAI,EAAC,EAAA,EACpD,OAAO,EAAC,UAAU,EAAA;YAElB,KAAC,CAAA,aAAA,CAAA,MAAM,IACF,IAAI,EAAE,WAAW,CAAC,MAAM,EACxB,IAAI,EAAE,GAAG,EACT,OAAO,EAAE,MAAM,CAAC,oBAAoB,EACnC,CAAA,CACQ,CACN,EACZ;AACJ,CAAC;;;;;"}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface IDropdownItem {
|
|
3
|
-
text: string;
|
|
4
|
-
value: any;
|
|
5
|
-
icon?: React.ReactNode;
|
|
6
|
-
color?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare enum DropdownTypes {
|
|
9
|
-
Regular = "Regular",
|
|
10
|
-
Small = "Small"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
type?: DropdownTypes;
|
|
14
|
-
value?: string;
|
|
15
|
-
onChange: Function;
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
width?: string;
|
|
18
|
-
items: IDropdownItem[];
|
|
19
|
-
label?: any;
|
|
20
|
-
tip?: string;
|
|
21
|
-
icon?: React.ReactNode;
|
|
22
|
-
height?: string;
|
|
23
|
-
labelColor?: string;
|
|
24
|
-
bgColor?: string;
|
|
25
|
-
itemColor?: string;
|
|
26
|
-
optionsColor?: string;
|
|
27
|
-
fontSize?: string;
|
|
28
|
-
fontFamily?: string;
|
|
29
|
-
fontWeight?: string;
|
|
30
|
-
iconColor?: string;
|
|
31
|
-
hoverColor?: string;
|
|
32
|
-
letterSpacing?: string;
|
|
33
|
-
borderColor?: string;
|
|
34
|
-
containerMinHeight?: string;
|
|
35
|
-
optionsHeight?: string;
|
|
36
|
-
itemContainerHeight?: string;
|
|
37
|
-
valueWhiteSpace?: string;
|
|
38
|
-
};
|
|
39
|
-
declare const Dropdown: React.FC<DropdownProps>;
|
|
40
|
-
export default Dropdown;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface IDropdownItem {
|
|
3
|
+
text: string;
|
|
4
|
+
value: any;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
color?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare enum DropdownTypes {
|
|
9
|
+
Regular = "Regular",
|
|
10
|
+
Small = "Small"
|
|
11
|
+
}
|
|
12
|
+
type DropdownProps = {
|
|
13
|
+
type?: DropdownTypes;
|
|
14
|
+
value?: string;
|
|
15
|
+
onChange: Function;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
width?: string;
|
|
18
|
+
items: IDropdownItem[];
|
|
19
|
+
label?: any;
|
|
20
|
+
tip?: string;
|
|
21
|
+
icon?: React.ReactNode;
|
|
22
|
+
height?: string;
|
|
23
|
+
labelColor?: string;
|
|
24
|
+
bgColor?: string;
|
|
25
|
+
itemColor?: string;
|
|
26
|
+
optionsColor?: string;
|
|
27
|
+
fontSize?: string;
|
|
28
|
+
fontFamily?: string;
|
|
29
|
+
fontWeight?: string;
|
|
30
|
+
iconColor?: string;
|
|
31
|
+
hoverColor?: string;
|
|
32
|
+
letterSpacing?: string;
|
|
33
|
+
borderColor?: string;
|
|
34
|
+
containerMinHeight?: string;
|
|
35
|
+
optionsHeight?: string;
|
|
36
|
+
itemContainerHeight?: string;
|
|
37
|
+
valueWhiteSpace?: string;
|
|
38
|
+
};
|
|
39
|
+
declare const Dropdown: React.FC<DropdownProps>;
|
|
40
|
+
export default Dropdown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __makeTemplateObject } from '../
|
|
1
|
+
import { __makeTemplateObject } from '../node_modules/tslib/tslib.es6.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import styled from 'styled-components';
|
|
4
4
|
import { Colors } from '../Colors.js';
|
|
@@ -7,49 +7,46 @@ import Label from './Label.js';
|
|
|
7
7
|
import Flex from './Flex.js';
|
|
8
8
|
import * as Polished from 'polished';
|
|
9
9
|
|
|
10
|
-
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n height: ", ";\n width: ", ";\n"], ["\n position: relative;\n height: ",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}, function (props) { return props.width; });
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
React.createElement(
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
item.text));
|
|
51
|
-
})))));
|
|
52
|
-
};
|
|
10
|
+
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n height: ", ";\n width: ", ";\n"], ["\n position: relative;\n height: ", ";\n width: ", ";\n"])), function (props) {
|
|
11
|
+
return props.open ? (props.height ? props.height : "65px") : "65px";
|
|
12
|
+
}, function (props) { return props.width; });
|
|
13
|
+
var FieldContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: absolute;\n max-height: ", "; \n min-height: ", "; \n width: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n border-radius: 8px;\n transition: all 0.2s;\n z-index: ", ";\n box-shadow: ", ";\n overflow: hidden;\n outline: none;\n\n &:hover {\n cursor: pointer;\n border: 1px solid ", ";\n }\n\n &:focus {\n border: 1px solid ", ";\n }\n"], ["\n position: absolute;\n max-height: ", "; \n min-height: ", "; \n width: ", ";\n background-color: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n border-radius: 8px;\n transition: all 0.2s;\n z-index: ", ";\n box-shadow: ", ";\n overflow: hidden;\n outline: none;\n\n &:hover {\n cursor: pointer;\n border: 1px solid ", ";\n }\n\n &:focus {\n border: 1px solid ", ";\n }\n"])), function (props) { return (props.open ? props.height : "38px"); }, function (props) { return (props.containerMinHeight); }, function (props) { return props.width; }, function (props) { return props.bgColor || Colors.White; }, function (props) { return props.borderColor || Colors.Grey5; }, function (props) { return (props.open ? 100 : 0); }, function (props) {
|
|
14
|
+
return props.open ? "0px 4px 16px rgba(0, 0, 0, 0.05)" : "";
|
|
15
|
+
}, Polished.darken(0.05, Colors.Grey5), Colors.Grey4);
|
|
16
|
+
var TopRow = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n height: ", ";\n padding: 0 15px;\n"], ["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n height: ", ";\n padding: 0 15px;\n"])), function (props) { return (props.optionsHeight ? props.optionsHeight : "38px"); });
|
|
17
|
+
var Value = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: 1.4rem;\n font-weight: 500;\n color: ", ";\n font-family: \"neue-haas-grotesk-display\", sans-serif;\n margin-right: 10px;\n white-space:", ";\n"], ["\n font-size: 1.4rem;\n font-weight: 500;\n color: ", ";\n font-family: \"neue-haas-grotesk-display\", sans-serif;\n margin-right: 10px;\n white-space:", ";\n"])), function (props) { return props.optionsColor || Colors.Grey1; }, function (props) { return (props.valueWhiteSpace ? props.valueWhiteSpace : "nowrap"); });
|
|
18
|
+
var ItemsContainer = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n position: relative;\n max-height: ", ";\n overflow: ", ";\n"], ["\n position: relative;\n max-height: ", ";\n overflow: ", ";\n"])), function (props) { return (props.open ? props.height : "0px"); }, function (props) { return (props.open ? "auto" : "hidden"); });
|
|
19
|
+
var Item = styled.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n position: relative;\n display: flex;\n align-items: center;\n height: 30px;\n padding: 0 15px;\n background-color: ", ";\n font-size: 1.2rem;\n color: ", ";\n transition: all 0.2s;\n\n &:hover {\n cursor: pointer;\n background-color: ", ";\n }\n"], ["\n position: relative;\n display: flex;\n align-items: center;\n height: 30px;\n padding: 0 15px;\n background-color: ", ";\n font-size: 1.2rem;\n color: ", ";\n transition: all 0.2s;\n\n &:hover {\n cursor: pointer;\n background-color: ", ";\n }\n"])), function (props) {
|
|
20
|
+
return props.bgColor
|
|
21
|
+
? Colors.SurfaceTertiary
|
|
22
|
+
: props.selected
|
|
23
|
+
? props.itemColor || Colors.Grey7
|
|
24
|
+
: Colors.White;
|
|
25
|
+
}, function (props) { return props.optionsColor || Colors.Grey1; }, function (props) { return props.hoverColor || Colors.Grey7; });
|
|
26
|
+
var DropdownTypes;
|
|
27
|
+
(function (DropdownTypes) {
|
|
28
|
+
DropdownTypes["Regular"] = "Regular";
|
|
29
|
+
DropdownTypes["Small"] = "Small";
|
|
30
|
+
})(DropdownTypes || (DropdownTypes = {}));
|
|
31
|
+
var Dropdown = function (_a) {
|
|
32
|
+
var
|
|
33
|
+
// type = DropdownTypes.Regular,
|
|
34
|
+
value = _a.value, onChange = _a.onChange, _b = _a.width, width = _b === void 0 ? "auto" : _b, items = _a.items, label = _a.label, tip = _a.tip, icon = _a.icon, _c = _a.height, height = _c === void 0 ? "65px" : _c, labelColor = _a.labelColor, bgColor = _a.bgColor, itemColor = _a.itemColor, optionsColor = _a.optionsColor, fontSize = _a.fontSize, fontFamily = _a.fontFamily, fontWeight = _a.fontWeight, iconColor = _a.iconColor, hoverColor = _a.hoverColor, letterSpacing = _a.letterSpacing, borderColor = _a.borderColor, containerMinHeight = _a.containerMinHeight, optionsHeight = _a.optionsHeight, itemContainerHeight = _a.itemContainerHeight, valueWhiteSpace = _a.valueWhiteSpace;
|
|
35
|
+
var _d = React.useState(false), open = _d[0], setOpen = _d[1];
|
|
36
|
+
return (React.createElement(Container, { width: width, open: true, height: height },
|
|
37
|
+
label && (React.createElement(Label, { text: label, tip: tip, labelColor: labelColor, fontFamily: fontFamily, fontSize: fontSize, fontWeight: fontWeight, letterSpacing: letterSpacing })),
|
|
38
|
+
React.createElement(FieldContainer, { itemColor: itemColor, bgColor: bgColor, tabIndex: 1, open: open, height: (items === null || items === void 0 ? void 0 : items.length) > 4 ? "130px" : "".concat((items === null || items === void 0 ? void 0 : items.length) * 30 + (itemContainerHeight ? parseInt(itemContainerHeight) : 43), "px"), width: width, onClick: function () { return setOpen(!open); }, onBlur: function () { return setOpen(false); }, borderColor: borderColor, containerMinHeight: containerMinHeight },
|
|
39
|
+
React.createElement(TopRow, { optionsHeight: optionsHeight },
|
|
40
|
+
React.createElement(Flex, { align: "center" },
|
|
41
|
+
icon && icon,
|
|
42
|
+
React.createElement(Value, { optionsColor: optionsColor, valueWhiteSpace: valueWhiteSpace }, value)),
|
|
43
|
+
React.createElement(Icon, { icon: Icons.Sort, size: 12, color: iconColor })),
|
|
44
|
+
React.createElement(ItemsContainer, { open: open, height: (items === null || items === void 0 ? void 0 : items.length) > 3 ? "90px" : "".concat((items === null || items === void 0 ? void 0 : items.length) * 30, "px"), className: "dropdown-list-menu dropdown-list-height" }, items === null || items === void 0 ? void 0 : items.map(function (item, index) {
|
|
45
|
+
return (React.createElement(Item, { bgColor: bgColor, optionsColor: optionsColor, itemColor: item.color, hoverColor: hoverColor, key: index, selected: false, onClick: function () { return onChange(item.value); } },
|
|
46
|
+
item.icon && item.icon,
|
|
47
|
+
item.text));
|
|
48
|
+
})))));
|
|
49
|
+
};
|
|
53
50
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
54
51
|
|
|
55
52
|
export { DropdownTypes, Dropdown as default };
|