osi-cards-lib 1.5.42 → 1.5.44

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 (39) hide show
  1. package/README.md +1 -1
  2. package/fesm2022/osi-cards-lib.mjs +5242 -3734
  3. package/fesm2022/osi-cards-lib.mjs.map +1 -1
  4. package/index.d.ts +147 -273
  5. package/package.json +4 -3
  6. package/styles/bundles/_ai-card.scss +10 -40
  7. package/styles/bundles/_card-skeleton.scss +1 -1
  8. package/styles/components/_ai-card-renderer.scss +0 -2
  9. package/styles/components/_card-actions.scss +2 -4
  10. package/styles/components/_streaming-effects.scss +0 -20
  11. package/styles/components/sections/_all-sections.generated.scss +0 -3
  12. package/styles/components/sections/_all-sections.scss +88 -64
  13. package/styles/components/sections/_compact-mixins.scss +9 -8
  14. package/styles/components/sections/_component-mixins.scss +40 -11
  15. package/styles/components/sections/_design-system.scss +106 -11
  16. package/styles/components/sections/_master-compact-system.scss +0 -17
  17. package/styles/components/sections/_minimalistic-design.scss +1 -4
  18. package/styles/components/sections/_modern-effects.scss +1 -3
  19. package/styles/components/sections/_modern-sections.scss +13 -69
  20. package/styles/components/sections/_section-animations.scss +158 -77
  21. package/styles/components/sections/_section-shell.scss +38 -9
  22. package/styles/components/sections/_section-types.generated.scss +0 -3
  23. package/styles/components/sections/_sections-base.scss +341 -64
  24. package/styles/components/sections/_unified-section-style.scss +17 -44
  25. package/styles/components/sections/_visual-effects-library.scss +3 -3
  26. package/styles/core/_animations.scss +0 -51
  27. package/styles/core/_global-unified.scss +2 -6
  28. package/styles/core/_mixins.scss +1 -1
  29. package/styles/core/_surface-layers.scss +20 -11
  30. package/styles/design-system/_section-base.scss +9 -32
  31. package/styles/design-system/_tokens.scss +67 -5
  32. package/styles/design-system/_unified-sections.scss +21 -21
  33. package/styles/layout/_masonry.scss +22 -22
  34. package/styles/layout/_tilt.scss +3 -3
  35. package/styles/mixins/_section-mixins.scss +2 -2
  36. package/styles/reset/_shadow-reset.scss +3 -7
  37. package/styles/responsive.scss +9 -7
  38. package/styles/tokens/_master.scss +322 -120
  39. package/styles/tokens/_section-tokens.generated.scss +0 -7
@@ -4,6 +4,8 @@
4
4
  * Breakpoints and responsive utilities for cards and sections.
5
5
  */
6
6
 
7
+ @use "sass:map";
8
+
7
9
  // ============================================
8
10
  // Breakpoint Variables
9
11
  // ============================================
@@ -23,8 +25,8 @@ $breakpoints: (
23
25
 
24
26
  /// Media query for minimum width (mobile-first)
25
27
  @mixin responsive($breakpoint) {
26
- @if map-has-key($breakpoints, $breakpoint) {
27
- @media (min-width: map-get($breakpoints, $breakpoint)) {
28
+ @if map.has-key($breakpoints, $breakpoint) {
29
+ @media (min-width: map.get($breakpoints, $breakpoint)) {
28
30
  @content;
29
31
  }
30
32
  } @else {
@@ -36,8 +38,8 @@ $breakpoints: (
36
38
 
37
39
  /// Media query for maximum width
38
40
  @mixin responsive-down($breakpoint) {
39
- @if map-has-key($breakpoints, $breakpoint) {
40
- @media (max-width: #{map-get($breakpoints, $breakpoint) - 1px}) {
41
+ @if map.has-key($breakpoints, $breakpoint) {
42
+ @media (max-width: #{map.get($breakpoints, $breakpoint) - 1px}) {
41
43
  @content;
42
44
  }
43
45
  } @else {
@@ -49,8 +51,8 @@ $breakpoints: (
49
51
 
50
52
  /// Media query for range
51
53
  @mixin responsive-between($min, $max) {
52
- $min-width: if(map-has-key($breakpoints, $min), map-get($breakpoints, $min), $min);
53
- $max-width: if(map-has-key($breakpoints, $max), map-get($breakpoints, $max), $max);
54
+ $min-width: if(map.has-key($breakpoints, $min), map.get($breakpoints, $min), $min);
55
+ $max-width: if(map.has-key($breakpoints, $max), map.get($breakpoints, $max), $max);
54
56
 
55
57
  @media (min-width: $min-width) and (max-width: #{$max-width - 1px}) {
56
58
  @content;
@@ -169,7 +171,7 @@ $breakpoints: (
169
171
  }
170
172
 
171
173
  .metric-value {
172
- font-size: 1.5rem;
174
+ font-size: var(--text-2xl);
173
175
  }
174
176
  }
175
177