@sector.siit/mlz-components 1.0.1 → 1.0.2
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/README.md +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.stories.d.ts +2 -3
- package/dist/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/Icons/Check.d.ts +3 -0
- package/dist/components/Icons/Check.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +4 -4
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.stories.d.ts +1 -0
- package/dist/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/components/NewInput/Input.d.ts +23 -0
- package/dist/components/NewInput/Input.d.ts.map +1 -0
- package/dist/components/NewInput/NewInput.stories.d.ts +12 -0
- package/dist/components/NewInput/NewInput.stories.d.ts.map +1 -0
- package/dist/components/NewInput/index.d.ts +2 -0
- package/dist/components/NewInput/index.d.ts.map +1 -0
- package/dist/index.d.ts +10 -10
- package/dist/index.esm.js +94 -76
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +94 -76
- package/dist/index.js.map +1 -1
- package/package.json +38 -36
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ Un componente de botón versatil con múltiples variantes y tamaños.
|
|
|
117
117
|
|
|
118
118
|
| Prop | Tipo | Default | Descripción |
|
|
119
119
|
|------|------|---------|-------------|
|
|
120
|
-
| `variant` | `'primary' \| 'secondary' \| 'outline' \| 'ghost'` | `'primary'` | Variante visual del botón |
|
|
120
|
+
| `variant` | `'primary' \| 'secondary' \| 'outline-solid' \| 'ghost'` | `'primary'` | Variante visual del botón |
|
|
121
121
|
| `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Tamaño del botón |
|
|
122
122
|
| `children` | `React.ReactNode` | - | Contenido del botón |
|
|
123
123
|
| `disabled` | `boolean` | `false` | Estado deshabilitado |
|
|
@@ -7,7 +7,7 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
7
7
|
/**
|
|
8
8
|
* Variante del botón
|
|
9
9
|
*/
|
|
10
|
-
variant?: 'primary' | 'secondary' | 'outline' | 'ghost';
|
|
10
|
+
variant?: 'primary' | 'secondary' | 'outline-solid' | 'ghost';
|
|
11
11
|
/**
|
|
12
12
|
* Tamaño del botón
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAChF;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,WAAY,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IAChF;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,eAAe,GAAG,OAAO,CAAC;IAC9D;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAeD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA4BxC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from
|
|
2
|
-
import { Button } from
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Button } from "./Button";
|
|
3
3
|
declare const meta: Meta<typeof Button>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Primary: Story;
|
|
7
7
|
export declare const Secondary: Story;
|
|
8
|
-
export declare const Outline: Story;
|
|
9
8
|
export declare const Ghost: Story;
|
|
10
9
|
export declare const Small: Story;
|
|
11
10
|
export declare const Medium: Story;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAiC7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAgC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Check.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Check.tsx"],"names":[],"mappings":";AAAA,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAU7D,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>,
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
3
3
|
/** Variante visual del input */
|
|
4
|
-
variant?:
|
|
4
|
+
variant?: "default" | "error" | "success";
|
|
5
5
|
/** Tamaño del input */
|
|
6
|
-
size?:
|
|
6
|
+
size?: "sm" | "md" | "lg";
|
|
7
7
|
/** Si el input tiene un label */
|
|
8
8
|
label?: string;
|
|
9
9
|
/** Texto de ayuda debajo del input */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":";AAAA,MAAM,WAAW,UAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACjE,gCAAgC;IAChC,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAC1C,uBAAuB;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAyHtC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAyBzB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAuBtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDoB,CAAC;AAE/B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC;AAGF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC;AAGF,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAGF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAOtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAQpB,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAyBzB,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,KAuBtB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
errorText?: string;
|
|
4
|
+
hasError?: boolean;
|
|
5
|
+
helperText?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
containerProps: ContainerProp;
|
|
11
|
+
labelProps: LabelProp;
|
|
12
|
+
helperTextProps: HelperTextProp;
|
|
13
|
+
checkedIcon?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
interface ContainerProp extends React.HTMLAttributes<HTMLDivElement> {
|
|
16
|
+
}
|
|
17
|
+
interface LabelProp extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
18
|
+
}
|
|
19
|
+
interface HelperTextProp extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
20
|
+
}
|
|
21
|
+
export declare const Input: React.FC<InputProps>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/NewInput/Input.tsx"],"names":[],"mappings":";AAEA,MAAM,WAAW,UAChB,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,aAAa,CAAC;IAC9B,UAAU,EAAE,SAAS,CAAC;IACtB,eAAe,EAAE,cAAc,CAAC;IAChC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,UAAU,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEvE,UAAU,SAAU,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;CAAG;AAE1E,UAAU,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC;CAAG;AAyB9E,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAoCtC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Input } from "./Input";
|
|
3
|
+
declare const meta: Meta<typeof Input>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Input>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithError: Story;
|
|
8
|
+
export declare const WithHelperText: Story;
|
|
9
|
+
export declare const WithLabel: Story;
|
|
10
|
+
export declare const WithPlaceholder: Story;
|
|
11
|
+
export declare const FullWidth: Story;
|
|
12
|
+
//# sourceMappingURL=NewInput.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewInput.stories.d.ts","sourceRoot":"","sources":["../../../src/components/NewInput/NewInput.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAG5B,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAqBrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAK5B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAK7B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAiBvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/NewInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React$1 from 'react';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
6
|
/**
|
|
6
7
|
* Contenido del botón
|
|
7
8
|
*/
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
+
children: React$1.ReactNode;
|
|
9
10
|
/**
|
|
10
11
|
* Variante del botón
|
|
11
12
|
*/
|
|
12
|
-
variant?: 'primary' | 'secondary' | 'outline' | 'ghost';
|
|
13
|
+
variant?: 'primary' | 'secondary' | 'outline-solid' | 'ghost';
|
|
13
14
|
/**
|
|
14
15
|
* Tamaño del botón
|
|
15
16
|
*/
|
|
16
17
|
size?: 'sm' | 'md' | 'lg';
|
|
17
18
|
}
|
|
18
|
-
declare const Button: React.FC<ButtonProps>;
|
|
19
|
+
declare const Button: React$1.FC<ButtonProps>;
|
|
19
20
|
|
|
20
|
-
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>,
|
|
21
|
+
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
21
22
|
/** Variante visual del input */
|
|
22
|
-
variant?:
|
|
23
|
+
variant?: "default" | "error" | "success";
|
|
23
24
|
/** Tamaño del input */
|
|
24
|
-
size?:
|
|
25
|
+
size?: "sm" | "md" | "lg";
|
|
25
26
|
/** Si el input tiene un label */
|
|
26
27
|
label?: string;
|
|
27
28
|
/** Texto de ayuda debajo del input */
|
|
@@ -44,5 +45,4 @@ interface UserCardProps {
|
|
|
44
45
|
}
|
|
45
46
|
declare function UserCard({ name, email, changeUser, editUser }: UserCardProps): react_jsx_runtime.JSX.Element;
|
|
46
47
|
|
|
47
|
-
export { Button, Input, UserCard };
|
|
48
|
-
export type { ButtonProps, InputProps, UserCardProps };
|
|
48
|
+
export { Button, type ButtonProps, Input, type InputProps, UserCard, type UserCardProps };
|
package/dist/index.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ function styleInject(css, ref) {
|
|
|
4
4
|
if ( ref === void 0 ) ref = {};
|
|
5
5
|
var insertAt = ref.insertAt;
|
|
6
6
|
|
|
7
|
-
if (typeof document === 'undefined') { return; }
|
|
7
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
8
8
|
|
|
9
9
|
var head = document.head || document.getElementsByTagName('head')[0];
|
|
10
10
|
var style = document.createElement('style');
|
|
@@ -27,33 +27,11 @@ function styleInject(css, ref) {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
var css_248z = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.mlz-btn-primary{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity,1));color:rgb(255 255 255/var(--tw-text-opacity,1))}.mlz-btn-primary:hover{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity,1))}.mlz-btn-primary:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}.mlz-btn-primary{background-color:var(--mlz-primary-600,#2563eb)}.mlz-btn-primary:hover{background-color:var(--mlz-primary-700,#1d4ed8)}.mlz-btn-secondary{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity,1));color:rgb(255 255 255/var(--tw-text-opacity,1))}.mlz-btn-secondary:hover{--tw-bg-opacity:1;background-color:rgb(55 65 81/var(--tw-bg-opacity,1))}.mlz-btn-secondary:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(107 114 128/var(--tw-ring-opacity,1))}.mlz-btn-secondary{background-color:var(--mlz-secondary-600,#475569)}.mlz-btn-secondary:hover{background-color:var(--mlz-secondary-700,#334155)}.mb-1\\.5{margin-bottom:.375rem}.mb-4{margin-bottom:1rem}.mt-1\\.5{margin-top:.375rem}.flex{display:flex}.inline-flex{display:inline-flex}.h-10{height:2.5rem}.h-12{height:3rem}.h-8{height:2rem}.h-\\[var\\(--mlz-input-height-lg\\2c 3rem\\)\\]{height:var(--mlz-input-height-lg,3rem)}.h-\\[var\\(--mlz-input-height-md\\2c 2\\.5rem\\)\\]{height:var(--mlz-input-height-md,2.5rem)}.h-\\[var\\(--mlz-input-height-sm\\2c 2rem\\)\\]{height:var(--mlz-input-height-sm,2rem)}.w-80{width:20rem}.w-auto{width:auto}.w-full{width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-\\[var\\(--mlz-error-500\\2c rgb\\(239\\2c 68\\2c 68\\)\\)\\]{border-color:var(--mlz-error-500,#ef4444)}.border-\\[var\\(--mlz-input-border-color\\2c rgb\\(209\\2c 213\\2c 219\\)\\)\\]{border-color:var(--mlz-input-border-color,#d1d5db)}.border-\\[var\\(--mlz-success-500\\2c rgb\\(34\\2c 197\\2c 94\\)\\)\\]{border-color:var(--mlz-success-500,#22c55e)}.border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity,1))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity,1))}.border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity,1))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-\\[var\\(--mlz-input-padding-x-lg\\2c 1\\.25rem\\)\\]{padding-left:var(--mlz-input-padding-x-lg,1.25rem);padding-right:var(--mlz-input-padding-x-lg,1.25rem)}.px-\\[var\\(--mlz-input-padding-x-md\\2c 1rem\\)\\]{padding-left:var(--mlz-input-padding-x-md,1rem);padding-right:var(--mlz-input-padding-x-md,1rem)}.px-\\[var\\(--mlz-input-padding-x-sm\\2c 0\\.75rem\\)\\]{padding-left:var(--mlz-input-padding-x-sm,.75rem);padding-right:var(--mlz-input-padding-x-sm,.75rem)}.py-1\\.5{padding-bottom:.375rem;padding-top:.375rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-\\[var\\(--mlz-input-padding-y-lg\\2c 0\\.75rem\\)\\]{padding-bottom:var(--mlz-input-padding-y-lg,.75rem);padding-top:var(--mlz-input-padding-y-lg,.75rem)}.py-\\[var\\(--mlz-input-padding-y-md\\2c 0\\.5rem\\)\\]{padding-bottom:var(--mlz-input-padding-y-md,.5rem);padding-top:var(--mlz-input-padding-y-md,.5rem)}.py-\\[var\\(--mlz-input-padding-y-sm\\2c 0\\.375rem\\)\\]{padding-bottom:var(--mlz-input-padding-y-sm,.375rem);padding-top:var(--mlz-input-padding-y-sm,.375rem)}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-\\[var\\(--mlz-error-600\\2c rgb\\(220\\2c 38\\2c 38\\)\\)\\]{color:var(--mlz-error-600,#dc2626)}.text-\\[var\\(--mlz-input-font-size-lg\\2c 1\\.125rem\\)\\]{color:var(--mlz-input-font-size-lg,1.125rem)}.text-\\[var\\(--mlz-input-font-size-md\\2c 1rem\\)\\]{color:var(--mlz-input-font-size-md,1rem)}.text-\\[var\\(--mlz-input-font-size-sm\\2c 0\\.875rem\\)\\]{color:var(--mlz-input-font-size-sm,.875rem)}.text-\\[var\\(--mlz-input-helper-color\\2c rgb\\(107\\2c 114\\2c 128\\)\\)\\]{color:var(--mlz-input-helper-color,#6b7280)}.text-\\[var\\(--mlz-input-label-color\\2c rgb\\(55\\2c 65\\2c 81\\)\\)\\]{color:var(--mlz-input-label-color,#374151)}.text-\\[var\\(--mlz-success-600\\2c rgb\\(22\\2c 163\\2c 74\\)\\)\\]{color:var(--mlz-success-600,#16a34a)}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity,1))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity,1))}.text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(107 114 128/var(--tw-placeholder-opacity,1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity:1;color:rgb(107 114 128/var(--tw-placeholder-opacity,1))}.outline{outline-style:solid}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}:root{--mlz-primary-50:#eff6ff;--mlz-primary-100:#dbeafe;--mlz-primary-200:#bfdbfe;--mlz-primary-300:#93c5fd;--mlz-primary-400:#60a5fa;--mlz-primary-500:#3b82f6;--mlz-primary-600:#2563eb;--mlz-primary-700:#1d4ed8;--mlz-primary-800:#1e40af;--mlz-primary-900:#1e3a8a;--mlz-primary-950:#172554;--mlz-secondary-50:#f8fafc;--mlz-secondary-100:#f1f5f9;--mlz-secondary-200:#e2e8f0;--mlz-secondary-300:#cbd5e1;--mlz-secondary-400:#94a3b8;--mlz-secondary-500:#64748b;--mlz-secondary-600:#475569;--mlz-secondary-700:#334155;--mlz-secondary-800:#1e293b;--mlz-secondary-900:#0f172a;--mlz-secondary-950:#020617;--mlz-spacing-xs:0.25rem;--mlz-spacing-sm:0.5rem;--mlz-spacing-md:1rem;--mlz-spacing-lg:1.5rem;--mlz-spacing-xl:2rem;--mlz-spacing-2xl:3rem;--mlz-border-radius-sm:0.25rem;--mlz-border-radius-md:0.375rem;--mlz-border-radius-lg:0.5rem;--mlz-border-radius-xl:0.75rem;--mlz-font-size-xs:0.75rem;--mlz-font-size-sm:0.875rem;--mlz-font-size-base:1rem;--mlz-font-size-lg:1.125rem;--mlz-font-size-xl:1.25rem;--mlz-input-border-color:#d1d5db;--mlz-input-label-color:#374151;--mlz-input-helper-color:#6b7280;--mlz-input-height-sm:2rem;--mlz-input-height-md:2.5rem;--mlz-input-height-lg:3rem;--mlz-input-padding-x-sm:0.75rem;--mlz-input-padding-y-sm:0.375rem;--mlz-input-padding-x-md:1rem;--mlz-input-padding-y-md:0.5rem;--mlz-input-padding-x-lg:1.25rem;--mlz-input-padding-y-lg:0.75rem;--mlz-input-font-size-sm:0.875rem;--mlz-input-font-size-md:1rem;--mlz-input-font-size-lg:1.125rem;--mlz-error-500:#ef4444;--mlz-error-600:#dc2626;--mlz-success-500:#22c55e;--mlz-success-600:#16a34a}.hover\\:bg-blue-50:hover{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.focus\\:border-\\[var\\(--mlz-error-500\\2c rgb\\(239\\2c 68\\2c 68\\)\\)\\]:focus{border-color:var(--mlz-error-500,#ef4444)}.focus\\:border-\\[var\\(--mlz-primary-500\\2c rgb\\(59\\2c 130\\2c 246\\)\\)\\]:focus{border-color:var(--mlz-primary-500,#3b82f6)}.focus\\:border-\\[var\\(--mlz-success-500\\2c rgb\\(34\\2c 197\\2c 94\\)\\)\\]:focus{border-color:var(--mlz-success-500,#22c55e)}.focus\\:border-blue-500:focus{--tw-border-opacity:1;border-color:rgb(59 130 246/var(--tw-border-opacity,1))}.focus\\:border-green-500:focus{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity,1))}.focus\\:border-red-500:focus{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity,1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-\\[var\\(--mlz-error-500\\2c rgb\\(239\\2c 68\\2c 68\\)\\)\\]:focus{--tw-ring-color:var(--mlz-error-500,#ef4444)}.focus\\:ring-\\[var\\(--mlz-primary-500\\2c rgb\\(59\\2c 130\\2c 246\\)\\)\\]:focus{--tw-ring-color:var(--mlz-primary-500,#3b82f6)}.focus\\:ring-\\[var\\(--mlz-success-500\\2c rgb\\(34\\2c 197\\2c 94\\)\\)\\]:focus{--tw-ring-color:var(--mlz-success-500,#22c55e)}.focus\\:ring-blue-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(59 130 246/var(--tw-ring-opacity,1))}.focus\\:ring-blue-500\\/20:focus{--tw-ring-color:rgba(59,130,246,.2)}.focus\\:ring-green-500\\/20:focus{--tw-ring-color:rgba(34,197,94,.2)}.focus\\:ring-red-500\\/20:focus{--tw-ring-color:rgba(239,68,68,.2)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}@media (prefers-color-scheme:dark){.dark\\:border-gray-600{--tw-border-opacity:1;border-color:rgb(75 85 99/var(--tw-border-opacity,1))}.dark\\:border-green-400{--tw-border-opacity:1;border-color:rgb(74 222 128/var(--tw-border-opacity,1))}.dark\\:border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity,1))}.dark\\:bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity,1))}.dark\\:text-gray-100{--tw-text-opacity:1;color:rgb(243 244 246/var(--tw-text-opacity,1))}.dark\\:text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.dark\\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity,1))}.dark\\:text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity,1))}.dark\\:text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity,1))}.dark\\:placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(156 163 175/var(--tw-placeholder-opacity,1))}.dark\\:placeholder-gray-400::placeholder{--tw-placeholder-opacity:1;color:rgb(156 163 175/var(--tw-placeholder-opacity,1))}}";
|
|
30
|
+
var css_248z = "@import \"tailwindcss\";@source inline(\"text-semantic-error-600 text-primary-600 border-semantic-error-600 border-primary-400 placeholder:text-semantic-error-600 placeholder:text-primary-400 focus:border-semantic-error-600 focus:border-primary-600 focus:ring-semantic-error-600 focus:ring-primary-600 active:border-semantic-error-600 active:border-primary-600 w-full\");@font-face{font-family:Geometria;font-style:normal;font-weight:300;src:url(/fonts/Geometria-Light.woff2) format(\"woff2\")}@font-face{font-family:Geometria;font-style:normal;font-weight:400;src:url(/fonts/Geometria-Regular.woff2) format(\"woff2\")}@font-face{font-family:Geometria;font-style:bold;font-weight:700;src:url(/fonts/Geometria-Bold.woff2) format(\"woff2\")}body{font-family:Geometria,sans-serif}@theme{--color-primary-50:var(--mlz-primary-50,#eff6ff);--color-primary-100:var(--mlz-primary-100,#dbeafe);--color-primary-200:var(--mlz-primary-200,#bfdbfe);--color-primary-300:var(--mlz-primary-300,#93c5fd);--color-primary-400:var(--mlz-primary-400,#5ba8d5);--color-primary-500:var(--mlz-primary-500,#3b82f6);--color-primary-600:var(--mlz-primary-600,#236999);--color-primary-700:var(--mlz-primary-700,#1d4ed8);--color-primary-800:var(--mlz-primary-800,#1e40af);--color-primary-900:var(--mlz-primary-900,#1e3a8a);--color-primary-950:var(--mlz-primary-950,#172554);--color-semantic-info:var(--mlz-semantic-info,#006eff);--color-semantic-error-600:var(--mlz-semantic-error-600,#ef284c);--color-secondary-50:var(--mlz-secondary-50,#f8fafc);--color-secondary-100:var(--mlz-secondary-100,#f1f5f9);--color-secondary-200:var(--mlz-secondary-200,#e2e8f0);--color-secondary-300:var(--mlz-secondary-300,#cbd5e1);--color-secondary-400:var(--mlz-secondary-400,#94a3b8);--color-secondary-500:var(--mlz-secondary-500,#64748b);--color-secondary-600:var(--mlz-secondary-600,#475569);--color-secondary-700:var(--mlz-secondary-700,#334155);--color-secondary-800:var(--mlz-secondary-800,#1e293b);--color-secondary-900:var(--mlz-secondary-900,#0f172a);--color-secondary-950:var(--mlz-secondary-950,#020617);--spacing-mlz-xs:var(--mlz-spacing-xs,0.25rem);--spacing-mlz-sm:var(--mlz-spacing-sm,0.5rem);--spacing-mlz-md:var(--mlz-spacing-md,1rem);--spacing-mlz-lg:var(--mlz-spacing-lg,1.5rem);--spacing-mlz-xl:var(--mlz-spacing-xl,2rem);--spacing-mlz-2xl:var(--mlz-spacing-2xl,3rem);--radius-mlz-sm:var(--mlz-border-radius-sm,0.25rem);--radius-mlz-md:var(--mlz-border-radius-md,0.375rem);--radius-mlz-lg:var(--mlz-border-radius-lg,0.5rem);--radius-mlz-xl:var(--mlz-border-radius-xl,0.75rem);--text-mlz-xs:var(--mlz-font-size-xs,0.75rem);--text-mlz-sm:var(--mlz-font-size-sm,0.875rem);--text-mlz-base:var(--mlz-font-size-base,1rem);--text-mlz-lg:var(--mlz-font-size-lg,1.125rem);--text-mlz-xl:var(--mlz-font-size-xl,1.25rem);--font-geometria:\"Geometria\",sans-serif}@layer base{*,::backdrop,::file-selector-button,:after,:before{border-color:var(--color-gray-200,currentcolor)}}@utility mlz-btn-primary{@apply bg-blue-600 hover:bg-blue-700 focus:ring-blue-500 text-white;background-color:var(--mlz-primary-600,#2563eb);&:hover{background-color:var(--mlz-primary-700,#1d4ed8)}}@utility mlz-btn-secondary{@apply bg-gray-600 hover:bg-gray-700 focus:ring-gray-500 text-white;background-color:var(--mlz-secondary-600,#475569);&:hover{background-color:var(--mlz-secondary-700,#334155)}}@layer utilities{:root{--mlz-primary-50:#eff6ff;--mlz-primary-100:#e5f0f9;--mlz-primary-200:#bfdbfe;--mlz-primary-300:#94c6e5;--mlz-primary-400:#5ba8d5;--mlz-primary-500:#3b82f6;--mlz-primary-600:#236999;--mlz-primary-700:#1d4ed8;--mlz-primary-800:#1e40af;--mlz-primary-900:#1e3a8a;--mlz-primary-950:#172554;--mlz-semantic-info:#006eff;--mlz-semantic-error-600:#ef284c;--mlz-secondary-50:#f8fafc;--mlz-secondary-100:#f1f5f9;--mlz-secondary-200:#e2e8f0;--mlz-secondary-300:#cbd5e1;--mlz-secondary-400:#94a3b8;--mlz-secondary-500:#64748b;--mlz-secondary-600:#475569;--mlz-secondary-700:#334155;--mlz-secondary-800:#1e293b;--mlz-secondary-900:#0f172a;--mlz-secondary-950:#020617;--mlz-spacing-xs:0.25rem;--mlz-spacing-sm:0.5rem;--mlz-spacing-md:1rem;--mlz-spacing-lg:1.5rem;--mlz-spacing-xl:2rem;--mlz-spacing-2xl:3rem;--mlz-border-radius-sm:0.25rem;--mlz-border-radius-md:0.375rem;--mlz-border-radius-lg:0.5rem;--mlz-border-radius-xl:0.75rem;--mlz-font-size-xs:0.75rem;--mlz-font-size-sm:0.875rem;--mlz-font-size-base:1rem;--mlz-font-size-lg:1.125rem;--mlz-font-size-xl:1.25rem;--mlz-input-border-color:#d1d5db;--mlz-input-label-color:#374151;--mlz-input-helper-color:#6b7280;--mlz-input-height-sm:2rem;--mlz-input-height-md:2.5rem;--mlz-input-height-lg:3rem;--mlz-input-padding-x-sm:0.75rem;--mlz-input-padding-y-sm:0.375rem;--mlz-input-padding-x-md:1rem;--mlz-input-padding-y-md:0.5rem;--mlz-input-padding-x-lg:1.25rem;--mlz-input-padding-y-lg:0.75rem;--mlz-input-font-size-sm:0.875rem;--mlz-input-font-size-md:1rem;--mlz-input-font-size-lg:1.125rem;--mlz-error-500:#ef4444;--mlz-error-600:#dc2626;--mlz-success-500:#22c55e;--mlz-success-600:#16a34a}}";
|
|
31
31
|
styleInject(css_248z,{"insertAt":"top"});
|
|
32
32
|
|
|
33
33
|
var jsxRuntime = {exports: {}};
|
|
34
34
|
|
|
35
|
-
var reactJsxRuntime_production_min = {};
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @license React
|
|
39
|
-
* react-jsx-runtime.production.min.js
|
|
40
|
-
*
|
|
41
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the MIT license found in the
|
|
44
|
-
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
var hasRequiredReactJsxRuntime_production_min;
|
|
48
|
-
|
|
49
|
-
function requireReactJsxRuntime_production_min () {
|
|
50
|
-
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
51
|
-
hasRequiredReactJsxRuntime_production_min = 1;
|
|
52
|
-
var f=require$$0,k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:true,ref:true,__self:true,__source:true};
|
|
53
|
-
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a) void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
|
|
54
|
-
return reactJsxRuntime_production_min;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
35
|
var reactJsxRuntime_development = {};
|
|
58
36
|
|
|
59
37
|
/**
|
|
@@ -780,6 +758,11 @@ function requireReactJsxRuntime_development () {
|
|
|
780
758
|
};
|
|
781
759
|
var specialPropKeyWarningShown;
|
|
782
760
|
var specialPropRefWarningShown;
|
|
761
|
+
var didWarnAboutStringRefs;
|
|
762
|
+
|
|
763
|
+
{
|
|
764
|
+
didWarnAboutStringRefs = {};
|
|
765
|
+
}
|
|
783
766
|
|
|
784
767
|
function hasValidRef(config) {
|
|
785
768
|
{
|
|
@@ -811,7 +794,15 @@ function requireReactJsxRuntime_development () {
|
|
|
811
794
|
|
|
812
795
|
function warnIfStringRefCannotBeAutoConverted(config, self) {
|
|
813
796
|
{
|
|
814
|
-
if (typeof config.ref === 'string' && ReactCurrentOwner.current && self)
|
|
797
|
+
if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {
|
|
798
|
+
var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);
|
|
799
|
+
|
|
800
|
+
if (!didWarnAboutStringRefs[componentName]) {
|
|
801
|
+
error('Component "%s" contains the string ref "%s". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);
|
|
802
|
+
|
|
803
|
+
didWarnAboutStringRefs[componentName] = true;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
815
806
|
}
|
|
816
807
|
}
|
|
817
808
|
|
|
@@ -1051,6 +1042,11 @@ function requireReactJsxRuntime_development () {
|
|
|
1051
1042
|
|
|
1052
1043
|
function getSourceInfoErrorAddendum(source) {
|
|
1053
1044
|
{
|
|
1045
|
+
if (source !== undefined) {
|
|
1046
|
+
var fileName = source.fileName.replace(/^.*[\\\/]/, '');
|
|
1047
|
+
var lineNumber = source.lineNumber;
|
|
1048
|
+
return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
|
|
1049
|
+
}
|
|
1054
1050
|
|
|
1055
1051
|
return '';
|
|
1056
1052
|
}
|
|
@@ -1264,7 +1260,7 @@ function requireReactJsxRuntime_development () {
|
|
|
1264
1260
|
info += ' You likely forgot to export your component from the file ' + "it's defined in, or you might have mixed up default and named imports.";
|
|
1265
1261
|
}
|
|
1266
1262
|
|
|
1267
|
-
var sourceInfo = getSourceInfoErrorAddendum();
|
|
1263
|
+
var sourceInfo = getSourceInfoErrorAddendum(source);
|
|
1268
1264
|
|
|
1269
1265
|
if (sourceInfo) {
|
|
1270
1266
|
info += sourceInfo;
|
|
@@ -1377,6 +1373,28 @@ function requireReactJsxRuntime_development () {
|
|
|
1377
1373
|
return reactJsxRuntime_development;
|
|
1378
1374
|
}
|
|
1379
1375
|
|
|
1376
|
+
var reactJsxRuntime_production_min = {};
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* @license React
|
|
1380
|
+
* react-jsx-runtime.production.min.js
|
|
1381
|
+
*
|
|
1382
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1383
|
+
*
|
|
1384
|
+
* This source code is licensed under the MIT license found in the
|
|
1385
|
+
* LICENSE file in the root directory of this source tree.
|
|
1386
|
+
*/
|
|
1387
|
+
|
|
1388
|
+
var hasRequiredReactJsxRuntime_production_min;
|
|
1389
|
+
|
|
1390
|
+
function requireReactJsxRuntime_production_min () {
|
|
1391
|
+
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
1392
|
+
hasRequiredReactJsxRuntime_production_min = 1;
|
|
1393
|
+
var f=require$$0,k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
|
|
1394
|
+
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
|
|
1395
|
+
return reactJsxRuntime_production_min;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1380
1398
|
if (process.env.NODE_ENV === 'production') {
|
|
1381
1399
|
jsxRuntime.exports = requireReactJsxRuntime_production_min();
|
|
1382
1400
|
} else {
|
|
@@ -1397,7 +1415,7 @@ const buttonSizes = {
|
|
|
1397
1415
|
lg: 'px-6 py-3 text-lg'
|
|
1398
1416
|
};
|
|
1399
1417
|
const Button = ({ children, variant = 'primary', size = 'md', disabled = false, onClick, type = 'button', className = '', ...props }) => {
|
|
1400
|
-
const baseClasses = 'inline-flex items-center justify-center font-medium rounded-md transition-colors focus:outline-
|
|
1418
|
+
const baseClasses = 'inline-flex items-center justify-center font-medium rounded-md transition-colors focus:outline-hidden focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed';
|
|
1401
1419
|
const variantClasses = buttonVariants[variant];
|
|
1402
1420
|
const sizeClasses = buttonSizes[size];
|
|
1403
1421
|
const classes = `${baseClasses} ${variantClasses} ${sizeClasses} ${className}`.trim();
|
|
@@ -1407,89 +1425,89 @@ const Button = ({ children, variant = 'primary', size = 'md', disabled = false,
|
|
|
1407
1425
|
/**
|
|
1408
1426
|
* Componente Input básico con diferentes variantes y tamaños
|
|
1409
1427
|
*/
|
|
1410
|
-
const Input = ({ variant =
|
|
1428
|
+
const Input = ({ variant = "default", size = "md", label, helperText, errorText, fullWidth = false, className = "", ...props }) => {
|
|
1411
1429
|
// Clases base del input
|
|
1412
1430
|
const baseClasses = [
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1431
|
+
"border rounded-md transition-colors duration-200 focus:outline-hidden focus:ring-2",
|
|
1432
|
+
"bg-white dark:bg-gray-800",
|
|
1433
|
+
"text-gray-900 dark:text-gray-100",
|
|
1434
|
+
"placeholder-gray-500 dark:placeholder-gray-400",
|
|
1417
1435
|
];
|
|
1418
1436
|
// Clases de tamaño
|
|
1419
1437
|
const sizeClasses = {
|
|
1420
1438
|
sm: [
|
|
1421
|
-
|
|
1422
|
-
|
|
1439
|
+
"px-3 py-1.5 text-sm",
|
|
1440
|
+
"h-8",
|
|
1423
1441
|
// CSS Variables con fallbacks
|
|
1424
|
-
`h-
|
|
1425
|
-
`px-
|
|
1426
|
-
`py-
|
|
1427
|
-
`text-
|
|
1442
|
+
`h-(--mlz-input-height-sm,2rem)`,
|
|
1443
|
+
`px-(--mlz-input-padding-x-sm,0.75rem)`,
|
|
1444
|
+
`py-(--mlz-input-padding-y-sm,0.375rem)`,
|
|
1445
|
+
`text-(--mlz-input-font-size-sm,0.875rem)`,
|
|
1428
1446
|
],
|
|
1429
1447
|
md: [
|
|
1430
|
-
|
|
1431
|
-
|
|
1448
|
+
"px-4 py-2 text-base",
|
|
1449
|
+
"h-10",
|
|
1432
1450
|
// CSS Variables con fallbacks
|
|
1433
|
-
`h-
|
|
1434
|
-
`px-
|
|
1435
|
-
`py-
|
|
1436
|
-
`text-
|
|
1451
|
+
`h-(--mlz-input-height-md,2.5rem)`,
|
|
1452
|
+
`px-(--mlz-input-padding-x-md,1rem)`,
|
|
1453
|
+
`py-(--mlz-input-padding-y-md,0.5rem)`,
|
|
1454
|
+
`text-(--mlz-input-font-size-md,1rem)`,
|
|
1437
1455
|
],
|
|
1438
1456
|
lg: [
|
|
1439
|
-
|
|
1440
|
-
|
|
1457
|
+
"px-5 py-3 text-lg",
|
|
1458
|
+
"h-12",
|
|
1441
1459
|
// CSS Variables con fallbacks
|
|
1442
|
-
`h-
|
|
1443
|
-
`px-
|
|
1444
|
-
`py-
|
|
1445
|
-
`text-
|
|
1446
|
-
]
|
|
1460
|
+
`h-(--mlz-input-height-lg,3rem)`,
|
|
1461
|
+
`px-(--mlz-input-padding-x-lg,1.25rem)`,
|
|
1462
|
+
`py-(--mlz-input-padding-y-lg,0.75rem)`,
|
|
1463
|
+
`text-(--mlz-input-font-size-lg,1.125rem)`,
|
|
1464
|
+
],
|
|
1447
1465
|
};
|
|
1448
1466
|
// Clases de variante
|
|
1449
1467
|
const variantClasses = {
|
|
1450
1468
|
default: [
|
|
1451
|
-
|
|
1452
|
-
|
|
1469
|
+
"border-gray-300 dark:border-gray-600",
|
|
1470
|
+
"focus:border-blue-500 focus:ring-blue-500/20",
|
|
1453
1471
|
// CSS Variables con fallbacks
|
|
1454
|
-
`border-
|
|
1455
|
-
`focus:border-
|
|
1456
|
-
`focus:ring-
|
|
1472
|
+
`border-(--mlz-input-border-color,rgb(209,213,219))`,
|
|
1473
|
+
`focus:border-(--mlz-primary-500,rgb(59,130,246))`,
|
|
1474
|
+
`focus:ring-(--mlz-primary-500,rgb(59,130,246))`,
|
|
1457
1475
|
],
|
|
1458
1476
|
error: [
|
|
1459
|
-
|
|
1460
|
-
|
|
1477
|
+
"border-red-500 dark:border-red-400",
|
|
1478
|
+
"focus:border-red-500 focus:ring-red-500/20",
|
|
1461
1479
|
// CSS Variables con fallbacks
|
|
1462
|
-
`border-
|
|
1463
|
-
`focus:border-
|
|
1464
|
-
`focus:ring-
|
|
1480
|
+
`border-(--mlz-error-500,rgb(239,68,68))`,
|
|
1481
|
+
`focus:border-(--mlz-error-500,rgb(239,68,68))`,
|
|
1482
|
+
`focus:ring-(--mlz-error-500,rgb(239,68,68))`,
|
|
1465
1483
|
],
|
|
1466
1484
|
success: [
|
|
1467
|
-
|
|
1468
|
-
|
|
1485
|
+
"border-green-500 dark:border-green-400",
|
|
1486
|
+
"focus:border-green-500 focus:ring-green-500/20",
|
|
1469
1487
|
// CSS Variables con fallbacks
|
|
1470
|
-
`border-
|
|
1471
|
-
`focus:border-
|
|
1472
|
-
`focus:ring-
|
|
1473
|
-
]
|
|
1488
|
+
`border-(--mlz-success-500,rgb(34,197,94))`,
|
|
1489
|
+
`focus:border-(--mlz-success-500,rgb(34,197,94))`,
|
|
1490
|
+
`focus:ring-(--mlz-success-500,rgb(34,197,94))`,
|
|
1491
|
+
],
|
|
1474
1492
|
};
|
|
1475
1493
|
// Clases de ancho
|
|
1476
|
-
const widthClasses = fullWidth ?
|
|
1494
|
+
const widthClasses = fullWidth ? "w-full" : "w-auto";
|
|
1477
1495
|
// Combinar todas las clases
|
|
1478
1496
|
const inputClasses = [
|
|
1479
1497
|
...baseClasses,
|
|
1480
1498
|
...sizeClasses[size],
|
|
1481
1499
|
...variantClasses[variant],
|
|
1482
1500
|
widthClasses,
|
|
1483
|
-
className
|
|
1484
|
-
].join(
|
|
1501
|
+
className,
|
|
1502
|
+
].join(" ");
|
|
1485
1503
|
// Determinar el texto de ayuda efectivo
|
|
1486
1504
|
const effectiveHelperText = errorText || helperText;
|
|
1487
|
-
const effectiveVariant = errorText ?
|
|
1488
|
-
return (jsxRuntimeExports.jsxs("div", { className: `flex flex-col ${fullWidth ?
|
|
1489
|
-
?
|
|
1490
|
-
: effectiveVariant ===
|
|
1491
|
-
?
|
|
1492
|
-
:
|
|
1505
|
+
const effectiveVariant = errorText ? "error" : variant;
|
|
1506
|
+
return (jsxRuntimeExports.jsxs("div", { className: `flex flex-col ${fullWidth ? "w-full" : "w-auto"}`, children: [label && (jsxRuntimeExports.jsx("label", { htmlFor: props.id, className: `mb-1.5 text-sm font-medium text-gray-700 dark:text-gray-300 text-(--mlz-input-label-color,rgb(55,65,81))`, children: label })), jsxRuntimeExports.jsx("input", { ...props, className: inputClasses }), effectiveHelperText && (jsxRuntimeExports.jsx("p", { className: `mt-1.5 text-sm ${effectiveVariant === "error"
|
|
1507
|
+
? "text-red-600 dark:text-red-400 text-(--mlz-error-600,rgb(220,38,38))"
|
|
1508
|
+
: effectiveVariant === "success"
|
|
1509
|
+
? "text-green-600 dark:text-green-400 text-(--mlz-success-600,rgb(22,163,74))"
|
|
1510
|
+
: "text-gray-500 dark:text-gray-400 text-(--mlz-input-helper-color,rgb(107,114,128))"}`, children: effectiveHelperText }))] }));
|
|
1493
1511
|
};
|
|
1494
1512
|
|
|
1495
1513
|
function UserCard({ name, email, changeUser, editUser }) {
|