@dashadmin/dash-styles 0.0.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 (69) hide show
  1. package/.editorconfig +12 -0
  2. package/.eslintignore +0 -0
  3. package/.eslintrc.json +7 -0
  4. package/.prettierignore +5 -0
  5. package/.prettierrc.cjs +3 -0
  6. package/README.md +1 -0
  7. package/commitlint.config.cjs +40 -0
  8. package/dist/README.md +1 -0
  9. package/dist/index.d.ts +3 -0
  10. package/dist/index.js +927 -0
  11. package/dist/package.json +34 -0
  12. package/package.json +34 -0
  13. package/src/assets/fonts/Montserrat-Black.ttf +0 -0
  14. package/src/assets/fonts/Montserrat-Bold.ttf +0 -0
  15. package/src/assets/fonts/Montserrat-Medium.ttf +0 -0
  16. package/src/assets/fonts/Montserrat-Regular.ttf +0 -0
  17. package/src/assets/fonts/Montserrat-SemiBold.ttf +0 -0
  18. package/src/dash-css-transformer.less +766 -0
  19. package/src/dash-variables.less +10 -0
  20. package/src/dash.less +38 -0
  21. package/src/helpers/getAllCssVariablesFromStyleSheets.tsx +46 -0
  22. package/src/index.tsx +1052 -0
  23. package/src/index.tsx.suffixed +680 -0
  24. package/src/styles/button.less +120 -0
  25. package/src/styles/buttons.less +10 -0
  26. package/src/styles/card.less +337 -0
  27. package/src/styles/common.less +62 -0
  28. package/src/styles/components/notfound.less +50 -0
  29. package/src/styles/extra.less +25 -0
  30. package/src/styles/filters.less +7 -0
  31. package/src/styles/forms.less +41 -0
  32. package/src/styles/framed.less +45 -0
  33. package/src/styles/header.less +879 -0
  34. package/src/styles/input.copy.less +223 -0
  35. package/src/styles/input.less +223 -0
  36. package/src/styles/layout.less +296 -0
  37. package/src/styles/links.less +28 -0
  38. package/src/styles/loader.less +20 -0
  39. package/src/styles/login.less +331 -0
  40. package/src/styles/modal.less +0 -0
  41. package/src/styles/module.less +29 -0
  42. package/src/styles/mui-overrides.less +62 -0
  43. package/src/styles/notification.less +46 -0
  44. package/src/styles/pages/profile.less +139 -0
  45. package/src/styles/pagination.less +90 -0
  46. package/src/styles/popover.less +21 -0
  47. package/src/styles/react-admin/common.less +184 -0
  48. package/src/styles/react-admin/toolbar.less +22 -0
  49. package/src/styles/root.less +13 -0
  50. package/src/styles/sidebar.less +705 -0
  51. package/src/styles/splash.less +44 -0
  52. package/src/styles/static.less +59 -0
  53. package/src/styles/stats.less +5 -0
  54. package/src/styles/svg.less +30 -0
  55. package/src/styles/switch.less +7 -0
  56. package/src/styles/table.less +196 -0
  57. package/src/styles/tabs.less +173 -0
  58. package/src/styles/tags.less +97 -0
  59. package/src/styles/toast.less +83 -0
  60. package/src/styles/toolbar.less +90 -0
  61. package/src/styles/transition.less +226 -0
  62. package/src/styles/uploader.less +38 -0
  63. package/src/variables/breakpoints.less +35 -0
  64. package/src/variables/colors.less +205 -0
  65. package/src/variables/dash-colors.less +52 -0
  66. package/src/variables/sizes.less +150 -0
  67. package/tsconfig.eslint.json +12 -0
  68. package/tsconfig.json +22 -0
  69. package/vite.config.mts +7 -0
package/.editorconfig ADDED
@@ -0,0 +1,12 @@
1
+ # Editor configuration, see https://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 2
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.ts]
12
+ quote_type = single
package/.eslintignore ADDED
File without changes
package/.eslintrc.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "root": true,
3
+ "extends": ["eslint-config"],
4
+ "parserOptions": {
5
+ "project": ["./dash-styles/tsconfig.eslint.json"]
6
+ }
7
+ }
@@ -0,0 +1,5 @@
1
+ **/.git
2
+ **/coverage
3
+ **/node_modules
4
+ **/.next
5
+ **/.gitlab-ci.yml
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ ...require('@dashadmin/dash-prettier'),
3
+ };
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # INSTRUCTIONS
@@ -0,0 +1,40 @@
1
+ module.exports = {
2
+ extends: ["@commitlint/config-conventional"],
3
+ rules: {
4
+ "body-leading-blank": [1, "always"],
5
+ "body-max-line-length": [2, "always", 100],
6
+ "footer-leading-blank": [1, "always"],
7
+ "footer-max-line-length": [2, "always", 100],
8
+ "header-max-length": [2, "always", 100],
9
+ "scope-case": [2, "always", "lower-case"],
10
+ "subject-case": [
11
+ 2,
12
+ "never",
13
+ ["sentence-case", "start-case", "pascal-case", "upper-case"],
14
+ ],
15
+ "subject-empty": [2, "never"],
16
+ "subject-full-stop": [2, "never", "."],
17
+ "type-case": [2, "always", "lower-case"],
18
+ "type-empty": [2, "never"],
19
+ "type-enum": [
20
+ 2,
21
+ "always",
22
+ [
23
+ "build",
24
+ "chore",
25
+ "ci",
26
+ "docs",
27
+ "feat",
28
+ "fix",
29
+ "perf",
30
+ "refactor",
31
+ "revert",
32
+ "style",
33
+ "test",
34
+ "translation",
35
+ "security",
36
+ "changeset",
37
+ ],
38
+ ],
39
+ },
40
+ }
package/dist/README.md ADDED
@@ -0,0 +1 @@
1
+ # INSTRUCTIONS
@@ -0,0 +1,3 @@
1
+ // Auto-generated permissive types for @dashadmin/dash-styles.
2
+ // Full typings can be regenerated with a tolerant tsc emit.
3
+ export {};