umwd-components 0.1.3 → 0.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -33,6 +33,9 @@
33
33
  ]
34
34
  },
35
35
  "devDependencies": {
36
+ "@emotion/react": "^11.11.1",
37
+ "@emotion/styled": "^11.11.0",
38
+ "@mui/material": "^5.14.18",
36
39
  "@rollup/plugin-babel": "^6.0.4",
37
40
  "@rollup/plugin-node-resolve": "^15.2.3",
38
41
  "@storybook/addon-essentials": "^7.5.3",
@@ -62,8 +65,9 @@
62
65
  "webpack": "^5.89.0"
63
66
  },
64
67
  "peerDependencies": {
68
+ "@mui/material": "^5.14.18",
69
+ "prop-types": "^15.8.1",
65
70
  "react": "^18.2.0",
66
- "react-dom": "^18.2.0",
67
- "prop-types": "^15.8.1"
71
+ "react-dom": "^18.2.0"
68
72
  }
69
73
  }
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { TextField } from "@mui/material";
3
+
4
+ export const NoteTextField = (props) => {
5
+ return (
6
+ <TextField
7
+ {...props}
8
+ sx={{
9
+ background:
10
+ "linear-gradient(45deg, rgba(251,246,137,1) 30%, rgba(252,242,138,1) 90%)",
11
+ }}
12
+ />
13
+ );
14
+ };
@@ -0,0 +1 @@
1
+ export * from "./NoteTextField";
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { NoteTextField } from "../components/NoteTextField";
3
+
4
+ export default {
5
+ title: "UMWD/NoteTextField",
6
+ component: NoteTextField,
7
+ };
8
+
9
+ const NoteTextFieldWithHooks = () => {
10
+ return <NoteTextField label={"hello world"} />;
11
+ };
12
+
13
+ export const Default = {
14
+ render: () => <NoteTextFieldWithHooks />,
15
+ };