@erpsquad/common 1.7.2 → 1.7.3

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 (28) hide show
  1. package/CHANGELOG.md +0 -25
  2. package/README.md +934 -946
  3. package/dist/{article-cell-editor-JDI676YI-Bgq3iI1C.esm.js → article-cell-editor-JDI676YI-Dc_C73-P.esm.js} +2 -2
  4. package/dist/{article-cell-editor-JDI676YI-Bgq3iI1C.esm.js.map → article-cell-editor-JDI676YI-Dc_C73-P.esm.js.map} +1 -1
  5. package/dist/{article-cell-editor-JDI676YI-C7s2Yz0q.js → article-cell-editor-JDI676YI-DdLmEDri.js} +2 -2
  6. package/dist/{article-cell-editor-JDI676YI-C7s2Yz0q.js.map → article-cell-editor-JDI676YI-DdLmEDri.js.map} +1 -1
  7. package/dist/components/index.d.ts +9 -0
  8. package/dist/components/index.esm.js +91 -82
  9. package/dist/components/index.js +1 -1
  10. package/dist/{index-Ctq0WMb1.js → index-Ch4YhLU3.js} +168 -152
  11. package/dist/index-Ch4YhLU3.js.map +1 -0
  12. package/dist/{index-D-LS9re6.esm.js → index-Ck1uBa0H.esm.js} +1830 -833
  13. package/dist/index-Ck1uBa0H.esm.js.map +1 -0
  14. package/dist/index.esm.js +109 -100
  15. package/dist/index.js +1 -1
  16. package/dist/index.js.map +1 -1
  17. package/dist/{number-overlay-editor-FPDVTUA6-C0znNQy0.esm.js → number-overlay-editor-FPDVTUA6-CIQKpJh_.esm.js} +2 -2
  18. package/dist/{number-overlay-editor-FPDVTUA6-C0znNQy0.esm.js.map → number-overlay-editor-FPDVTUA6-CIQKpJh_.esm.js.map} +1 -1
  19. package/dist/{number-overlay-editor-FPDVTUA6-BUC63sqH.js → number-overlay-editor-FPDVTUA6-CJNQkl_m.js} +2 -2
  20. package/dist/{number-overlay-editor-FPDVTUA6-BUC63sqH.js.map → number-overlay-editor-FPDVTUA6-CJNQkl_m.js.map} +1 -1
  21. package/dist/style.css +3 -3
  22. package/package.json +293 -293
  23. package/src/styles/css/reset.css +1 -7
  24. package/src/styles/index.ts +8 -7
  25. package/src/styles/sass/main.scss +4 -7
  26. package/dist/index-Ctq0WMb1.js.map +0 -1
  27. package/dist/index-D-LS9re6.esm.js.map +0 -1
  28. package/src/styles/sass/_mui-overrides.scss +0 -177
@@ -1,177 +0,0 @@
1
- /**
2
- * MUI Override Layer
3
- *
4
- * This file provides a specificity boost to all custom component styles
5
- * to ensure they override MUI's dynamically injected Emotion styles.
6
- *
7
- * MUI uses Emotion which injects styles at runtime, causing them to appear
8
- * after static CSS in the DOM, which makes them win due to source order.
9
- *
10
- * Solution: Increase specificity of all custom styles globally.
11
- */
12
-
13
- // ============================================
14
- // GLOBAL SPECIFICITY BOOST
15
- // ============================================
16
-
17
- // This selector increases specificity for all elements within the app
18
- // without requiring changes to individual component files
19
- :where(html) {
20
-
21
- // Typography overrides
22
- .MuiTypography-root {
23
- &.css-pba0ee-MuiTypography-root,
24
- &.css-ghkqlm-MuiTypography-root,
25
- &[class*="MuiTypography"] {
26
- // Let component styles override
27
- }
28
- }
29
-
30
- // Box overrides
31
- .MuiBox-root {
32
- &[class*="css-"] {
33
- // Component styles will have higher specificity
34
- }
35
- }
36
-
37
- // Button overrides
38
- .MuiButton-root,
39
- .MuiIconButton-root {
40
- &[class*="css-"] {
41
- // Component styles will override
42
- }
43
- }
44
-
45
- // Collapse/Accordion overrides
46
- .MuiCollapse-root,
47
- .MuiCollapse-wrapper,
48
- .MuiCollapse-wrapperInner,
49
- .MuiCollapse-horizontal {
50
- &[class*="css-"] {
51
- // Component styles will override
52
- }
53
- }
54
-
55
- // Grid overrides
56
- .MuiGrid-root,
57
- .MuiGrid-container,
58
- .MuiGrid-item {
59
- &[class*="css-"] {
60
- // Component styles will override
61
- }
62
- }
63
-
64
- // TextField/Input overrides
65
- .MuiTextField-root,
66
- .MuiInputBase-root,
67
- .MuiOutlinedInput-root,
68
- .MuiInput-root {
69
- &[class*="css-"] {
70
- // Component styles will override
71
- }
72
- }
73
-
74
- // Card overrides
75
- .MuiCard-root,
76
- .MuiCardContent-root,
77
- .MuiCardActions-root {
78
- &[class*="css-"] {
79
- // Component styles will override
80
- }
81
- }
82
-
83
- // Tabs overrides
84
- .MuiTabs-root,
85
- .MuiTab-root,
86
- .MuiTabPanel-root {
87
- &[class*="css-"] {
88
- // Component styles will override
89
- }
90
- }
91
-
92
- // Table/DataGrid overrides
93
- .MuiTable-root,
94
- .MuiTableCell-root,
95
- .MuiTableRow-root,
96
- .MuiDataGrid-root {
97
- &[class*="css-"] {
98
- // Component styles will override
99
- }
100
- }
101
-
102
- // Divider overrides
103
- .MuiDivider-root {
104
- &[class*="css-"] {
105
- // Component styles will override
106
- }
107
- }
108
-
109
- // All other MUI components
110
- [class*="Mui"][class*="root"],
111
- [class*="Mui"][class*="-"] {
112
- &[class*="css-"] {
113
- // Component styles will override
114
- }
115
- }
116
- }
117
-
118
- // ============================================
119
- // ALTERNATIVE: Layer-based approach (for modern browsers)
120
- // ============================================
121
-
122
- // Use CSS Cascade Layers to control specificity
123
- // This ensures component styles always win over MUI
124
- @supports (color: color(display-p3 1 1 1)) {
125
- @layer mui-base, component-styles, utilities;
126
-
127
- // MUI styles will be in mui-base layer (lowest priority)
128
- // Component styles will be in component-styles layer
129
- // Utility classes will be in utilities layer (highest priority)
130
- }
131
-
132
- // ============================================
133
- // IMPORTANT OVERRIDES
134
- // ============================================
135
-
136
- // Critical overrides that must always work
137
- // These use !important as a last resort
138
-
139
- // Ensure dividers are visible
140
- html .MuiDivider-root[class*="css-"] {
141
- opacity: 1 !important;
142
- }
143
-
144
- // Ensure proper spacing
145
- html .MuiBox-root[class*="css-"][style*="margin"],
146
- html .MuiBox-root[class*="css-"][style*="padding"] {
147
- // Let inline styles work but allow component overrides
148
- }
149
-
150
- // Ensure text is visible
151
- html .MuiTypography-root[class*="css-"] {
152
- opacity: 1 !important;
153
- }
154
-
155
- // ============================================
156
- // EMOTION/MUI STYLE SPECIFICITY HELPERS
157
- // ============================================
158
-
159
- // These utility classes can be used in components to boost specificity
160
- .override-mui {
161
- // Add this class to force override MUI styles
162
- &.MuiButton-root,
163
- &.MuiBox-root,
164
- &.MuiTypography-root,
165
- &[class*="Mui"] {
166
- // Component styles will win
167
- }
168
- }
169
-
170
- // Wrapper class for entire application
171
- .erp-ui-app {
172
- // All styles within this wrapper have higher specificity
173
- [class*="Mui"] {
174
- // Component styles will override MUI defaults
175
- }
176
- }
177
-