@up42/up-components 0.10.14 → 0.11.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.
@@ -14,12 +14,9 @@ export declare type DocumentationPopoverProps = {
14
14
  * i.e: `/getting-started/workflows/catalog`
15
15
  */
16
16
  linkPath?: string;
17
- /**
18
- * Contentful entry ID.
19
- */
20
- contentfulId: string;
17
+ id?: string;
21
18
  };
22
19
  /**
23
20
  * Documentation: https://up-components.up42.dev/?path=/docs/patterns-popovers-documentationpopover
24
21
  */
25
- export declare const DocumentationPopover: ({ content, linkPath, linkText, heading, contentfulId, }: DocumentationPopoverProps) => JSX.Element;
22
+ export declare const DocumentationPopover: ({ content, linkPath, linkText, heading, id }: DocumentationPopoverProps) => JSX.Element;
@@ -7,6 +7,7 @@ export { default as Bin } from './bin.svg';
7
7
  export { default as Block } from './block-circle.svg';
8
8
  export { default as Blocked } from './blocked.svg';
9
9
  export { default as Boxes } from './boxes.svg';
10
+ export { default as Calendar } from './calendar.svg';
10
11
  export { default as Catalog } from './network-search.svg';
11
12
  export { default as CheckList } from './checklist.svg';
12
13
  export { default as CheckMark } from './checkmark.svg';
@@ -53,6 +54,7 @@ export { default as ViewOn } from './view-on.svg';
53
54
  export { default as WeatherCloud } from './weather-cloud.svg';
54
55
  export { default as Webhooks } from './webhooks.svg';
55
56
  export { default as Workflow } from './workflow.svg';
57
+ export { default as AccessTime } from '@mui/icons-material/AccessTime';
56
58
  export { default as ArrowBack } from '@mui/icons-material/ArrowBack';
57
59
  export { default as ArrowDownward } from '@mui/icons-material/ArrowDownward';
58
60
  export { default as ArrowForward } from '@mui/icons-material/ArrowForward';
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ import * as _mui_material_OverridableComponent from '@mui/material/OverridableCo
11
11
  import * as _mui_material_Typography from '@mui/material/Typography';
12
12
  import { TypographyProps as TypographyProps$1 } from '@mui/material/Typography';
13
13
  import * as _mui_system from '@mui/system';
14
+ import AccessTime from '@mui/icons-material/AccessTime';
14
15
  import ArrowBack from '@mui/icons-material/ArrowBack';
15
16
  import ArrowDownward from '@mui/icons-material/ArrowDownward';
16
17
  import ArrowForward from '@mui/icons-material/ArrowForward';
@@ -585,10 +586,10 @@ declare const Loading: ({ fullPage, visible, ...rest }: LoadingProps) => JSX.Ele
585
586
 
586
587
  var _g$e, _defs$c;
587
588
 
588
- function _extends$S() { _extends$S = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$S.apply(this, arguments); }
589
+ function _extends$T() { _extends$T = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$T.apply(this, arguments); }
589
590
 
590
591
  var SvgAlarmBell = function SvgAlarmBell(props) {
591
- return /*#__PURE__*/React.createElement("svg", _extends$S({
592
+ return /*#__PURE__*/React.createElement("svg", _extends$T({
592
593
  xmlns: "http://www.w3.org/2000/svg",
593
594
  fill: "none",
594
595
  viewBox: "0 0 16 16"
@@ -604,17 +605,17 @@ var SvgAlarmBell = function SvgAlarmBell(props) {
604
605
  })))));
605
606
  };
606
607
 
607
- var _path$D, _path2$m;
608
+ var _path$E, _path2$m;
608
609
 
609
- function _extends$R() { _extends$R = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
610
+ function _extends$S() { _extends$S = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$S.apply(this, arguments); }
610
611
 
611
612
  var SvgAppWindowCode = function SvgAppWindowCode(props) {
612
- return /*#__PURE__*/React.createElement("svg", _extends$R({
613
+ return /*#__PURE__*/React.createElement("svg", _extends$S({
613
614
  width: 32,
614
615
  height: 32,
615
616
  fill: "none",
616
617
  xmlns: "http://www.w3.org/2000/svg"
617
- }, props), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
618
+ }, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
618
619
  d: "M4.013 30.004c-1.654 0-3-1.345-3-3v-22c0-1.655 1.346-3 3-3h24c1.655 0 3 1.345 3 3v22c0 1.655-1.345 3-3 3h-24Zm-1-3a1 1 0 0 0 1 1h24a1 1 0 0 0 1-1v-17h-26v17Zm26-19v-3a1 1 0 0 0-1-1h-24a1 1 0 0 0-1 1v3h26Z",
619
620
  fill: "currentColor"
620
621
  })), _path2$m || (_path2$m = /*#__PURE__*/React.createElement("path", {
@@ -625,10 +626,10 @@ var SvgAppWindowCode = function SvgAppWindowCode(props) {
625
626
 
626
627
  var _g$d, _defs$b;
627
628
 
628
- function _extends$Q() { _extends$Q = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Q.apply(this, arguments); }
629
+ function _extends$R() { _extends$R = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
629
630
 
630
631
  var SvgArrowTopRight = function SvgArrowTopRight(props) {
631
- return /*#__PURE__*/React.createElement("svg", _extends$Q({
632
+ return /*#__PURE__*/React.createElement("svg", _extends$R({
632
633
  xmlns: "http://www.w3.org/2000/svg",
633
634
  fill: "none",
634
635
  viewBox: "0 0 16 17"
@@ -647,10 +648,10 @@ var SvgArrowTopRight = function SvgArrowTopRight(props) {
647
648
 
648
649
  var _rect$4, _g$c, _defs$a;
649
650
 
650
- function _extends$P() { _extends$P = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
651
+ function _extends$Q() { _extends$Q = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Q.apply(this, arguments); }
651
652
 
652
653
  var SvgAssignmentCircle = function SvgAssignmentCircle(props) {
653
- return /*#__PURE__*/React.createElement("svg", _extends$P({
654
+ return /*#__PURE__*/React.createElement("svg", _extends$Q({
654
655
  width: 32,
655
656
  height: 32,
656
657
  fill: "none",
@@ -678,12 +679,12 @@ var SvgAssignmentCircle = function SvgAssignmentCircle(props) {
678
679
  })))));
679
680
  };
680
681
 
681
- var _rect$3, _path$C, _path2$l, _path3$2;
682
+ var _rect$3, _path$D, _path2$l, _path3$2;
682
683
 
683
- function _extends$O() { _extends$O = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
684
+ function _extends$P() { _extends$P = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$P.apply(this, arguments); }
684
685
 
685
686
  var SvgBashCircle = function SvgBashCircle(props) {
686
- return /*#__PURE__*/React.createElement("svg", _extends$O({
687
+ return /*#__PURE__*/React.createElement("svg", _extends$P({
687
688
  width: 32,
688
689
  height: 32,
689
690
  fill: "none",
@@ -693,7 +694,7 @@ var SvgBashCircle = function SvgBashCircle(props) {
693
694
  height: 32,
694
695
  rx: 16,
695
696
  fill: "currentColor"
696
- })), _path$C || (_path$C = /*#__PURE__*/React.createElement("path", {
697
+ })), _path$D || (_path$D = /*#__PURE__*/React.createElement("path", {
697
698
  d: "M9.5 22.667c-.827 0-1.5-.673-1.5-1.5V10.243a1.584 1.584 0 0 1 1.575-1.576H22.43A1.579 1.579 0 0 1 24 10.237V21.09a1.584 1.584 0 0 1-1.575 1.577H9.5Zm.077-13a.581.581 0 0 0-.577.578v10.922a.5.5 0 0 0 .5.5h12.923a.58.58 0 0 0 .577-.578v-10.85a.575.575 0 0 0-.573-.572H9.577Z",
698
699
  fill: "#fff"
699
700
  })), _path2$l || (_path2$l = /*#__PURE__*/React.createElement("path", {
@@ -705,17 +706,17 @@ var SvgBashCircle = function SvgBashCircle(props) {
705
706
  })));
706
707
  };
707
708
 
708
- var _path$B, _path2$k;
709
+ var _path$C, _path2$k;
709
710
 
710
- function _extends$N() { _extends$N = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$N.apply(this, arguments); }
711
+ function _extends$O() { _extends$O = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$O.apply(this, arguments); }
711
712
 
712
713
  var SvgBin = function SvgBin(props) {
713
- return /*#__PURE__*/React.createElement("svg", _extends$N({
714
+ return /*#__PURE__*/React.createElement("svg", _extends$O({
714
715
  width: 14,
715
716
  height: 14,
716
717
  fill: "currentColor",
717
718
  xmlns: "http://www.w3.org/2000/svg"
718
- }, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
719
+ }, props), _path$C || (_path$C = /*#__PURE__*/React.createElement("path", {
719
720
  d: "M5.5 10.5A.5.5 0 0 1 5 10V6a.5.5 0 0 1 1 0v4a.5.5 0 0 1-.5.5ZM8.5 10.5A.5.5 0 0 1 8 10V6a.5.5 0 0 1 1 0v4a.5.5 0 0 1-.5.5Z"
720
721
  })), _path2$k || (_path2$k = /*#__PURE__*/React.createElement("path", {
721
722
  d: "M3.5 13.5c-.827 0-1.5-.673-1.5-1.5V3.5H.5a.5.5 0 0 1 0-1H4V2C4 1.173 4.673.5 5.5.5h3C9.327.5 10 1.173 10 2v.5h3.5a.5.5 0 0 1 0 1H12V12c0 .827-.673 1.5-1.5 1.5h-7ZM3 12a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5V3.5H3V12Zm6-9.5V2a.5.5 0 0 0-.5-.5h-3A.5.5 0 0 0 5 2v.5h4Z"
@@ -724,10 +725,10 @@ var SvgBin = function SvgBin(props) {
724
725
 
725
726
  var _rect$2, _g$b, _defs$9;
726
727
 
727
- function _extends$M() { _extends$M = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$M.apply(this, arguments); }
728
+ function _extends$N() { _extends$N = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$N.apply(this, arguments); }
728
729
 
729
730
  var SvgBlockCircle = function SvgBlockCircle(props) {
730
- return /*#__PURE__*/React.createElement("svg", _extends$M({
731
+ return /*#__PURE__*/React.createElement("svg", _extends$N({
731
732
  width: 32,
732
733
  height: 32,
733
734
  fill: "none",
@@ -751,17 +752,17 @@ var SvgBlockCircle = function SvgBlockCircle(props) {
751
752
  })))));
752
753
  };
753
754
 
754
- var _path$A, _path2$j;
755
+ var _path$B, _path2$j;
755
756
 
756
- function _extends$L() { _extends$L = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$L.apply(this, arguments); }
757
+ function _extends$M() { _extends$M = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$M.apply(this, arguments); }
757
758
 
758
759
  var SvgBlocked = function SvgBlocked(props) {
759
- return /*#__PURE__*/React.createElement("svg", _extends$L({
760
+ return /*#__PURE__*/React.createElement("svg", _extends$M({
760
761
  width: 16,
761
762
  height: 16,
762
763
  fill: "none",
763
764
  xmlns: "http://www.w3.org/2000/svg"
764
- }, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
765
+ }, props), _path$B || (_path$B = /*#__PURE__*/React.createElement("path", {
765
766
  d: "M5 8.5a.5.5 0 0 1 0-1h6a.5.5 0 0 1 0 1H5Z",
766
767
  fill: "currentColor"
767
768
  })), _path2$j || (_path2$j = /*#__PURE__*/React.createElement("path", {
@@ -772,10 +773,10 @@ var SvgBlocked = function SvgBlocked(props) {
772
773
 
773
774
  var _g$a, _defs$8;
774
775
 
775
- function _extends$K() { _extends$K = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$K.apply(this, arguments); }
776
+ function _extends$L() { _extends$L = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$L.apply(this, arguments); }
776
777
 
777
778
  var SvgBoxes = function SvgBoxes(props) {
778
- return /*#__PURE__*/React.createElement("svg", _extends$K({
779
+ return /*#__PURE__*/React.createElement("svg", _extends$L({
779
780
  fill: "currentColor",
780
781
  xmlns: "http://www.w3.org/2000/svg",
781
782
  viewBox: "0 0 17 17"
@@ -794,6 +795,22 @@ var SvgBoxes = function SvgBoxes(props) {
794
795
  })))));
795
796
  };
796
797
 
798
+ var _path$A;
799
+
800
+ function _extends$K() { _extends$K = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$K.apply(this, arguments); }
801
+
802
+ var SvgCalendar = function SvgCalendar(props) {
803
+ return /*#__PURE__*/React.createElement("svg", _extends$K({
804
+ width: 24,
805
+ height: 24,
806
+ fill: "none",
807
+ xmlns: "http://www.w3.org/2000/svg"
808
+ }, props), _path$A || (_path$A = /*#__PURE__*/React.createElement("path", {
809
+ d: "M2.252 24a2.252 2.252 0 0 1-2.25-2.25V5.25A2.252 2.252 0 0 1 2.252 3h3.75V.75a.75.75 0 0 1 1.5 0V3h9V.75a.75.75 0 0 1 1.5 0V3h3.75a2.252 2.252 0 0 1 2.25 2.25v16.5a2.252 2.252 0 0 1-2.25 2.25h-19.5Zm-.75-2.25c0 .414.336.75.75.75h19.5a.75.75 0 0 0 .75-.75V10.5h-21v11.25Zm21-12.75V5.25a.75.75 0 0 0-.75-.75h-3.75V6a.75.75 0 0 1-1.5 0V4.5h-9V6a.75.75 0 0 1-1.5 0V4.5h-3.75a.75.75 0 0 0-.75.75V9h21Z",
810
+ fill: "currentColor"
811
+ })));
812
+ };
813
+
797
814
  var _path$z, _path2$i;
798
815
 
799
816
  function _extends$J() { _extends$J = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$J.apply(this, arguments); }
@@ -1673,6 +1690,7 @@ var SvgWorkflow = function SvgWorkflow(props) {
1673
1690
 
1674
1691
  // Custom SVG
1675
1692
 
1693
+ declare const icons_AccessTime: typeof AccessTime;
1676
1694
  declare const icons_ArrowBack: typeof ArrowBack;
1677
1695
  declare const icons_ArrowDownward: typeof ArrowDownward;
1678
1696
  declare const icons_ArrowForward: typeof ArrowForward;
@@ -1709,6 +1727,7 @@ declare namespace icons {
1709
1727
  SvgBlockCircle as Block,
1710
1728
  SvgBlocked as Blocked,
1711
1729
  SvgBoxes as Boxes,
1730
+ SvgCalendar as Calendar,
1712
1731
  SvgNetworkSearch as Catalog,
1713
1732
  SvgChecklist as CheckList,
1714
1733
  SvgCheckmark as CheckMark,
@@ -1755,6 +1774,7 @@ declare namespace icons {
1755
1774
  SvgWeatherCloud as WeatherCloud,
1756
1775
  SvgWebhooks as Webhooks,
1757
1776
  SvgWorkflow as Workflow,
1777
+ icons_AccessTime as AccessTime,
1758
1778
  icons_ArrowBack as ArrowBack,
1759
1779
  icons_ArrowDownward as ArrowDownward,
1760
1780
  icons_ArrowForward as ArrowForward,
@@ -1845,15 +1865,12 @@ declare type DocumentationPopoverProps = {
1845
1865
  * i.e: `/getting-started/workflows/catalog`
1846
1866
  */
1847
1867
  linkPath?: string;
1848
- /**
1849
- * Contentful entry ID.
1850
- */
1851
- contentfulId: string;
1868
+ id?: string;
1852
1869
  };
1853
1870
  /**
1854
1871
  * Documentation: https://up-components.up42.dev/?path=/docs/patterns-popovers-documentationpopover
1855
1872
  */
1856
- declare const DocumentationPopover: ({ content, linkPath, linkText, heading, contentfulId, }: DocumentationPopoverProps) => JSX.Element;
1873
+ declare const DocumentationPopover: ({ content, linkPath, linkText, heading, id }: DocumentationPopoverProps) => JSX.Element;
1857
1874
 
1858
1875
  interface CodeBoxProps {
1859
1876
  text: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "0.10.14",
3
+ "version": "0.11.0",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",