@madie/madie-design-system 1.0.54 → 1.0.55
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/components/DateTimeField/DateTimeField.stories.jsx +4 -5
- package/components/TimeField/{TimeField.js → TimeField.jsx} +1 -1
- package/components/index.js +2 -0
- package/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/react/index.js +65 -65
- package/dist/react/index.js.LICENSE.txt +8 -0
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
- package/webpack.config.js +0 -21
|
@@ -10,16 +10,15 @@ export default {
|
|
|
10
10
|
|
|
11
11
|
export const TimeDateFieldComponent = (args) => {
|
|
12
12
|
const [value, setValue] = useState("");
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
setValue(e.target.value);
|
|
13
|
+
const handleDateTimeChange = (e) => {
|
|
14
|
+
setValue(e.target.value)
|
|
16
15
|
};
|
|
17
16
|
return (
|
|
18
17
|
<div className="qpp-u-padding--16">
|
|
19
18
|
<DateTimeField
|
|
20
|
-
disabled={true}
|
|
19
|
+
// disabled={true}
|
|
21
20
|
label="Status Date/Time"
|
|
22
|
-
|
|
21
|
+
handleDateTimeChange={handleDateTimeChange}
|
|
23
22
|
dateTimeValue={value}
|
|
24
23
|
/>
|
|
25
24
|
</div>
|
package/components/index.js
CHANGED
|
@@ -27,6 +27,7 @@ import TabPanel from "./Tabs/TabPanel";
|
|
|
27
27
|
import Tabs from "./Tabs/index";
|
|
28
28
|
import Tab from "./Tabs/Tab";
|
|
29
29
|
import TextField from "./TextField";
|
|
30
|
+
import TimeField from "./TimeField/TimeField";
|
|
30
31
|
import TextArea from "./TextArea";
|
|
31
32
|
import Tooltip from "./Tooltip";
|
|
32
33
|
import Toast from "./Toast";
|
|
@@ -151,6 +152,7 @@ export {
|
|
|
151
152
|
Tab,
|
|
152
153
|
TextButton,
|
|
153
154
|
TextInput,
|
|
155
|
+
TimeField,
|
|
154
156
|
TextField,
|
|
155
157
|
TextArea,
|
|
156
158
|
Toast,
|