@pipelinesolucoes/theme 1.0.7-beta.3 → 1.0.7-beta.5

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,11 +1,15 @@
1
1
  import { ButtonKind, PipelineSolucoesButtonTokens } from "./tokens/buttonTokens";
2
+ import { PipelineSolucoesFooterTokens } from "./tokens/footerTokens";
2
3
  import { PipelineSolucoesFieldTokens, PipelineSolucoesLoginFormTokens, PipelineSolucoesNotificationFormTokens } from "./tokens/formTokens";
4
+ import { PipelineSolucoesNotificationTokens } from "./tokens/notificationTokens";
5
+ import { PipelineSolucoesSafeAreaTokens } from "./tokens/safeAreaTokens";
3
6
  import { PipelineSolucoesTypographyTokens } from "./tokens/typographyTokens";
4
7
  /**
5
8
  * Aqui é o "contrato" único do Theme.pipesol
6
9
  * (vai crescer com o tempo: cards, menu, section, etc.)
7
10
  */
8
11
  export interface PipelineSolucoesThemeTokens {
12
+ safeArea?: PipelineSolucoesSafeAreaTokens;
9
13
  buttons?: {
10
14
  typography?: PipelineSolucoesTypographyTokens;
11
15
  variants?: Partial<Record<ButtonKind, PipelineSolucoesButtonTokens>>;
@@ -15,4 +19,6 @@ export interface PipelineSolucoesThemeTokens {
15
19
  field?: PipelineSolucoesFieldTokens;
16
20
  login?: PipelineSolucoesLoginFormTokens;
17
21
  };
22
+ footer?: PipelineSolucoesFooterTokens;
23
+ notification?: PipelineSolucoesNotificationTokens;
18
24
  }
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface IconProps {
3
+ icon?: React.ReactNode;
4
+ color?: string;
5
+ size?: number | string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IconProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconProps.js","sourceRoot":"","sources":["../../../src/types/props/IconProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface PipelineSolucoesFooterTokens {
2
+ background?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=footerTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footerTokens.js","sourceRoot":"","sources":["../../../src/types/tokens/footerTokens.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { BorderProps } from "../props/BorderProps";
2
+ import { ColorProps } from "../props/ColorProps";
3
+ import { IconProps } from "../props/IconProps";
4
+ import { LayoutProps } from "../props/LayoutProps";
5
+ export interface PipelineSolucoesNotificationTokens extends Pick<ColorProps, 'background' | 'color'>, BorderProps, LayoutProps {
6
+ success?: PipelineSolucoesNotificationIconTokens;
7
+ error?: PipelineSolucoesNotificationIconTokens;
8
+ warning?: PipelineSolucoesNotificationIconTokens;
9
+ info?: PipelineSolucoesNotificationIconTokens;
10
+ }
11
+ export interface PipelineSolucoesNotificationIconTokens extends Pick<IconProps, 'icon' | 'color' | 'size'> {
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=notificationTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationTokens.js","sourceRoot":"","sources":["../../../src/types/tokens/notificationTokens.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export interface PipelineSolucoesSpacingByBreakpoint {
2
+ margin: string;
3
+ padding: string;
4
+ }
5
+ export interface PipelineSolucoesSafeAreaTokens {
6
+ xs?: PipelineSolucoesSpacingByBreakpoint;
7
+ sm?: PipelineSolucoesSpacingByBreakpoint;
8
+ md?: PipelineSolucoesSpacingByBreakpoint;
9
+ lg?: PipelineSolucoesSpacingByBreakpoint;
10
+ xl?: PipelineSolucoesSpacingByBreakpoint;
11
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=safeAreaTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"safeAreaTokens.js","sourceRoot":"","sources":["../../../src/types/tokens/safeAreaTokens.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipelinesolucoes/theme",
3
- "version": "1.0.7-beta.3",
3
+ "version": "1.0.7-beta.5",
4
4
  "description": "Base de tema e design system da Pipeline Soluções",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {