@metropolle/design-system 1.2025.1-2.5.1903 → 1.2026.0-1.10.2344
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/css/compat/back.css +12 -0
- package/dist/css/components.css +2594 -144
- package/dist/css/liquid-glass.css +468 -0
- package/dist/react/components/react/Button/Button.d.ts +1 -1
- package/dist/react/components/react/Button/Button.d.ts.map +1 -1
- package/dist/react/components/react/DataTable/DataTable.d.ts.map +1 -1
- package/dist/react/components/react/DataTable/TableHeader.d.ts.map +1 -1
- package/dist/react/components/react/DataTable/TableRow.d.ts.map +1 -1
- package/dist/react/components/react/DataTable/types.d.ts +2 -1
- package/dist/react/components/react/DataTable/types.d.ts.map +1 -1
- package/dist/react/components/react/DetailModal/DetailModal.d.ts +55 -0
- package/dist/react/components/react/DetailModal/DetailModal.d.ts.map +1 -0
- package/dist/react/components/react/DetailModal/index.d.ts +3 -0
- package/dist/react/components/react/DetailModal/index.d.ts.map +1 -0
- package/dist/react/components/react/FormField/FormField.d.ts +26 -0
- package/dist/react/components/react/FormField/FormField.d.ts.map +1 -0
- package/dist/react/components/react/FormField/index.d.ts +3 -0
- package/dist/react/components/react/FormField/index.d.ts.map +1 -0
- package/dist/react/components/react/FormGrid/FormGrid.d.ts +20 -0
- package/dist/react/components/react/FormGrid/FormGrid.d.ts.map +1 -0
- package/dist/react/components/react/FormGrid/index.d.ts +3 -0
- package/dist/react/components/react/FormGrid/index.d.ts.map +1 -0
- package/dist/react/components/react/FormModal/FormModal.d.ts +58 -0
- package/dist/react/components/react/FormModal/FormModal.d.ts.map +1 -0
- package/dist/react/components/react/FormModal/index.d.ts +3 -0
- package/dist/react/components/react/FormModal/index.d.ts.map +1 -0
- package/dist/react/components/react/FormSection/FormSection.d.ts +20 -0
- package/dist/react/components/react/FormSection/FormSection.d.ts.map +1 -0
- package/dist/react/components/react/FormSection/index.d.ts +3 -0
- package/dist/react/components/react/FormSection/index.d.ts.map +1 -0
- package/dist/react/components/react/GlassCard/GlassCard.d.ts +56 -6
- package/dist/react/components/react/GlassCard/GlassCard.d.ts.map +1 -1
- package/dist/react/components/react/GlassCard/index.d.ts +1 -1
- package/dist/react/components/react/GlassCard/index.d.ts.map +1 -1
- package/dist/react/components/react/InfoBox/InfoBox.d.ts +46 -0
- package/dist/react/components/react/InfoBox/InfoBox.d.ts.map +1 -0
- package/dist/react/components/react/InfoBox/index.d.ts +3 -0
- package/dist/react/components/react/InfoBox/index.d.ts.map +1 -0
- package/dist/react/components/react/Modal/Modal.d.ts.map +1 -1
- package/dist/react/components/react/Modal/ModalHeader.d.ts.map +1 -1
- package/dist/react/components/react/ProfileCard/ProfileCard.d.ts +55 -0
- package/dist/react/components/react/ProfileCard/ProfileCard.d.ts.map +1 -0
- package/dist/react/components/react/ProfileCard/index.d.ts +3 -0
- package/dist/react/components/react/ProfileCard/index.d.ts.map +1 -0
- package/dist/react/components/react/Select/Select.d.ts +61 -10
- package/dist/react/components/react/Select/Select.d.ts.map +1 -1
- package/dist/react/components/react/index.d.ts +15 -1
- package/dist/react/components/react/index.d.ts.map +1 -1
- package/dist/react/index.d.ts +32 -18
- package/dist/react/index.esm.js +826 -77
- package/dist/react/index.esm.js.map +1 -1
- package/dist/react/index.js +832 -75
- package/dist/react/index.js.map +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface FormModalProps {
|
|
3
|
+
/** Modal open state */
|
|
4
|
+
open: boolean;
|
|
5
|
+
/** Close handler */
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
/** Form submit handler */
|
|
8
|
+
onSubmit: (e: React.FormEvent) => void;
|
|
9
|
+
/** Modal title */
|
|
10
|
+
title: string;
|
|
11
|
+
/** Header icon (left side, contextual to action) */
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
/** Optional subtitle/description */
|
|
14
|
+
subtitle?: string;
|
|
15
|
+
/** Info box content (shown above form) */
|
|
16
|
+
info?: React.ReactNode;
|
|
17
|
+
/** Info box variant */
|
|
18
|
+
infoVariant?: 'info' | 'warning' | 'success' | 'danger';
|
|
19
|
+
/** Form content (FormField, FormGrid, FormSection) */
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
/** Submit button text */
|
|
22
|
+
submitText?: string;
|
|
23
|
+
/** Cancel button text */
|
|
24
|
+
cancelText?: string;
|
|
25
|
+
/** Loading state */
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
/** Disable submit button */
|
|
28
|
+
submitDisabled?: boolean;
|
|
29
|
+
/** Modal size */
|
|
30
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
31
|
+
/** Additional className */
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* FormModal - Normalized template for CRUD modal forms
|
|
36
|
+
*
|
|
37
|
+
* Pattern extracted from AdminUserModal.tsx (backoffice/users)
|
|
38
|
+
* Provides consistent structure for create/edit entity modals
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* <FormModal
|
|
42
|
+
* open={showModal}
|
|
43
|
+
* onClose={() => setShowModal(false)}
|
|
44
|
+
* onSubmit={handleSubmit}
|
|
45
|
+
* title="Edit User"
|
|
46
|
+
* info="Changes will be saved immediately."
|
|
47
|
+
* infoVariant="info"
|
|
48
|
+
* loading={isSaving}
|
|
49
|
+
* submitText="Save"
|
|
50
|
+
* >
|
|
51
|
+
* <FormField label="Name" required error={errors.name}>
|
|
52
|
+
* <input className="mds-input" value={name} onChange={...} />
|
|
53
|
+
* </FormField>
|
|
54
|
+
* </FormModal>
|
|
55
|
+
*/
|
|
56
|
+
export declare function FormModal({ open, onClose, onSubmit, title, icon, subtitle, info, infoVariant, children, submitText, cancelText, loading, submitDisabled, size, className }: FormModalProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export default FormModal;
|
|
58
|
+
//# sourceMappingURL=FormModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/FormModal/FormModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,cAAc;IAC7B,uBAAuB;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,0BAA0B;IAC1B,QAAQ,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACvC,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxD,sDAAsD;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,yBAAyB;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yBAAyB;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4BAA4B;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,WAAoB,EACpB,QAAQ,EACR,UAAmB,EACnB,UAAqB,EACrB,OAAe,EACf,cAAsB,EACtB,IAAW,EACX,SAAc,EACf,EAAE,cAAc,2CA0IhB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/FormModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface FormSectionProps {
|
|
3
|
+
/** Section title */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Section description */
|
|
6
|
+
description?: string;
|
|
7
|
+
/** Children (FormField or FormGrid components) */
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
/** Additional className */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* FormSection - Normalized section wrapper for grouping form fields
|
|
14
|
+
*
|
|
15
|
+
* Pattern extracted from AdminUserModal.tsx (backoffice/users)
|
|
16
|
+
* Provides consistent section headers and spacing
|
|
17
|
+
*/
|
|
18
|
+
export declare function FormSection({ title, description, children, className }: FormSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default FormSection;
|
|
20
|
+
//# sourceMappingURL=FormSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/FormSection/FormSection.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,gBAAgB;IAC/B,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kDAAkD;IAClD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,WAAW,EACX,QAAQ,EACR,SAAc,EACf,EAAE,gBAAgB,2CAsClB;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/FormSection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,23 +1,73 @@
|
|
|
1
1
|
import React, { HTMLAttributes } from 'react';
|
|
2
|
+
export type GlassStyle = 'glass' | 'liquid';
|
|
3
|
+
export type GlassIntensity = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export type GlassTheme = 'light' | 'dark';
|
|
5
|
+
/** PROC-007: Semantic card variants (max 3) */
|
|
6
|
+
export type CardVariant = 'default' | 'highlight' | 'subtle';
|
|
2
7
|
export interface GlassCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Estilo do card: 'glass' (tradicional) ou 'liquid' (iOS 26 style)
|
|
10
|
+
* @default 'liquid'
|
|
11
|
+
*/
|
|
12
|
+
glassStyle?: GlassStyle;
|
|
13
|
+
/**
|
|
14
|
+
* Intensidade do efeito blur/saturate
|
|
15
|
+
* xs: 2px, sm: 4px, md: 6px (default), lg: 8px, xl: 12px
|
|
16
|
+
* @default 'md'
|
|
17
|
+
*/
|
|
18
|
+
intensity?: GlassIntensity;
|
|
19
|
+
/**
|
|
20
|
+
* Tema de cor: afeta opacidade e bordas
|
|
21
|
+
* @default 'light'
|
|
22
|
+
*/
|
|
23
|
+
theme?: GlassTheme;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Use 'theme' instead. Mantido para retrocompatibilidade.
|
|
26
|
+
*/
|
|
4
27
|
variant?: 'light' | 'dark';
|
|
5
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Use 'intensity' instead. Valor do blur em pixels.
|
|
30
|
+
*/
|
|
6
31
|
blur?: number;
|
|
7
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Opacidade do background (0-1). Sobrescreve valor default do theme.
|
|
34
|
+
*/
|
|
8
35
|
opacity?: number;
|
|
9
36
|
/** Conteúdo do card */
|
|
10
37
|
children: React.ReactNode;
|
|
11
38
|
/** Classes CSS adicionais */
|
|
12
39
|
className?: string;
|
|
13
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Se deve aplicar hover effects
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
14
44
|
enableHover?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* PROC-007: Semantic card variant
|
|
47
|
+
* - default: Standard card (subtle background)
|
|
48
|
+
* - highlight: Highlighted card (blue accent border)
|
|
49
|
+
* - subtle: Minimal card (almost invisible)
|
|
50
|
+
* @default 'default'
|
|
51
|
+
*/
|
|
52
|
+
cardVariant?: CardVariant;
|
|
15
53
|
}
|
|
16
54
|
/**
|
|
17
55
|
* Glass Card Component
|
|
18
56
|
*
|
|
19
|
-
* Componente de cartão com efeito glassmorphism
|
|
20
|
-
*
|
|
57
|
+
* Componente de cartão com efeito glassmorphism ou Liquid Glass (iOS 26 style).
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```tsx
|
|
61
|
+
* // Liquid Glass (novo padrão)
|
|
62
|
+
* <GlassCard glassStyle="liquid" intensity="md">
|
|
63
|
+
* Content here
|
|
64
|
+
* </GlassCard>
|
|
65
|
+
*
|
|
66
|
+
* // Glassmorphism tradicional (retrocompatível)
|
|
67
|
+
* <GlassCard glassStyle="glass" variant="dark">
|
|
68
|
+
* Content here
|
|
69
|
+
* </GlassCard>
|
|
70
|
+
* ```
|
|
21
71
|
*/
|
|
22
72
|
export declare const GlassCard: React.ForwardRefExoticComponent<GlassCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
23
73
|
//# sourceMappingURL=GlassCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlassCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/GlassCard/GlassCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAE,MAAM,OAAO,CAAC;AAG1D,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,
|
|
1
|
+
{"version":3,"file":"GlassCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/GlassCard/GlassCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,cAAc,EAAE,MAAM,OAAO,CAAC;AAG1D,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC5C,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9D,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAC1C,+CAA+C;AAC/C,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE7D,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B;;;OAGG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uBAAuB;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,SAAS,uFA2IpB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { GlassCard, type GlassCardProps } from './GlassCard';
|
|
1
|
+
export { GlassCard, type GlassCardProps, type CardVariant, type GlassStyle, type GlassIntensity, type GlassTheme } from './GlassCard';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/GlassCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/GlassCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface InfoBoxProps {
|
|
3
|
+
/** Box title (optional, can be string or JSX) */
|
|
4
|
+
title?: React.ReactNode;
|
|
5
|
+
/** Visual variant */
|
|
6
|
+
variant?: 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
7
|
+
/** Show left accent border */
|
|
8
|
+
accent?: boolean;
|
|
9
|
+
/** Allow copying content */
|
|
10
|
+
copyable?: boolean;
|
|
11
|
+
/** Children content */
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
/** Additional className */
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* InfoBox - Normalized info/alert box for read-only information
|
|
18
|
+
*
|
|
19
|
+
* Pattern extracted from AdminUserModal.tsx (backoffice/users)
|
|
20
|
+
* Provides consistent info boxes for alerts, status displays, and read-only data
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // Alert style (with accent)
|
|
24
|
+
* <InfoBox variant="info" accent>
|
|
25
|
+
* An invitation email will be sent...
|
|
26
|
+
* </InfoBox>
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* // Status display (default)
|
|
30
|
+
* <InfoBox title="User Information">
|
|
31
|
+
* <InfoRow label="Status" value="Active" />
|
|
32
|
+
* <InfoRow label="Created" value="Jan 1, 2024" />
|
|
33
|
+
* </InfoBox>
|
|
34
|
+
*/
|
|
35
|
+
export declare function InfoBox({ title, variant, accent, copyable, children, className }: InfoBoxProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
/**
|
|
37
|
+
* InfoRow - Key-value pair display for InfoBox
|
|
38
|
+
*/
|
|
39
|
+
export interface InfoRowProps {
|
|
40
|
+
label: string;
|
|
41
|
+
value: React.ReactNode;
|
|
42
|
+
valueColor?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare function InfoRow({ label, value, valueColor }: InfoRowProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
export default InfoBox;
|
|
46
|
+
//# sourceMappingURL=InfoBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InfoBox.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/InfoBox/InfoBox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,YAAY;IAC3B,iDAAiD;IACjD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,qBAAqB;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IAChE,8BAA8B;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA8BD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,OAAmB,EACnB,MAAc,EACd,QAAgB,EAChB,QAAQ,EACR,SAAc,EACf,EAAE,YAAY,2CAgDd;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,YAAY,2CAkBjE;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/InfoBox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/Modal/Modal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/Modal/Modal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAsDD,wBAAgB,KAAK,CAAC,EACpB,IAAI,EACJ,OAAO,EACP,cAAqB,EACrB,QAAQ,EACR,SAAS,EACT,KAAK,EACN,EAAE,UAAU,4BA2FZ;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/Modal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,cAAyB,EAAE,KAAgB,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"ModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/Modal/ModalHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC5B;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,cAAyB,EAAE,KAAgB,EAAE,EAAE,gBAAgB,2CA2GlH;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProfileCard Component
|
|
3
|
+
* Passport-style profile card with Liquid Glass aesthetic
|
|
4
|
+
* Supports light/dark themes via CSS variables
|
|
5
|
+
*
|
|
6
|
+
* @package @metropolle/design-system
|
|
7
|
+
*/
|
|
8
|
+
import React from 'react';
|
|
9
|
+
export interface ProfileCardUser {
|
|
10
|
+
identity_id: string;
|
|
11
|
+
full_name: string;
|
|
12
|
+
username: string;
|
|
13
|
+
created_at: string;
|
|
14
|
+
verified: number;
|
|
15
|
+
email?: string;
|
|
16
|
+
profession_code?: string;
|
|
17
|
+
profession_name?: string;
|
|
18
|
+
city_code?: string;
|
|
19
|
+
city_name?: string;
|
|
20
|
+
state_code?: string;
|
|
21
|
+
state_name?: string;
|
|
22
|
+
country_code?: string;
|
|
23
|
+
country_name?: string;
|
|
24
|
+
photo_url_thumbnail?: string;
|
|
25
|
+
photo_url_medium?: string;
|
|
26
|
+
photo_url_full?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ProfileCardProps {
|
|
29
|
+
/** User data to display */
|
|
30
|
+
user: ProfileCardUser;
|
|
31
|
+
/** Card variant - 'full' shows all fields, 'compact' shows minimal */
|
|
32
|
+
variant?: 'full' | 'compact';
|
|
33
|
+
/** Photo section width in pixels (default: 280 for full, 200 for compact) */
|
|
34
|
+
photoWidth?: number;
|
|
35
|
+
/** Show social links section */
|
|
36
|
+
showSocial?: boolean;
|
|
37
|
+
/** Social links (optional) */
|
|
38
|
+
socialLinks?: {
|
|
39
|
+
instagram?: string;
|
|
40
|
+
x?: string;
|
|
41
|
+
linkedin?: string;
|
|
42
|
+
website?: string;
|
|
43
|
+
};
|
|
44
|
+
/** Show rotating info text */
|
|
45
|
+
showRotatingInfo?: boolean;
|
|
46
|
+
/** Custom photo element (for photo upload) */
|
|
47
|
+
photoSlot?: React.ReactNode;
|
|
48
|
+
/** Additional CSS class */
|
|
49
|
+
className?: string;
|
|
50
|
+
/** Callback when social button is clicked */
|
|
51
|
+
onSocialClick?: () => void;
|
|
52
|
+
}
|
|
53
|
+
export declare function ProfileCard({ user, variant, photoWidth, showSocial, socialLinks, showRotatingInfo, photoSlot, className, onSocialClick, }: ProfileCardProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export default ProfileCard;
|
|
55
|
+
//# sourceMappingURL=ProfileCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/ProfileCard/ProfileCard.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,OAAO,KAAsC,MAAM,OAAO,CAAC;AAO3D,MAAM,WAAW,eAAe;IAE9B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,2BAA2B;IAC3B,IAAI,EAAE,eAAe,CAAC;IAEtB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE7B,6EAA6E;IAC7E,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,gCAAgC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,8BAA8B;IAC9B,WAAW,CAAC,EAAE;QACZ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IAEF,8BAA8B;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,8CAA8C;IAC9C,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE5B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,6CAA6C;IAC7C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAgGD,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,OAAgB,EAChB,UAAU,EACV,UAAkB,EAClB,WAAW,EACX,gBAAwB,EACxB,SAAS,EACT,SAAc,EACd,aAAa,GACd,EAAE,gBAAgB,2CAwOlB;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/ProfileCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,20 +1,71 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface SelectOption {
|
|
3
|
-
label
|
|
3
|
+
/** Display label (must be string for serialization safety) */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Option value */
|
|
4
6
|
value: string;
|
|
7
|
+
/** Disable this option */
|
|
8
|
+
disabled?: boolean;
|
|
5
9
|
}
|
|
6
|
-
export interface SelectProps
|
|
7
|
-
options
|
|
10
|
+
export interface SelectProps {
|
|
11
|
+
/** Array of options to display */
|
|
12
|
+
options: SelectOption[];
|
|
13
|
+
/** Currently selected value */
|
|
14
|
+
value?: string;
|
|
15
|
+
/** Callback when value changes */
|
|
16
|
+
onChange?: (value: string) => void;
|
|
17
|
+
/** Placeholder text when no value selected */
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
/** Visual variant */
|
|
8
20
|
variant?: 'base' | 'themed' | 'dashboard';
|
|
9
|
-
|
|
21
|
+
/** Size variant */
|
|
22
|
+
size?: 'sm' | 'md' | 'lg';
|
|
23
|
+
/** Disable the select */
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/** Show loading state */
|
|
26
|
+
loading?: boolean;
|
|
27
|
+
/** Error state */
|
|
28
|
+
error?: boolean;
|
|
29
|
+
/** Additional class for the trigger button */
|
|
30
|
+
className?: string;
|
|
31
|
+
/** Additional class for the dropdown container */
|
|
32
|
+
dropdownClassName?: string;
|
|
33
|
+
/** ID for the select (for labels) */
|
|
34
|
+
id?: string;
|
|
35
|
+
/** Name attribute for form submission */
|
|
36
|
+
name?: string;
|
|
37
|
+
/** ARIA label */
|
|
38
|
+
'aria-label'?: string;
|
|
39
|
+
/** Full width mode */
|
|
40
|
+
fullWidth?: boolean;
|
|
41
|
+
/** Enable search/filter functionality */
|
|
42
|
+
searchable?: boolean;
|
|
43
|
+
/** Search placeholder */
|
|
44
|
+
searchPlaceholder?: string;
|
|
45
|
+
/** Max height of dropdown in pixels */
|
|
46
|
+
maxHeight?: number;
|
|
47
|
+
/** Z-index for dropdown (default: 1050) */
|
|
48
|
+
zIndex?: number;
|
|
10
49
|
}
|
|
11
50
|
/**
|
|
12
51
|
* Select Component (Design System)
|
|
13
52
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
53
|
+
* Custom dropdown select that renders consistently across all browsers.
|
|
54
|
+
* Unlike native <select>, this component renders the dropdown via JavaScript,
|
|
55
|
+
* ensuring proper theming support on Edge/Chrome Windows.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```tsx
|
|
59
|
+
* <Select
|
|
60
|
+
* options={[
|
|
61
|
+
* { label: 'Option 1', value: '1' },
|
|
62
|
+
* { label: 'Option 2', value: '2' },
|
|
63
|
+
* ]}
|
|
64
|
+
* value={selectedValue}
|
|
65
|
+
* onChange={setSelectedValue}
|
|
66
|
+
* placeholder="Select an option..."
|
|
67
|
+
* />
|
|
68
|
+
* ```
|
|
18
69
|
*/
|
|
19
|
-
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<
|
|
70
|
+
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
71
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/Select/Select.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/Select/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwE,MAAM,OAAO,CAAC;AAI7F,MAAM,WAAW,YAAY;IAC3B,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,kCAAkC;IAClC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;IAC1C,mBAAmB;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kBAAkB;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qCAAqC;IACrC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yBAAyB;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,MAAM,uFAoXjB,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
export { GlassCard, type GlassCardProps } from './GlassCard';
|
|
2
|
+
export { ProfileCard, type ProfileCardProps, type ProfileCardUser } from './ProfileCard';
|
|
2
3
|
export { Typography, BrandLogo, type TypographyProps, type BrandLogoProps } from './Typography';
|
|
3
4
|
export { Button, type ButtonProps } from './Button';
|
|
4
|
-
export { Select, type SelectProps } from './Select';
|
|
5
|
+
export { Select, type SelectProps, type SelectOption } from './Select';
|
|
5
6
|
export { ThemeToggle, type ThemeToggleProps } from './ThemeToggle';
|
|
6
7
|
export { DataTable, CellRenderers, ActionIcons, getTableConfig, type DataTableProps, type TableColumn, type TableAction } from './DataTable';
|
|
8
|
+
export { FormField, type FormFieldProps } from './FormField';
|
|
9
|
+
export { FormGrid, type FormGridProps } from './FormGrid';
|
|
10
|
+
export { FormSection, type FormSectionProps } from './FormSection';
|
|
11
|
+
export { InfoBox, InfoRow, type InfoBoxProps, type InfoRowProps } from './InfoBox';
|
|
12
|
+
export { FormModal, type FormModalProps } from './FormModal';
|
|
13
|
+
export { DetailModal, type DetailModalProps } from './DetailModal';
|
|
7
14
|
export { cn } from '../../utils/cn';
|
|
8
15
|
export * from './GlassCard';
|
|
9
16
|
export * from './Typography';
|
|
@@ -16,4 +23,11 @@ export * from './Modal/ModalFooter';
|
|
|
16
23
|
export * from './Modal/ConfirmDialog';
|
|
17
24
|
export * from './ThemeToggle';
|
|
18
25
|
export * from './DataTable';
|
|
26
|
+
export * from './FormField';
|
|
27
|
+
export * from './FormGrid';
|
|
28
|
+
export * from './FormSection';
|
|
29
|
+
export * from './InfoBox';
|
|
30
|
+
export * from './FormModal';
|
|
31
|
+
export * from './DetailModal';
|
|
32
|
+
export * from './ProfileCard';
|
|
19
33
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EACL,UAAU,EACV,SAAS,EACT,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AACzF,OAAO,EACL,UAAU,EACV,SAAS,EACT,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EACL,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGnE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAGpC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,19 +1,33 @@
|
|
|
1
|
-
export { GlassCard, type GlassCardProps } from './GlassCard';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
1
|
+
export { GlassCard, type GlassCardProps } from './components/react/GlassCard';
|
|
2
|
+
export { ProfileCard, type ProfileCardProps, type ProfileCardUser } from './components/react/ProfileCard';
|
|
3
|
+
export { Typography, BrandLogo, type TypographyProps, type BrandLogoProps } from './components/react/Typography';
|
|
4
|
+
export { Button, type ButtonProps } from './components/react/Button';
|
|
5
|
+
export { Select, type SelectProps, type SelectOption } from './components/react/Select';
|
|
6
|
+
export { ThemeToggle, type ThemeToggleProps } from './components/react/ThemeToggle';
|
|
7
|
+
export { DataTable, CellRenderers, ActionIcons, getTableConfig, type DataTableProps, type TableColumn, type TableAction } from './components/react/DataTable';
|
|
8
|
+
export { FormField, type FormFieldProps } from './components/react/FormField';
|
|
9
|
+
export { FormGrid, type FormGridProps } from './components/react/FormGrid';
|
|
10
|
+
export { FormSection, type FormSectionProps } from './components/react/FormSection';
|
|
11
|
+
export { InfoBox, InfoRow, type InfoBoxProps, type InfoRowProps } from './components/react/InfoBox';
|
|
12
|
+
export { FormModal, type FormModalProps } from './components/react/FormModal';
|
|
13
|
+
export { DetailModal, type DetailModalProps } from './components/react/DetailModal';
|
|
14
|
+
export { cn } from './components/utils/cn';
|
|
15
|
+
export * from './components/react/GlassCard';
|
|
16
|
+
export * from './components/react/Typography';
|
|
17
|
+
export * from './components/react/Button';
|
|
18
|
+
export * from './components/react/Select';
|
|
19
|
+
export * from './components/react/Modal/Modal';
|
|
20
|
+
export * from './components/react/Modal/ModalHeader';
|
|
21
|
+
export * from './components/react/Modal/ModalBody';
|
|
22
|
+
export * from './components/react/Modal/ModalFooter';
|
|
23
|
+
export * from './components/react/Modal/ConfirmDialog';
|
|
24
|
+
export * from './components/react/ThemeToggle';
|
|
25
|
+
export * from './components/react/DataTable';
|
|
26
|
+
export * from './components/react/FormField';
|
|
27
|
+
export * from './components/react/FormGrid';
|
|
28
|
+
export * from './components/react/FormSection';
|
|
29
|
+
export * from './components/react/InfoBox';
|
|
30
|
+
export * from './components/react/FormModal';
|
|
31
|
+
export * from './components/react/DetailModal';
|
|
32
|
+
export * from './components/react/ProfileCard';
|
|
19
33
|
//# sourceMappingURL=index.d.ts.map
|