@atomazing-org/design-system 1.0.23 → 1.0.25

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/index.d.mts CHANGED
@@ -72,6 +72,31 @@ interface ThemeContextProps {
72
72
  */
73
73
  type SystemTheme = "light" | "dark" | "unknown";
74
74
 
75
+ interface TypographyVariants {
76
+ text_xl_regular: {
77
+ font: string;
78
+ };
79
+ text_lg_regular: {
80
+ font: string;
81
+ };
82
+ }
83
+ declare module "@mui/material/styles" {
84
+ interface TypographyVariants {
85
+ text_xl_regular: React.CSSProperties;
86
+ text_lg_regular: React.CSSProperties;
87
+ }
88
+ interface TypographyVariantsOptions {
89
+ text_xl_regular?: React.CSSProperties;
90
+ text_lg_regular?: React.CSSProperties;
91
+ }
92
+ }
93
+ declare module "@mui/material/Typography" {
94
+ interface TypographyPropsVariantOverrides {
95
+ text_xl_regular: true;
96
+ text_lg_regular: true;
97
+ }
98
+ }
99
+
75
100
  declare const useThemeSettings: () => ThemeContextProps;
76
101
 
77
102
  declare const ThemeProviderWrapper: FC<PropsWithChildren>;
@@ -298,4 +323,4 @@ declare const useResponsiveDisplay: (breakpoint?: number) => boolean;
298
323
  */
299
324
  declare const useSystemTheme: () => SystemTheme;
300
325
 
301
- export { type AppSettings, ColorPalette, type DarkModeOptions, DialogBtn, ErrorBoundary, GlobalStyles, Loading, PathName, type SystemTheme, type ThemeContextProps, ThemeProviderWrapper, commonComponentProps, createCustomTheme, displayGreeting, fadeIn, fadeInLeft, getDayIdentifier, getFontColor, installAppAnimation, isDarkMode, isFontLight, isHexColor, logoutAnimation, progressPulse, pulseAnimation, scale, slideIn, slideInBottom, systemInfo, themeConfig, themes, timeAgo, timeAgoFromStart, useResponsiveDisplay, useSystemTheme, useThemeSettings };
326
+ export { type AppSettings, ColorPalette, type DarkModeOptions, DialogBtn, ErrorBoundary, GlobalStyles, Loading, PathName, type SystemTheme, type ThemeContextProps, ThemeProviderWrapper, type TypographyVariants, commonComponentProps, createCustomTheme, displayGreeting, fadeIn, fadeInLeft, getDayIdentifier, getFontColor, installAppAnimation, isDarkMode, isFontLight, isHexColor, logoutAnimation, progressPulse, pulseAnimation, scale, slideIn, slideInBottom, systemInfo, themeConfig, themes, timeAgo, timeAgoFromStart, useResponsiveDisplay, useSystemTheme, useThemeSettings };
package/dist/index.d.ts CHANGED
@@ -72,6 +72,31 @@ interface ThemeContextProps {
72
72
  */
73
73
  type SystemTheme = "light" | "dark" | "unknown";
74
74
 
75
+ interface TypographyVariants {
76
+ text_xl_regular: {
77
+ font: string;
78
+ };
79
+ text_lg_regular: {
80
+ font: string;
81
+ };
82
+ }
83
+ declare module "@mui/material/styles" {
84
+ interface TypographyVariants {
85
+ text_xl_regular: React.CSSProperties;
86
+ text_lg_regular: React.CSSProperties;
87
+ }
88
+ interface TypographyVariantsOptions {
89
+ text_xl_regular?: React.CSSProperties;
90
+ text_lg_regular?: React.CSSProperties;
91
+ }
92
+ }
93
+ declare module "@mui/material/Typography" {
94
+ interface TypographyPropsVariantOverrides {
95
+ text_xl_regular: true;
96
+ text_lg_regular: true;
97
+ }
98
+ }
99
+
75
100
  declare const useThemeSettings: () => ThemeContextProps;
76
101
 
77
102
  declare const ThemeProviderWrapper: FC<PropsWithChildren>;
@@ -298,4 +323,4 @@ declare const useResponsiveDisplay: (breakpoint?: number) => boolean;
298
323
  */
299
324
  declare const useSystemTheme: () => SystemTheme;
300
325
 
301
- export { type AppSettings, ColorPalette, type DarkModeOptions, DialogBtn, ErrorBoundary, GlobalStyles, Loading, PathName, type SystemTheme, type ThemeContextProps, ThemeProviderWrapper, commonComponentProps, createCustomTheme, displayGreeting, fadeIn, fadeInLeft, getDayIdentifier, getFontColor, installAppAnimation, isDarkMode, isFontLight, isHexColor, logoutAnimation, progressPulse, pulseAnimation, scale, slideIn, slideInBottom, systemInfo, themeConfig, themes, timeAgo, timeAgoFromStart, useResponsiveDisplay, useSystemTheme, useThemeSettings };
326
+ export { type AppSettings, ColorPalette, type DarkModeOptions, DialogBtn, ErrorBoundary, GlobalStyles, Loading, PathName, type SystemTheme, type ThemeContextProps, ThemeProviderWrapper, type TypographyVariants, commonComponentProps, createCustomTheme, displayGreeting, fadeIn, fadeInLeft, getDayIdentifier, getFontColor, installAppAnimation, isDarkMode, isFontLight, isHexColor, logoutAnimation, progressPulse, pulseAnimation, scale, slideIn, slideInBottom, systemInfo, themeConfig, themes, timeAgo, timeAgoFromStart, useResponsiveDisplay, useSystemTheme, useThemeSettings };
package/package.json CHANGED
@@ -1,64 +1,64 @@
1
- {
2
- "name": "@atomazing-org/design-system",
3
- "version": "1.0.23",
4
- "private": false,
5
- "description": "A library providing a set of useful utils, MUI style extensions, and components to build your application.",
6
- "author": "PonomarevBPM + MarkSinD",
7
- "license": "MIT",
8
- "homepage": "https://github.com/atomazing/design-system",
9
- "keywords": [
10
- "atomazing-org",
11
- "design-system",
12
- "mui",
13
- "emotion",
14
- "ui",
15
- "components",
16
- "styles",
17
- "utils"
18
- ],
19
- "main": "dist/index.js",
20
- "module": "dist/index.mjs",
21
- "types": "./dist/index.d.ts",
22
- "exports": {
23
- ".": {
24
- "import": "./dist/index.mjs",
25
- "require": "./dist/index.js"
26
- }
27
- },
28
- "files": [
29
- "dist",
30
- "README.md"
31
- ],
32
- "publishConfig": {
33
- "access": "public",
34
- "registry": "https://registry.npmjs.org/"
35
- },
36
- "scripts": {
37
- "build": "tsup",
38
- "dev": "tsup --watch",
39
- "test": "vitest",
40
- "format": "npm run format:eslint && npm run format:prettier",
41
- "format:eslint": "npm run lint:eslint -- --fix",
42
- "format:prettier": "npm run lint:prettier -- --write",
43
- "lint:eslint": "eslint \"**/*.{js,ts,tsx}\"",
44
- "lint:prettier": "prettier \"**/*.{json,js,ts,tsx}\" --check",
45
- "lint:ts": "tsc --noEmit",
46
- "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:ts"
47
- },
48
- "peerDependencies": {
49
- "@emotion/react": "^11.0.0",
50
- "@emotion/styled": "^11.0.0",
51
- "@emotion/css": "^11.0.0",
52
- "@mui/material": "^7.0.0",
53
- "@mui/icons-material": "^7.0.0"
54
- },
55
- "devDependencies": {
56
- "@atomazing-org/eslint-config": "2.4.0",
57
- "@emotion/react": "^11.14.0",
58
- "@emotion/styled": "^11.14.1",
59
- "@types/react": "^19.1.8",
60
- "prettier": "^3.6.2",
61
- "tsup": "^8.5.0",
62
- "typescript": "^5.8.3"
63
- }
64
- }
1
+ {
2
+ "name": "@atomazing-org/design-system",
3
+ "version": "1.0.25",
4
+ "private": false,
5
+ "description": "A library providing a set of useful utils, MUI style extensions, and components to build your application.",
6
+ "author": "PonomarevBPM + MarkSinD",
7
+ "license": "MIT",
8
+ "homepage": "https://github.com/atomazing/design-system",
9
+ "keywords": [
10
+ "atomazing-org",
11
+ "design-system",
12
+ "mui",
13
+ "emotion",
14
+ "ui",
15
+ "components",
16
+ "styles",
17
+ "utils"
18
+ ],
19
+ "main": "dist/index.js",
20
+ "module": "dist/index.mjs",
21
+ "types": "./dist/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.mjs",
25
+ "require": "./dist/index.js"
26
+ }
27
+ },
28
+ "files": [
29
+ "dist",
30
+ "README.md"
31
+ ],
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "registry": "https://registry.npmjs.org/"
35
+ },
36
+ "scripts": {
37
+ "build": "tsup",
38
+ "dev": "tsup --watch",
39
+ "test": "vitest",
40
+ "format": "npm run format:eslint && npm run format:prettier",
41
+ "format:eslint": "npm run lint:eslint -- --fix",
42
+ "format:prettier": "npm run lint:prettier -- --write",
43
+ "lint:eslint": "eslint \"**/*.{js,ts,tsx}\"",
44
+ "lint:prettier": "prettier \"**/*.{json,js,ts,tsx}\" --check",
45
+ "lint:ts": "tsc --noEmit",
46
+ "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:ts"
47
+ },
48
+ "peerDependencies": {
49
+ "@emotion/react": "^11.0.0",
50
+ "@emotion/styled": "^11.0.0",
51
+ "@emotion/css": "^11.0.0",
52
+ "@mui/material": "^7.0.0",
53
+ "@mui/icons-material": "^7.0.0"
54
+ },
55
+ "devDependencies": {
56
+ "@atomazing-org/eslint-config": "2.4.0",
57
+ "@emotion/react": "^11.14.0",
58
+ "@emotion/styled": "^11.14.1",
59
+ "@types/react": "^19.1.8",
60
+ "prettier": "^3.6.2",
61
+ "tsup": "^8.5.0",
62
+ "typescript": "^5.8.3"
63
+ }
64
+ }