@dashadmin/dash-styles 1.3.72 → 1.3.74-srcfree.1

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 (57) hide show
  1. package/dist/helpers/getAllCssVariablesFromStyleSheets.d.ts +2 -0
  2. package/dist/index.d.ts +6 -9
  3. package/package.json +5 -5
  4. package/src/assets/fonts/Montserrat-Black.ttf +0 -0
  5. package/src/assets/fonts/Montserrat-Bold.ttf +0 -0
  6. package/src/assets/fonts/Montserrat-Medium.ttf +0 -0
  7. package/src/assets/fonts/Montserrat-Regular.ttf +0 -0
  8. package/src/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  9. package/src/dash-css-transformer.less +0 -769
  10. package/src/dash-variables.less +0 -10
  11. package/src/dash.less +0 -38
  12. package/src/helpers/getAllCssVariablesFromStyleSheets.tsx +0 -46
  13. package/src/index.tsx +0 -1089
  14. package/src/index.tsx.suffixed +0 -680
  15. package/src/styles/button.less +0 -120
  16. package/src/styles/buttons.less +0 -10
  17. package/src/styles/card.less +0 -361
  18. package/src/styles/common.less +0 -62
  19. package/src/styles/components/notfound.less +0 -50
  20. package/src/styles/extra.less +0 -25
  21. package/src/styles/filters.less +0 -7
  22. package/src/styles/forms.less +0 -41
  23. package/src/styles/framed.less +0 -45
  24. package/src/styles/header.less +0 -882
  25. package/src/styles/input.copy.less +0 -223
  26. package/src/styles/input.less +0 -223
  27. package/src/styles/layout.less +0 -298
  28. package/src/styles/links.less +0 -28
  29. package/src/styles/loader.less +0 -20
  30. package/src/styles/login.less +0 -331
  31. package/src/styles/modal.less +0 -127
  32. package/src/styles/module.less +0 -29
  33. package/src/styles/mui-overrides.less +0 -62
  34. package/src/styles/notification.less +0 -46
  35. package/src/styles/pages/profile.less +0 -139
  36. package/src/styles/pagination.less +0 -90
  37. package/src/styles/popover.less +0 -21
  38. package/src/styles/react-admin/common.less +0 -184
  39. package/src/styles/react-admin/toolbar.less +0 -22
  40. package/src/styles/root.less +0 -13
  41. package/src/styles/sidebar.less +0 -1015
  42. package/src/styles/splash.less +0 -44
  43. package/src/styles/static.less +0 -59
  44. package/src/styles/stats.less +0 -5
  45. package/src/styles/svg.less +0 -30
  46. package/src/styles/switch.less +0 -7
  47. package/src/styles/table.less +0 -196
  48. package/src/styles/tabs.less +0 -181
  49. package/src/styles/tags.less +0 -97
  50. package/src/styles/toast.less +0 -83
  51. package/src/styles/toolbar.less +0 -90
  52. package/src/styles/transition.less +0 -226
  53. package/src/styles/uploader.less +0 -38
  54. package/src/variables/breakpoints.less +0 -35
  55. package/src/variables/colors.less +0 -205
  56. package/src/variables/dash-colors.less +0 -52
  57. package/src/variables/sizes.less +0 -150
@@ -0,0 +1,2 @@
1
+ declare const getAllCssVariablesFromStyleSheets: (selector: string) => {};
2
+ export default getAllCssVariablesFromStyleSheets;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import * as _mui_material_styles from '@mui/material/styles';
2
-
3
- declare const defaultOptions: (options: any) => {
1
+ export declare const defaultOptions: (options: any) => {
4
2
  cssVariables: {
5
3
  cssVarPrefix: string;
6
4
  colorSchemeSelector: string;
@@ -599,7 +597,7 @@ declare const defaultOptions: (options: any) => {
599
597
  };
600
598
  };
601
599
  };
602
- declare const defaultComponentOverrides: (options?: any) => {
600
+ export declare const defaultComponentOverrides: (options?: any) => {
603
601
  typography: {
604
602
  allVariants: {};
605
603
  };
@@ -1111,15 +1109,14 @@ declare const defaultComponentOverrides: (options?: any) => {
1111
1109
  };
1112
1110
  };
1113
1111
  };
1114
- declare const appTheme: (muiThemeOptions?: any, options?: {
1112
+ export declare const appTheme: (muiThemeOptions?: any, options?: {
1115
1113
  tenantSettings?: any;
1116
1114
  colors?: any;
1117
1115
  [key: string]: any;
1118
- }) => _mui_material_styles.ThemeOptions;
1119
- declare const getAntTheme: (options?: {
1116
+ }) => import("@mui/material/styles").ThemeOptions;
1117
+ export declare const getAntTheme: (options?: {
1120
1118
  tenantSettings?: any;
1121
1119
  colors?: any;
1122
1120
  [key: string]: any;
1123
1121
  }) => Record<string, any>;
1124
-
1125
- export { appTheme, appTheme as default, defaultComponentOverrides, defaultOptions, getAntTheme };
1122
+ export default appTheme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dashadmin/dash-styles",
3
- "version": "1.3.72",
3
+ "version": "1.3.74-srcfree.1",
4
4
  "main": "dist/index.cjs",
5
5
  "exports": {
6
6
  ".": {
@@ -27,17 +27,17 @@
27
27
  "antd": ">=5.0.0"
28
28
  },
29
29
  "module": "dist/index.js",
30
- "types": "dist/index.d.ts",
30
+ "types": "./dist/index.d.ts",
31
31
  "publishConfig": {
32
32
  "access": "public",
33
33
  "registry": "https://registry.npmjs.org"
34
34
  },
35
35
  "scripts": {
36
- "build": "tsup"
36
+ "build": "tsup && pnpm run build:types",
37
+ "build:types": "tsc -p tsconfig.json --declaration --emitDeclarationOnly --noEmit false --outDir dist --rootDir src --skipLibCheck || true"
37
38
  },
38
39
  "files": [
39
- "dist",
40
- "src"
40
+ "dist"
41
41
  ],
42
42
  "type": "module"
43
43
  }