@metropolle/design-system 1.2026.0-1.3.159 → 1.2026.0-1.4.1227
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
3
|
/** Variante visual do botão */
|
|
4
|
-
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'glass';
|
|
4
|
+
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'glass' | 'danger';
|
|
5
5
|
/** Tamanho do botão */
|
|
6
6
|
size?: 'sm' | 'md' | 'lg';
|
|
7
7
|
/** Estado de loading */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGhE,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,+BAA+B;IAC/B,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/react/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGhE,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC1E,+BAA+B;IAC/B,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC7E,uBAAuB;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,wBAAwB;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,+BAA+B;IAC/B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,4CAA4C;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM,uFA4DjB,CAAC"}
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export { GlassCard, type GlassCardProps } from './GlassCard';
|
|
2
|
-
export { Typography, BrandLogo, type TypographyProps, type BrandLogoProps } from './Typography';
|
|
3
|
-
export { Button, type ButtonProps } from './Button';
|
|
4
|
-
export { Select, type SelectProps, type SelectOption } from './Select';
|
|
5
|
-
export { ThemeToggle, type ThemeToggleProps } from './ThemeToggle';
|
|
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';
|
|
13
|
-
export { cn } from '
|
|
14
|
-
export * from './GlassCard';
|
|
15
|
-
export * from './Typography';
|
|
16
|
-
export * from './Button';
|
|
17
|
-
export * from './Select';
|
|
18
|
-
export * from './Modal/Modal';
|
|
19
|
-
export * from './Modal/ModalHeader';
|
|
20
|
-
export * from './Modal/ModalBody';
|
|
21
|
-
export * from './Modal/ModalFooter';
|
|
22
|
-
export * from './Modal/ConfirmDialog';
|
|
23
|
-
export * from './ThemeToggle';
|
|
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';
|
|
1
|
+
export { GlassCard, type GlassCardProps } from './components/react/GlassCard';
|
|
2
|
+
export { Typography, BrandLogo, type TypographyProps, type BrandLogoProps } from './components/react/Typography';
|
|
3
|
+
export { Button, type ButtonProps } from './components/react/Button';
|
|
4
|
+
export { Select, type SelectProps, type SelectOption } from './components/react/Select';
|
|
5
|
+
export { ThemeToggle, type ThemeToggleProps } from './components/react/ThemeToggle';
|
|
6
|
+
export { DataTable, CellRenderers, ActionIcons, getTableConfig, type DataTableProps, type TableColumn, type TableAction } from './components/react/DataTable';
|
|
7
|
+
export { FormField, type FormFieldProps } from './components/react/FormField';
|
|
8
|
+
export { FormGrid, type FormGridProps } from './components/react/FormGrid';
|
|
9
|
+
export { FormSection, type FormSectionProps } from './components/react/FormSection';
|
|
10
|
+
export { InfoBox, InfoRow, type InfoBoxProps, type InfoRowProps } from './components/react/InfoBox';
|
|
11
|
+
export { FormModal, type FormModalProps } from './components/react/FormModal';
|
|
12
|
+
export { DetailModal, type DetailModalProps } from './components/react/DetailModal';
|
|
13
|
+
export { cn } from './components/utils/cn';
|
|
14
|
+
export * from './components/react/GlassCard';
|
|
15
|
+
export * from './components/react/Typography';
|
|
16
|
+
export * from './components/react/Button';
|
|
17
|
+
export * from './components/react/Select';
|
|
18
|
+
export * from './components/react/Modal/Modal';
|
|
19
|
+
export * from './components/react/Modal/ModalHeader';
|
|
20
|
+
export * from './components/react/Modal/ModalBody';
|
|
21
|
+
export * from './components/react/Modal/ModalFooter';
|
|
22
|
+
export * from './components/react/Modal/ConfirmDialog';
|
|
23
|
+
export * from './components/react/ThemeToggle';
|
|
24
|
+
export * from './components/react/DataTable';
|
|
25
|
+
export * from './components/react/FormField';
|
|
26
|
+
export * from './components/react/FormGrid';
|
|
27
|
+
export * from './components/react/FormSection';
|
|
28
|
+
export * from './components/react/InfoBox';
|
|
29
|
+
export * from './components/react/FormModal';
|
|
30
|
+
export * from './components/react/DetailModal';
|
|
31
31
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metropolle/design-system",
|
|
3
|
-
"version": "1.2026.01.
|
|
3
|
+
"version": "1.2026.01.04.1227",
|
|
4
4
|
"description": "Sistema de design unificado para a plataforma Metropolle",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/react/index.js",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"./css": "./dist/css/tokens.css",
|
|
20
20
|
"./css/components": "./dist/css/components.css",
|
|
21
|
+
"./css/compat/back": "./dist/css/compat/back.css",
|
|
21
22
|
"./css/compat/back.css": "./dist/css/compat/back.css",
|
|
22
23
|
"./css/mermaid": "./dist/css/mermaid.css",
|
|
23
24
|
"./css/mermaid.css": "./dist/css/mermaid.css",
|