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.
- package/README.md +1 -1
- package/fesm2022/osi-cards-lib.mjs +5242 -3734
- package/fesm2022/osi-cards-lib.mjs.map +1 -1
- package/index.d.ts +147 -273
- package/package.json +4 -3
- package/styles/bundles/_ai-card.scss +10 -40
- package/styles/bundles/_card-skeleton.scss +1 -1
- package/styles/components/_ai-card-renderer.scss +0 -2
- package/styles/components/_card-actions.scss +2 -4
- package/styles/components/_streaming-effects.scss +0 -20
- package/styles/components/sections/_all-sections.generated.scss +0 -3
- package/styles/components/sections/_all-sections.scss +88 -64
- package/styles/components/sections/_compact-mixins.scss +9 -8
- package/styles/components/sections/_component-mixins.scss +40 -11
- package/styles/components/sections/_design-system.scss +106 -11
- package/styles/components/sections/_master-compact-system.scss +0 -17
- package/styles/components/sections/_minimalistic-design.scss +1 -4
- package/styles/components/sections/_modern-effects.scss +1 -3
- package/styles/components/sections/_modern-sections.scss +13 -69
- package/styles/components/sections/_section-animations.scss +158 -77
- package/styles/components/sections/_section-shell.scss +38 -9
- package/styles/components/sections/_section-types.generated.scss +0 -3
- package/styles/components/sections/_sections-base.scss +341 -64
- package/styles/components/sections/_unified-section-style.scss +17 -44
- package/styles/components/sections/_visual-effects-library.scss +3 -3
- package/styles/core/_animations.scss +0 -51
- package/styles/core/_global-unified.scss +2 -6
- package/styles/core/_mixins.scss +1 -1
- package/styles/core/_surface-layers.scss +20 -11
- package/styles/design-system/_section-base.scss +9 -32
- package/styles/design-system/_tokens.scss +67 -5
- package/styles/design-system/_unified-sections.scss +21 -21
- package/styles/layout/_masonry.scss +22 -22
- package/styles/layout/_tilt.scss +3 -3
- package/styles/mixins/_section-mixins.scss +2 -2
- package/styles/reset/_shadow-reset.scss +3 -7
- package/styles/responsive.scss +9 -7
- package/styles/tokens/_master.scss +322 -120
- package/styles/tokens/_section-tokens.generated.scss +0 -7
package/styles/responsive.scss
CHANGED
|
@@ -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
|
|
27
|
-
@media (min-width: map
|
|
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
|
|
40
|
-
@media (max-width: #{map
|
|
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
|
|
53
|
-
$max-width: if(map
|
|
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:
|
|
174
|
+
font-size: var(--text-2xl);
|
|
173
175
|
}
|
|
174
176
|
}
|
|
175
177
|
|