charts-core 1.0.7 → 1.0.8
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/charts-core.css +1 -1
- package/dist/charts-core.js +413 -375
- package/dist/charts-core.js.map +1 -1
- package/dist/charts-core.umd.cjs +2 -7
- package/dist/charts-core.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/charts-core.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.sc-charts{--sc-color-main-line: #007aff;--sc-color-hover-circle-fill: #007aff;--sc-color-hover-circle-stroke: #ffffff;--sc-color-range-circle-stroke: #ffffff;--sc-color-selection-up: #56b683;--sc-color-selection-up-tooltip-text: #56b683;--sc-color-selection-down: #f18169;--sc-color-selection-down-tooltip-text: #e8674b;--sc-color-text-secondary: #8e8e93;--sc-size-axis-text: 12px;--sc-color-below-zero-line: #e8674b;--sc-color-hover-circles: #56b683;color:var(--sc-color-text-base);position:relative}.sc-charts__light{--sc-color-bg: #ffffff;--sc-color-axis-text: #ababae;--sc-color-axis-zero-line: #ededed;--sc-color-selection-down-tooltip-bg: #fdf5f3;--sc-color-selection-down-tooltip-border: #fde8e3;--sc-color-selection-up-tooltip-bg: #f3f9f5;--sc-color-selection-up-tooltip-border: #d9eee0;--sc-color-text-base: #1c2026;--sc-color-main-line-muted: #d9ebff;--sc-color-main-line-selected-muted: #ededed;--sc-color-hover-line: #c7c7c9;--sc-color-hover-tooltip-border: #ededed;--sc-color-hover-tooltip-bg: #ffffff;--sc-shadow-range-tooltip-up: 0px 2px 20px 0px #d9f2e166;--sc-shadow-range-tooltip-down: 0px 2px 20px 0px #fde8e366;--sc-shadow-hover-tooltip: 0px 2px 20px 0px #d1d1d166}.sc-charts__dark{--sc-color-bg: #101213;--sc-color-axis-text: #8e8e93;--sc-color-axis-zero-line: #3d3d3d;--sc-color-selection-down-tooltip-bg: #2d1915;--sc-color-selection-down-tooltip-border: #6c3a2f;--sc-color-selection-up-tooltip-bg: #192b23;--sc-color-selection-up-tooltip-border: #254034;--sc-color-text-base: #ffffff;--sc-color-main-line-muted: #0e2236;--sc-color-main-line-selected-muted: #292929;--sc-color-hover-line: #ffffff;--sc-color-hover-tooltip-border: #343b46;--sc-color-hover-tooltip-bg: #1c2026;--sc-shadow-range-tooltip-up: 0px 2px 20px 0px #316a4b66;--sc-shadow-range-tooltip-down: 0px 2px 20px 0px #6c3a2f66;--sc-shadow-hover-tooltip: 0px 2px 20px 0px #343b4666}.sc-charts__main-line{stroke:var(--sc-color-main-line);stroke-width:2;fill:none;transition:all .3s;stroke-linecap:round;stroke-linejoin:round}.sc-charts__main-line_muted{stroke:var(--sc-color-main-line-muted);transition:all .3s}.sc-charts__main-line_selected-muted{stroke:var(--sc-color-main-line-selected-muted);transition:all .3s}.sc-charts__range-tooltip{overflow:visible;-webkit-user-select:none;user-select:none;font-family:inherit;font-weight:400;font-size:14px}.sc-charts__range-tooltip-container{display:inline-block;white-space:nowrap;padding:8px 12px;border:1px solid;border-radius:8px}.sc-charts__range-tooltip-sum{font-weight:600;margin-bottom:2px;display:flex;align-items:center;gap:8px}.sc-charts__range-tooltip-sum-icon{display:flex;align-items:center;justify-items:center}.sc-charts__range-tooltip_down .sc-charts__range-tooltip-sum-icon{transform:rotate(180deg)}.sc-charts__range-tooltip_up .sc-charts__range-tooltip-container{background-color:var(--sc-color-selection-up-tooltip-bg);border-color:var(--sc-color-selection-up-tooltip-border);box-shadow:var(--sc-shadow-range-tooltip-up)}.sc-charts__range-tooltip_up .sc-charts__range-tooltip-sum{color:var(--sc-color-selection-up-tooltip-text)}.sc-charts__range-tooltip_down .sc-charts__range-tooltip-container{background-color:var(--sc-color-selection-down-tooltip-bg);border-color:var(--sc-color-selection-down-tooltip-border);box-shadow:var(--sc-shadow-range-tooltip-down)}.sc-charts__range-tooltip_down .sc-charts__range-tooltip-sum{color:var(--sc-color-selection-down-tooltip-text)}.sc-charts__hover-circle{stroke:var(--sc-color-hover-circle-stroke);fill:var(--sc-color-hover-circle-fill);stroke-width:2}.sc-charts__range-circle-left,.sc-charts__range-circle-right{stroke:var(--sc-color-range-circle-stroke);stroke-width:2}.sc-charts__range-circle-left_up,.sc-charts__range-circle-right_up{fill:var(--sc-color-selection-up)}.sc-charts__range-circle-left_down,.sc-charts__range-circle-right_down{fill:var(--sc-color-selection-down)}.sc-charts__range-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:1}.sc-charts__range-line_hidden{opacity:0}.sc-charts__range-line_up{stroke:var(--sc-color-selection-up)}.sc-charts__range-line_down{stroke:var(--sc-color-selection-down)}.sc-charts__border-range-line{stroke-width:1}.sc-charts__border-range-line_up{stroke:url(#gradient-range-borders-up)}.sc-charts__border-range-line_down{stroke:url(#gradient-range-borders-down)}.sc-charts__hover-line{stroke:url(#hover-line-gradient);stroke-width:1}.sc-charts__highlight-line{stroke-width:2;fill:none;stroke:var(--sc-color-main-line);stroke-linecap:round;stroke-linejoin:round;opacity:1;transition:all .3s}.sc-charts__highlight-line_hidden{opacity:0;transition:all .3s}.sc-charts__hover-tooltip{overflow:visible;-webkit-user-select:none;user-select:none;font-family:inherit;font-weight:400;font-size:14px}.sc-charts__hover-tooltip-container{display:inline-block;white-space:nowrap;padding:8px 12px;border-style:solid;border-width:1px;border-color:var(--sc-color-hover-tooltip-border);background-color:var(--sc-color-hover-tooltip-bg);border-radius:8px;box-shadow:var(--sc-shadow-hover-tooltip)}.sc-charts__hover-tooltip-sum{font-weight:600;margin-bottom:2px;padding-left:6px;position:relative}.sc-charts__hover-tooltip-sum:before{content:"";display:block;position:absolute;top:50%;transform:translateY(-50%);border-radius:2px;left:0;width:1.5px;background-color:var(--sc-color-main-line);height:14px}.sc-charts__hover-tooltip-time{color:var(--sc-color-text-secondary)}.sc-charts__x-axis-tick,.sc-charts__y-axis-tick{color:var(--sc-color-axis-text);font-size:var(--sc-size-axis-text);line-height:var(--sc-size-axis-text)}.sc-charts__main-line-area{fill:url(#main-line-area-gradient);opacity:.15;transition:all .3s}.sc-charts__main-line-area_hidden{opacity:0;transition:all .3s}.sc-charts__range-line-area{opacity:.15;transition:all .3s;fill:none}.sc-charts__range-line-area_hidden{opacity:0}.sc-charts__range-line-area_up{fill:url(#range-line-area-gradient_up)}.sc-charts__range-line-area_down{fill:url(#range-line-area-gradient_down)}.sc-charts__below-zero-line{transition:all .3s;opacity:1;stroke-width:2;stroke:var(--sc-color-below-zero-line);fill:none}.sc-charts__below-zero-line_hidden{transition:all .3s;opacity:0}.sc-charts__hovered-circles-tooltip-container{pointer-events:none;position:absolute;bottom:26px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.15));overflow:visible}.sc-charts__hovered-circles-tooltip{bottom:0;position:absolute}.sc-charts__hovered-circles-tooltip-arrow{
|
|
1
|
+
.sc-charts{--sc-color-main-line: #007aff;--sc-color-hover-circle-fill: #007aff;--sc-color-hover-circle-stroke: #ffffff;--sc-color-range-circle-stroke: #ffffff;--sc-color-selection-up: #56b683;--sc-color-selection-up-tooltip-text: #56b683;--sc-color-selection-down: #f18169;--sc-color-selection-down-tooltip-text: #e8674b;--sc-color-text-secondary: #8e8e93;--sc-size-axis-text: 12px;--sc-color-below-zero-line: #e8674b;--sc-color-hover-circles: #56b683;--sc-color-hover-circles_hover: #aed6bf;color:var(--sc-color-text-base);position:relative}.sc-charts__light{--sc-color-bg: #ffffff;--sc-color-axis-text: #ababae;--sc-color-axis-zero-line: #ededed;--sc-color-selection-down-tooltip-bg: #fdf5f3;--sc-color-selection-down-tooltip-border: #fde8e3;--sc-color-selection-up-tooltip-bg: #f3f9f5;--sc-color-selection-up-tooltip-border: #d9eee0;--sc-color-text-base: #1c2026;--sc-color-main-line-muted: #d9ebff;--sc-color-main-line-selected-muted: #ededed;--sc-color-hover-line: #c7c7c9;--sc-color-hover-tooltip-border: #ededed;--sc-color-hover-tooltip-bg: #ffffff;--sc-shadow-range-tooltip-up: 0px 2px 20px 0px #d9f2e166;--sc-shadow-range-tooltip-down: 0px 2px 20px 0px #fde8e366;--sc-shadow-hover-tooltip: 0px 2px 20px 0px #d1d1d166}.sc-charts__dark{--sc-color-bg: #101213;--sc-color-axis-text: #8e8e93;--sc-color-axis-zero-line: #3d3d3d;--sc-color-selection-down-tooltip-bg: #2d1915;--sc-color-selection-down-tooltip-border: #6c3a2f;--sc-color-selection-up-tooltip-bg: #192b23;--sc-color-selection-up-tooltip-border: #254034;--sc-color-text-base: #ffffff;--sc-color-main-line-muted: #0e2236;--sc-color-main-line-selected-muted: #292929;--sc-color-hover-line: #ffffff;--sc-color-hover-tooltip-border: #343b46;--sc-color-hover-tooltip-bg: #1c2026;--sc-shadow-range-tooltip-up: 0px 2px 20px 0px #316a4b66;--sc-shadow-range-tooltip-down: 0px 2px 20px 0px #6c3a2f66;--sc-shadow-hover-tooltip: 0px 2px 20px 0px #343b4666}.sc-charts__main-line{stroke:var(--sc-color-main-line);stroke-width:2;fill:none;transition:all .3s;stroke-linecap:round;stroke-linejoin:round}.sc-charts__main-line_muted{stroke:var(--sc-color-main-line-muted);transition:all .3s}.sc-charts__main-line_selected-muted{stroke:var(--sc-color-main-line-selected-muted);transition:all .3s}.sc-charts__range-tooltip{overflow:visible;-webkit-user-select:none;user-select:none;font-family:inherit;font-weight:400;font-size:14px}.sc-charts__range-tooltip-container{display:inline-block;white-space:nowrap;padding:8px 12px;border:1px solid;border-radius:8px}.sc-charts__range-tooltip-sum{font-weight:600;margin-bottom:2px;display:flex;align-items:center;gap:8px}.sc-charts__range-tooltip-sum-icon{display:flex;align-items:center;justify-items:center}.sc-charts__range-tooltip_down .sc-charts__range-tooltip-sum-icon{transform:rotate(180deg)}.sc-charts__range-tooltip_up .sc-charts__range-tooltip-container{background-color:var(--sc-color-selection-up-tooltip-bg);border-color:var(--sc-color-selection-up-tooltip-border);box-shadow:var(--sc-shadow-range-tooltip-up)}.sc-charts__range-tooltip_up .sc-charts__range-tooltip-sum{color:var(--sc-color-selection-up-tooltip-text)}.sc-charts__range-tooltip_down .sc-charts__range-tooltip-container{background-color:var(--sc-color-selection-down-tooltip-bg);border-color:var(--sc-color-selection-down-tooltip-border);box-shadow:var(--sc-shadow-range-tooltip-down)}.sc-charts__range-tooltip_down .sc-charts__range-tooltip-sum{color:var(--sc-color-selection-down-tooltip-text)}.sc-charts__hover-circle{stroke:var(--sc-color-hover-circle-stroke);fill:var(--sc-color-hover-circle-fill);stroke-width:2}.sc-charts__range-circle-left,.sc-charts__range-circle-right{stroke:var(--sc-color-range-circle-stroke);stroke-width:2}.sc-charts__range-circle-left_up,.sc-charts__range-circle-right_up{fill:var(--sc-color-selection-up)}.sc-charts__range-circle-left_down,.sc-charts__range-circle-right_down{fill:var(--sc-color-selection-down)}.sc-charts__range-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:1}.sc-charts__range-line_hidden{opacity:0}.sc-charts__range-line_up{stroke:var(--sc-color-selection-up)}.sc-charts__range-line_down{stroke:var(--sc-color-selection-down)}.sc-charts__border-range-line{stroke-width:1}.sc-charts__border-range-line_up{stroke:url(#gradient-range-borders-up)}.sc-charts__border-range-line_down{stroke:url(#gradient-range-borders-down)}.sc-charts__hover-line{stroke:url(#hover-line-gradient);stroke-width:1}.sc-charts__highlight-line{stroke-width:2;fill:none;stroke:var(--sc-color-main-line);stroke-linecap:round;stroke-linejoin:round;opacity:1;transition:all .3s}.sc-charts__highlight-line_hidden{opacity:0;transition:all .3s}.sc-charts__hover-tooltip{overflow:visible;-webkit-user-select:none;user-select:none;font-family:inherit;font-weight:400;font-size:14px}.sc-charts__hover-tooltip-container{display:inline-block;white-space:nowrap;padding:8px 12px;border-style:solid;border-width:1px;border-color:var(--sc-color-hover-tooltip-border);background-color:var(--sc-color-hover-tooltip-bg);border-radius:8px;box-shadow:var(--sc-shadow-hover-tooltip)}.sc-charts__hover-tooltip-sum{font-weight:600;margin-bottom:2px;padding-left:6px;position:relative}.sc-charts__hover-tooltip-sum:before{content:"";display:block;position:absolute;top:50%;transform:translateY(-50%);border-radius:2px;left:0;width:1.5px;background-color:var(--sc-color-main-line);height:14px}.sc-charts__hover-tooltip-time{color:var(--sc-color-text-secondary)}.sc-charts__x-axis-tick,.sc-charts__y-axis-tick{color:var(--sc-color-axis-text);font-size:var(--sc-size-axis-text);line-height:var(--sc-size-axis-text)}.sc-charts__main-line-area{fill:url(#main-line-area-gradient);opacity:.15;transition:all .3s}.sc-charts__main-line-area_hidden{opacity:0;transition:all .3s}.sc-charts__range-line-area{opacity:.15;transition:all .3s;fill:none}.sc-charts__range-line-area_hidden{opacity:0}.sc-charts__range-line-area_up{fill:url(#range-line-area-gradient_up)}.sc-charts__range-line-area_down{fill:url(#range-line-area-gradient_down)}.sc-charts__below-zero-line{transition:all .3s;opacity:1;stroke-width:2;stroke:var(--sc-color-below-zero-line);fill:none}.sc-charts__below-zero-line_hidden{transition:all .3s;opacity:0}.sc-charts__hovered-circles-tooltip-container{pointer-events:none;position:absolute;bottom:26px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.15));overflow:visible}.sc-charts__hovered-circles-tooltip{bottom:0;position:absolute}.sc-charts__hovered-circles-tooltip-arrow{position:absolute;transform:translate(-50%);bottom:4px}.sc-charts__hovered-circles-tooltip-arrow path{fill:#fff}.sc-charts__hovered-circles{fill:var(--sc-color-hover-circles);transition:all .3s}.sc-charts__hovered-circles:hover{fill:var(--sc-color-hover-circles_hover);transition:all .3s}.sc-charts__extreme-point-circle{fill:var(--sc-color-main-line)}.sc-charts__extreme-point-label{fill:var(--sc-color-text-base);font-size:12px}
|