sag_components 2.0.0-beta175 → 2.0.0-beta176
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/index.esm.js +98 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +98 -1
- package/dist/index.js.map +1 -1
- package/dist/types/icons/VIcon.d.ts +6 -0
- package/dist/types/icons/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React$1, { useState, useRef, useEffect, useMemo, useCallback, useImperativeHandle } from 'react';
|
|
2
2
|
import styled, { keyframes, css, styled as styled$1 } from 'styled-components';
|
|
3
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
4
|
import { ResponsiveContainer, PieChart as PieChart$1, Pie, Cell, Tooltip as Tooltip$3, BarChart as BarChart$1, CartesianGrid, XAxis, YAxis, Bar, LabelList, ReferenceLine, LineChart, Line, AreaChart as AreaChart$1, Legend, Area, ScatterChart, ZAxis, Scatter, Brush, ComposedChart } from 'recharts';
|
|
4
5
|
import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
|
|
5
6
|
import { motion, AnimatePresence } from 'framer-motion';
|
|
@@ -468,6 +469,101 @@ const ErrorIcon = _ref => {
|
|
|
468
469
|
}));
|
|
469
470
|
};
|
|
470
471
|
|
|
472
|
+
/******************************************************************************
|
|
473
|
+
Copyright (c) Microsoft Corporation.
|
|
474
|
+
|
|
475
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
476
|
+
purpose with or without fee is hereby granted.
|
|
477
|
+
|
|
478
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
479
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
480
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
481
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
482
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
483
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
484
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
485
|
+
***************************************************************************** */
|
|
486
|
+
|
|
487
|
+
var __assign = function() {
|
|
488
|
+
__assign = Object.assign || function __assign(t) {
|
|
489
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
490
|
+
s = arguments[i];
|
|
491
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
492
|
+
}
|
|
493
|
+
return t;
|
|
494
|
+
};
|
|
495
|
+
return __assign.apply(this, arguments);
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
499
|
+
var e = new Error(message);
|
|
500
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
var VIcon = function (_a) {
|
|
504
|
+
var _b = _a.width,
|
|
505
|
+
width = _b === void 0 ? "12" : _b,
|
|
506
|
+
_c = _a.height,
|
|
507
|
+
height = _c === void 0 ? "8" : _c,
|
|
508
|
+
_d = _a.color,
|
|
509
|
+
color = _d === void 0 ? "#D0D0D0" : _d;
|
|
510
|
+
return jsxs("svg", __assign({
|
|
511
|
+
width: width,
|
|
512
|
+
height: height,
|
|
513
|
+
viewBox: "0 0 20 20",
|
|
514
|
+
fill: "none",
|
|
515
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
516
|
+
}, {
|
|
517
|
+
children: [jsx("g", __assign({
|
|
518
|
+
filter: "url(#filter0_d_3431_32168)"
|
|
519
|
+
}, {
|
|
520
|
+
children: jsx("path", {
|
|
521
|
+
d: "M15.8754 4.12241C16.0415 4.28562 16.0415 4.55413 15.8754 4.71734L8.58808 11.8776C8.42197 12.0408 8.14869 12.0408 7.98259 11.8776L4.12458 8.08687C3.95847 7.92366 3.95847 7.65515 4.12458 7.49194C4.29069 7.32873 4.56397 7.32873 4.73007 7.49194L8.28533 10.9852L15.2699 4.12241C15.436 3.9592 15.7093 3.9592 15.8754 4.12241Z",
|
|
522
|
+
fill: color
|
|
523
|
+
})
|
|
524
|
+
})), jsx("defs", {
|
|
525
|
+
children: jsxs("filter", __assign({
|
|
526
|
+
id: "filter0_d_3431_32168",
|
|
527
|
+
x: "-2",
|
|
528
|
+
y: "0",
|
|
529
|
+
width: "24",
|
|
530
|
+
height: "24",
|
|
531
|
+
filterUnits: "userSpaceOnUse",
|
|
532
|
+
"color-interpolation-filters": "sRGB"
|
|
533
|
+
}, {
|
|
534
|
+
children: [jsx("feFlood", {
|
|
535
|
+
"flood-opacity": "0",
|
|
536
|
+
result: "BackgroundImageFix"
|
|
537
|
+
}), jsx("feColorMatrix", {
|
|
538
|
+
"in": "SourceAlpha",
|
|
539
|
+
type: "matrix",
|
|
540
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
541
|
+
result: "hardAlpha"
|
|
542
|
+
}), jsx("feOffset", {
|
|
543
|
+
dy: "4"
|
|
544
|
+
}), jsx("feGaussianBlur", {
|
|
545
|
+
stdDeviation: "2"
|
|
546
|
+
}), jsx("feComposite", {
|
|
547
|
+
in2: "hardAlpha",
|
|
548
|
+
operator: "out"
|
|
549
|
+
}), jsx("feColorMatrix", {
|
|
550
|
+
type: "matrix",
|
|
551
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
|
|
552
|
+
}), jsx("feBlend", {
|
|
553
|
+
mode: "normal",
|
|
554
|
+
in2: "BackgroundImageFix",
|
|
555
|
+
result: "effect1_dropShadow_3431_32168"
|
|
556
|
+
}), jsx("feBlend", {
|
|
557
|
+
mode: "normal",
|
|
558
|
+
"in": "SourceGraphic",
|
|
559
|
+
in2: "effect1_dropShadow_3431_32168",
|
|
560
|
+
result: "shape"
|
|
561
|
+
})]
|
|
562
|
+
}))
|
|
563
|
+
})]
|
|
564
|
+
}));
|
|
565
|
+
};
|
|
566
|
+
|
|
471
567
|
const ChervronRightIcon = _ref => {
|
|
472
568
|
let {
|
|
473
569
|
width = "8",
|
|
@@ -549,7 +645,8 @@ const Button$1 = props => {
|
|
|
549
645
|
reselect: ReselectIcon,
|
|
550
646
|
plus: Plus,
|
|
551
647
|
left: ChervronLeftIcon,
|
|
552
|
-
right: ChervronRightIcon
|
|
648
|
+
right: ChervronRightIcon,
|
|
649
|
+
vicon: VIcon
|
|
553
650
|
};
|
|
554
651
|
const getIcon = icon => {
|
|
555
652
|
if (!icon || icon === "none") return null;
|