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,205 +0,0 @@
1
- // ============================================
2
- // COMPONENT-SPECIFIC STYLES FOR SHADOW DOM
3
- // ============================================
4
- //
5
- // This file includes styles from components that use ViewEncapsulation.None.
6
- // These styles must be included in the Shadow DOM bundle to work properly.
7
- //
8
- // Components included:
9
- // - masonry-grid.component
10
- // - section-renderer.component (minimal styles)
11
- // - card-streaming-indicator.component
12
- // - Other ViewEncapsulation.None components
13
- //
14
- // ============================================
15
-
16
- // ============================================
17
- // MASONRY GRID COMPONENT STYLES
18
- // ============================================
19
- // These styles are from masonry-grid.component.css
20
- // Component uses ViewEncapsulation.None, so styles must be in Shadow DOM bundle
21
-
22
- .masonry-container {
23
- /* Pure CSS Grid - browser handles all positioning */
24
- display: grid;
25
- grid-template-columns: repeat(var(--masonry-columns, 4), 1fr);
26
- gap: var(--masonry-gap, 12px);
27
- width: 100%;
28
- min-height: 0;
29
- align-items: start;
30
- }
31
-
32
- /* Native CSS Masonry Support (when available) */
33
- @supports (grid-template-rows: masonry) {
34
- .masonry-container {
35
- grid-template-rows: masonry;
36
- grid-auto-rows: auto;
37
- }
38
- }
39
-
40
- /* Fallback: Use row dense for gap filling */
41
- @supports not (grid-template-rows: masonry) {
42
- .masonry-container {
43
- grid-auto-flow: row dense;
44
- grid-auto-rows: min-content;
45
- }
46
- }
47
-
48
- /* Streaming mode */
49
- .masonry-container--streaming {
50
- /* Smooth updates during streaming */
51
- transition: none;
52
- }
53
-
54
- /* ============================================================
55
- MASONRY ITEMS
56
- ============================================================ */
57
-
58
- .masonry-item {
59
- /* CSS Grid handles positioning automatically */
60
- position: relative;
61
- width: 100%;
62
- height: auto;
63
- min-height: fit-content;
64
- opacity: 1;
65
- pointer-events: auto;
66
-
67
- /* CSS containment for performance */
68
- contain: layout style paint;
69
-
70
- /* Ensure content determines height */
71
- display: flex;
72
- flex-direction: column;
73
-
74
- /* Smooth transitions for grid-column changes */
75
- transition:
76
- grid-column 0.3s ease,
77
- opacity 0.3s ease;
78
- }
79
-
80
- /* Gentle entrance animation for new sections */
81
- .masonry-item--animating {
82
- animation: masonry-gentle-enter 0.35s ease-out forwards;
83
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
84
- overflow: hidden;
85
- }
86
-
87
- @keyframes masonry-gentle-enter {
88
- 0% {
89
- opacity: 0;
90
- transform: translateY(8px);
91
- }
92
- 100% {
93
- opacity: 1;
94
- transform: translateY(0);
95
- }
96
- }
97
-
98
- /* Shimmer effect for new items */
99
- .masonry-item--animating::after {
100
- content: "";
101
- position: absolute;
102
- inset: 0;
103
- background: linear-gradient(
104
- 110deg,
105
- transparent 40%,
106
- rgba(255, 149, 0, 0.08) 50%,
107
- transparent 60%
108
- );
109
- animation: shimmer-sweep 0.5s ease-out forwards;
110
- pointer-events: none;
111
- border-radius: inherit;
112
- z-index: 10;
113
- }
114
-
115
- @keyframes shimmer-sweep {
116
- 0% {
117
- transform: translateX(-100%);
118
- opacity: 0.8;
119
- }
120
- 100% {
121
- transform: translateX(100%);
122
- opacity: 0;
123
- }
124
- }
125
-
126
- /* Ensure content fills item */
127
- .masonry-item > * {
128
- display: block;
129
- width: 100%;
130
- height: auto;
131
- }
132
-
133
- /* ============================================================
134
- RESPONSIVE OPTIMIZATIONS
135
- ============================================================ */
136
-
137
- /* Mobile: faster transitions */
138
- @media (max-width: 768px) {
139
- .masonry-container {
140
- min-height: 300px;
141
- }
142
-
143
- .masonry-item {
144
- transition: opacity 0.3s ease;
145
- }
146
- }
147
-
148
- /* Wide screen */
149
- @media (min-width: 1400px) {
150
- .masonry-container {
151
- min-height: 500px;
152
- }
153
- }
154
-
155
- /* ============================================================
156
- REDUCED MOTION SUPPORT
157
- ============================================================ */
158
-
159
- @media (prefers-reduced-motion: reduce) {
160
- .masonry-container,
161
- .masonry-item {
162
- transition: none !important;
163
- animation: none !important;
164
- }
165
-
166
- .masonry-item--animating::after {
167
- display: none;
168
- }
169
- }
170
-
171
- // ============================================
172
- // SECTION RENDERER COMPONENT
173
- // ============================================
174
- // Minimal styles - component uses ViewEncapsulation.None
175
- app-section-renderer {
176
- display: block;
177
- }
178
-
179
- // ============================================
180
- // CARD STREAMING INDICATOR
181
- // ============================================
182
- // Styles from card-streaming-indicator.component.css
183
- // Component uses ViewEncapsulation.None
184
-
185
- app-card-streaming-indicator {
186
- display: block;
187
- width: 100%;
188
- }
189
-
190
- // ============================================
191
- // SCREEN READER UTILITIES
192
- // ============================================
193
- // Shared utility classes for accessibility
194
-
195
- .sr-only {
196
- position: absolute;
197
- width: 1px;
198
- height: 1px;
199
- padding: 0;
200
- margin: -1px;
201
- overflow: hidden;
202
- clip: rect(0, 0, 0, 0);
203
- white-space: nowrap;
204
- border: 0;
205
- }