prosperita-dumbo-react 1.2.98 → 1.2.99
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/prosperita-dumbo-react.es.js +1 -1
- package/dist/prosperita-dumbo-react.umd.js +1 -1
- package/dist/types/Components/Input/index.d.ts +2 -1
- package/dist/types/Components/Input/index.d.ts.map +1 -1
- package/dist/types/Components/Input/style.d.ts +1 -1
- package/dist/types/Components/Input/style.d.ts.map +1 -1
- package/dist/types/Components/inputFluid/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3046,7 +3046,7 @@ const Fe = (e) => {
|
|
|
3046
3046
|
`, Eh = (e) => {
|
|
3047
3047
|
const { error: t, warning: n } = e;
|
|
3048
3048
|
return t ? g.supportError : n ? g.textPrimary : g.textSecondary;
|
|
3049
|
-
}, Ps = y.
|
|
3049
|
+
}, Ps = y.div`
|
|
3050
3050
|
font-family: IBM Plex Sans;
|
|
3051
3051
|
font-size: 12px;
|
|
3052
3052
|
font-style: normal;
|
|
@@ -229,7 +229,7 @@ padding: ${({size:e,label:t,fortable:n,noPadding:o})=>n?"8px 55px 8px 10px":o||(
|
|
|
229
229
|
&:focus {
|
|
230
230
|
outline: 2px solid ${g.focus};
|
|
231
231
|
}
|
|
232
|
-
`,Qg=e=>{const{error:t,warning:n}=e;return t?g.supportError:n?g.textPrimary:g.textSecondary},Ws=C.
|
|
232
|
+
`,Qg=e=>{const{error:t,warning:n}=e;return t?g.supportError:n?g.textPrimary:g.textSecondary},Ws=C.div`
|
|
233
233
|
font-family: IBM Plex Sans;
|
|
234
234
|
font-size: 12px;
|
|
235
235
|
font-style: normal;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
1
2
|
import { InputHTMLAttributes, TextareaHTMLAttributes, ChangeEvent } from "react";
|
|
2
3
|
import "react-loading-skeleton/dist/skeleton.css";
|
|
3
4
|
export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
|
|
4
5
|
size?: "small" | "medium" | "large";
|
|
5
6
|
label?: string;
|
|
6
|
-
message?:
|
|
7
|
+
message?: ReactNode;
|
|
7
8
|
error?: boolean;
|
|
8
9
|
warning?: boolean;
|
|
9
10
|
maxLength?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/Input/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/Input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EACtB,WAAW,EACZ,MAAM,OAAO,CAAC;AAkBf,OAAO,0CAA0C,CAAC;AASlD,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAC1E,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC,GAAG;IAC1D,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EACP,CAAC,CAAC,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC,GAChD,CAAC,CAAC,KAAK,EAAE,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,eAAO,MAAM,KAAK,kMAsBf,UAAU,4CA4UZ,CAAA"}
|
|
@@ -3,7 +3,7 @@ import "@fontsource/ibm-plex-sans";
|
|
|
3
3
|
import { InputProps } from "./index";
|
|
4
4
|
export declare const InputLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, InputProps>> & string;
|
|
5
5
|
export declare const InputlabelTextarea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, InputProps>> & string;
|
|
6
|
-
export declare const LabelTextHelper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").
|
|
6
|
+
export declare const LabelTextHelper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, InputProps>> & string;
|
|
7
7
|
export declare const LabelTextinput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, InputProps>> & string;
|
|
8
8
|
export declare const LabelTextinputLength: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, InputProps>> & string;
|
|
9
9
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, InputProps>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/Components/Input/style.tsx"],"names":[],"mappings":";AACA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAwBrC,eAAO,MAAM,UAAU,wPAgEtB,CAAC;AACF,eAAO,MAAM,kBAAkB,iQAiC9B,CAAC;AAYF,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/Components/Input/style.tsx"],"names":[],"mappings":";AACA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAwBrC,eAAO,MAAM,UAAU,wPAgEtB,CAAC;AACF,eAAO,MAAM,kBAAkB,iQAiC9B,CAAC;AAYF,eAAO,MAAM,eAAe,+OAY3B,CAAC;AACF,eAAO,MAAM,cAAc,wPAa1B,CAAC;AACF,eAAO,MAAM,oBAAoB,wPAgBhC,CAAC;AACF,eAAO,MAAM,SAAS,+OAerB,CAAC;AAEF,eAAO,MAAM,iBAAiB,+OAM7B,CAAC;AAuBF,eAAO,MAAM,OAAO,sPAMnB,CAAC;AAEF,eAAO,MAAM,YAAY,wPAYxB,CAAC;AA0BF,eAAO,MAAM,SAAS,wPAIrB,CAAC;AAEF,eAAO,MAAM,aAAa,iPAmBzB,CAAC;AACF,eAAO,MAAM,YAAY,2PAYxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/inputFluid/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,mBAAmB,EACnB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceR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