osi-cards-lib 1.5.34 → 1.5.36

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.
package/index.d.ts CHANGED
@@ -11488,11 +11488,11 @@ declare function packWithZeroGapsGuarantee(sections: CardSection[], columns?: nu
11488
11488
  * Do not edit manually - generated by scripts/generate-version.js
11489
11489
  *
11490
11490
  * Source of truth: version.config.json
11491
- * Last synced: 2025-12-12T20:10:53.882Z
11491
+ * Last synced: 2025-12-12T21:21:07.663Z
11492
11492
  */
11493
11493
  declare const VERSION = "1.5.19";
11494
- declare const BUILD_DATE = "2025-12-12T20:10:53.882Z";
11495
- declare const BUILD_HASH = "fbe56c9";
11494
+ declare const BUILD_DATE = "2025-12-12T21:21:07.663Z";
11495
+ declare const BUILD_HASH = "34c5699";
11496
11496
  declare const BUILD_BRANCH = "main";
11497
11497
  interface VersionInfo {
11498
11498
  version: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osi-cards-lib",
3
- "version": "1.5.34",
3
+ "version": "1.5.36",
4
4
  "description": "Standalone OSI Cards library for Angular applications with CSS Layer support for easy style overrides",
5
5
  "keywords": [
6
6
  "angular",
@@ -95,4 +95,4 @@
95
95
  "*.css",
96
96
  "*.scss"
97
97
  ]
98
- }
98
+ }
@@ -31,13 +31,36 @@
31
31
  /* All library styles go in the osi-cards layer */
32
32
  @layer osi-cards {
33
33
  .osi-cards-container {
34
- // Container base styles - transparent with 8px padding
34
+ // Base reset styles - ensure perfect isolation and consistent rendering
35
+ all: initial;
36
+ position: relative;
37
+ width: 100% !important;
38
+ visibility: visible !important;
39
+ opacity: 1 !important;
40
+ font-size: var(--font-size-base, 14px);
41
+ line-height: 1.5;
42
+ color: var(--foreground, #1c1c1f);
43
+ -webkit-font-smoothing: antialiased;
44
+ text-rendering: optimizeLegibility;
45
+ font-feature-settings: "kern" 1;
46
+ -webkit-tap-highlight-color: transparent;
47
+ contain: layout style;
48
+ box-sizing: border-box !important;
49
+ margin: 0;
50
+ padding: 0;
51
+ outline-color: var(--ring);
52
+
53
+ // Container layout styles
35
54
  display: flex;
36
55
  justify-content: center;
37
56
  align-items: flex-start;
38
57
  padding: 8px;
39
58
  background: transparent !important;
40
59
  background-color: transparent !important;
60
+ min-height: 0;
61
+
62
+ // Font family - ensure consistent typography
63
+ font-family: Helvetica, Helvetica Neue, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif !important;
41
64
 
42
65
  // Preserve 3D transforms for tilt effects
43
66
  perspective: 1200px;
@@ -2,21 +2,21 @@
2
2
  BOOTSTRAP & BOOSTED STYLE ISOLATION
3
3
  Reset Bootstrap/Boosted Variables and Styles for Complete Isolation
4
4
  =================================================================== */
5
- /*
5
+ /*
6
6
  * This file resets all Bootstrap/Boosted CSS variables and common styles
7
7
  * within OSI Cards containers to prevent style conflicts when cards are
8
8
  * imported into applications that use Bootstrap or Orange Boosted.
9
- *
9
+ *
10
10
  * Supported Frameworks:
11
11
  * - Bootstrap 5.x
12
12
  * - Orange Boosted 5.x
13
13
  * - DataTables
14
- *
14
+ *
15
15
  * Usage:
16
16
  * This file is automatically imported in scoped stylesheets.
17
17
  * All framework variables are reset to 'unset' within .osi-cards-container
18
18
  * and .ai-card-surface to ensure complete isolation.
19
- *
19
+ *
20
20
  * NOTE: This file is imported INSIDE .osi-cards-container { } in _styles-scoped.scss
21
21
  */
22
22
 
@@ -298,6 +298,183 @@ article.ai-card-surface {
298
298
  --o-header-minimized-logo-height: unset;
299
299
  --o-header-height: unset;
300
300
 
301
+ /* ===================================================================
302
+ ADDITIONAL INTEGRATION VARIABLES
303
+ Ensure all CSS variables are available for perfect integration
304
+ =================================================================== */
305
+
306
+ /* Angular Split variables */
307
+ --_as-gutter-background-color: var(--as-gutter-background-color, #eeeeee);
308
+ --_as-gutter-icon-horizontal: var(--as-gutter-icon-horizontal, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==));
309
+ --_as-gutter-icon-vertical: var(--as-gutter-icon-vertical, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC));
310
+ --_as-gutter-icon-disabled: var(--as-gutter-icon-disabled, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==));
311
+ --_as-transition-duration: var(--as-transition-duration, .3s);
312
+ --_as-gutter-disabled-cursor: var(--as-gutter-disabled-cursor, default);
313
+
314
+ /* Additional spacing variables for integration */
315
+ --spacing-none: 0;
316
+ --spacing-xs: 4px;
317
+ --spacing-sm: 8px;
318
+ --spacing-md: 12px;
319
+ --spacing-base: 16px;
320
+ --spacing-lg: 20px;
321
+ --spacing-xl: 28px;
322
+ --spacing-2xl: 40px;
323
+ --spacing-3xl: 56px;
324
+ --spacing-compact-xs: 3px;
325
+ --spacing-compact-sm: 6px;
326
+ --spacing-compact-md: 9px;
327
+ --spacing-compact-base: 12px;
328
+ --spacing-compact-lg: 16px;
329
+
330
+ /* Section card variables */
331
+ --section-card-min-height: 110px;
332
+ --section-card-compact-height: 90px;
333
+ --section-header-gap: var(--spacing-md);
334
+ --section-content-gap: var(--spacing-sm);
335
+ --section-card-gap: var(--spacing-md);
336
+ --section-card-padding: var(--spacing-md);
337
+
338
+ /* Additional typography variables */
339
+ --text-md: .875rem;
340
+ --font-light: 300;
341
+ --font-normal: 400;
342
+ --font-medium: 500;
343
+ --font-semibold: 600;
344
+ --font-bold: 700;
345
+ --font-extrabold: 800;
346
+ --leading-tight: 1.2;
347
+ --leading-snug: 1.3;
348
+ --leading-normal: 1.4;
349
+ --leading-relaxed: 1.5;
350
+ --leading-loose: 1.75;
351
+
352
+ /* Additional shadow variables */
353
+ --radius-none: 0;
354
+ --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
355
+ --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, .05);
356
+ --glow-sm: 0 0 10px rgba(var(--accent-rgb), .15);
357
+ --glow-md: 0 0 20px rgba(var(--accent-rgb), .2);
358
+ --glow-lg: 0 0 30px rgba(var(--accent-rgb), .25);
359
+ --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, .2);
360
+
361
+ /* Additional transition variables */
362
+ --duration-base: .2s;
363
+ --ease-in: cubic-bezier(.4, 0, 1, 1);
364
+ --ease-out: cubic-bezier(0, 0, .2, 1);
365
+ --ease-in-out: cubic-bezier(.4, 0, .2, 1);
366
+ --ease-smooth: cubic-bezier(.4, 0, .6, 1);
367
+ --transition-base: all var(--duration-base) var(--ease-out);
368
+ --transition-fast: all var(--duration-fast) var(--ease-out);
369
+ --transition-slow: all var(--duration-slow) var(--ease-out);
370
+ --transition-colors: background-color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
371
+ --transition-shadow: box-shadow var(--duration-base) var(--ease-out);
372
+ --transition-transform: transform var(--duration-base) var(--ease-out);
373
+
374
+ /* Additional z-index variables */
375
+ --z-sticky: 200;
376
+ --z-fixed: 300;
377
+ --z-modal-backdrop: 400;
378
+
379
+ /* Blur variables */
380
+ --blur-none: 0;
381
+ --blur-sm: 4px;
382
+ --blur-md: 8px;
383
+ --blur-lg: 16px;
384
+ --blur-xl: 24px;
385
+ --glass-blur: var(--blur-md);
386
+ --glass-bg: rgba(0, 0, 0, .4);
387
+ --glass-border: rgba(255, 255, 255, .1);
388
+
389
+ /* Opacity scale */
390
+ --opacity-0: 0;
391
+ --opacity-5: .05;
392
+ --opacity-10: .1;
393
+ --opacity-20: .2;
394
+ --opacity-30: .3;
395
+ --opacity-40: .4;
396
+ --opacity-50: .5;
397
+ --opacity-60: .6;
398
+ --opacity-70: .7;
399
+ --opacity-80: .8;
400
+ --opacity-90: .9;
401
+ --opacity-100: 1;
402
+
403
+ /* Surface variables */
404
+ --surface-base: var(--osi-section-item-background);
405
+ --surface-raised: var(--osi-section-item-background-hover);
406
+ --surface-overlay: var(--glass-bg);
407
+
408
+ /* Border variables */
409
+ --border-light: rgba(var(--foreground-rgb), .08);
410
+ --border-base: var(--border);
411
+ --border-strong: rgba(var(--foreground-rgb), .2);
412
+
413
+ /* State opacity variables */
414
+ --state-hover-opacity: .08;
415
+ --state-active-opacity: .12;
416
+ --state-focus-opacity: .16;
417
+ --state-disabled-opacity: .5;
418
+
419
+ /* OSI Card foreground */
420
+ --osi-card-foreground: #1a1a2e;
421
+
422
+ /* ===================================================================
423
+ TAILWIND CSS RESET VARIABLES
424
+ Prevent Tailwind from affecting card styles
425
+ =================================================================== */
426
+ --tw-border-spacing-x: 0;
427
+ --tw-border-spacing-y: 0;
428
+ --tw-translate-x: 0;
429
+ --tw-translate-y: 0;
430
+ --tw-rotate: 0;
431
+ --tw-skew-x: 0;
432
+ --tw-skew-y: 0;
433
+ --tw-scale-x: 1;
434
+ --tw-scale-y: 1;
435
+ --tw-pan-x: ;
436
+ --tw-pan-y: ;
437
+ --tw-pinch-zoom: ;
438
+ --tw-scroll-snap-strictness: proximity;
439
+ --tw-gradient-from-position: ;
440
+ --tw-gradient-via-position: ;
441
+ --tw-gradient-to-position: ;
442
+ --tw-ordinal: ;
443
+ --tw-slashed-zero: ;
444
+ --tw-numeric-figure: ;
445
+ --tw-numeric-spacing: ;
446
+ --tw-numeric-fraction: ;
447
+ --tw-ring-inset: ;
448
+ --tw-ring-offset-width: 0px;
449
+ --tw-ring-offset-color: #fff;
450
+ --tw-ring-color: rgb(59 130 246 / .5);
451
+ --tw-ring-offset-shadow: 0 0 #0000;
452
+ --tw-ring-shadow: 0 0 #0000;
453
+ --tw-shadow: 0 0 #0000;
454
+ --tw-shadow-colored: 0 0 #0000;
455
+ --tw-blur: ;
456
+ --tw-brightness: ;
457
+ --tw-contrast: ;
458
+ --tw-grayscale: ;
459
+ --tw-hue-rotate: ;
460
+ --tw-invert: ;
461
+ --tw-saturate: ;
462
+ --tw-sepia: ;
463
+ --tw-drop-shadow: ;
464
+ --tw-backdrop-blur: ;
465
+ --tw-backdrop-brightness: ;
466
+ --tw-backdrop-contrast: ;
467
+ --tw-backdrop-grayscale: ;
468
+ --tw-backdrop-hue-rotate: ;
469
+ --tw-backdrop-invert: ;
470
+ --tw-backdrop-opacity: ;
471
+ --tw-backdrop-saturate: ;
472
+ --tw-backdrop-sepia: ;
473
+ --tw-contain-size: ;
474
+ --tw-contain-layout: ;
475
+ --tw-contain-paint: ;
476
+ --tw-contain-style: ;
477
+
301
478
  /* ===================================================================
302
479
  CSS ISOLATION
303
480
  =================================================================== */