@pipelinesolucoes/theme 1.0.7-beta.1 → 1.0.7-beta.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.
Files changed (37) hide show
  1. package/dist/index.d.ts +8 -4
  2. package/dist/index.js +8 -4
  3. package/dist/index.js.map +1 -1
  4. package/dist/tsconfig.tsbuildinfo +1 -1
  5. package/dist/types/pipelinesolucoes.d.ts +12 -52
  6. package/dist/types/props/BorderProps.js.map +1 -0
  7. package/dist/types/props/ButtonProps.js.map +1 -0
  8. package/dist/types/props/ColorProps.js.map +1 -0
  9. package/dist/types/props/LayoutProps.js.map +1 -0
  10. package/dist/types/{TextProps.js.map → props/TextProps.js.map} +1 -1
  11. package/dist/types/tokens/buttonTokens.d.ts +14 -0
  12. package/dist/types/tokens/buttonTokens.js +2 -0
  13. package/dist/types/tokens/buttonTokens.js.map +1 -0
  14. package/dist/types/tokens/formTokens.d.ts +31 -0
  15. package/dist/types/tokens/formTokens.js +2 -0
  16. package/dist/types/tokens/formTokens.js.map +1 -0
  17. package/dist/types/tokens/linkTokens.d.ts +9 -0
  18. package/dist/types/tokens/linkTokens.js +2 -0
  19. package/dist/types/tokens/linkTokens.js.map +1 -0
  20. package/dist/types/tokens/typographyTokens.d.ts +8 -0
  21. package/dist/types/tokens/typographyTokens.js +2 -0
  22. package/dist/types/tokens/typographyTokens.js.map +1 -0
  23. package/package.json +1 -1
  24. package/dist/types/BorderProps.js.map +0 -1
  25. package/dist/types/ButtonProps.js.map +0 -1
  26. package/dist/types/ColorProps.js.map +0 -1
  27. package/dist/types/LayoutProps.js.map +0 -1
  28. /package/dist/types/{BorderProps.d.ts → props/BorderProps.d.ts} +0 -0
  29. /package/dist/types/{BorderProps.js → props/BorderProps.js} +0 -0
  30. /package/dist/types/{ButtonProps.d.ts → props/ButtonProps.d.ts} +0 -0
  31. /package/dist/types/{ButtonProps.js → props/ButtonProps.js} +0 -0
  32. /package/dist/types/{ColorProps.d.ts → props/ColorProps.d.ts} +0 -0
  33. /package/dist/types/{ColorProps.js → props/ColorProps.js} +0 -0
  34. /package/dist/types/{LayoutProps.d.ts → props/LayoutProps.d.ts} +0 -0
  35. /package/dist/types/{LayoutProps.js → props/LayoutProps.js} +0 -0
  36. /package/dist/types/{TextProps.d.ts → props/TextProps.d.ts} +0 -0
  37. /package/dist/types/{TextProps.js → props/TextProps.js} +0 -0
@@ -1,58 +1,18 @@
1
- export type ButtonKind = "primary" | "secondary" | "tertiary" | "delete" | "none";
2
- export interface PipelineSolucoesLinkTokens {
3
- color?: string;
4
- colorHover?: string;
5
- colorDisabled?: string;
6
- padding?: string;
7
- margin?: string;
8
- }
9
- export interface PipelineSolucoesButtonTokens {
10
- background?: string;
11
- color?: string;
12
- backgroundHover?: string;
13
- colorHover?: string;
14
- backgroundDisabled?: string;
15
- colorDisabled?: string;
16
- borderRadius?: string;
17
- boxShadow?: string;
18
- border?: string;
19
- padding?: string;
20
- margin?: string;
21
- }
22
- export interface PipelineSolucoesFieldTokens {
23
- background?: string;
24
- color?: string;
25
- backgroundDisabled?: string;
26
- colorDisabled?: string;
27
- backgroundFocused?: string;
28
- colorFocused?: string;
29
- borderRadius?: string;
30
- boxShadow?: string;
31
- borderColor?: string;
32
- padding?: string;
33
- margin?: string;
34
- }
35
- export interface PipelineSolucoesFormTokens {
36
- notification?: {
37
- background: string;
38
- };
39
- field?: PipelineSolucoesFieldTokens;
40
- login?: {
41
- background?: string;
42
- borderRadius?: string;
43
- border?: string;
44
- boxShadow?: string;
45
- button?: PipelineSolucoesButtonTokens;
46
- field?: PipelineSolucoesFieldTokens;
47
- link?: PipelineSolucoesLinkTokens;
48
- divider?: string;
49
- };
50
- }
1
+ import { ButtonKind, PipelineSolucoesButtonTokens } from "./tokens/buttonTokens";
2
+ import { PipelineSolucoesFieldTokens, PipelineSolucoesLoginFormTokens, PipelineSolucoesNotificationFormTokens } from "./tokens/formTokens";
3
+ import { PipelineSolucoesTypographyTokens } from "./tokens/typographyTokens";
51
4
  /**
52
5
  * Aqui é o "contrato" único do Theme.pipesol
53
6
  * (vai crescer com o tempo: cards, menu, section, etc.)
54
7
  */
55
8
  export interface PipelineSolucoesThemeTokens {
56
- buttons?: Partial<Record<ButtonKind, PipelineSolucoesButtonTokens>>;
57
- forms?: PipelineSolucoesFormTokens;
9
+ buttons?: {
10
+ typography?: PipelineSolucoesTypographyTokens;
11
+ variants?: Partial<Record<ButtonKind, PipelineSolucoesButtonTokens>>;
12
+ };
13
+ forms?: {
14
+ notification?: PipelineSolucoesNotificationFormTokens;
15
+ field?: PipelineSolucoesFieldTokens;
16
+ login?: PipelineSolucoesLoginFormTokens;
17
+ };
58
18
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BorderProps.js","sourceRoot":"","sources":["../../../src/types/props/BorderProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonProps.js","sourceRoot":"","sources":["../../../src/types/props/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 @@
1
+ {"version":3,"file":"ColorProps.js","sourceRoot":"","sources":["../../../src/types/props/ColorProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayoutProps.js","sourceRoot":"","sources":["../../../src/types/props/LayoutProps.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"TextProps.js","sourceRoot":"","sources":["../../src/types/TextProps.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"TextProps.js","sourceRoot":"","sources":["../../../src/types/props/TextProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export type ButtonKind = "primary" | "secondary" | "tertiary" | "delete" | "none";
2
+ export interface PipelineSolucoesButtonTokens {
3
+ background?: string;
4
+ color?: string;
5
+ backgroundHover?: string;
6
+ colorHover?: string;
7
+ backgroundDisabled?: string;
8
+ colorDisabled?: string;
9
+ borderRadius?: string;
10
+ boxShadow?: string;
11
+ border?: string;
12
+ padding?: string;
13
+ margin?: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=buttonTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buttonTokens.js","sourceRoot":"","sources":["../../../src/types/tokens/buttonTokens.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ import { PipelineSolucoesButtonTokens } from "./buttonTokens";
2
+ import { PipelineSolucoesLinkTokens } from "./linkTokens";
3
+ import { PipelineSolucoesTypographyTokens } from "./typographyTokens";
4
+ export interface PipelineSolucoesFieldTokens {
5
+ background?: string;
6
+ color?: string;
7
+ backgroundDisabled?: string;
8
+ colorDisabled?: string;
9
+ backgroundFocused?: string;
10
+ colorFocused?: string;
11
+ borderRadius?: string;
12
+ boxShadow?: string;
13
+ borderColor?: string;
14
+ height?: string;
15
+ padding?: string;
16
+ margin?: string;
17
+ typography?: PipelineSolucoesTypographyTokens;
18
+ }
19
+ export interface PipelineSolucoesNotificationFormTokens {
20
+ background?: string;
21
+ }
22
+ export interface PipelineSolucoesLoginFormTokens {
23
+ background?: string;
24
+ borderRadius?: string;
25
+ border?: string;
26
+ boxShadow?: string;
27
+ button?: PipelineSolucoesButtonTokens;
28
+ field?: PipelineSolucoesFieldTokens;
29
+ link?: PipelineSolucoesLinkTokens;
30
+ divider?: string;
31
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=formTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formTokens.js","sourceRoot":"","sources":["../../../src/types/tokens/formTokens.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { PipelineSolucoesTypographyTokens } from "./typographyTokens";
2
+ export interface PipelineSolucoesLinkTokens {
3
+ color?: string;
4
+ colorHover?: string;
5
+ colorDisabled?: string;
6
+ padding?: string;
7
+ margin?: string;
8
+ typography?: PipelineSolucoesTypographyTokens;
9
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=linkTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkTokens.js","sourceRoot":"","sources":["../../../src/types/tokens/linkTokens.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface PipelineSolucoesTypographyTokens {
2
+ fontFamily?: string;
3
+ fontSize?: string | number;
4
+ fontWeight?: number;
5
+ lineHeight?: string | number;
6
+ letterSpacing?: string;
7
+ textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
8
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=typographyTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typographyTokens.js","sourceRoot":"","sources":["../../../src/types/tokens/typographyTokens.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipelinesolucoes/theme",
3
- "version": "1.0.7-beta.1",
3
+ "version": "1.0.7-beta.3",
4
4
  "description": "Base de tema e design system da Pipeline Soluções",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"BorderProps.js","sourceRoot":"","sources":["../../src/types/BorderProps.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ColorProps.js","sourceRoot":"","sources":["../../src/types/ColorProps.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LayoutProps.js","sourceRoot":"","sources":["../../src/types/LayoutProps.ts"],"names":[],"mappings":""}
File without changes