expressive-charts 0.2.0 → 0.4.0
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/CHANGELOG.md +69 -1
- package/README.md +10 -10
- package/dist/define-DeZLs1h7.js +95 -0
- package/dist/define-DeZLs1h7.js.map +1 -0
- package/dist/drawing-Dz_IvJPB.d.cts +208 -0
- package/dist/drawing-Dz_IvJPB.d.ts +208 -0
- package/dist/effect-CdH5449m.d.ts +232 -0
- package/dist/effect-uYC8Vs6_.d.cts +232 -0
- package/dist/expressive-charts.css +8 -1
- package/dist/expressive-charts.css.d.cts +1 -0
- package/dist/expressive-charts.css.d.ts +1 -0
- package/dist/expressive-charts.global.js +50 -47
- package/dist/expressive-charts.global.js.map +1 -1
- package/dist/icons/sport.cjs +211 -152
- package/dist/icons/sport.cjs.map +1 -1
- package/dist/icons/sport.d.cts +5 -7
- package/dist/icons/sport.d.ts +5 -7
- package/dist/icons/sport.js +122 -71
- package/dist/icons/sport.js.map +1 -1
- package/dist/index.cjs +12647 -9513
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +929 -859
- package/dist/index.d.ts +929 -859
- package/dist/index.js +10452 -7822
- package/dist/index.js.map +1 -1
- package/dist/path-data-DnEckjY8.js +123 -0
- package/dist/path-data-DnEckjY8.js.map +1 -0
- package/dist/testing.cjs +2034 -1222
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +137 -141
- package/dist/testing.d.ts +137 -141
- package/dist/testing.js +696 -501
- package/dist/testing.js.map +1 -1
- package/dist/transition-DSRt2DH3.js +2053 -0
- package/dist/transition-DSRt2DH3.js.map +1 -0
- package/package.json +18 -6
- package/dist/chunk-CVXP2L2J.js +0 -1182
- package/dist/chunk-CVXP2L2J.js.map +0 -1
- package/dist/chunk-N5IF2RO2.js +0 -66
- package/dist/chunk-N5IF2RO2.js.map +0 -1
- package/dist/chunk-V5IUTXRW.js +0 -571
- package/dist/chunk-V5IUTXRW.js.map +0 -1
- package/dist/drawing-DWZIXIeR.d.cts +0 -194
- package/dist/drawing-DWZIXIeR.d.ts +0 -194
- package/dist/effect-CZUckY0l.d.ts +0 -245
- package/dist/effect-CcGdU41j.d.cts +0 -245
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
:where(.ec-chart .ec-tick) { fill: var(--ec-text-muted, #75736d); font-size: 11px; }
|
|
90
90
|
:where(.ec-chart .ec-label) { fill: var(--ec-text, #0b0b0b); font-size: 12.5px; }
|
|
91
91
|
:where(.ec-chart .ec-value, .ec-chart .ec-text) { fill: var(--ec-text, #0b0b0b); font-size: 12.5px; font-weight: 600; }
|
|
92
|
+
:where(.ec-overlay .ec-text) { fill: var(--ec-text, #0b0b0b); font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
92
93
|
:where(.ec-chart .ec-hit) { fill: transparent; }
|
|
93
94
|
:where(.ec-chart .ec-mark:focus) { outline: none; }
|
|
94
95
|
:where(.ec-chart .ec-focus) { pointer-events: none; }
|
|
@@ -102,6 +103,7 @@
|
|
|
102
103
|
:where(.ec-chart .ec-end) { fill: var(--ec-mark); stroke: var(--ec-surface, #fcfcfb); stroke-width: 2; }
|
|
103
104
|
:where(.ec-chart .ec-dot) { fill: var(--ec-mark); stroke: var(--ec-surface, #fcfcfb); stroke-width: 2; opacity: 0; transition: opacity var(--ec-hover-duration, 100ms) ease-out, fill var(--ec-hover-duration, 100ms) ease-out; }
|
|
104
105
|
:where(.ec-chart .ec-hot .ec-dot) { fill: var(--ec-mark-strong); opacity: 1; }
|
|
106
|
+
:where(.ec-chart .ec-alone .ec-dot) { opacity: 1; }
|
|
105
107
|
:where(.ec-chart .ec-crosshair) { stroke: var(--ec-axis, #c3c2b7); stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
|
|
106
108
|
:where(.ec-chart .ec-column:focus) { outline: none; }
|
|
107
109
|
:where(.ec-chart .ec-lines, .ec-chart .ec-points) { pointer-events: none; }
|
|
@@ -110,6 +112,8 @@
|
|
|
110
112
|
:where(.ec-chart .ec-center-value) { fill: var(--ec-text, #0b0b0b); font-size: 26px; font-weight: 600; }
|
|
111
113
|
:where(.ec-chart .ec-center-label) { fill: var(--ec-text-muted, #75736d); font-size: 12.5px; }
|
|
112
114
|
:where(.ec-chart.ec-hovering .ec-mark:not(.ec-hot) > .ec-body > *) { opacity: var(--ec-dim-opacity, 0.3); }
|
|
115
|
+
:where(.ec-hovering .ec-run:not(.ec-hot) > .ec-follow) { opacity: var(--ec-dim-opacity, 0.3); }
|
|
116
|
+
:where(.ec-follow) { transition: opacity var(--ec-hover-duration, 100ms) ease-out; }
|
|
113
117
|
:where(.ec-chart.ec-morphing .ec-marks) { visibility: hidden; }
|
|
114
118
|
:where(.ec-switch) { display: grid; grid-template-columns: minmax(0, 1fr); position: relative; }
|
|
115
119
|
:where(.ec-switch-view) { grid-area: 1 / 1; min-width: 0; }
|
|
@@ -136,7 +140,10 @@
|
|
|
136
140
|
:where(.ec-attached) { transition: opacity var(--ec-hover-duration, 100ms) ease-out, fill var(--ec-hover-duration, 100ms) ease-out, stroke var(--ec-hover-duration, 100ms) ease-out; }
|
|
137
141
|
:where(.ec-tooltip-layer) { position: relative; height: 0; }
|
|
138
142
|
:where(.ec-tooltip) { position: absolute; left: 0; top: 0; z-index: 3; box-sizing: border-box; width: max-content; max-width: 24em; padding: 8px 10px; border: 1px solid var(--ec-ring, color-mix(in srgb, currentColor 12%, transparent)); border-radius: 8px; background: var(--ec-surface, #fcfcfb); color: var(--ec-text, #0b0b0b); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); font-size: 13px; line-height: 1.35; white-space: pre-line; font-variant-numeric: tabular-nums; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity var(--ec-hover-duration, 100ms) ease-out, visibility 0s linear var(--ec-hover-duration, 100ms); }
|
|
139
|
-
:where(.ec-tooltip.ec-tooltip-shown) { opacity: 1; visibility: visible; transition: opacity var(--ec-hover-duration, 100ms) ease-out; }
|
|
143
|
+
:where(.ec-tooltip.ec-tooltip-shown) { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity var(--ec-hover-duration, 100ms) ease-out; }
|
|
144
|
+
:where(.ec-tooltip-bridge) { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; }
|
|
145
|
+
:where(.ec-tooltip-shown + .ec-tooltip-bridge) { pointer-events: auto; }
|
|
146
|
+
:where(.ec-tooltip-through > .ec-tooltip, .ec-tooltip-through > .ec-tooltip-bridge) { pointer-events: none; }
|
|
140
147
|
:where(.ec-tooltip-title) { font-weight: 600; }
|
|
141
148
|
:where(.ec-legend) { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; font-size: 13px; line-height: 1.4; color: var(--ec-text, #0b0b0b); }
|
|
142
149
|
:where(.ec-legend-item) { display: inline-flex; align-items: center; gap: 6px; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|