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.js CHANGED
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React$1 = require('react');
6
6
  var styled = require('styled-components');
7
+ var jsxRuntime = require('react/jsx-runtime');
7
8
  var recharts = require('recharts');
8
9
  var Skeleton = require('react-loading-skeleton');
9
10
  var framerMotion = require('framer-motion');
@@ -478,6 +479,101 @@ const ErrorIcon = _ref => {
478
479
  }));
479
480
  };
480
481
 
482
+ /******************************************************************************
483
+ Copyright (c) Microsoft Corporation.
484
+
485
+ Permission to use, copy, modify, and/or distribute this software for any
486
+ purpose with or without fee is hereby granted.
487
+
488
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
489
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
490
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
491
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
492
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
493
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
494
+ PERFORMANCE OF THIS SOFTWARE.
495
+ ***************************************************************************** */
496
+
497
+ var __assign = function() {
498
+ __assign = Object.assign || function __assign(t) {
499
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
500
+ s = arguments[i];
501
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
502
+ }
503
+ return t;
504
+ };
505
+ return __assign.apply(this, arguments);
506
+ };
507
+
508
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
509
+ var e = new Error(message);
510
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
511
+ };
512
+
513
+ var VIcon = function (_a) {
514
+ var _b = _a.width,
515
+ width = _b === void 0 ? "12" : _b,
516
+ _c = _a.height,
517
+ height = _c === void 0 ? "8" : _c,
518
+ _d = _a.color,
519
+ color = _d === void 0 ? "#D0D0D0" : _d;
520
+ return jsxRuntime.jsxs("svg", __assign({
521
+ width: width,
522
+ height: height,
523
+ viewBox: "0 0 20 20",
524
+ fill: "none",
525
+ xmlns: "http://www.w3.org/2000/svg"
526
+ }, {
527
+ children: [jsxRuntime.jsx("g", __assign({
528
+ filter: "url(#filter0_d_3431_32168)"
529
+ }, {
530
+ children: jsxRuntime.jsx("path", {
531
+ 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",
532
+ fill: color
533
+ })
534
+ })), jsxRuntime.jsx("defs", {
535
+ children: jsxRuntime.jsxs("filter", __assign({
536
+ id: "filter0_d_3431_32168",
537
+ x: "-2",
538
+ y: "0",
539
+ width: "24",
540
+ height: "24",
541
+ filterUnits: "userSpaceOnUse",
542
+ "color-interpolation-filters": "sRGB"
543
+ }, {
544
+ children: [jsxRuntime.jsx("feFlood", {
545
+ "flood-opacity": "0",
546
+ result: "BackgroundImageFix"
547
+ }), jsxRuntime.jsx("feColorMatrix", {
548
+ "in": "SourceAlpha",
549
+ type: "matrix",
550
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
551
+ result: "hardAlpha"
552
+ }), jsxRuntime.jsx("feOffset", {
553
+ dy: "4"
554
+ }), jsxRuntime.jsx("feGaussianBlur", {
555
+ stdDeviation: "2"
556
+ }), jsxRuntime.jsx("feComposite", {
557
+ in2: "hardAlpha",
558
+ operator: "out"
559
+ }), jsxRuntime.jsx("feColorMatrix", {
560
+ type: "matrix",
561
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"
562
+ }), jsxRuntime.jsx("feBlend", {
563
+ mode: "normal",
564
+ in2: "BackgroundImageFix",
565
+ result: "effect1_dropShadow_3431_32168"
566
+ }), jsxRuntime.jsx("feBlend", {
567
+ mode: "normal",
568
+ "in": "SourceGraphic",
569
+ in2: "effect1_dropShadow_3431_32168",
570
+ result: "shape"
571
+ })]
572
+ }))
573
+ })]
574
+ }));
575
+ };
576
+
481
577
  const ChervronRightIcon = _ref => {
482
578
  let {
483
579
  width = "8",
@@ -559,7 +655,8 @@ const Button$1 = props => {
559
655
  reselect: ReselectIcon,
560
656
  plus: Plus,
561
657
  left: ChervronLeftIcon,
562
- right: ChervronRightIcon
658
+ right: ChervronRightIcon,
659
+ vicon: VIcon
563
660
  };
564
661
  const getIcon = icon => {
565
662
  if (!icon || icon === "none") return null;