@pipelinesolucoes/theme 1.0.1 → 1.0.3

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.
@@ -0,0 +1,6 @@
1
+ export interface BorderProps {
2
+ borderRadius?: string;
3
+ border?: string;
4
+ borderColor?: string;
5
+ boxShadow?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BorderProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BorderProps.js","sourceRoot":"","sources":["../../src/types/BorderProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { TypographyVariant } from "@mui/material/styles";
2
+ export interface ButtonProps {
3
+ textButton?: string;
4
+ variantButton?: TypographyVariant;
5
+ backgroundButton?: string;
6
+ backgroundHoverButton?: string;
7
+ colorButton?: string;
8
+ colorHoverButton?: string;
9
+ borderRadiusButton?: string;
10
+ borderButton?: string;
11
+ boxShadowButton?: string;
12
+ widthButton?: string;
13
+ heightButton?: string;
14
+ paddingButton?: string;
15
+ marginButton?: string;
16
+ }
17
+ export declare const BUTTON_STYLE_FORWARD_PROPS: readonly ["textButton", "variantButton", "backgroundButton", "backgroundHoverButton", "colorButton", "colorHoverButton", "borderRadiusButton", "borderButton", "boxShadowButton", "widthButton", "heightButton", "paddingButton", "marginButton"];
@@ -0,0 +1,16 @@
1
+ export const BUTTON_STYLE_FORWARD_PROPS = [
2
+ "textButton",
3
+ "variantButton",
4
+ "backgroundButton",
5
+ "backgroundHoverButton",
6
+ "colorButton",
7
+ "colorHoverButton",
8
+ "borderRadiusButton",
9
+ "borderButton",
10
+ "boxShadowButton",
11
+ "widthButton",
12
+ "heightButton",
13
+ "paddingButton",
14
+ "marginButton",
15
+ ];
16
+ //# sourceMappingURL=ButtonProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonProps.js","sourceRoot":"","sources":["../../src/types/ButtonProps.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,YAAY;IACZ,eAAe;IACf,kBAAkB;IAClB,uBAAuB;IACvB,aAAa;IACb,kBAAkB;IAClB,oBAAoB;IACpB,cAAc;IACd,iBAAiB;IACjB,aAAa;IACb,cAAc;IACd,eAAe;IACf,cAAc;CACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ export interface ColorProps {
2
+ background?: string;
3
+ color?: string;
4
+ backgroundHover?: string;
5
+ colorHover?: string;
6
+ backgroundDisabled?: string;
7
+ colorDisabled?: string;
8
+ colorFocused?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ColorProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorProps.js","sourceRoot":"","sources":["../../src/types/ColorProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface LayoutProps {
2
+ width?: string;
3
+ maxWidth?: string;
4
+ height?: string;
5
+ maxHeight?: string;
6
+ padding?: string;
7
+ margin?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=LayoutProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayoutProps.js","sourceRoot":"","sources":["../../src/types/LayoutProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { TypographyVariant } from "@mui/material/styles";
2
+ export interface TextProps {
3
+ text: string;
4
+ variant?: TypographyVariant;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TextProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextProps.js","sourceRoot":"","sources":["../../src/types/TextProps.ts"],"names":[],"mappings":""}
@@ -1,27 +1,34 @@
1
1
  export type ButtonKind = "primary" | "secondary" | "tertiary" | "delete" | "none";
2
2
  export interface PipelineSolucoesButtonTokens {
3
- background: string;
4
- backgroundHover: string;
5
- color: string;
6
- colorHover: string;
7
- borderRadius: string;
3
+ background?: string;
4
+ color?: string;
5
+ backgroundHover?: string;
6
+ colorHover?: string;
7
+ backgroundDisabled?: string;
8
+ colorDisabled?: string;
9
+ borderRadius?: string;
8
10
  boxShadow?: string;
9
- padding: string;
11
+ padding?: string;
12
+ }
13
+ export interface PipelineSolucoesFieldTokens {
14
+ background?: string;
15
+ color?: string;
16
+ backgroundDisabled?: string;
17
+ colorDisabled?: string;
18
+ backgroundFocusedField?: string;
19
+ colorFocusedField?: string;
20
+ borderRadius?: string;
21
+ boxShadow?: string;
22
+ padding?: string;
10
23
  }
11
24
  export interface PipelineSolucoesFormTokens {
12
25
  notification?: {
13
26
  background: string;
14
27
  };
15
- field?: {
16
- background?: string;
17
- backgroundDisabled?: string;
18
- color?: string;
19
- colorFocused?: string;
20
- colorDisabled?: string;
21
- borderRadius?: string;
22
- boxShadow?: string;
23
- borderColor?: string;
24
- padding?: string;
28
+ field?: PipelineSolucoesFieldTokens;
29
+ login?: {
30
+ button?: PipelineSolucoesButtonTokens;
31
+ field?: PipelineSolucoesFieldTokens;
25
32
  };
26
33
  }
27
34
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipelinesolucoes/theme",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Base de tema e design system da Pipeline Soluções",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {