@pipelinesolucoes/notification 1.0.0-beta.0

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 (43) hide show
  1. package/LICENSE +78 -0
  2. package/README.md +166 -0
  3. package/dist/app/layout.d.ts +6 -0
  4. package/dist/app/layout.js +19 -0
  5. package/dist/app/layout.js.map +1 -0
  6. package/dist/app/page.d.ts +1 -0
  7. package/dist/app/page.js +6 -0
  8. package/dist/app/page.js.map +1 -0
  9. package/dist/components/NotificationStyled.d.ts +8 -0
  10. package/dist/components/NotificationStyled.js +45 -0
  11. package/dist/components/NotificationStyled.js.map +1 -0
  12. package/dist/components/TermsAndPrivacyBar.d.ts +16 -0
  13. package/dist/components/TermsAndPrivacyBar.js +135 -0
  14. package/dist/components/TermsAndPrivacyBar.js.map +1 -0
  15. package/dist/components/TermsAndPrivacyCard.d.ts +57 -0
  16. package/dist/components/TermsAndPrivacyCard.js +171 -0
  17. package/dist/components/TermsAndPrivacyCard.js.map +1 -0
  18. package/dist/index.d.ts +6 -0
  19. package/dist/index.js +4 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/pages/_app.d.ts +2 -0
  22. package/dist/pages/_app.js +20 -0
  23. package/dist/pages/_app.js.map +1 -0
  24. package/dist/pages/_document.d.ts +9 -0
  25. package/dist/pages/_document.js +33 -0
  26. package/dist/pages/_document.js.map +1 -0
  27. package/dist/theme.d.ts +27 -0
  28. package/dist/theme.js +230 -0
  29. package/dist/theme.js.map +1 -0
  30. package/dist/tsconfig.tsbuildinfo +1 -0
  31. package/dist/types/TermsAndPrivacyProps.d.ts +21 -0
  32. package/dist/types/TermsAndPrivacyProps.js +2 -0
  33. package/dist/types/TermsAndPrivacyProps.js.map +1 -0
  34. package/dist/types/style/BorderProps.d.ts +5 -0
  35. package/dist/types/style/BorderProps.js +2 -0
  36. package/dist/types/style/BorderProps.js.map +1 -0
  37. package/dist/types/style/ColorProps.d.ts +7 -0
  38. package/dist/types/style/ColorProps.js +7 -0
  39. package/dist/types/style/ColorProps.js.map +1 -0
  40. package/dist/types/style/LayoutProps.d.ts +6 -0
  41. package/dist/types/style/LayoutProps.js +2 -0
  42. package/dist/types/style/LayoutProps.js.map +1 -0
  43. package/package.json +56 -0
@@ -0,0 +1,21 @@
1
+ import { TypographyVariant } from "@mui/material/styles";
2
+ export interface TermsAndPrivacyProps {
3
+ url_termo_uso: string;
4
+ url_politica_privacidade: string;
5
+ background_color?: string;
6
+ color?: string;
7
+ border_radius?: string;
8
+ border?: string;
9
+ background_color_button_ok?: string;
10
+ color_button_ok?: string;
11
+ border_radius_button_ok?: string;
12
+ background_color_button_cancel?: string;
13
+ color_button_cancel?: string;
14
+ border_radius_button_cancel?: string;
15
+ background_color_link?: string;
16
+ color_link?: string;
17
+ background_color_hover_link?: string;
18
+ color_hover_link?: string;
19
+ variantTexto?: TypographyVariant;
20
+ variantButton?: TypographyVariant;
21
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TermsAndPrivacyProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TermsAndPrivacyProps.js","sourceRoot":"","sources":["../../src/types/TermsAndPrivacyProps.ts"],"names":[],"mappings":""}
@@ -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,7 @@
1
+ export interface ColorProps {
2
+ background?: string;
3
+ backgroundHover?: string;
4
+ colorText?: string;
5
+ colorHover?: string;
6
+ }
7
+ export declare const COLOR_STYLE_FORWARD_PROPS: (keyof ColorProps)[];
@@ -0,0 +1,7 @@
1
+ export const COLOR_STYLE_FORWARD_PROPS = [
2
+ 'background',
3
+ 'colorText',
4
+ 'backgroundHover',
5
+ 'colorHover',
6
+ ];
7
+ //# sourceMappingURL=ColorProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColorProps.js","sourceRoot":"","sources":["../../../src/types/style/ColorProps.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,yBAAyB,GAAyB;IAC7D,YAAY;IACZ,WAAW;IACX,iBAAiB;IACjB,YAAY;CACb,CAAC"}
@@ -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 ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@pipelinesolucoes/notification",
3
+ "version": "1.0.0-beta.0",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/pipeline-solucoes/notification.git"
7
+ },
8
+ "homepage": "https://github.com/pipeline-solucoes/notification#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/pipeline-solucoes/notification/issues"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "main": "dist/index.js",
16
+ "module": "dist/index.js",
17
+ "types": "dist/index.d.ts",
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "exports": {
22
+ ".": {
23
+ "import": "./dist/index.js",
24
+ "require": "./dist/index.js"
25
+ }
26
+ },
27
+ "scripts": {
28
+ "build": "tsc",
29
+ "prepare": "npm run build",
30
+ "start": "next start",
31
+ "lint": "next lint"
32
+ },
33
+ "peerDependencies": {
34
+ "@emotion/react": "^11.14.0",
35
+ "@emotion/styled": "^11.14.1",
36
+ "@mui/material": "^6.4.4 || ^7.3.0",
37
+ "react": "^18.0.0 || ^19.0.0",
38
+ "react-dom": "^18.0.0 || ^19.0.0",
39
+ "nookies": "^2.5.2"
40
+ },
41
+ "devDependencies": {
42
+ "@emotion/css": "^11.13.5",
43
+ "@emotion/react": "^11.14.0",
44
+ "@emotion/server": "^11.11.0",
45
+ "@emotion/styled": "^11.14.1",
46
+ "@eslint/eslintrc": "^3",
47
+ "@mui/material": "^7.3.0",
48
+ "@types/node": "^20",
49
+ "@types/react": "^19.0.8",
50
+ "@types/react-dom": "^19",
51
+ "eslint": "^9",
52
+ "eslint-config-next": "15.1.6",
53
+ "next": "^16.0.7",
54
+ "typescript": "^5"
55
+ }
56
+ }