pipesol-button 1.0.9 → 1.0.12

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,4 +1,4 @@
1
1
  /**
2
2
  * Tipos de botão suportados pelo tema.
3
3
  */
4
- export type ButtonKind = "primary" | "secondary" | "none";
4
+ export type ButtonKind = "primary" | "secondary" | "delete" | "none";
@@ -0,0 +1 @@
1
+ export declare const COMMON_STYLE_FORWARD_PROPS: readonly ["width", "height", "padding", "margin", "background", "backgroundHover", "colorText", "colorHover", "borderRadius", "boxShadow"];
@@ -0,0 +1,14 @@
1
+ // types/commonForwardProps.ts
2
+ export const COMMON_STYLE_FORWARD_PROPS = [
3
+ "width",
4
+ "height",
5
+ "padding",
6
+ "margin",
7
+ "background",
8
+ "backgroundHover",
9
+ "colorText",
10
+ "colorHover",
11
+ "borderRadius",
12
+ "boxShadow",
13
+ ];
14
+ //# sourceMappingURL=CommonForwardProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommonForwardProps.js","sourceRoot":"","sources":["../../src/types/CommonForwardProps.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,OAAO;IACP,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,YAAY;IACZ,iBAAiB;IACjB,WAAW;IACX,YAAY;IACZ,cAAc;IACd,WAAW;CACH,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface BorderProps {
2
+ borderRadius?: string;
3
+ border?: string;
4
+ boxShadow?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BorderProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BorderProps.js","sourceRoot":"","sources":["../../../src/types/style/BorderProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface ColorProps {
2
+ background?: string;
3
+ backgroundHover?: string;
4
+ colorText?: string;
5
+ colorHover?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ColorProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorProps.js","sourceRoot":"","sources":["../../../src/types/style/ColorProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { LayoutProps } from "./LayoutProps";
2
+ import { ColorProps } from "./ColorProps";
3
+ import { BorderProps } from "./BorderProps";
4
+ export interface CommonStyleProps extends LayoutProps, ColorProps, BorderProps {
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CommonStyleProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommonStyleProps.js","sourceRoot":"","sources":["../../../src/types/style/CommonStyleProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface LayoutProps {
2
+ width?: string;
3
+ height?: string;
4
+ padding?: string;
5
+ margin?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=LayoutProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayoutProps.js","sourceRoot":"","sources":["../../../src/types/style/LayoutProps.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "pipesol-button",
3
- "version": "1.0.9",
4
-
3
+ "version": "1.0.12",
5
4
  "repository": {
6
5
  "type": "git",
7
6
  "url": "https://github.com/pipeline-solucoes/cmp-button"
@@ -10,7 +9,6 @@
10
9
  "bugs": {
11
10
  "url": "https://github.com/pipeline-solucoes/cmp-button/issues"
12
11
  },
13
-
14
12
  "publishConfig": {
15
13
  "access": "public"
16
14
  },
@@ -30,9 +28,9 @@
30
28
  "build": "tsc",
31
29
  "prepare": "npm run build",
32
30
  "start": "next start",
33
- "lint": "next lint"
31
+ "lint": "next lint"
34
32
  },
35
- "peerDependencies": {
33
+ "peerDependencies": {
36
34
  "@emotion/react": "^11.14.0",
37
35
  "@emotion/styled": "^11.14.1",
38
36
  "@mui/icons-material": "^6.4.4 || ^7.3.0",
@@ -54,8 +52,7 @@
54
52
  "@types/react-input-mask": "^3.0.6",
55
53
  "eslint": "^9",
56
54
  "eslint-config-next": "15.1.6",
57
- "framer-motion": "^12.9.4",
58
- "next": "^15.2.3",
55
+ "next": "^15.2.3",
59
56
  "typescript": "^5"
60
57
  }
61
58
  }