@metropolle/design-system 1.2026.0-1.2.1231 → 1.2026.0-1.3.119
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/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 +1 -0
- 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 +10 -0
- 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/ModalHeader.d.ts.map +1 -1
- package/dist/react/components/react/index.d.ts +12 -0
- package/dist/react/components/react/index.d.ts.map +1 -1
- package/dist/react/index.d.ts +12 -0
- package/dist/react/index.esm.js +357 -37
- package/dist/react/index.esm.js.map +1 -1
- package/dist/react/index.js +363 -36
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DataTable/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAe,MAAM,SAAS,CAAC;AAItD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DataTable/DataTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAe,MAAM,SAAS,CAAC;AAItD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAsM9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DataTable/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DataTable/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA4ElD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DataTable/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAe,MAAM,SAAS,CAAC;AAErD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DataTable/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAe,MAAM,SAAS,CAAC;AAErD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAgH5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DataTable/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACnE,UAAU,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,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACzC,aAAa,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CACzD;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DetailModalProps {
|
|
3
|
+
/** Modal open state */
|
|
4
|
+
open: boolean;
|
|
5
|
+
/** Close handler */
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
/** Modal title */
|
|
8
|
+
title: string;
|
|
9
|
+
/** Header icon (left side, contextual to content) */
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
/** Optional subtitle/description */
|
|
12
|
+
subtitle?: string;
|
|
13
|
+
/** Content (InfoBox, tables, data displays) */
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
/** Close button text */
|
|
16
|
+
closeText?: string;
|
|
17
|
+
/** Optional action button */
|
|
18
|
+
action?: {
|
|
19
|
+
label: string;
|
|
20
|
+
onClick: () => void;
|
|
21
|
+
variant?: 'primary' | 'secondary' | 'ghost';
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
};
|
|
24
|
+
/** Modal size */
|
|
25
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
26
|
+
/** Additional className */
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* DetailModal - Normalized template for read-only detail modals
|
|
31
|
+
*
|
|
32
|
+
* Pattern extracted from GeographyDetailsModal, AuditLogDetailModal (backoffice)
|
|
33
|
+
* Provides consistent structure for viewing entity details
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* <DetailModal
|
|
37
|
+
* open={showDetails}
|
|
38
|
+
* onClose={() => setShowDetails(false)}
|
|
39
|
+
* title="User Details"
|
|
40
|
+
* subtitle="Created on Jan 1, 2024"
|
|
41
|
+
* action={{
|
|
42
|
+
* label: 'Edit',
|
|
43
|
+
* onClick: handleEdit,
|
|
44
|
+
* variant: 'primary'
|
|
45
|
+
* }}
|
|
46
|
+
* >
|
|
47
|
+
* <InfoBox title="Basic Information">
|
|
48
|
+
* <InfoRow label="Name" value={user.name} />
|
|
49
|
+
* <InfoRow label="Email" value={user.email} />
|
|
50
|
+
* </InfoBox>
|
|
51
|
+
* </DetailModal>
|
|
52
|
+
*/
|
|
53
|
+
export declare function DetailModal({ open, onClose, title, icon, subtitle, children, closeText, action, size, className }: DetailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export default DetailModal;
|
|
55
|
+
//# sourceMappingURL=DetailModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DetailModal/DetailModal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,gBAAgB;IAC/B,uBAAuB;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,MAAM,CAAC,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,OAAO,CAAC;QAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;IACF,iBAAiB;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AASD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,OAAO,EACP,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,SAAmB,EACnB,MAAM,EACN,IAAW,EACX,SAAc,EACf,EAAE,gBAAgB,2CAoHlB;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/DetailModal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface FormFieldProps {
|
|
3
|
+
/** Label text */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Whether the field is required */
|
|
6
|
+
required?: boolean;
|
|
7
|
+
/** Error message to display */
|
|
8
|
+
error?: string;
|
|
9
|
+
/** Helper text below the input */
|
|
10
|
+
helper?: string;
|
|
11
|
+
/** Whether the field is disabled */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Children (input element) */
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
/** Additional className */
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* FormField - Normalized wrapper for form inputs
|
|
20
|
+
*
|
|
21
|
+
* Pattern extracted from AdminUserModal.tsx (backoffice/users)
|
|
22
|
+
* Provides consistent label, error, and helper text styling
|
|
23
|
+
*/
|
|
24
|
+
export declare function FormField({ label, required, error, helper, disabled, children, className }: FormFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export default FormField;
|
|
26
|
+
//# sourceMappingURL=FormField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/FormField/FormField.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,cAAc;IAC7B,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+BAA+B;IAC/B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAgB,EAChB,KAAK,EACL,MAAM,EACN,QAAgB,EAChB,QAAQ,EACR,SAAc,EACf,EAAE,cAAc,2CA+ChB;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/FormField/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 FormGridProps {
|
|
3
|
+
/** Number of columns (1 or 2) */
|
|
4
|
+
columns?: 1 | 2;
|
|
5
|
+
/** Gap between fields */
|
|
6
|
+
gap?: 'sm' | 'md' | 'lg';
|
|
7
|
+
/** Children (FormField components) */
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
/** Additional className */
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* FormGrid - Normalized grid layout for form fields
|
|
14
|
+
*
|
|
15
|
+
* Pattern extracted from AdminUserModal.tsx (backoffice/users)
|
|
16
|
+
* Provides consistent 1 or 2 column layouts with proper gap
|
|
17
|
+
*/
|
|
18
|
+
export declare function FormGrid({ columns, gap, children, className }: FormGridProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default FormGrid;
|
|
20
|
+
//# sourceMappingURL=FormGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/FormGrid/FormGrid.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,aAAa;IAC5B,iCAAiC;IACjC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IAChB,yBAAyB;IACzB,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,sCAAsC;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EACvB,OAAW,EACX,GAAU,EACV,QAAQ,EACR,SAAc,EACf,EAAE,aAAa,2CAaf;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/FormGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -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,2CAuIhB;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"}
|
|
@@ -2,6 +2,8 @@ import React, { HTMLAttributes } from 'react';
|
|
|
2
2
|
export type GlassStyle = 'glass' | 'liquid';
|
|
3
3
|
export type GlassIntensity = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
4
|
export type GlassTheme = 'light' | 'dark';
|
|
5
|
+
/** PROC-007: Semantic card variants (max 3) */
|
|
6
|
+
export type CardVariant = 'default' | 'highlight' | 'subtle';
|
|
5
7
|
export interface GlassCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
8
|
/**
|
|
7
9
|
* Estilo do card: 'glass' (tradicional) ou 'liquid' (iOS 26 style)
|
|
@@ -40,6 +42,14 @@ export interface GlassCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
40
42
|
* @default true
|
|
41
43
|
*/
|
|
42
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;
|
|
43
53
|
}
|
|
44
54
|
/**
|
|
45
55
|
* Glass Card Component
|
|
@@ -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,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;
|
|
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) */
|
|
4
|
+
title?: string;
|
|
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,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,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":"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"}
|
|
@@ -4,6 +4,12 @@ export { Button, type ButtonProps } from './Button';
|
|
|
4
4
|
export { Select, type SelectProps, type SelectOption } from './Select';
|
|
5
5
|
export { ThemeToggle, type ThemeToggleProps } from './ThemeToggle';
|
|
6
6
|
export { DataTable, CellRenderers, ActionIcons, getTableConfig, type DataTableProps, type TableColumn, type TableAction } from './DataTable';
|
|
7
|
+
export { FormField, type FormFieldProps } from './FormField';
|
|
8
|
+
export { FormGrid, type FormGridProps } from './FormGrid';
|
|
9
|
+
export { FormSection, type FormSectionProps } from './FormSection';
|
|
10
|
+
export { InfoBox, InfoRow, type InfoBoxProps, type InfoRowProps } from './InfoBox';
|
|
11
|
+
export { FormModal, type FormModalProps } from './FormModal';
|
|
12
|
+
export { DetailModal, type DetailModalProps } from './DetailModal';
|
|
7
13
|
export { cn } from '../../utils/cn';
|
|
8
14
|
export * from './GlassCard';
|
|
9
15
|
export * from './Typography';
|
|
@@ -16,4 +22,10 @@ export * from './Modal/ModalFooter';
|
|
|
16
22
|
export * from './Modal/ConfirmDialog';
|
|
17
23
|
export * from './ThemeToggle';
|
|
18
24
|
export * from './DataTable';
|
|
25
|
+
export * from './FormField';
|
|
26
|
+
export * from './FormGrid';
|
|
27
|
+
export * from './FormSection';
|
|
28
|
+
export * from './InfoBox';
|
|
29
|
+
export * from './FormModal';
|
|
30
|
+
export * from './DetailModal';
|
|
19
31
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/react/index.ts"],"names":[],"mappings":"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electOption } from './Select';
|
|
5
5
|
export { ThemeToggle, type ThemeToggleProps } from './ThemeToggle';
|
|
6
6
|
export { DataTable, CellRenderers, ActionIcons, getTableConfig, type DataTableProps, type TableColumn, type TableAction } from './DataTable';
|
|
7
|
+
export { FormField, type FormFieldProps } from './FormField';
|
|
8
|
+
export { FormGrid, type FormGridProps } from './FormGrid';
|
|
9
|
+
export { FormSection, type FormSectionProps } from './FormSection';
|
|
10
|
+
export { InfoBox, InfoRow, type InfoBoxProps, type InfoRowProps } from './InfoBox';
|
|
11
|
+
export { FormModal, type FormModalProps } from './FormModal';
|
|
12
|
+
export { DetailModal, type DetailModalProps } from './DetailModal';
|
|
7
13
|
export { cn } from '../../utils/cn';
|
|
8
14
|
export * from './GlassCard';
|
|
9
15
|
export * from './Typography';
|
|
@@ -16,4 +22,10 @@ export * from './Modal/ModalFooter';
|
|
|
16
22
|
export * from './Modal/ConfirmDialog';
|
|
17
23
|
export * from './ThemeToggle';
|
|
18
24
|
export * from './DataTable';
|
|
25
|
+
export * from './FormField';
|
|
26
|
+
export * from './FormGrid';
|
|
27
|
+
export * from './FormSection';
|
|
28
|
+
export * from './InfoBox';
|
|
29
|
+
export * from './FormModal';
|
|
30
|
+
export * from './DetailModal';
|
|
19
31
|
//# sourceMappingURL=index.d.ts.map
|