osi-cards-lib 1.5.30 → 1.5.32

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 (88) hide show
  1. package/README.md +58 -20
  2. package/package.json +13 -25
  3. package/postcss.config.js +81 -0
  4. package/section-registry.json +3864 -0
  5. package/section-registry.schema.json +264 -0
  6. package/fesm2022/osi-cards-lib.mjs +0 -31878
  7. package/fesm2022/osi-cards-lib.mjs.map +0 -1
  8. package/index.d.ts +0 -11522
  9. package/scripts/setup-angular-styles.js +0 -169
  10. package/styles/_components.scss +0 -38
  11. package/styles/_index.scss +0 -25
  12. package/styles/_osi-cards-mixins.scss +0 -459
  13. package/styles/_osi-cards-tokens.scss +0 -333
  14. package/styles/_styles-scoped.scss +0 -81
  15. package/styles/_styles.scss +0 -26
  16. package/styles/bundles/_ai-card.scss +0 -245
  17. package/styles/bundles/_all.scss +0 -68
  18. package/styles/bundles/_base.scss +0 -60
  19. package/styles/bundles/_card-skeleton.scss +0 -290
  20. package/styles/bundles/_index.scss +0 -25
  21. package/styles/bundles/_sections.scss +0 -48
  22. package/styles/bundles/_tokens-only.scss +0 -139
  23. package/styles/components/_ai-card-renderer.scss +0 -104
  24. package/styles/components/_badges.scss +0 -317
  25. package/styles/components/_card-actions.scss +0 -169
  26. package/styles/components/_card-footer.scss +0 -47
  27. package/styles/components/_component-styles.scss +0 -205
  28. package/styles/components/_empty-state.scss +0 -630
  29. package/styles/components/_hero-card.scss +0 -422
  30. package/styles/components/_image-fallback.scss +0 -28
  31. package/styles/components/_streaming-effects.scss +0 -518
  32. package/styles/components/cards/_ai-card.scss +0 -718
  33. package/styles/components/sections/_all-sections.generated.scss +0 -41
  34. package/styles/components/sections/_all-sections.scss +0 -1086
  35. package/styles/components/sections/_balanced-compact-system.scss +0 -186
  36. package/styles/components/sections/_compact-mixins.scss +0 -180
  37. package/styles/components/sections/_component-mixins.scss +0 -454
  38. package/styles/components/sections/_design-system.scss +0 -477
  39. package/styles/components/sections/_design-tokens.scss +0 -308
  40. package/styles/components/sections/_enhanced-design-variables.scss +0 -147
  41. package/styles/components/sections/_master-compact-system.scss +0 -302
  42. package/styles/components/sections/_master-dense-system.scss +0 -239
  43. package/styles/components/sections/_minimalistic-design.scss +0 -268
  44. package/styles/components/sections/_modern-effects.scss +0 -392
  45. package/styles/components/sections/_modern-sections.scss +0 -351
  46. package/styles/components/sections/_perfect-system.scss +0 -204
  47. package/styles/components/sections/_section-animations.scss +0 -331
  48. package/styles/components/sections/_section-shell.scss +0 -337
  49. package/styles/components/sections/_section-types.generated.scss +0 -30
  50. package/styles/components/sections/_sections-all.scss +0 -26
  51. package/styles/components/sections/_sections-base.scss +0 -334
  52. package/styles/components/sections/_typography-system.scss +0 -327
  53. package/styles/components/sections/_ultra-compact-tokens.scss +0 -375
  54. package/styles/components/sections/_unified-section-style.scss +0 -157
  55. package/styles/components/sections/_utility-classes.scss +0 -567
  56. package/styles/components/sections/_visual-effects-library.scss +0 -374
  57. package/styles/core/_animations.scss +0 -1498
  58. package/styles/core/_bootstrap-reset.scss +0 -445
  59. package/styles/core/_color-helpers.scss +0 -46
  60. package/styles/core/_global-unified.scss +0 -118
  61. package/styles/core/_global.scss +0 -73
  62. package/styles/core/_mixins.scss +0 -491
  63. package/styles/core/_surface-layers.scss +0 -76
  64. package/styles/core/_utilities.scss +0 -326
  65. package/styles/core/_variables-unified.scss +0 -57
  66. package/styles/core/_variables.scss +0 -36
  67. package/styles/core/variables/_colors-source.scss +0 -34
  68. package/styles/core/variables/_colors-unified.scss +0 -26
  69. package/styles/core/variables/_colors.scss +0 -21
  70. package/styles/critical.scss +0 -353
  71. package/styles/design-system/_compact-theme.scss +0 -159
  72. package/styles/design-system/_section-base.scss +0 -426
  73. package/styles/design-system/_tokens.scss +0 -237
  74. package/styles/design-system/_unified-sections.scss +0 -215
  75. package/styles/layout/_feature-grid.scss +0 -322
  76. package/styles/layout/_masonry.scss +0 -734
  77. package/styles/layout/_tilt.scss +0 -244
  78. package/styles/micro-interactions.scss +0 -583
  79. package/styles/mixins/_section-mixins.scss +0 -280
  80. package/styles/non-critical.scss +0 -643
  81. package/styles/reset/_framework-reset.scss +0 -457
  82. package/styles/reset/_index.scss +0 -14
  83. package/styles/reset/_shadow-reset.scss +0 -383
  84. package/styles/responsive.scss +0 -326
  85. package/styles/themes.scss +0 -573
  86. package/styles/tokens/_index.scss +0 -92
  87. package/styles/tokens/_master.scss +0 -1404
  88. package/styles/tokens/_section-tokens.generated.scss +0 -140
@@ -1,567 +0,0 @@
1
- // =====================================================================
2
- // UTILITY CLASSES
3
- // =====================================================================
4
- //
5
- // Optional utility classes for rapid development.
6
- // Can be used directly in templates for common patterns.
7
- //
8
- // =====================================================================
9
-
10
- @use "design-tokens" as *;
11
-
12
- // =====================================================================
13
- // SPACING UTILITIES
14
- // =====================================================================
15
-
16
- // Margin utilities
17
- .m-0 {
18
- margin: 0;
19
- }
20
- .m-xs {
21
- margin: var(--spacing-xs);
22
- }
23
- .m-sm {
24
- margin: var(--spacing-sm);
25
- }
26
- .m-md {
27
- margin: var(--spacing-md);
28
- }
29
- .m-base {
30
- margin: var(--spacing-base);
31
- }
32
- .m-lg {
33
- margin: var(--spacing-lg);
34
- }
35
- .m-xl {
36
- margin: var(--spacing-xl);
37
- }
38
-
39
- // Margin top
40
- .mt-0 {
41
- margin-top: 0;
42
- }
43
- .mt-xs {
44
- margin-top: var(--spacing-xs);
45
- }
46
- .mt-sm {
47
- margin-top: var(--spacing-sm);
48
- }
49
- .mt-md {
50
- margin-top: var(--spacing-md);
51
- }
52
- .mt-base {
53
- margin-top: var(--spacing-base);
54
- }
55
- .mt-lg {
56
- margin-top: var(--spacing-lg);
57
- }
58
-
59
- // Margin bottom
60
- .mb-0 {
61
- margin-bottom: 0;
62
- }
63
- .mb-xs {
64
- margin-bottom: var(--spacing-xs);
65
- }
66
- .mb-sm {
67
- margin-bottom: var(--spacing-sm);
68
- }
69
- .mb-md {
70
- margin-bottom: var(--spacing-md);
71
- }
72
- .mb-base {
73
- margin-bottom: var(--spacing-base);
74
- }
75
- .mb-lg {
76
- margin-bottom: var(--spacing-lg);
77
- }
78
-
79
- // Padding utilities
80
- .p-0 {
81
- padding: 0;
82
- }
83
- .p-xs {
84
- padding: var(--spacing-xs);
85
- }
86
- .p-sm {
87
- padding: var(--spacing-sm);
88
- }
89
- .p-md {
90
- padding: var(--spacing-md);
91
- }
92
- .p-base {
93
- padding: var(--spacing-base);
94
- }
95
- .p-lg {
96
- padding: var(--spacing-lg);
97
- }
98
- .p-xl {
99
- padding: var(--spacing-xl);
100
- }
101
-
102
- // Gap utilities (for flex/grid)
103
- .gap-0 {
104
- gap: 0;
105
- }
106
- .gap-xs {
107
- gap: var(--spacing-xs);
108
- }
109
- .gap-sm {
110
- gap: var(--spacing-sm);
111
- }
112
- .gap-md {
113
- gap: var(--spacing-md);
114
- }
115
- .gap-base {
116
- gap: var(--spacing-base);
117
- }
118
- .gap-lg {
119
- gap: var(--spacing-lg);
120
- }
121
-
122
- // =====================================================================
123
- // LAYOUT UTILITIES
124
- // =====================================================================
125
-
126
- // Display
127
- .d-none {
128
- display: none;
129
- }
130
- .d-block {
131
- display: block;
132
- }
133
- .d-inline {
134
- display: inline;
135
- }
136
- .d-inline-block {
137
- display: inline-block;
138
- }
139
- .d-flex {
140
- display: flex;
141
- }
142
- .d-grid {
143
- display: grid;
144
- }
145
-
146
- // Flexbox
147
- .flex-row {
148
- flex-direction: row;
149
- }
150
- .flex-col {
151
- flex-direction: column;
152
- }
153
- .flex-wrap {
154
- flex-wrap: wrap;
155
- }
156
- .flex-nowrap {
157
- flex-wrap: nowrap;
158
- }
159
-
160
- .items-start {
161
- align-items: flex-start;
162
- }
163
- .items-center {
164
- align-items: center;
165
- }
166
- .items-end {
167
- align-items: flex-end;
168
- }
169
- .items-stretch {
170
- align-items: stretch;
171
- }
172
-
173
- .justify-start {
174
- justify-content: flex-start;
175
- }
176
- .justify-center {
177
- justify-content: center;
178
- }
179
- .justify-end {
180
- justify-content: flex-end;
181
- }
182
- .justify-between {
183
- justify-content: space-between;
184
- }
185
- .justify-around {
186
- justify-content: space-around;
187
- }
188
-
189
- .flex-1 {
190
- flex: 1;
191
- }
192
- .flex-shrink-0 {
193
- flex-shrink: 0;
194
- }
195
- .flex-grow {
196
- flex-grow: 1;
197
- }
198
-
199
- // Grid
200
- .grid-cols-1 {
201
- grid-template-columns: repeat(1, 1fr);
202
- }
203
- .grid-cols-2 {
204
- grid-template-columns: repeat(2, 1fr);
205
- }
206
- .grid-cols-3 {
207
- grid-template-columns: repeat(3, 1fr);
208
- }
209
- .grid-cols-4 {
210
- grid-template-columns: repeat(4, 1fr);
211
- }
212
-
213
- // =====================================================================
214
- // TYPOGRAPHY UTILITIES
215
- // =====================================================================
216
-
217
- .text-left {
218
- text-align: left;
219
- }
220
- .text-center {
221
- text-align: center;
222
- }
223
- .text-right {
224
- text-align: right;
225
- }
226
-
227
- .text-xs {
228
- font-size: var(--text-xs);
229
- }
230
- .text-sm {
231
- font-size: var(--text-sm);
232
- }
233
- .text-base {
234
- font-size: var(--text-base);
235
- }
236
- .text-lg {
237
- font-size: var(--text-lg);
238
- }
239
- .text-xl {
240
- font-size: var(--text-xl);
241
- }
242
- .text-2xl {
243
- font-size: var(--text-2xl);
244
- }
245
-
246
- .font-light {
247
- font-weight: var(--font-light);
248
- }
249
- .font-normal {
250
- font-weight: var(--font-normal);
251
- }
252
- .font-medium {
253
- font-weight: var(--font-medium);
254
- }
255
- .font-semibold {
256
- font-weight: var(--font-semibold);
257
- }
258
- .font-bold {
259
- font-weight: var(--font-bold);
260
- }
261
-
262
- .uppercase {
263
- text-transform: uppercase;
264
- }
265
- .lowercase {
266
- text-transform: lowercase;
267
- }
268
- .capitalize {
269
- text-transform: capitalize;
270
- }
271
-
272
- .truncate {
273
- overflow: hidden;
274
- text-overflow: ellipsis;
275
- white-space: nowrap;
276
- }
277
-
278
- // =====================================================================
279
- // COLOR UTILITIES
280
- // =====================================================================
281
-
282
- .text-primary {
283
- color: var(--foreground);
284
- }
285
- .text-secondary {
286
- color: var(--muted-foreground);
287
- }
288
- .text-accent {
289
- color: var(--accent);
290
- }
291
- .text-success {
292
- color: var(--status-success);
293
- }
294
- .text-warning {
295
- color: var(--status-warning);
296
- }
297
- .text-error {
298
- color: var(--status-error);
299
- }
300
-
301
- .bg-transparent {
302
- background: transparent;
303
- }
304
- .bg-surface {
305
- background: var(--osi-section-item-background);
306
- }
307
- .bg-raised {
308
- background: var(--osi-section-item-background-hover);
309
- }
310
- .bg-muted {
311
- background: var(--muted);
312
- }
313
-
314
- // =====================================================================
315
- // BORDER & RADIUS UTILITIES
316
- // =====================================================================
317
-
318
- .border {
319
- border: 1px solid var(--border);
320
- }
321
- .border-0 {
322
- border: none;
323
- }
324
- .border-t {
325
- border-top: 1px solid var(--border);
326
- }
327
- .border-b {
328
- border-bottom: 1px solid var(--border);
329
- }
330
-
331
- .rounded-none {
332
- border-radius: 0;
333
- }
334
- .rounded-sm {
335
- border-radius: var(--radius-sm);
336
- }
337
- .rounded {
338
- border-radius: var(--radius-md);
339
- }
340
- .rounded-lg {
341
- border-radius: var(--radius-lg);
342
- }
343
- .rounded-full {
344
- border-radius: var(--radius-full);
345
- }
346
-
347
- // =====================================================================
348
- // SHADOW UTILITIES
349
- // =====================================================================
350
-
351
- .shadow-none {
352
- box-shadow: none;
353
- }
354
- .shadow-sm {
355
- box-shadow: var(--shadow-sm);
356
- }
357
- .shadow {
358
- box-shadow: var(--shadow-md);
359
- }
360
- .shadow-lg {
361
- box-shadow: var(--shadow-lg);
362
- }
363
-
364
- // =====================================================================
365
- // OPACITY UTILITIES
366
- // =====================================================================
367
-
368
- .opacity-0 {
369
- opacity: 0;
370
- }
371
- .opacity-10 {
372
- opacity: 0.1;
373
- }
374
- .opacity-20 {
375
- opacity: 0.2;
376
- }
377
- .opacity-30 {
378
- opacity: 0.3;
379
- }
380
- .opacity-40 {
381
- opacity: 0.4;
382
- }
383
- .opacity-50 {
384
- opacity: 0.5;
385
- }
386
- .opacity-60 {
387
- opacity: 0.6;
388
- }
389
- .opacity-70 {
390
- opacity: 0.7;
391
- }
392
- .opacity-80 {
393
- opacity: 0.8;
394
- }
395
- .opacity-90 {
396
- opacity: 0.9;
397
- }
398
- .opacity-100 {
399
- opacity: 1;
400
- }
401
-
402
- // =====================================================================
403
- // POSITION UTILITIES
404
- // =====================================================================
405
-
406
- .relative {
407
- position: relative;
408
- }
409
- .absolute {
410
- position: absolute;
411
- }
412
- .fixed {
413
- position: fixed;
414
- }
415
- .sticky {
416
- position: sticky;
417
- }
418
-
419
- // =====================================================================
420
- // OVERFLOW UTILITIES
421
- // =====================================================================
422
-
423
- .overflow-hidden {
424
- overflow: hidden;
425
- }
426
- .overflow-auto {
427
- overflow: auto;
428
- }
429
- .overflow-x-auto {
430
- overflow-x: auto;
431
- }
432
- .overflow-y-auto {
433
- overflow-y: auto;
434
- }
435
-
436
- // =====================================================================
437
- // WIDTH & HEIGHT UTILITIES
438
- // =====================================================================
439
-
440
- .w-full {
441
- width: 100%;
442
- }
443
- .w-auto {
444
- width: auto;
445
- }
446
- .h-full {
447
- height: 100%;
448
- }
449
- .h-auto {
450
- height: auto;
451
- }
452
-
453
- .min-h-0 {
454
- min-height: 0;
455
- }
456
- .min-w-0 {
457
- min-width: 0;
458
- }
459
-
460
- // =====================================================================
461
- // CURSOR UTILITIES
462
- // =====================================================================
463
-
464
- .cursor-pointer {
465
- cursor: pointer;
466
- }
467
- .cursor-default {
468
- cursor: default;
469
- }
470
- .cursor-not-allowed {
471
- cursor: not-allowed;
472
- }
473
-
474
- // =====================================================================
475
- // INTERACTION UTILITIES
476
- // =====================================================================
477
-
478
- .pointer-events-none {
479
- pointer-events: none;
480
- }
481
- .pointer-events-auto {
482
- pointer-events: auto;
483
- }
484
-
485
- .select-none {
486
- user-select: none;
487
- }
488
- .select-text {
489
- user-select: text;
490
- }
491
-
492
- // =====================================================================
493
- // VISIBILITY UTILITIES
494
- // =====================================================================
495
-
496
- .visible {
497
- visibility: visible;
498
- }
499
- .invisible {
500
- visibility: hidden;
501
- }
502
-
503
- // =====================================================================
504
- // RESPONSIVE UTILITIES (Mobile-first)
505
- // =====================================================================
506
-
507
- @media (min-width: 640px) {
508
- .sm\\:d-block {
509
- display: block;
510
- }
511
- .sm\\:d-flex {
512
- display: flex;
513
- }
514
- .sm\\:d-grid {
515
- display: grid;
516
- }
517
- .sm\\:d-none {
518
- display: none;
519
- }
520
- }
521
-
522
- @media (min-width: 768px) {
523
- .md\\:d-block {
524
- display: block;
525
- }
526
- .md\\:d-flex {
527
- display: flex;
528
- }
529
- .md\\:d-grid {
530
- display: grid;
531
- }
532
- .md\\:d-none {
533
- display: none;
534
- }
535
-
536
- .md\\:grid-cols-2 {
537
- grid-template-columns: repeat(2, 1fr);
538
- }
539
- .md\\:grid-cols-3 {
540
- grid-template-columns: repeat(3, 1fr);
541
- }
542
- .md\\:grid-cols-4 {
543
- grid-template-columns: repeat(4, 1fr);
544
- }
545
- }
546
-
547
- @media (min-width: 1024px) {
548
- .lg\\:d-block {
549
- display: block;
550
- }
551
- .lg\\:d-flex {
552
- display: flex;
553
- }
554
- .lg\\:d-grid {
555
- display: grid;
556
- }
557
- .lg\\:d-none {
558
- display: none;
559
- }
560
-
561
- .lg\\:grid-cols-3 {
562
- grid-template-columns: repeat(3, 1fr);
563
- }
564
- .lg\\:grid-cols-4 {
565
- grid-template-columns: repeat(4, 1fr);
566
- }
567
- }