@maelstrom-futurism/input 0.7.4-alpha.9
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/LICENSE.md +21 -0
- package/dist/Input.d.ts +48 -0
- package/dist/Input.d.ts.map +1 -0
- package/dist/Input.js +12 -0
- package/dist/Input.js.map +1 -0
- package/dist/Textarea.d.ts +10 -0
- package/dist/Textarea.d.ts.map +1 -0
- package/dist/Textarea.js +22 -0
- package/dist/Textarea.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.d.ts +5 -0
- package/dist/styles.d.ts.map +1 -0
- package/dist/styles.js +110 -0
- package/dist/styles.js.map +1 -0
- package/package.json +47 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright 2025 OSMstudios
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/Input.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React, { HTMLInputTypeAttribute } from "react";
|
|
2
|
+
export type Variant = "normal" | "material";
|
|
3
|
+
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
/**
|
|
5
|
+
* Normal or Material variant
|
|
6
|
+
*/
|
|
7
|
+
variant?: Variant;
|
|
8
|
+
/**
|
|
9
|
+
* A valid HTML5 type. (Required)
|
|
10
|
+
*/
|
|
11
|
+
type: HTMLInputTypeAttribute;
|
|
12
|
+
/**
|
|
13
|
+
* A unique (in form) field name (Required)
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* The label to display above the input. Leave blank to hide.
|
|
18
|
+
*/
|
|
19
|
+
label?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Text to use as a placeholder
|
|
22
|
+
*/
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Use textarea?
|
|
26
|
+
*/
|
|
27
|
+
multiline?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Literal input value for use outside traditional form
|
|
30
|
+
*/
|
|
31
|
+
value?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Is this input required? Used by FormValidator
|
|
34
|
+
*/
|
|
35
|
+
required?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Value used for preloaded state
|
|
38
|
+
*/
|
|
39
|
+
defaultValue?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Called whenever the value changes. For use of Inputs outside traditional forms
|
|
42
|
+
*/
|
|
43
|
+
onChange?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
44
|
+
forwardedRef?: any;
|
|
45
|
+
}
|
|
46
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<unknown>>;
|
|
47
|
+
export default Input;
|
|
48
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../src/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAMtD,MAAM,MAAM,OAAO,GACb,QAAQ,GACR,UAAU,CAAC;AAEjB,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAE3E;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,sBAAsB,CAAC;IAE7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAE1D,YAAY,CAAC,EAAE,GAAG,CAAC;CACtB;AAED,QAAA,MAAM,KAAK,4EAoBT,CAAC;AAIH,eAAe,KAAK,CAAC"}
|
package/dist/Input.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { useTheme } from "@maelstrom-futurism/core";
|
|
4
|
+
import { fcContainer, materialStyledInput, normalStyledInput } from "./styles";
|
|
5
|
+
const Input = React.forwardRef(({ variant = "normal", type, name, label, ...rest }, ref) => {
|
|
6
|
+
const theme = useTheme();
|
|
7
|
+
const isMaterial = variant === "material";
|
|
8
|
+
const additionalStyles = isMaterial ? materialStyledInput(theme) : normalStyledInput(theme);
|
|
9
|
+
return (_jsxs("div", { css: [fcContainer, additionalStyles], children: [_jsx("input", { id: name, name: name, type: type, ref: ref, placeholder: " ", ...rest }), label && _jsx("label", { htmlFor: name, children: label }), isMaterial && _jsx("span", { className: "underline" })] }));
|
|
10
|
+
});
|
|
11
|
+
export default Input;
|
|
12
|
+
//# sourceMappingURL=Input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../src/Input.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AA8D/E,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,EAAE,OAAO,GAAG,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAI,EAAc,EAAE,GAAS,EAAE,EAAE;IACzG,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,UAAU,GAAG,OAAO,KAAK,UAAU,CAAC;IAE1C,MAAM,gBAAgB,GAAG,UAAU,CAAC,CAAC,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAA;IAE3F,OAAO,CACL,eAAK,GAAG,EAAE,CAAC,WAAW,EAAE,gBAAgB,CAAC,aACrC,gBACM,EAAE,EAAE,IAAI,EACR,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,GAAG,EAAE,GAAG,EACR,WAAW,EAAC,GAAG,KACX,IAAI,GACZ,EACD,KAAK,IAAI,gBAAO,OAAO,EAAE,IAAI,YAAG,KAAK,GAAS,EAC9C,UAAU,IAAI,eAAM,SAAS,EAAC,WAAW,GAAG,IAC3C,CACP,CAAC;AACN,CAAC,CAAC,CAAC;AAIH,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface TextAreaProps extends React.ClassAttributes<HTMLTextAreaElement> {
|
|
2
|
+
name: string;
|
|
3
|
+
label: string;
|
|
4
|
+
rows?: number;
|
|
5
|
+
value?: string;
|
|
6
|
+
onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const TextArea: ({ name, label, value, ...rest }: TextAreaProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default TextArea;
|
|
10
|
+
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../src/Textarea.tsx"],"names":[],"mappings":"AAGA,UAAU,aAAc,SAAQ,KAAK,CAAC,eAAe,CAAC,mBAAmB,CAAC;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;CAClE;AAID,QAAA,MAAM,QAAQ,GAAI,iCAAiC,aAAa,qDAwB/D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/dist/Textarea.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { css } from "@emotion/react";
|
|
3
|
+
import { useTheme } from "@maelstrom-futurism/core";
|
|
4
|
+
const TextArea = ({ name, label, value, ...rest }) => {
|
|
5
|
+
const theme = useTheme();
|
|
6
|
+
const fcContainer = css `
|
|
7
|
+
margin-top: 0.5em;
|
|
8
|
+
`;
|
|
9
|
+
const textAreaStyles = css `
|
|
10
|
+
border: solid 1px ${theme.color("content")};
|
|
11
|
+
border-radius: ${theme.inputRadius};
|
|
12
|
+
padding: 0.5em 1em;
|
|
13
|
+
width: 100%;
|
|
14
|
+
font-size: 1em;
|
|
15
|
+
color: ${theme.color("textColor")};
|
|
16
|
+
background-color: ${theme.color("content")};
|
|
17
|
+
outline: 1px solid ${theme.color("secondary")};
|
|
18
|
+
`;
|
|
19
|
+
return (_jsxs("div", { css: fcContainer, children: [label && _jsx("label", { htmlFor: name, children: label }), _jsx("textarea", { css: textAreaStyles, ...rest })] }));
|
|
20
|
+
};
|
|
21
|
+
export default TextArea;
|
|
22
|
+
//# sourceMappingURL=Textarea.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../src/Textarea.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAYpD,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAiB,EAAE,EAAE;IAChE,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,MAAM,WAAW,GAAG,GAAG,CAAA;;KAEtB,CAAC;IAEF,MAAM,cAAc,GAAG,GAAG,CAAA;4BACF,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;yBACzB,KAAK,CAAC,WAAW;;;;iBAIzB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;4BACb,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;6BACrB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;KAChD,CAAC;IAEF,OAAO,CACH,eAAK,GAAG,EAAE,WAAW,aAChB,KAAK,IAAI,gBAAO,OAAO,EAAE,IAAI,YAAG,KAAK,GAAS,EAC/C,mBAAU,GAAG,EAAE,cAAc,KAAM,IAAI,GAAa,IAClD,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/styles.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Theme } from '@maelstrom-futurism/core';
|
|
2
|
+
export declare const fcContainer: import("@emotion/react").SerializedStyles;
|
|
3
|
+
export declare const materialStyledInput: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const normalStyledInput: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
5
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAKjD,eAAO,MAAM,WAAW,2CAGvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,8CAuD/C,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,8CA8C7C,CAAC"}
|
package/dist/styles.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { css } from '@emotion/react';
|
|
2
|
+
const EASE_FUNCTION = 'cubic-bezier(.65, .05, .36, 1)';
|
|
3
|
+
export const fcContainer = css `
|
|
4
|
+
position: relative;
|
|
5
|
+
margin-top: 14px;
|
|
6
|
+
`;
|
|
7
|
+
export const materialStyledInput = (theme) => css `
|
|
8
|
+
input {
|
|
9
|
+
color: ${theme.color("textColor")};
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 3rem;
|
|
12
|
+
border: none;
|
|
13
|
+
border-bottom: solid 2px ${theme.color("secondary")};
|
|
14
|
+
background-color: transparent;
|
|
15
|
+
padding-left: 10px;
|
|
16
|
+
font-size: ${theme.size("base")};
|
|
17
|
+
transition: .1s ${EASE_FUNCTION};
|
|
18
|
+
outline: none;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
label {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 50%;
|
|
25
|
+
left: 10px;
|
|
26
|
+
transform: translateY(-50%);
|
|
27
|
+
color: rgba(255, 255, 255, 0.5);
|
|
28
|
+
text-align: center;
|
|
29
|
+
transition: .2s ${EASE_FUNCTION};
|
|
30
|
+
font-size: 1.2rem;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
input:not(:placeholder-shown) ~ label,
|
|
35
|
+
input:focus ~ label {
|
|
36
|
+
top: 0px;
|
|
37
|
+
left: 10px;
|
|
38
|
+
font-size: 1rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& .underline {
|
|
42
|
+
position: absolute;
|
|
43
|
+
left: 0;
|
|
44
|
+
right: 0;
|
|
45
|
+
bottom: 0;
|
|
46
|
+
transform: scaleX(0);
|
|
47
|
+
transition: transform 0.2s ${EASE_FUNCTION};
|
|
48
|
+
border-bottom: 2px solid ${theme.color("secondary")};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
input:focus ~ .underline {
|
|
52
|
+
transform: scaleX(1);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
input:hover {
|
|
56
|
+
border-bottom: 2px solid ${theme.color("textColor")};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
input:focus ~ label {
|
|
60
|
+
color: ${theme.color("primary")} !important;
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
63
|
+
export const normalStyledInput = (theme) => css `
|
|
64
|
+
background-color: inherit;
|
|
65
|
+
|
|
66
|
+
input {
|
|
67
|
+
color: ${theme.color("textColor")};
|
|
68
|
+
height: 3rem;
|
|
69
|
+
outline: 1px solid ${theme.color("secondary")};
|
|
70
|
+
border-radius: 5px;
|
|
71
|
+
border: none;
|
|
72
|
+
padding-left: 10px;
|
|
73
|
+
font-size: ${theme.size("base")};
|
|
74
|
+
transition: .1s ${EASE_FUNCTION};
|
|
75
|
+
background: transparent;
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
label {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 50%;
|
|
82
|
+
left: 10px;
|
|
83
|
+
transform: translateY(-50%);
|
|
84
|
+
color: rgba(255, 255, 255, 0.5);
|
|
85
|
+
background-color: inherit;
|
|
86
|
+
text-align: center;
|
|
87
|
+
transition: .2s ${EASE_FUNCTION};
|
|
88
|
+
font-size: 1.2rem;
|
|
89
|
+
pointer-events: none;
|
|
90
|
+
padding: 0 5px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
input:not(:placeholder-shown) ~ label,
|
|
94
|
+
input:focus ~ label {
|
|
95
|
+
top: 0px;
|
|
96
|
+
left: 10px;
|
|
97
|
+
font-size: 1rem;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
input:focus {
|
|
101
|
+
outline: 1px solid ${theme.color("primary")} !important;
|
|
102
|
+
}
|
|
103
|
+
input:hover {
|
|
104
|
+
outline: 1px solid ${theme.color("textColor")};
|
|
105
|
+
}
|
|
106
|
+
input:focus ~ label {
|
|
107
|
+
color: ${theme.color("primary")} !important;
|
|
108
|
+
}
|
|
109
|
+
`;
|
|
110
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAIrC,MAAM,aAAa,GAAG,gCAAgC,CAAC;AAEvD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;CAG7B,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAAY,EAAE,EAAE,CAAC,GAAG,CAAA;;iBAEvC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;;;;mCAIN,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;;;qBAGtC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;0BACb,aAAa;;;;;;;;;;;;0BAYb,aAAa;;;;;;;;;;;;;;;;;;qCAkBF,aAAa;mCACf,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;;;;;;;;mCAQxB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;;;;iBAI1C,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;;CAEtC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAY,EAAE,EAAE,CAAC,GAAG,CAAA;;;;iBAIrC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;;6BAEZ,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;;;;qBAIhC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC;0BACb,aAAa;;;;;;;;;;;;;0BAab,aAAa;;;;;;;;;;;;;;6BAcV,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;;;6BAGtB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC;;;iBAGpC,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC;;CAEtC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@maelstrom-futurism/input",
|
|
3
|
+
"version": "0.7.4-alpha.9",
|
|
4
|
+
"description": "Re-usable input components of MF",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"typings": "dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsc",
|
|
20
|
+
"clean": "rm -Rf dist",
|
|
21
|
+
"test": "jest --env=jsdom --passWithNoTests",
|
|
22
|
+
"prepublishOnly": "npm run build"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://github.com/DawsonG/maelstrom-futurism.git",
|
|
27
|
+
"directory": "packages/input"
|
|
28
|
+
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"input",
|
|
31
|
+
"material-ui"
|
|
32
|
+
],
|
|
33
|
+
"author": "Dawson Goodell <dawsong@osmstudios.com>",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/DawsonG/maelstrom-futurism/issues"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/DawsonG/maelstrom-futurism#readme",
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@maelstrom-futurism/core": "^0.7.4-alpha.9"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@emotion/react": ">= 11.10.5",
|
|
44
|
+
"react": ">= 18.0.0"
|
|
45
|
+
},
|
|
46
|
+
"gitHead": "8c49684db1a6002ee19db00c53ed2e9aac7e484b"
|
|
47
|
+
}
|