@factorearth/component-library 3.0.1-alpha.0 → 3.0.3-alpha.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/Atoms/MoreHorizonButton/MoreHorizonButton.d.ts +3 -1
- package/dist/Atoms/MoreHorizonButton/MoreHorizonButton.js +10 -5
- package/dist/Atoms/MoreHorizonButton/MoreHorizonButton.js.map +1 -1
- package/dist/Atoms/NumberField/NumberField.d.ts +3 -1
- package/dist/Atoms/NumberField/NumberField.js +16 -14
- package/dist/Atoms/NumberField/NumberField.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,6 +2,8 @@ import React from "react";
|
|
|
2
2
|
import { Colors } from "@../../Theme/types";
|
|
3
3
|
interface MoreHorizonButtonProps {
|
|
4
4
|
colorPalette: Colors;
|
|
5
|
+
handleToggleHistory: () => void;
|
|
6
|
+
handleRefreshField: () => void;
|
|
5
7
|
}
|
|
6
|
-
export declare const MoreHorizonButton: ({ colorPalette }: MoreHorizonButtonProps) => React.JSX.Element;
|
|
8
|
+
export declare const MoreHorizonButton: ({ colorPalette, handleToggleHistory, handleRefreshField, }: MoreHorizonButtonProps) => React.JSX.Element;
|
|
7
9
|
export {};
|
|
@@ -50,7 +50,11 @@ const MoreHorizonMenu = styled.div `
|
|
|
50
50
|
display: ${({ menuOpen }) => (menuOpen ? "flex" : "none")};
|
|
51
51
|
position: relative;
|
|
52
52
|
top: ${({ yPosition }) => (yPosition === "down" ? "40px " : "-40px")};
|
|
53
|
-
left: ${({ xPosition }) => xPosition === "center"
|
|
53
|
+
left: ${({ xPosition }) => xPosition === "center"
|
|
54
|
+
? "-8px !important"
|
|
55
|
+
: xPosition === "right"
|
|
56
|
+
? "70px"
|
|
57
|
+
: "-85px"};
|
|
54
58
|
flex-direction: row;
|
|
55
59
|
background-color: ${({ colorPalette }) => colorPalette.highlight.secondary};
|
|
56
60
|
border-radius: 4px;
|
|
@@ -58,7 +62,7 @@ const MoreHorizonMenu = styled.div `
|
|
|
58
62
|
z-index: 1000;
|
|
59
63
|
transform-origin: top left;
|
|
60
64
|
`;
|
|
61
|
-
export const MoreHorizonButton = ({ colorPalette }) => {
|
|
65
|
+
export const MoreHorizonButton = ({ colorPalette, handleToggleHistory, handleRefreshField, }) => {
|
|
62
66
|
const [menuOpen, setMenuOpen] = useState(false);
|
|
63
67
|
const [yPosition, setYPosition] = useState("up");
|
|
64
68
|
const [xPosition, setXPosition] = useState("center");
|
|
@@ -82,7 +86,8 @@ export const MoreHorizonButton = ({ colorPalette }) => {
|
|
|
82
86
|
if (buttonRect.x + menuRect.width > windowWidth) {
|
|
83
87
|
setXPosition("left");
|
|
84
88
|
}
|
|
85
|
-
else
|
|
89
|
+
else if (buttonRect.width < buttonRect.x &&
|
|
90
|
+
buttonRect.x + menuRect.width < windowWidth) {
|
|
86
91
|
setXPosition("center");
|
|
87
92
|
}
|
|
88
93
|
}
|
|
@@ -100,11 +105,11 @@ export const MoreHorizonButton = ({ colorPalette }) => {
|
|
|
100
105
|
React.createElement(MoreHorizonIcon, { menuOpen: menuOpen },
|
|
101
106
|
React.createElement(FiMoreVertical, { color: colorPalette.text.primary })),
|
|
102
107
|
React.createElement(MoreHorizonMenu, { menuOpen: menuOpen, colorPalette: colorPalette, ref: menuRef, yPosition: yPosition, xPosition: xPosition },
|
|
103
|
-
React.createElement(MoreHorizonOption, { colorPalette: colorPalette },
|
|
108
|
+
React.createElement(MoreHorizonOption, { colorPalette: colorPalette, onClick: handleToggleHistory },
|
|
104
109
|
React.createElement(FiClock, null),
|
|
105
110
|
"History"),
|
|
106
111
|
React.createElement(MoreHorizonPipe, { colorPalette: colorPalette }, "|"),
|
|
107
|
-
React.createElement(MoreHorizonOption, { colorPalette: colorPalette },
|
|
112
|
+
React.createElement(MoreHorizonOption, { colorPalette: colorPalette, onClick: handleRefreshField },
|
|
108
113
|
React.createElement(FiRefreshCw, null),
|
|
109
114
|
"Refresh"))));
|
|
110
115
|
};
|
|
@@ -1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oBAAC,eAAe,IAAC,QAAQ,EAAE,QAAQ;YAClC,oBAAC,cAAc,IAAC,KAAK,EAAE,YAAY,CAAC,IAAI,CAAC,OAAO,GAAI,CACnC;QAClB,oBAAC,eAAe,IACf,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,GAAG,EAAE,OAAO,EACZ,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS;YAEpB,oBAAC,iBAAiB,IACjB,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,mBAAmB;gBAE5B,oBAAC,OAAO,OAAG;0BAEQ;YACpB,oBAAC,eAAe,IAAC,YAAY,EAAE,YAAY,QAAqB;YAChE,oBAAC,iBAAiB,IACjB,YAAY,EAAE,YAAY,EAC1B,OAAO,EAAE,kBAAkB;gBAE3B,oBAAC,WAAW,OAAG;0BAEI,CACH,CACI,CACvB,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -5,6 +5,8 @@ interface NumberFieldProps {
|
|
|
5
5
|
handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
6
|
handleBlur: () => void;
|
|
7
7
|
fromTable?: boolean;
|
|
8
|
+
value: number | undefined;
|
|
9
|
+
placeholder?: string;
|
|
8
10
|
}
|
|
9
|
-
export declare const NumberField: ({ colorPalette, handleChange, handleBlur, fromTable }: NumberFieldProps) => React.JSX.Element;
|
|
11
|
+
export declare const NumberField: ({ colorPalette, handleChange, handleBlur, fromTable, value, placeholder, }: NumberFieldProps) => React.JSX.Element;
|
|
10
12
|
export {};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React, { useState, useRef } from "react";
|
|
2
2
|
import styled from "@emotion/styled";
|
|
3
3
|
import { FiPlus, FiMinus } from "react-icons/fi";
|
|
4
|
-
import { MoreHorizonButton } from "../MoreHorizonButton/MoreHorizonButton";
|
|
5
4
|
const NumberFieldContainer = styled.div `
|
|
6
5
|
display: flex;
|
|
7
|
-
min-width: 180px;
|
|
8
6
|
align-items: center;
|
|
9
7
|
gap: -0.5px;
|
|
10
8
|
`;
|
|
@@ -13,6 +11,7 @@ const NumberInput = styled.input `
|
|
|
13
11
|
justify-content: center;
|
|
14
12
|
align-items: center;
|
|
15
13
|
text-align: center;
|
|
14
|
+
min-width: 180px;
|
|
16
15
|
gap: 10px;
|
|
17
16
|
align-self: stretch;
|
|
18
17
|
color: ${({ color }) => color.text.primary};
|
|
@@ -57,34 +56,37 @@ const IncrementButton = styled.div `
|
|
|
57
56
|
background: ${({ color }) => color.background.primary};
|
|
58
57
|
color: ${({ color }) => color.text.primary};
|
|
59
58
|
`;
|
|
60
|
-
export const NumberField = ({ colorPalette, handleChange, handleBlur, fromTable }) => {
|
|
61
|
-
const [
|
|
59
|
+
export const NumberField = ({ colorPalette, handleChange, handleBlur, fromTable, value, placeholder, }) => {
|
|
60
|
+
const [numberValue, setNumberValue] = useState(value);
|
|
62
61
|
const ref = useRef(null);
|
|
63
62
|
const handleIncrement = () => {
|
|
64
|
-
if (
|
|
65
|
-
|
|
63
|
+
if (numberValue === undefined) {
|
|
64
|
+
setNumberValue(1);
|
|
66
65
|
return;
|
|
67
66
|
}
|
|
68
|
-
|
|
67
|
+
setNumberValue(numberValue + 1);
|
|
69
68
|
};
|
|
70
69
|
const handleDecrement = () => {
|
|
71
|
-
if (
|
|
72
|
-
|
|
70
|
+
if (numberValue === undefined) {
|
|
71
|
+
setNumberValue(1);
|
|
73
72
|
return;
|
|
74
73
|
}
|
|
75
|
-
|
|
74
|
+
setNumberValue(numberValue - 1);
|
|
76
75
|
};
|
|
77
76
|
const handleFocus = () => {
|
|
78
77
|
if (fromTable) {
|
|
79
|
-
ref.current?.scrollIntoView({
|
|
78
|
+
ref.current?.scrollIntoView({
|
|
79
|
+
block: "center",
|
|
80
|
+
behavior: "smooth",
|
|
81
|
+
inline: "center",
|
|
82
|
+
});
|
|
80
83
|
}
|
|
81
84
|
};
|
|
82
85
|
return (React.createElement(NumberFieldContainer, { color: colorPalette },
|
|
83
86
|
React.createElement(DecrementButton, { color: colorPalette, onClick: handleDecrement },
|
|
84
87
|
React.createElement(FiMinus, null)),
|
|
85
|
-
React.createElement(NumberInput, { value: value, onChange: handleChange, onBlur: handleBlur, type: "number", color: colorPalette, ref: ref, onFocus: handleFocus }),
|
|
88
|
+
React.createElement(NumberInput, { value: value, onChange: handleChange, onBlur: handleBlur, type: "number", color: colorPalette, ref: ref, onFocus: handleFocus, placeholder: placeholder }),
|
|
86
89
|
React.createElement(IncrementButton, { color: colorPalette, onClick: handleIncrement },
|
|
87
|
-
React.createElement(FiPlus, null))
|
|
88
|
-
React.createElement(MoreHorizonButton, { colorPalette: colorPalette })));
|
|
90
|
+
React.createElement(FiPlus, null))));
|
|
89
91
|
};
|
|
90
92
|
//# sourceMappingURL=NumberField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.js","sourceRoot":"","sources":["../../../lib/Atoms/NumberField/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberField.js","sourceRoot":"","sources":["../../../lib/Atoms/NumberField/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGjD,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAmB;;;;CAIzD,CAAC;AAEF,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAmB;;;;;;;;UAQzC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,C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CAAC;QACD,cAAc,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,GAAG,EAAE;QAC5B,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC/B,cAAc,CAAC,CAAC,CAAC,CAAC;YAClB,OAAO;QACR,CAAC;QACD,cAAc,CAAC,WAAW,GAAG,CAAC,CAAC,CAAC;IACjC,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACxB,IAAI,SAAS,EAAE,CAAC;YACf,GAAG,CAAC,OAAO,EAAE,cAAc,CAAC;gBAC3B,KAAK,EAAE,QAAQ;gBACf,QAAQ,EAAE,QAAQ;gBAClB,MAAM,EAAE,QAAQ;aAChB,CAAC,CAAC;QACJ,CAAC;IACF,CAAC,CAAC;IAEF,OAAO,CACN,oBAAC,oBAAoB,IAAC,KAAK,EAAE,YAAY;QACxC,oBAAC,eAAe,IAAC,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe;YAC7D,oBAAC,OAAO,OAAG,CACM;QAClB,oBAAC,WAAW,IACX,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,YAAY,EACtB,MAAM,EAAE,UAAU,EAClB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,YAAY,EACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,WAAW,GACvB;QACF,oBAAC,eAAe,IAAC,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe;YAC7D,oBAAC,MAAM,OAAG,CACO,CACI,CACvB,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorearth/component-library",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3-alpha.0",
|
|
4
4
|
"description": " A storybook component library for FactorEarth",
|
|
5
5
|
"author": "madtrx <marlin.makori@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/FactorEarth/RecordMiddleware#readme",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"access": "public",
|
|
46
46
|
"registry": "https://registry.npmjs.org/"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "76c2127f12fefe4a2739fa4d661f4f6c5e828ca1",
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@emotion/react": "^11.13.0",
|
|
51
51
|
"@emotion/styled": "^11.13.0",
|