@x-plat/design-system 0.5.35 → 0.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/dist/components/Chart/index.cjs +146 -200
- package/dist/components/Chart/index.css +12 -25
- package/dist/components/Chart/index.js +132 -186
- package/dist/components/index.cjs +193 -231
- package/dist/components/index.css +12 -25
- package/dist/components/index.js +173 -211
- package/dist/index.cjs +193 -231
- package/dist/index.css +12 -25
- package/dist/index.js +173 -211
- package/package.json +1 -1
|
@@ -95,7 +95,19 @@
|
|
|
95
95
|
white-space: nowrap;
|
|
96
96
|
overflow: visible;
|
|
97
97
|
}
|
|
98
|
+
.lib-xplat-chart .chart-bar-animate {
|
|
99
|
+
animation: chart-bar-grow 800ms ease-out both;
|
|
100
|
+
}
|
|
101
|
+
.lib-xplat-chart .chart-pie-label-animate {
|
|
102
|
+
opacity: 0;
|
|
103
|
+
animation: chart-fade-in 150ms ease-out both;
|
|
104
|
+
}
|
|
105
|
+
.lib-xplat-chart .chart-area[style*=animationDelay] {
|
|
106
|
+
animation: chart-fade-in 800ms ease-out both;
|
|
107
|
+
}
|
|
98
108
|
.lib-xplat-chart .chart-tooltip {
|
|
109
|
+
position: absolute;
|
|
110
|
+
z-index: 10;
|
|
99
111
|
padding: var(--spacing-space-3);
|
|
100
112
|
background-color: var(--semantic-surface-neutral-strong);
|
|
101
113
|
color: var(--semantic-text-inverse);
|
|
@@ -106,25 +118,8 @@
|
|
|
106
118
|
max-width: 240px;
|
|
107
119
|
pointer-events: none;
|
|
108
120
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
109
|
-
}
|
|
110
|
-
.lib-xplat-chart .chart-tooltip.chart-tooltip-show {
|
|
111
|
-
opacity: 1;
|
|
112
121
|
animation: chart-tooltip-in 120ms ease-out;
|
|
113
122
|
}
|
|
114
|
-
.lib-xplat-chart .chart-tooltip.chart-tooltip-hide {
|
|
115
|
-
opacity: 0;
|
|
116
|
-
animation: chart-tooltip-out 80ms ease-in;
|
|
117
|
-
}
|
|
118
|
-
.lib-xplat-chart .chart-bar-animate {
|
|
119
|
-
animation: chart-bar-grow 800ms ease-out both;
|
|
120
|
-
}
|
|
121
|
-
.lib-xplat-chart .chart-pie-label-animate {
|
|
122
|
-
opacity: 0;
|
|
123
|
-
animation: chart-fade-in 150ms ease-out both;
|
|
124
|
-
}
|
|
125
|
-
.lib-xplat-chart .chart-area[style*=animationDelay] {
|
|
126
|
-
animation: chart-fade-in 800ms ease-out both;
|
|
127
|
-
}
|
|
128
123
|
.lib-xplat-chart .chart-legend {
|
|
129
124
|
display: flex;
|
|
130
125
|
flex-wrap: wrap;
|
|
@@ -181,14 +176,6 @@
|
|
|
181
176
|
opacity: 1;
|
|
182
177
|
}
|
|
183
178
|
}
|
|
184
|
-
@keyframes chart-tooltip-out {
|
|
185
|
-
from {
|
|
186
|
-
opacity: 1;
|
|
187
|
-
}
|
|
188
|
-
to {
|
|
189
|
-
opacity: 0;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
179
|
@media (prefers-reduced-motion: reduce) {
|
|
193
180
|
.lib-xplat-chart .chart-bar-animate,
|
|
194
181
|
.lib-xplat-chart .chart-pie-label-animate,
|