@beequip/hexagon 0.21.1 → 0.22.1

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/README.md CHANGED
@@ -52,7 +52,7 @@ We use [Chromatic](https://www.chromatic.com/) to publish and review our Storybo
52
52
 
53
53
  - Make sure everything is merged in develop (check for linting errors)
54
54
  - Merge develop into master
55
- - Run `yarn release` (you have to be a member of the organization and logged in with `npm login` or `yarn login`)
55
+ - Run `npm run release` (you have to be a member of the organization and logged in with `npm login`)
56
56
 
57
57
  ## Contributing
58
58
 
@@ -5,5 +5,6 @@ export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
5
5
  helpText?: string;
6
6
  postfix?: string;
7
7
  prefix?: string;
8
+ showClear?: boolean;
8
9
  }
9
10
  export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
@@ -3,19 +3,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Input = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var React = require("react");
6
+ var Cross_1 = require("../../assets/icons/Cross");
6
7
  var styles_1 = require("./styles");
7
8
  exports.Input = React.forwardRef(function (_a, ref) {
8
- var hook = _a.hook, helpText = _a.helpText, postfix = _a.postfix, prefix = _a.prefix, className = _a.className, onFocus = _a.onFocus, onBlur = _a.onBlur, _b = _a.autoComplete, autoComplete = _b === void 0 ? 'off' : _b, // Default value for autoComplete
9
- _c = _a.disabled, // Default value for autoComplete
10
- disabled = _c === void 0 ? false : _c, // Default value for disabled
11
- _d = _a.type, // Default value for disabled
12
- type = _d === void 0 ? 'text' : _d, // Default value for type
13
- props = tslib_1.__rest(_a, ["hook", "helpText", "postfix", "prefix", "className", "onFocus", "onBlur", "autoComplete", "disabled", "type"]);
14
- var _e = tslib_1.__read(React.useState(props.autoFocus || false), 2), isFocussed = _e[0], setIsFocussed = _e[1];
9
+ var hook = _a.hook, helpText = _a.helpText, postfix = _a.postfix, prefix = _a.prefix, className = _a.className, onFocus = _a.onFocus, onBlur = _a.onBlur, _b = _a.autoComplete, autoComplete = _b === void 0 ? 'off' : _b, _c = _a.disabled, disabled = _c === void 0 ? false : _c, _d = _a.type, type = _d === void 0 ? 'text' : _d, _e = _a.showClear, showClear = _e === void 0 ? true : _e, onChange = _a.onChange, props = tslib_1.__rest(_a, ["hook", "helpText", "postfix", "prefix", "className", "onFocus", "onBlur", "autoComplete", "disabled", "type", "showClear", "onChange"]);
10
+ var inputRef = React.useRef(null);
11
+ React.useImperativeHandle(ref, function () { return inputRef.current; });
12
+ // set to true if the input has a value
13
+ var _f = tslib_1.__read(React.useState(false), 2), hasValue = _f[0], setHasValue = _f[1];
14
+ React.useEffect(function () {
15
+ if (inputRef.current) {
16
+ setHasValue(inputRef.current.value.length > 0);
17
+ }
18
+ }, []);
19
+ var handleChange = function (e) {
20
+ setHasValue(e.target.value.length > 0);
21
+ if (onChange)
22
+ onChange(e);
23
+ };
24
+ var _g = tslib_1.__read(React.useState(props.autoFocus || false), 2), isFocussed = _g[0], setIsFocussed = _g[1];
25
+ var handleClear = React.useCallback(function () {
26
+ if (inputRef.current) {
27
+ inputRef.current.value = '';
28
+ setHasValue(false);
29
+ if (onChange) {
30
+ onChange({
31
+ target: inputRef.current,
32
+ currentTarget: inputRef.current,
33
+ nativeEvent: new Event('change'),
34
+ });
35
+ }
36
+ }
37
+ }, [onChange]);
38
+ var showClearHandle = showClear &&
39
+ hasValue &&
40
+ isFocussed &&
41
+ !disabled &&
42
+ autoComplete === 'off';
15
43
  return (React.createElement(styles_1.StyledInputWrapper, { isFocussed: isFocussed, disabled: disabled, error: props.error, className: className },
16
44
  prefix && (React.createElement(styles_1.StyledPreFix, { className: "hexagon-input-prefix" }, prefix)),
17
45
  React.createElement(styles_1.StyledInputInner, null,
18
- React.createElement(styles_1.StyledInput, tslib_1.__assign({ "data-hook": hook, prefix: prefix, postfix: postfix, ref: ref, onFocus: function (e) {
46
+ React.createElement(styles_1.StyledInput, tslib_1.__assign({ "data-hook": hook, prefix: prefix, postfix: postfix, ref: inputRef, onFocus: function (e) {
19
47
  if (onFocus)
20
48
  onFocus(e);
21
49
  setIsFocussed(true);
@@ -23,8 +51,10 @@ exports.Input = React.forwardRef(function (_a, ref) {
23
51
  if (onBlur)
24
52
  onBlur(e);
25
53
  setIsFocussed(false);
26
- }, className: "hexagon-input", autoComplete: autoComplete, disabled: disabled, type: type }, props)),
54
+ }, className: "hexagon-input", autoComplete: autoComplete, disabled: disabled, type: type, onChange: handleChange }, props)),
27
55
  helpText && React.createElement(styles_1.StyledHelpText, null, helpText)),
56
+ showClearHandle && (React.createElement(styles_1.StyledClearHandle, { className: "hexagon-input-clear", onMouseDown: function (e) { return e.preventDefault(); }, onClick: handleClear },
57
+ React.createElement(Cross_1.Cross, { width: 20 }))),
28
58
  postfix && (React.createElement(styles_1.StyledPostFix, { className: "hexagon-input-postfix" }, postfix))));
29
59
  });
30
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Input/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,mCAOiB;AAWJ,QAAA,KAAK,GAAG,KAAK,CAAC,UAAU,CACjC,UACI,EAYC,EACD,GAAG;IAZC,IAAA,IAAI,UAAA,EACJ,QAAQ,cAAA,EACR,OAAO,aAAA,EACP,MAAM,YAAA,EACN,SAAS,eAAA,EACT,OAAO,aAAA,EACP,MAAM,YAAA,EACN,oBAAoB,EAApB,YAAY,mBAAG,KAAK,KAAA,EAAE,iCAAiC;IACvD,gBAAgB,EADM,iCAAiC;IACvD,QAAQ,mBAAG,KAAK,KAAA,EAAE,6BAA6B;IAC/C,YAAa,EADK,6BAA6B;IAC/C,IAAI,mBAAG,MAAM,KAAA,EAAE,yBAAyB;IACrC,KAAK,sBAXZ,+GAYC,CADW;IAIN,IAAA,KAAA,eAA8B,KAAK,CAAC,QAAQ,CAC9C,KAAK,CAAC,SAAS,IAAI,KAAK,CAC3B,IAAA,EAFM,UAAU,QAAA,EAAE,aAAa,QAE/B,CAAA;IACD,OAAO,CACH,oBAAC,2BAAkB,IACf,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,SAAS,EAAE,SAAS;QAEnB,MAAM,IAAI,CACP,oBAAC,qBAAY,IAAC,SAAS,EAAC,sBAAsB,IACzC,MAAM,CACI,CAClB;QACD,oBAAC,yBAAgB;YACb,oBAAC,oBAAW,kCACG,IAAI,EACf,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,UAAC,CAAC;oBACP,IAAI,OAAO;wBAAE,OAAO,CAAC,CAAC,CAAC,CAAA;oBACvB,aAAa,CAAC,IAAI,CAAC,CAAA;gBACvB,CAAC,EACD,MAAM,EAAE,UAAC,CAAC;oBACN,IAAI,MAAM;wBAAE,MAAM,CAAC,CAAC,CAAC,CAAA;oBACrB,aAAa,CAAC,KAAK,CAAC,CAAA;gBACxB,CAAC,EACD,SAAS,EAAC,eAAe,EACzB,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,IACN,KAAK,EACX;YACD,QAAQ,IAAI,oBAAC,uBAAc,QAAE,QAAQ,CAAkB,CACzC;QAClB,OAAO,IAAI,CACR,oBAAC,sBAAa,IAAC,SAAS,EAAC,uBAAuB,IAC3C,OAAO,CACI,CACnB,CACgB,CACxB,CAAA;AACL,CAAC,CACJ,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Input/index.tsx"],"names":[],"mappings":";;;;AAAA,6BAA8B;AAC9B,kDAAgD;AAChD,mCAQiB;AAYJ,QAAA,KAAK,GAAG,KAAK,CAAC,UAAU,CACjC,UACI,EAcC,EACD,GAAG;IAdC,IAAA,IAAI,UAAA,EACJ,QAAQ,cAAA,EACR,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,QAAE,QAAQ,CAAkB,CACzC;QAElB,eAAe,IAAI,CAChB,oBAAC,0BAAiB,IACd,SAAS,EAAC,qBAAqB,EAC/B,WAAW,EAAE,UAAC,CAAC,IAAK,OAAA,CAAC,CAAC,cAAc,EAAE,EAAlB,CAAkB,EACtC,OAAO,EAAE,WAAW;YAEpB,oBAAC,aAAK,IAAC,KAAK,EAAE,EAAE,GAAI,CACJ,CACvB;QAEA,OAAO,IAAI,CACR,oBAAC,sBAAa,IAAC,SAAS,EAAC,uBAAuB,IAC3C,OAAO,CACI,CACnB,CACgB,CACxB,CAAA;AACL,CAAC,CACJ,CAAA"}
@@ -30,5 +30,6 @@ export declare const StyledInput: import("styled-components/dist/types").IStyled
30
30
  export declare const StyledHelpText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../HelpText").HelpTextProps, never>> & string & Omit<({ className, bottomMargin, inline, children, }: import("../HelpText").HelpTextProps) => JSX.Element, keyof React.Component<any, {}, any>>;
31
31
  export declare const StyledInputInner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
32
32
  export declare const StyledPreFix: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
33
+ export declare const StyledClearHandle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
33
34
  export declare const StyledPostFix: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
34
35
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StyledPostFix = exports.StyledPreFix = exports.StyledInputInner = exports.StyledHelpText = exports.StyledInput = exports.inputStyles = exports.StyledInputWrapper = exports.inputWrapperStyles = void 0;
3
+ exports.StyledPostFix = exports.StyledClearHandle = exports.StyledPreFix = exports.StyledInputInner = exports.StyledHelpText = exports.StyledInput = exports.inputStyles = exports.StyledInputWrapper = exports.inputWrapperStyles = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  var styled_components_1 = require("styled-components");
6
6
  var HelpText_1 = require("../HelpText");
@@ -44,6 +44,7 @@ exports.StyledHelpText = (0, styled_components_1.default)(HelpText_1.HelpText)(t
44
44
  exports.StyledInputInner = styled_components_1.default.div(templateObject_6 || (templateObject_6 = tslib_1.__makeTemplateObject(["\n position: relative;\n width: 100%;\n"], ["\n position: relative;\n width: 100%;\n"])));
45
45
  var prePostStyles = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = tslib_1.__makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.2s ease-in-out 0s;\n"], ["\n font-family: ", ";\n font-size: ", ";\n font-weight: 500;\n color: ", ";\n display: flex;\n justify-content: center;\n align-items: center;\n transition: background-color 0.2s ease-in-out 0s;\n"])), function (props) { return props.theme.font.default; }, function (props) { return props.theme.font.sizes.s; }, function (props) { return props.theme.colors.grey[900]; });
46
46
  exports.StyledPreFix = styled_components_1.default.div(templateObject_8 || (templateObject_8 = tslib_1.__makeTemplateObject(["\n ", ";\n padding-left: ", "px;\n"], ["\n ", ";\n padding-left: ", "px;\n"])), prePostStyles, function (props) { return props.theme.baseline; });
47
- exports.StyledPostFix = styled_components_1.default.div(templateObject_9 || (templateObject_9 = tslib_1.__makeTemplateObject(["\n ", ";\n padding-right: ", "px;\n"], ["\n ", ";\n padding-right: ", "px;\n"])), prePostStyles, function (props) { return props.theme.baseline; });
48
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
47
+ exports.StyledClearHandle = styled_components_1.default.div(templateObject_9 || (templateObject_9 = tslib_1.__makeTemplateObject(["\n ", ";\n padding-right: ", "px;\n cursor: pointer;\n\n &:hover {\n svg {\n fill: ", ";\n }\n }\n"], ["\n ", ";\n padding-right: ", "px;\n cursor: pointer;\n\n &:hover {\n svg {\n fill: ", ";\n }\n }\n"])), prePostStyles, function (props) { return props.theme.baseline; }, function (props) { return props.theme.colors.grey[900]; });
48
+ exports.StyledPostFix = styled_components_1.default.div(templateObject_10 || (templateObject_10 = tslib_1.__makeTemplateObject(["\n ", ";\n padding-right: ", "px;\n"], ["\n ", ";\n padding-right: ", "px;\n"])), prePostStyles, function (props) { return props.theme.baseline; });
49
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
49
50
  //# sourceMappingURL=styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/components/Input/styles.ts"],"names":[],"mappings":";;;;AACA,uDAA+C;AAC/C,wCAAsC;AActC;;;;;;;;;;;;GAYG;AACU,QAAA,kBAAkB,OAAG,uBAAG,ofAAyB,qHAKtC,EAGyB,wBAC5B,EAA2C,mCAClC,EAA6C,gBAC7D,EAOuC,aAC3C,EAAmC,4LAM/B,EAA4D,mBAEzE,KAtBuB,UAAC,KAAK;IACtB,OAAA,KAAK,CAAC,QAAQ;QACV,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC;QAClC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU;AAFzC,CAEyC,EAC5B,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,EAAhC,CAAgC,EAClC,UAAC,KAAK,IAAK,OAAA,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK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KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAA5B,CAA4B,EAG1D;AAEY,QAAA,aAAa,GAAG,2BAAM,CAAC,GAAG,wHAAA,QACjC,EAAa,wBACE,EAA+B,OACnD,KAFK,aAAa,EACE,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,EAApB,CAAoB,EACnD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beequip/hexagon",
3
- "version": "0.21.1",
3
+ "version": "0.22.1",
4
4
  "description": "Component library for BEEQUIP",
5
5
  "main": "dist/index.js",
6
6
  "files": [