@rakeyshgidwani/roger-ui-bank-theme-stan-design 0.1.6 → 0.1.8

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 (70) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/dist/index.d.ts +2 -0
  3. package/dist/index.esm.js +11 -2
  4. package/dist/index.js +11 -2
  5. package/dist/styles.css +1 -1
  6. package/package.json +1 -1
  7. package/src/index.css +1046 -0
  8. package/src/index.ts +9 -1
  9. package/src/plugins/theme-css-generator.ts +354 -0
  10. package/src/styles/base/fonts.css +30 -0
  11. package/src/styles/base/generated-theme-variables.css +573 -0
  12. package/src/styles/base/index.css +7 -0
  13. package/src/styles/base/reset.css +48 -0
  14. package/src/styles/base/theme.css +1068 -0
  15. package/src/styles/base/typography.css +68 -0
  16. package/src/styles/base/variables.css +5 -0
  17. package/src/styles/components/CLAUDE.md +62 -0
  18. package/src/styles/components/base/badge.css +428 -0
  19. package/src/styles/components/base/button.css +774 -0
  20. package/src/styles/components/base/card.css +601 -0
  21. package/src/styles/components/base/checkbox.css +442 -0
  22. package/src/styles/components/base/index.css +9 -0
  23. package/src/styles/components/base/input.css +887 -0
  24. package/src/styles/components/base/label.css +296 -0
  25. package/src/styles/components/data-display/chart.css +353 -0
  26. package/src/styles/components/data-display/data-grid.css +619 -0
  27. package/src/styles/components/data-display/index.css +9 -0
  28. package/src/styles/components/data-display/list.css +560 -0
  29. package/src/styles/components/data-display/table.css +498 -0
  30. package/src/styles/components/data-display/timeline.css +764 -0
  31. package/src/styles/components/data-display/tree.css +881 -0
  32. package/src/styles/components/feedback/alert.css +358 -0
  33. package/src/styles/components/feedback/index.css +7 -0
  34. package/src/styles/components/feedback/progress.css +435 -0
  35. package/src/styles/components/feedback/skeleton.css +337 -0
  36. package/src/styles/components/feedback/toast.css +564 -0
  37. package/src/styles/components/index.css +17 -0
  38. package/src/styles/components/navigation/breadcrumb.css +465 -0
  39. package/src/styles/components/navigation/index.css +9 -0
  40. package/src/styles/components/navigation/menu.css +572 -0
  41. package/src/styles/components/navigation/pagination.css +635 -0
  42. package/src/styles/components/navigation/sidebar.css +807 -0
  43. package/src/styles/components/navigation/stepper.css +519 -0
  44. package/src/styles/components/navigation/tabs.css +404 -0
  45. package/src/styles/components/overlay/backdrop.css +243 -0
  46. package/src/styles/components/overlay/index.css +8 -0
  47. package/src/styles/components/overlay/modal.css +482 -0
  48. package/src/styles/components/overlay/popover.css +607 -0
  49. package/src/styles/components/overlay/portal.css +213 -0
  50. package/src/styles/components/overlay/tooltip.css +488 -0
  51. package/src/styles/generated-theme-variables.css +573 -0
  52. package/src/styles/index.css +5 -0
  53. package/src/styles/layers/index.css +54 -0
  54. package/src/styles/layers/overrides.css +108 -0
  55. package/src/styles/layers/validation.css +159 -0
  56. package/src/styles/layers/validation.js +310 -0
  57. package/src/styles/themes/default.css +450 -0
  58. package/src/styles/themes/enterprise.css +370 -0
  59. package/src/styles/themes/harvey.css +436 -0
  60. package/src/styles/themes/index.css +4 -0
  61. package/src/styles/themes/stan-design.css +572 -0
  62. package/src/styles/utilities/advanced-transition-system.css +467 -0
  63. package/src/styles/utilities/battery-conscious-animations.css +289 -0
  64. package/src/styles/utilities/enterprise-mobile-experience.css +817 -0
  65. package/src/styles/utilities/hardware-acceleration.css +121 -0
  66. package/src/styles/utilities/index.css +20 -0
  67. package/src/styles/utilities/mobile-skeleton-loading.css +596 -0
  68. package/src/styles/utilities/semantic-input-system.css +451 -0
  69. package/src/styles/utilities/touch-friendly-interface.css +247 -0
  70. package/src/styles/utilities/touch-optimization.css +165 -0
@@ -0,0 +1,289 @@
1
+ /* Battery-Conscious Mobile Animations CSS */
2
+
3
+ /* Base battery-conscious animation class */
4
+ .battery-conscious-animation {
5
+ transition: all 0.3s ease-out;
6
+ will-change: transform, opacity;
7
+ transform: translateZ(0);
8
+ backface-visibility: hidden;
9
+ }
10
+
11
+ /* Battery-aware animation variants */
12
+ .battery-optimized-animation {
13
+ transition: all 0.2s ease-out;
14
+ will-change: transform;
15
+ transform: translateZ(0);
16
+ }
17
+
18
+ .battery-critical-animation {
19
+ transition: opacity 0.1s linear;
20
+ will-change: opacity;
21
+ transform: none;
22
+ }
23
+
24
+ /* Performance-based animation classes */
25
+ .performance-throttled-light {
26
+ transition: all 0.25s ease-out;
27
+ will-change: transform, opacity;
28
+ }
29
+
30
+ .performance-throttled-moderate {
31
+ transition: all 0.2s ease-out;
32
+ will-change: transform;
33
+ }
34
+
35
+ .performance-throttled-aggressive {
36
+ transition: opacity 0.15s linear;
37
+ will-change: opacity;
38
+ }
39
+
40
+ /* Reduced motion support */
41
+ @media (prefers-reduced-motion: reduce) {
42
+ .battery-conscious-animation,
43
+ .battery-optimized-animation,
44
+ .battery-critical-animation,
45
+ .performance-throttled-light,
46
+ .performance-throttled-moderate,
47
+ .performance-throttled-aggressive {
48
+ animation: none !important;
49
+ transition: opacity 0.1s linear !important;
50
+ transform: none !important;
51
+ }
52
+
53
+ /* Ensure essential transitions still work */
54
+ .essential-transition {
55
+ transition: opacity 0.1s linear !important;
56
+ }
57
+ }
58
+
59
+ /* Battery level specific optimizations */
60
+ .battery-low .battery-conscious-animation {
61
+ transition-duration: 0.2s;
62
+ transition-timing-function: ease-out;
63
+ }
64
+
65
+ .battery-critical .battery-conscious-animation {
66
+ transition-duration: 0.1s;
67
+ transition-timing-function: linear;
68
+ transform: none;
69
+ }
70
+
71
+ /* Performance-based animation adjustments */
72
+ .performance-poor .battery-conscious-animation {
73
+ transition-duration: 0.15s;
74
+ transition-timing-function: linear;
75
+ }
76
+
77
+ .performance-fair .battery-conscious-animation {
78
+ transition-duration: 0.25s;
79
+ transition-timing-function: ease-out;
80
+ }
81
+
82
+ /* Mobile-specific optimizations */
83
+ @media (max-width: 768px) {
84
+ .battery-conscious-animation {
85
+ transition-duration: 0.25s;
86
+ }
87
+
88
+ .battery-optimized-animation {
89
+ transition-duration: 0.2s;
90
+ }
91
+
92
+ .battery-critical-animation {
93
+ transition-duration: 0.1s;
94
+ }
95
+ }
96
+
97
+ /* Touch device optimizations */
98
+ @media (hover: none) and (pointer: coarse) {
99
+ .battery-conscious-animation {
100
+ transition-duration: 0.2s;
101
+ transition-timing-function: ease-out;
102
+ }
103
+
104
+ .battery-optimized-animation {
105
+ transition-duration: 0.15s;
106
+ }
107
+
108
+ .battery-critical-animation {
109
+ transition-duration: 0.08s;
110
+ }
111
+ }
112
+
113
+ /* High DPI display optimizations */
114
+ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
115
+ .battery-conscious-animation {
116
+ transform: translateZ(0) scale(1);
117
+ }
118
+ }
119
+
120
+ /* Print media optimizations */
121
+ @media print {
122
+ .battery-conscious-animation,
123
+ .battery-optimized-animation,
124
+ .battery-critical-animation,
125
+ .performance-throttled-light,
126
+ .performance-throttled-moderate,
127
+ .performance-throttled-aggressive {
128
+ animation: none !important;
129
+ transition: none !important;
130
+ transform: none !important;
131
+ }
132
+ }
133
+
134
+ /* Animation complexity classes */
135
+ .animation-complexity-low {
136
+ transition: all 0.2s ease-out;
137
+ will-change: transform;
138
+ }
139
+
140
+ .animation-complexity-medium {
141
+ transition: all 0.3s ease-out;
142
+ will-change: transform, opacity;
143
+ }
144
+
145
+ .animation-complexity-high {
146
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
147
+ will-change: transform, opacity, filter;
148
+ }
149
+
150
+ /* Frame rate optimization classes */
151
+ .frame-rate-30 {
152
+ animation-duration: 0.033s;
153
+ transition-duration: 0.2s;
154
+ }
155
+
156
+ .frame-rate-45 {
157
+ animation-duration: 0.022s;
158
+ transition-duration: 0.25s;
159
+ }
160
+
161
+ .frame-rate-60 {
162
+ animation-duration: 0.016s;
163
+ transition-duration: 0.3s;
164
+ }
165
+
166
+ /* Memory optimization classes */
167
+ .memory-optimized {
168
+ contain: layout style paint;
169
+ will-change: auto;
170
+ }
171
+
172
+ .memory-critical {
173
+ contain: strict;
174
+ will-change: auto;
175
+ transform: none;
176
+ }
177
+
178
+ /* CPU optimization classes */
179
+ .cpu-optimized {
180
+ transition: transform 0.2s ease-out;
181
+ will-change: transform;
182
+ }
183
+
184
+ .cpu-critical {
185
+ transition: opacity 0.1s linear;
186
+ will-change: opacity;
187
+ transform: none;
188
+ }
189
+
190
+ /* Accessibility-focused animations */
191
+ .accessibility-optimized {
192
+ transition: opacity 0.15s ease-in-out;
193
+ will-change: opacity;
194
+ }
195
+
196
+ .accessibility-critical {
197
+ transition: none;
198
+ will-change: auto;
199
+ }
200
+
201
+ /* User preference classes */
202
+ .user-preference-performance .battery-conscious-animation {
203
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
204
+ will-change: transform, opacity, filter;
205
+ }
206
+
207
+ .user-preference-balanced .battery-conscious-animation {
208
+ transition: all 0.25s ease-out;
209
+ will-change: transform, opacity;
210
+ }
211
+
212
+ .user-preference-battery .battery-conscious-animation {
213
+ transition: all 0.2s ease-out;
214
+ will-change: transform;
215
+ }
216
+
217
+ .user-preference-accessibility .battery-conscious-animation {
218
+ transition: opacity 0.15s ease-in-out;
219
+ will-change: opacity;
220
+ }
221
+
222
+ /* Animation state classes */
223
+ .animation-paused {
224
+ animation-play-state: paused;
225
+ transition: none;
226
+ }
227
+
228
+ .animation-resumed {
229
+ animation-play-state: running;
230
+ transition: all 0.3s ease-out;
231
+ }
232
+
233
+ .animation-disabled {
234
+ animation: none !important;
235
+ transition: none !important;
236
+ transform: none !important;
237
+ }
238
+
239
+ /* Responsive animation adjustments */
240
+ @media (max-width: 480px) {
241
+ .battery-conscious-animation {
242
+ transition-duration: 0.2s;
243
+ }
244
+
245
+ .animation-complexity-high {
246
+ transition-duration: 0.25s;
247
+ }
248
+ }
249
+
250
+ @media (min-width: 1200px) {
251
+ .battery-conscious-animation {
252
+ transition-duration: 0.35s;
253
+ }
254
+
255
+ .animation-complexity-high {
256
+ transition-duration: 0.5s;
257
+ }
258
+ }
259
+
260
+ /* Dark mode optimizations */
261
+ @media (prefers-color-scheme: dark) {
262
+ .battery-conscious-animation {
263
+ transition-timing-function: ease-out;
264
+ }
265
+ }
266
+
267
+ /* High contrast mode optimizations */
268
+ @media (prefers-contrast: high) {
269
+ .battery-conscious-animation {
270
+ transition-duration: 0.2s;
271
+ transition-timing-function: ease-out;
272
+ }
273
+ }
274
+
275
+ /* Animation performance monitoring */
276
+ .animation-monitored {
277
+ contain: layout style paint;
278
+ will-change: transform, opacity;
279
+ }
280
+
281
+ .animation-optimized {
282
+ contain: layout style;
283
+ will-change: transform;
284
+ }
285
+
286
+ .animation-minimal {
287
+ contain: strict;
288
+ will-change: auto;
289
+ }