@pipelinesolucoes/button 1.1.1-beta.0 → 1.1.1-beta.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/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/mui-theme.d.ts +26 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { default as WhatsAppButton } from './components/WhatsAppButton';
|
|
|
7
7
|
export { default as WhatsAppIcon } from './components/WhatsAppIcon';
|
|
8
8
|
export { default as ActionButton } from "./components/ActionButton";
|
|
9
9
|
export { default as FormButtonGroup } from "./components/FormButtonGroup";
|
|
10
|
-
export type { PipeSolButtonTokens } from "./pipesol-buttons";
|
|
10
|
+
export type { PipeSolButtonTokens } from "./types/pipesol-buttons";
|
|
11
11
|
export type { ButtonKind } from "./types/ButtonKind";
|
|
12
12
|
export type { BorderProps } from "./types/style/BorderProps";
|
|
13
13
|
export type { ColorProps } from "./types/style/ColorProps";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAC,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAC,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAC,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAC,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAC,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAC,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAS1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACxE,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "@mui/material/styles";
|
|
2
|
+
import type { ButtonKind } from "../types/ButtonKind";
|
|
3
|
+
|
|
4
|
+
export interface PipeSolButtonTokens {
|
|
5
|
+
background: string;
|
|
6
|
+
backgroundHover: string;
|
|
7
|
+
color: string;
|
|
8
|
+
colorHover: string;
|
|
9
|
+
borderRadius: string;
|
|
10
|
+
boxShadow?: string;
|
|
11
|
+
padding: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare module "@mui/material/styles" {
|
|
15
|
+
interface Theme {
|
|
16
|
+
pipesol?: {
|
|
17
|
+
buttons?: Partial<Record<ButtonKind, PipeSolButtonTokens>>;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface ThemeOptions {
|
|
22
|
+
pipesol?: {
|
|
23
|
+
buttons?: Partial<Record<ButtonKind, PipeSolButtonTokens>>;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
}
|