@pipelinesolucoes/theme 1.0.7-beta.1 → 1.0.7-beta.11
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/hooks/useBreakpoints.d.ts +8 -0
- package/dist/hooks/useBreakpoints.js +13 -0
- package/dist/hooks/useBreakpoints.js.map +1 -0
- package/dist/index.d.ts +14 -4
- package/dist/index.js +14 -4
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/pipelinesolucoes.d.ts +22 -50
- package/dist/types/props/BorderProps.js.map +1 -0
- package/dist/types/props/ButtonProps.js.map +1 -0
- package/dist/types/{ColorProps.d.ts → props/ColorProps.d.ts} +1 -0
- package/dist/types/props/ColorProps.js.map +1 -0
- package/dist/types/props/IconProps.d.ts +6 -0
- package/dist/types/props/IconProps.js +2 -0
- package/dist/types/props/IconProps.js.map +1 -0
- package/dist/types/props/LayoutProps.js.map +1 -0
- package/dist/types/{TextProps.js.map → props/TextProps.js.map} +1 -1
- package/dist/types/tokens/buttonTokens.d.ts +16 -0
- package/dist/types/tokens/buttonTokens.js +2 -0
- package/dist/types/tokens/buttonTokens.js.map +1 -0
- package/dist/types/tokens/chipTokens.d.ts +7 -0
- package/dist/types/tokens/chipTokens.js +2 -0
- package/dist/types/tokens/chipTokens.js.map +1 -0
- package/dist/types/tokens/footerTokens.d.ts +3 -0
- package/dist/types/tokens/footerTokens.js +2 -0
- package/dist/types/tokens/footerTokens.js.map +1 -0
- package/dist/types/tokens/formTokens.d.ts +19 -0
- package/dist/types/tokens/formTokens.js +2 -0
- package/dist/types/tokens/formTokens.js.map +1 -0
- package/dist/types/tokens/linkTokens.d.ts +9 -0
- package/dist/types/tokens/linkTokens.js +2 -0
- package/dist/types/tokens/linkTokens.js.map +1 -0
- package/dist/types/tokens/notificationTokens.d.ts +21 -0
- package/dist/types/tokens/notificationTokens.js +2 -0
- package/dist/types/tokens/notificationTokens.js.map +1 -0
- package/dist/types/tokens/safeAreaTokens.d.ts +11 -0
- package/dist/types/tokens/safeAreaTokens.js +2 -0
- package/dist/types/tokens/safeAreaTokens.js.map +1 -0
- package/dist/types/tokens/typographyTokens.d.ts +8 -0
- package/dist/types/tokens/typographyTokens.js +2 -0
- package/dist/types/tokens/typographyTokens.js.map +1 -0
- package/package.json +1 -1
- package/dist/types/BorderProps.js.map +0 -1
- package/dist/types/ButtonProps.js.map +0 -1
- package/dist/types/ColorProps.js.map +0 -1
- package/dist/types/LayoutProps.js.map +0 -1
- /package/dist/types/{BorderProps.d.ts → props/BorderProps.d.ts} +0 -0
- /package/dist/types/{BorderProps.js → props/BorderProps.js} +0 -0
- /package/dist/types/{ButtonProps.d.ts → props/ButtonProps.d.ts} +0 -0
- /package/dist/types/{ButtonProps.js → props/ButtonProps.js} +0 -0
- /package/dist/types/{ColorProps.js → props/ColorProps.js} +0 -0
- /package/dist/types/{LayoutProps.d.ts → props/LayoutProps.d.ts} +0 -0
- /package/dist/types/{LayoutProps.js → props/LayoutProps.js} +0 -0
- /package/dist/types/{TextProps.d.ts → props/TextProps.d.ts} +0 -0
- /package/dist/types/{TextProps.js → props/TextProps.js} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useTheme, useMediaQuery } from "@mui/material";
|
|
3
|
+
export const useBreakpoints = () => {
|
|
4
|
+
const theme = useTheme();
|
|
5
|
+
return {
|
|
6
|
+
isXs: useMediaQuery(theme.breakpoints.down("sm")),
|
|
7
|
+
isSm: useMediaQuery(theme.breakpoints.between("sm", "md")),
|
|
8
|
+
isMd: useMediaQuery(theme.breakpoints.between("md", "lg")),
|
|
9
|
+
isLg: useMediaQuery(theme.breakpoints.between("lg", "xl")),
|
|
10
|
+
isXl: useMediaQuery(theme.breakpoints.up("xl")),
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=useBreakpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBreakpoints.js","sourceRoot":"","sources":["../../src/hooks/useBreakpoints.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAUxD,MAAM,CAAC,MAAM,cAAc,GAAG,GAAqB,EAAE;IACnD,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IAEzB,OAAO;QACL,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1D,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1D,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1D,IAAI,EAAE,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;KAChD,CAAC;AACJ,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import "./mui-theme";
|
|
2
|
+
export * from './hooks/useBreakpoints';
|
|
3
|
+
export * from "./types/props/BorderProps";
|
|
4
|
+
export * from "./types/props/ColorProps";
|
|
5
|
+
export * from "./types/props/LayoutProps";
|
|
6
|
+
export * from "./types/props/TextProps";
|
|
7
|
+
export * from "./types/props/IconProps";
|
|
8
|
+
export * from "./types/tokens/buttonTokens";
|
|
9
|
+
export * from "./types/tokens/linkTokens";
|
|
10
|
+
export * from "./types/tokens/formTokens";
|
|
11
|
+
export * from "./types/tokens/typographyTokens";
|
|
12
|
+
export * from "./types/tokens/safeAreaTokens";
|
|
13
|
+
export * from "./types/tokens/footerTokens";
|
|
14
|
+
export * from "./types/tokens/notificationTokens";
|
|
15
|
+
export * from "./types/tokens/chipTokens";
|
|
2
16
|
export * from "./types/pipelinesolucoes";
|
|
3
17
|
export * from "./utils/mergeThemeParts";
|
|
4
18
|
export * from "./createPipelineSolucoesTheme";
|
|
5
|
-
export * from "./types/BorderProps";
|
|
6
|
-
export * from "./types/ColorProps";
|
|
7
|
-
export * from "./types/LayoutProps";
|
|
8
|
-
export * from "./types/TextProps";
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import "./mui-theme";
|
|
2
|
+
export * from './hooks/useBreakpoints';
|
|
3
|
+
export * from "./types/props/BorderProps";
|
|
4
|
+
export * from "./types/props/ColorProps";
|
|
5
|
+
export * from "./types/props/LayoutProps";
|
|
6
|
+
export * from "./types/props/TextProps";
|
|
7
|
+
export * from "./types/props/IconProps";
|
|
8
|
+
export * from "./types/tokens/buttonTokens";
|
|
9
|
+
export * from "./types/tokens/linkTokens";
|
|
10
|
+
export * from "./types/tokens/formTokens";
|
|
11
|
+
export * from "./types/tokens/typographyTokens";
|
|
12
|
+
export * from "./types/tokens/safeAreaTokens";
|
|
13
|
+
export * from "./types/tokens/footerTokens";
|
|
14
|
+
export * from "./types/tokens/notificationTokens";
|
|
15
|
+
export * from "./types/tokens/chipTokens";
|
|
2
16
|
export * from "./types/pipelinesolucoes";
|
|
3
17
|
export * from "./utils/mergeThemeParts";
|
|
4
18
|
export * from "./createPipelineSolucoesTheme";
|
|
5
|
-
export * from "./types/BorderProps";
|
|
6
|
-
export * from "./types/ColorProps";
|
|
7
|
-
export * from "./types/LayoutProps";
|
|
8
|
-
export * from "./types/TextProps";
|
|
9
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAC;AAErB,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAC;AAErB,cAAc,wBAAwB,CAAC;AAEvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AAExC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC;AAE1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC"}
|