@micromag/core 0.3.346 → 0.3.348

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/es/components.js CHANGED
@@ -44,13 +44,13 @@ import { useSpring } from '@react-spring/core';
44
44
  import { config, animated } from '@react-spring/web';
45
45
 
46
46
  /* eslint-disable react/jsx-props-no-spreading */
47
- var propTypes$L = {
47
+ var propTypes$S = {
48
48
  children: PropTypes.label.isRequired,
49
49
  isHtml: PropTypes$1.bool,
50
50
  values: PropTypes$1.object // eslint-disable-line react/forbid-prop-types
51
51
  };
52
52
 
53
- var defaultProps$L = {
53
+ var defaultProps$S = {
54
54
  isHtml: false,
55
55
  values: {}
56
56
  };
@@ -63,13 +63,13 @@ var Label = function Label(_ref) {
63
63
  values: values
64
64
  }, children)) : children;
65
65
  };
66
- Label.propTypes = propTypes$L;
67
- Label.defaultProps = defaultProps$L;
66
+ Label.propTypes = propTypes$S;
67
+ Label.defaultProps = defaultProps$S;
68
68
 
69
69
  var styles$w = {"container":"micromag-core-buttons-button-container","asLink":"micromag-core-buttons-button-asLink","withoutStyle":"micromag-core-buttons-button-withoutStyle","icon":"micromag-core-buttons-button-icon","label":"micromag-core-buttons-button-label","withIcon":"micromag-core-buttons-button-withIcon","right":"micromag-core-buttons-button-right","withAnimations":"micromag-core-buttons-button-withAnimations","icon-right":"micromag-core-buttons-button-icon-right","withIconColumns":"micromag-core-buttons-button-withIconColumns","linkDisabled":"micromag-core-buttons-button-linkDisabled"};
70
70
 
71
71
  var _excluded$b = ["type", "theme", "size", "href", "external", "direct", "target", "label", "children", "focusable", "active", "icon", "iconPosition", "disabled", "loading", "disableOnLoading", "small", "big", "withShadow", "withoutStyle", "withoutBootstrapStyles", "withoutTheme", "asLink", "outline", "onClick", "className", "iconClassName", "labelClassName", "refButton"];
72
- var propTypes$K = {
72
+ var propTypes$R = {
73
73
  type: PropTypes$1.string,
74
74
  theme: PropTypes.buttonTheme,
75
75
  size: PropTypes.buttonSize,
@@ -103,7 +103,7 @@ var propTypes$K = {
103
103
  })])
104
104
  };
105
105
 
106
- var defaultProps$K = {
106
+ var defaultProps$R = {
107
107
  type: 'button',
108
108
  theme: null,
109
109
  size: null,
@@ -215,13 +215,13 @@ var Button$1 = function Button(_ref) {
215
215
  tabIndex: focusable ? '0' : '-1'
216
216
  }), content);
217
217
  };
218
- Button$1.propTypes = propTypes$K;
219
- Button$1.defaultProps = defaultProps$K;
218
+ Button$1.propTypes = propTypes$R;
219
+ Button$1.defaultProps = defaultProps$R;
220
220
 
221
221
  var styles$v = {};
222
222
 
223
223
  var _excluded$a = ["className", "onClick", "theme"];
224
- var propTypes$J = {
224
+ var propTypes$Q = {
225
225
  buttons: PropTypes.buttons,
226
226
  size: PropTypes.buttonSize,
227
227
  theme: PropTypes.buttonTheme,
@@ -230,7 +230,7 @@ var propTypes$J = {
230
230
  className: PropTypes$1.string,
231
231
  buttonClassName: PropTypes$1.string
232
232
  };
233
- var defaultProps$J = {
233
+ var defaultProps$Q = {
234
234
  buttons: [],
235
235
  size: null,
236
236
  theme: undefined,
@@ -275,14 +275,14 @@ var Buttons = function Buttons(_ref) {
275
275
  return renderButton !== null ? renderButton(button, index, fixedProps) : /*#__PURE__*/React.createElement(Button$1, Object.assign({}, fixedProps, buttonProps));
276
276
  }));
277
277
  };
278
- Buttons.propTypes = propTypes$J;
279
- Buttons.defaultProps = defaultProps$J;
278
+ Buttons.propTypes = propTypes$Q;
279
+ Buttons.defaultProps = defaultProps$Q;
280
280
 
281
281
  var _excluded$9 = ["className"];
282
- var propTypes$I = {
282
+ var propTypes$P = {
283
283
  className: PropTypes$1.string
284
284
  };
285
- var defaultProps$I = {
285
+ var defaultProps$P = {
286
286
  className: null
287
287
  };
288
288
  var BackButton = function BackButton(_ref) {
@@ -297,12 +297,12 @@ var BackButton = function BackButton(_ref) {
297
297
  })
298
298
  }, props));
299
299
  };
300
- BackButton.propTypes = propTypes$I;
301
- BackButton.defaultProps = defaultProps$I;
300
+ BackButton.propTypes = propTypes$P;
301
+ BackButton.defaultProps = defaultProps$P;
302
302
 
303
303
  var _excluded$8 = ["type"],
304
304
  _excluded2 = ["component", "id", "settings"];
305
- var propTypes$H = {
305
+ var propTypes$O = {
306
306
  name: PropTypes$1.string,
307
307
  // .isRequired,
308
308
  value: PropTypes.component,
@@ -316,7 +316,7 @@ var propTypes$H = {
316
316
  fieldContext: PropTypes$1.any // eslint-disable-line react/forbid-prop-types
317
317
  };
318
318
 
319
- var defaultProps$H = {
319
+ var defaultProps$O = {
320
320
  name: null,
321
321
  form: null,
322
322
  formComponents: {},
@@ -394,12 +394,12 @@ var FieldForm = function FieldForm(_ref) {
394
394
  isForm: true
395
395
  }, formProps))) : null;
396
396
  };
397
- FieldForm.propTypes = propTypes$H;
398
- FieldForm.defaultProps = defaultProps$H;
397
+ FieldForm.propTypes = propTypes$O;
398
+ FieldForm.defaultProps = defaultProps$O;
399
399
 
400
400
  var styles$u = {"actions":"micromag-core-forms-form-actions","left":"micromag-core-forms-form-left","right":"micromag-core-forms-form-right"};
401
401
 
402
- var propTypes$G = {
402
+ var propTypes$N = {
403
403
  action: PropTypes$1.string.isRequired,
404
404
  method: PropTypes$1.string,
405
405
  fields: PropTypes.formFields,
@@ -408,6 +408,8 @@ var propTypes$G = {
408
408
  postForm: PropTypes$1.func,
409
409
  submitButtonLabel: PropTypes.label,
410
410
  submitButtonLoadingLabel: PropTypes.label,
411
+ submitButtonTheme: PropTypes$1.string,
412
+ cancelButtonTheme: PropTypes$1.string,
411
413
  buttons: PropTypes.buttons,
412
414
  children: PropTypes$1.node,
413
415
  actionsAlign: PropTypes$1.oneOf(['left', 'right']),
@@ -426,7 +428,7 @@ var propTypes$G = {
426
428
  actionsClassName: PropTypes$1.string,
427
429
  cancelClassName: PropTypes$1.string
428
430
  };
429
- var defaultProps$G = {
431
+ var defaultProps$N = {
430
432
  method: 'POST',
431
433
  fields: [],
432
434
  initialValue: null,
@@ -439,6 +441,8 @@ var defaultProps$G = {
439
441
  }]
440
442
  }),
441
443
  submitButtonLoadingLabel: null,
444
+ submitButtonTheme: null,
445
+ cancelButtonTheme: null,
442
446
  buttons: null,
443
447
  children: null,
444
448
  actionsAlign: 'left',
@@ -466,6 +470,8 @@ var Form = function Form(_ref) {
466
470
  postForm = _ref.postForm,
467
471
  submitButtonLabel = _ref.submitButtonLabel,
468
472
  submitButtonLoadingLabel = _ref.submitButtonLoadingLabel,
473
+ submitButtonTheme = _ref.submitButtonTheme,
474
+ cancelButtonTheme = _ref.cancelButtonTheme,
469
475
  buttons = _ref.buttons,
470
476
  children = _ref.children,
471
477
  actionsAlign = _ref.actionsAlign,
@@ -599,7 +605,7 @@ var Form = function Form(_ref) {
599
605
  type: "button",
600
606
  onClick: onCancel,
601
607
  href: onCancelHref,
602
- theme: "secondary",
608
+ theme: cancelButtonTheme || 'secondary',
603
609
  outline: true,
604
610
  disabled: status === 'loading',
605
611
  className: classNames(['me-2', _defineProperty({}, cancelClassName, cancelClassName !== null)])
@@ -614,7 +620,7 @@ var Form = function Form(_ref) {
614
620
  className: styles$u.buttons
615
621
  }) : /*#__PURE__*/React.createElement(Button$1, {
616
622
  type: "submit",
617
- theme: "primary",
623
+ theme: submitButtonTheme || 'primary',
618
624
  disabled: status === 'loading' || !canSave
619
625
  }, status === 'loading' ? submitButtonLoadingLabel || submitButtonLabel : submitButtonLabel), complete ? /*#__PURE__*/React.createElement("p", {
620
626
  className: "text-success mx-2 my-1"
@@ -626,13 +632,13 @@ var Form = function Form(_ref) {
626
632
  }]
627
633
  })) : null) : null);
628
634
  };
629
- Form.propTypes = propTypes$G;
630
- Form.defaultProps = defaultProps$G;
635
+ Form.propTypes = propTypes$N;
636
+ Form.defaultProps = defaultProps$N;
631
637
 
632
638
  var styles$t = {"withoutStyle":"micromag-core-partials-link-withoutStyle"};
633
639
 
634
640
  var _excluded$7 = ["href", "external", "children", "target", "rel", "className", "withoutStyle"];
635
- var propTypes$F = {
641
+ var propTypes$M = {
636
642
  href: PropTypes$1.string,
637
643
  external: PropTypes$1.bool,
638
644
  target: PropTypes$1.string,
@@ -641,7 +647,7 @@ var propTypes$F = {
641
647
  withoutStyle: PropTypes$1.bool,
642
648
  className: PropTypes$1.string
643
649
  };
644
- var defaultProps$F = {
650
+ var defaultProps$M = {
645
651
  href: '',
646
652
  external: false,
647
653
  target: '_blank',
@@ -669,11 +675,11 @@ var Link = function Link(_ref) {
669
675
  to: href
670
676
  }, props), /*#__PURE__*/React.createElement(Label, null, children));
671
677
  };
672
- Link.propTypes = propTypes$F;
673
- Link.defaultProps = defaultProps$F;
678
+ Link.propTypes = propTypes$M;
679
+ Link.defaultProps = defaultProps$M;
674
680
 
675
681
  var _excluded$6 = ["label", "className"];
676
- var propTypes$E = {
682
+ var propTypes$L = {
677
683
  href: PropTypes$1.string,
678
684
  header: PropTypes$1.node,
679
685
  image: PropTypes$1.node,
@@ -702,7 +708,7 @@ var propTypes$E = {
702
708
  onClickBody: PropTypes$1.func,
703
709
  onClickFooter: PropTypes$1.func
704
710
  };
705
- var defaultProps$E = {
711
+ var defaultProps$L = {
706
712
  href: null,
707
713
  header: null,
708
714
  image: null,
@@ -816,15 +822,15 @@ var Card = function Card(_ref) {
816
822
  className: cardClassName
817
823
  }, cardInner);
818
824
  };
819
- Card.propTypes = propTypes$E;
820
- Card.defaultProps = defaultProps$E;
825
+ Card.propTypes = propTypes$L;
826
+ Card.defaultProps = defaultProps$L;
821
827
 
822
- var propTypes$D = {
828
+ var propTypes$K = {
823
829
  animated: PropTypes$1.bool,
824
830
  color: PropTypes$1.string,
825
831
  className: PropTypes$1.string
826
832
  };
827
- var defaultProps$D = {
833
+ var defaultProps$K = {
828
834
  animated: true,
829
835
  color: 'currentColor',
830
836
  className: null
@@ -887,19 +893,19 @@ var Spinner = function Spinner(_ref) {
887
893
  repeatCount: "indefinite"
888
894
  }) : null))));
889
895
  };
890
- Spinner.propTypes = propTypes$D;
891
- Spinner.defaultProps = defaultProps$D;
896
+ Spinner.propTypes = propTypes$K;
897
+ Spinner.defaultProps = defaultProps$K;
892
898
 
893
899
  var styles$s = {};
894
900
 
895
901
  var _excluded$5 = ["description", "loading", "children", "className"];
896
- var propTypes$C = {
902
+ var propTypes$J = {
897
903
  description: PropTypes$1.node,
898
904
  loading: PropTypes$1.bool,
899
905
  children: PropTypes$1.node,
900
906
  className: PropTypes$1.string
901
907
  };
902
- var defaultProps$C = {
908
+ var defaultProps$J = {
903
909
  description: null,
904
910
  loading: false,
905
911
  children: null,
@@ -915,8 +921,228 @@ var FormPanel = function FormPanel(_ref) {
915
921
  className: classNames([styles$s.container, _defineProperty({}, className, className !== null)])
916
922
  }, props), description, loading ? /*#__PURE__*/React.createElement(Spinner, null) : children);
917
923
  };
918
- FormPanel.propTypes = propTypes$C;
919
- FormPanel.defaultProps = defaultProps$C;
924
+ FormPanel.propTypes = propTypes$J;
925
+ FormPanel.defaultProps = defaultProps$J;
926
+
927
+ var propTypes$I = {
928
+ className: PropTypes$1.string,
929
+ color: PropTypes$1.string
930
+ };
931
+ var defaultProps$I = {
932
+ className: null,
933
+ color: '#fff'
934
+ };
935
+ var ArrowIcon = function ArrowIcon(_ref) {
936
+ var color = _ref.color,
937
+ className = _ref.className;
938
+ return /*#__PURE__*/React.createElement("svg", {
939
+ width: "20",
940
+ height: "14",
941
+ viewBox: "0 0 20 14",
942
+ fill: "none",
943
+ xmlns: "http://www.w3.org/2000/svg",
944
+ className: className
945
+ }, /*#__PURE__*/React.createElement("path", {
946
+ fillRule: "evenodd",
947
+ clipRule: "evenodd",
948
+ d: "M13.353 0.371014L19.319 6.33704C19.6851 6.70314 19.6851 7.29671 19.319 7.66282L13.353 13.6288C12.9869 13.9949 12.3933 13.9949 12.0272 13.6288C11.6611 13.2627 11.6611 12.6692 12.0272 12.3031L16.3929 7.9374H0V6.06246H16.3929L12.0272 1.6968C11.6611 1.33069 11.6611 0.737119 12.0272 0.371014C12.3933 0.0049094 12.9869 0.0049094 13.353 0.371014Z",
949
+ fill: color
950
+ }));
951
+ };
952
+ ArrowIcon.propTypes = propTypes$I;
953
+ ArrowIcon.defaultProps = defaultProps$I;
954
+
955
+ var propTypes$H = {
956
+ className: PropTypes$1.string,
957
+ color: PropTypes$1.string
958
+ };
959
+ var defaultProps$H = {
960
+ className: null,
961
+ color: '#fff'
962
+ };
963
+ var CloseIcon = function CloseIcon(_ref) {
964
+ var color = _ref.color,
965
+ className = _ref.className;
966
+ return /*#__PURE__*/React.createElement("svg", {
967
+ width: "22",
968
+ height: "22",
969
+ viewBox: "0 0 22 22",
970
+ fill: "none",
971
+ xmlns: "http://www.w3.org/2000/svg",
972
+ className: className
973
+ }, /*#__PURE__*/React.createElement("path", {
974
+ d: "M1 1L21 21",
975
+ stroke: color,
976
+ strokeWidth: "1.5",
977
+ strokeLinecap: "round"
978
+ }), /*#__PURE__*/React.createElement("path", {
979
+ d: "M1 21L21 0.999998",
980
+ stroke: color,
981
+ strokeWidth: "1.5",
982
+ strokeLinecap: "round"
983
+ }));
984
+ };
985
+ CloseIcon.propTypes = propTypes$H;
986
+ CloseIcon.defaultProps = defaultProps$H;
987
+
988
+ var propTypes$G = {
989
+ className: PropTypes$1.string,
990
+ color: PropTypes$1.string
991
+ };
992
+ var defaultProps$G = {
993
+ className: null,
994
+ color: '#fff'
995
+ };
996
+ var LinkIcon = function LinkIcon(_ref) {
997
+ var color = _ref.color,
998
+ className = _ref.className;
999
+ return /*#__PURE__*/React.createElement("svg", {
1000
+ width: "16",
1001
+ height: "16",
1002
+ viewBox: "0 0 16 16",
1003
+ fill: "none",
1004
+ xmlns: "http://www.w3.org/2000/svg",
1005
+ className: className
1006
+ }, /*#__PURE__*/React.createElement("path", {
1007
+ d: "M6.60207 8.70208C7.75493 10.2515 9.95019 10.5697 11.4965 9.40761C11.6277 9.31077 11.7589 9.2001 11.8762 9.08251L13.9749 6.97975C15.3417 5.61018 15.3417 3.39674 13.9749 2.02717C12.608 0.657609 10.3989 0.657609 9.03205 2.02717L7.83086 3.22381",
1008
+ stroke: color,
1009
+ strokeWidth: "1.25",
1010
+ strokeLinecap: "round",
1011
+ strokeLinejoin: "round"
1012
+ }), /*#__PURE__*/React.createElement("path", {
1013
+ d: "M9.39793 7.29793C8.24507 5.74852 6.04981 5.43034 4.50345 6.59239C4.37229 6.68923 4.24113 6.7999 4.12377 6.91749L2.02515 9.02026C0.658284 10.3898 0.658284 12.6033 2.02515 13.9728C3.39201 15.3424 5.60109 15.3424 6.96795 13.9728L8.16223 12.7762",
1014
+ stroke: color,
1015
+ strokeWidth: "1.25",
1016
+ strokeLinecap: "round",
1017
+ strokeLinejoin: "round"
1018
+ }));
1019
+ };
1020
+ LinkIcon.propTypes = propTypes$G;
1021
+ LinkIcon.defaultProps = defaultProps$G;
1022
+
1023
+ var propTypes$F = {
1024
+ className: PropTypes$1.string,
1025
+ color: PropTypes$1.string
1026
+ };
1027
+ var defaultProps$F = {
1028
+ className: null,
1029
+ color: '#fff'
1030
+ };
1031
+ var MuteIcon = function MuteIcon(_ref) {
1032
+ var color = _ref.color,
1033
+ className = _ref.className;
1034
+ return /*#__PURE__*/React.createElement("svg", {
1035
+ width: "26",
1036
+ height: "26",
1037
+ viewBox: "0 0 26 26",
1038
+ fill: "none",
1039
+ xmlns: "http://www.w3.org/2000/svg",
1040
+ className: className
1041
+ }, /*#__PURE__*/React.createElement("path", {
1042
+ d: "M7.09929 8.77987H1C0.447715 8.77987 0 9.22758 0 9.77987V15.7799C0 16.3322 0.447715 16.7799 1 16.7799H7.1076C7.35984 16.7799 7.60276 16.8752 7.78768 17.0467L14.3199 23.1062C14.9599 23.6999 16 23.246 16 22.3731V3.00199C16 2.12221 14.9458 1.67117 14.3095 2.2787L7.78983 8.50316C7.6038 8.68077 7.35649 8.77987 7.09929 8.77987Z",
1043
+ fill: color
1044
+ }), /*#__PURE__*/React.createElement("path", {
1045
+ d: "M18 18.6875C21.3137 18.6875 24 16.0012 24 12.6875C24 9.37379 21.3137 6.6875 18 6.6875",
1046
+ stroke: color
1047
+ }), /*#__PURE__*/React.createElement("path", {
1048
+ d: "M18 15.6875C19.6569 15.6875 21 14.3444 21 12.6875C21 11.0306 19.6569 9.6875 18 9.6875",
1049
+ stroke: color
1050
+ }));
1051
+ };
1052
+ MuteIcon.propTypes = propTypes$F;
1053
+ MuteIcon.defaultProps = defaultProps$F;
1054
+
1055
+ var propTypes$E = {
1056
+ className: PropTypes$1.string,
1057
+ color: PropTypes$1.string
1058
+ };
1059
+ var defaultProps$E = {
1060
+ className: null,
1061
+ color: '#fff'
1062
+ };
1063
+ var PauseIcon = function PauseIcon(_ref) {
1064
+ var color = _ref.color,
1065
+ className = _ref.className;
1066
+ return /*#__PURE__*/React.createElement("svg", {
1067
+ className: className,
1068
+ width: "14",
1069
+ height: "18",
1070
+ viewBox: "0 0 14 18",
1071
+ fill: "none",
1072
+ xmlns: "http://www.w3.org/2000/svg"
1073
+ }, /*#__PURE__*/React.createElement("rect", {
1074
+ width: "6",
1075
+ height: "18",
1076
+ rx: "2",
1077
+ fill: color
1078
+ }), /*#__PURE__*/React.createElement("rect", {
1079
+ x: "8",
1080
+ width: "6",
1081
+ height: "18",
1082
+ rx: "2",
1083
+ fill: color
1084
+ }));
1085
+ };
1086
+ PauseIcon.propTypes = propTypes$E;
1087
+ PauseIcon.defaultProps = defaultProps$E;
1088
+
1089
+ var propTypes$D = {
1090
+ className: PropTypes$1.string,
1091
+ color: PropTypes$1.string
1092
+ };
1093
+ var defaultProps$D = {
1094
+ className: null,
1095
+ color: '#fff'
1096
+ };
1097
+ var PlayIcon = function PlayIcon(_ref) {
1098
+ var color = _ref.color,
1099
+ className = _ref.className;
1100
+ return /*#__PURE__*/React.createElement("svg", {
1101
+ width: "20",
1102
+ height: "23",
1103
+ viewBox: "0 0 20 23",
1104
+ fill: "none",
1105
+ xmlns: "http://www.w3.org/2000/svg",
1106
+ className: className
1107
+ }, /*#__PURE__*/React.createElement("path", {
1108
+ d: "M16.25 12.5574L2.74999 20.3516C1.74999 20.9289 0.499993 20.2073 0.499993 19.0526L0.499994 3.4641C0.499994 2.3094 1.74999 1.58771 2.74999 2.16506L16.25 9.95929C17.25 10.5366 17.25 11.98 16.25 12.5574Z",
1109
+ fill: color,
1110
+ stroke: color
1111
+ }));
1112
+ };
1113
+ PlayIcon.propTypes = propTypes$D;
1114
+ PlayIcon.defaultProps = defaultProps$D;
1115
+
1116
+ var propTypes$C = {
1117
+ className: PropTypes$1.string,
1118
+ color: PropTypes$1.string
1119
+ };
1120
+ var defaultProps$C = {
1121
+ className: null,
1122
+ color: '#fff'
1123
+ };
1124
+ var UnmuteIcon = function UnmuteIcon(_ref) {
1125
+ var color = _ref.color,
1126
+ className = _ref.className;
1127
+ return /*#__PURE__*/React.createElement("svg", {
1128
+ width: "26",
1129
+ height: "26",
1130
+ viewBox: "0 0 26 26",
1131
+ fill: "none",
1132
+ xmlns: "http://www.w3.org/2000/svg",
1133
+ className: className
1134
+ }, /*#__PURE__*/React.createElement("path", {
1135
+ d: "M7.09929 8.77987H1C0.447715 8.77987 0 9.22758 0 9.77987V15.7799C0 16.3322 0.447715 16.7799 1 16.7799H7.1076C7.35984 16.7799 7.60276 16.8752 7.78768 17.0467L14.3199 23.1062C14.9599 23.6999 16 23.246 16 22.3731V3.00199C16 2.12221 14.9458 1.67117 14.3095 2.2787L7.78983 8.50316C7.6038 8.68077 7.35649 8.77987 7.09929 8.77987Z",
1136
+ fill: color
1137
+ }), /*#__PURE__*/React.createElement("path", {
1138
+ fillRule: "evenodd",
1139
+ clipRule: "evenodd",
1140
+ d: "M20.8536 13.3946L23 15.5411L23.7071 14.834L21.5607 12.6875L23.7071 10.5411L23 9.83398L20.8536 11.9804L18.7071 9.83398L18 10.5411L20.1464 12.6875L18 14.834L18.7071 15.5411L20.8536 13.3946Z",
1141
+ fill: color
1142
+ }));
1143
+ };
1144
+ UnmuteIcon.propTypes = propTypes$C;
1145
+ UnmuteIcon.defaultProps = defaultProps$C;
920
1146
 
921
1147
  var styles$r = {"container":"micromag-core-menus-breadcrumb-container","arrow":"micromag-core-menus-breadcrumb-arrow"};
922
1148
 
@@ -4184,4 +4410,4 @@ var LinkStyle = function LinkStyle(_ref) {
4184
4410
  LinkStyle.propTypes = propTypes;
4185
4411
  LinkStyle.defaultProps = defaultProps;
4186
4412
 
4187
- export { BackButton, Breadcrumb, Button$1 as Button, Buttons, Card, Close, CollapsablePanel, Date$1 as Date, Detector, Dropdown as DropdownMenu, ElementComponent as Element, Empty, FieldForm, FontFaces, Form, FormPanel, HighlightStyle, Label, Link, LinkStyle, Media, Menu, Meta, Modal, ModalDialog, ModalPortal, Modals, Navbar, PaginationMenu as Pagination, Panel, PanelPortal, Panels, AdFrame as PlaceholderAdFrame, AdImage as PlaceholderAdImage, Audio as PlaceholderAudio, Button as PlaceholderButton, Image as PlaceholderImage, Line as PlaceholderLine, Map as PlaceholderMap, MapPath as PlaceholderMapPath, Quote as PlaceholderQuote, ShortText as PlaceholderShortText, Subtitle as PlaceholderSubtitle, TextPlaceholder as PlaceholderText, Timeline as PlaceholderTimeline, Title$1 as PlaceholderTitle, Video as PlaceholderVideo, Video360 as PlaceholderVideo360, VideoLoop as PlaceholderVideoLoop, Screen$1 as Screen, ScreenElement, Placeholder as ScreenPlaceholder, Preview as ScreenPreview, ScreenSizer, Screens, Slideshow, Spinner, TabsMenu as Tabs, Transitions, TransitionsStagger, UploadModal };
4413
+ export { ArrowIcon, BackButton, Breadcrumb, Button$1 as Button, Buttons, Card, Close, CloseIcon, CollapsablePanel, Date$1 as Date, Detector, Dropdown as DropdownMenu, ElementComponent as Element, Empty, FieldForm, FontFaces, Form, FormPanel, HighlightStyle, Label, Link, LinkIcon, LinkStyle, Media, Menu, Meta, Modal, ModalDialog, ModalPortal, Modals, MuteIcon, Navbar, PaginationMenu as Pagination, Panel, PanelPortal, Panels, PauseIcon, AdFrame as PlaceholderAdFrame, AdImage as PlaceholderAdImage, Audio as PlaceholderAudio, Button as PlaceholderButton, Image as PlaceholderImage, Line as PlaceholderLine, Map as PlaceholderMap, MapPath as PlaceholderMapPath, Quote as PlaceholderQuote, ShortText as PlaceholderShortText, Subtitle as PlaceholderSubtitle, TextPlaceholder as PlaceholderText, Timeline as PlaceholderTimeline, Title$1 as PlaceholderTitle, Video as PlaceholderVideo, Video360 as PlaceholderVideo360, VideoLoop as PlaceholderVideoLoop, PlayIcon, Screen$1 as Screen, ScreenElement, Placeholder as ScreenPlaceholder, Preview as ScreenPreview, ScreenSizer, Screens, Slideshow, Spinner, TabsMenu as Tabs, Transitions, TransitionsStagger, UnmuteIcon, UploadModal };
package/lib/components.js CHANGED
@@ -85,13 +85,13 @@ var isString__default = /*#__PURE__*/_interopDefaultLegacy(isString);
85
85
  var isNumber__default = /*#__PURE__*/_interopDefaultLegacy(isNumber);
86
86
 
87
87
  /* eslint-disable react/jsx-props-no-spreading */
88
- var propTypes$L = {
88
+ var propTypes$S = {
89
89
  children: core.PropTypes.label.isRequired,
90
90
  isHtml: PropTypes__default["default"].bool,
91
91
  values: PropTypes__default["default"].object // eslint-disable-line react/forbid-prop-types
92
92
  };
93
93
 
94
- var defaultProps$L = {
94
+ var defaultProps$S = {
95
95
  isHtml: false,
96
96
  values: {}
97
97
  };
@@ -104,13 +104,13 @@ var Label = function Label(_ref) {
104
104
  values: values
105
105
  }, children)) : children;
106
106
  };
107
- Label.propTypes = propTypes$L;
108
- Label.defaultProps = defaultProps$L;
107
+ Label.propTypes = propTypes$S;
108
+ Label.defaultProps = defaultProps$S;
109
109
 
110
110
  var styles$w = {"container":"micromag-core-buttons-button-container","asLink":"micromag-core-buttons-button-asLink","withoutStyle":"micromag-core-buttons-button-withoutStyle","icon":"micromag-core-buttons-button-icon","label":"micromag-core-buttons-button-label","withIcon":"micromag-core-buttons-button-withIcon","right":"micromag-core-buttons-button-right","withAnimations":"micromag-core-buttons-button-withAnimations","icon-right":"micromag-core-buttons-button-icon-right","withIconColumns":"micromag-core-buttons-button-withIconColumns","linkDisabled":"micromag-core-buttons-button-linkDisabled"};
111
111
 
112
112
  var _excluded$b = ["type", "theme", "size", "href", "external", "direct", "target", "label", "children", "focusable", "active", "icon", "iconPosition", "disabled", "loading", "disableOnLoading", "small", "big", "withShadow", "withoutStyle", "withoutBootstrapStyles", "withoutTheme", "asLink", "outline", "onClick", "className", "iconClassName", "labelClassName", "refButton"];
113
- var propTypes$K = {
113
+ var propTypes$R = {
114
114
  type: PropTypes__default["default"].string,
115
115
  theme: core.PropTypes.buttonTheme,
116
116
  size: core.PropTypes.buttonSize,
@@ -144,7 +144,7 @@ var propTypes$K = {
144
144
  })])
145
145
  };
146
146
 
147
- var defaultProps$K = {
147
+ var defaultProps$R = {
148
148
  type: 'button',
149
149
  theme: null,
150
150
  size: null,
@@ -256,13 +256,13 @@ var Button$1 = function Button(_ref) {
256
256
  tabIndex: focusable ? '0' : '-1'
257
257
  }), content);
258
258
  };
259
- Button$1.propTypes = propTypes$K;
260
- Button$1.defaultProps = defaultProps$K;
259
+ Button$1.propTypes = propTypes$R;
260
+ Button$1.defaultProps = defaultProps$R;
261
261
 
262
262
  var styles$v = {};
263
263
 
264
264
  var _excluded$a = ["className", "onClick", "theme"];
265
- var propTypes$J = {
265
+ var propTypes$Q = {
266
266
  buttons: core.PropTypes.buttons,
267
267
  size: core.PropTypes.buttonSize,
268
268
  theme: core.PropTypes.buttonTheme,
@@ -271,7 +271,7 @@ var propTypes$J = {
271
271
  className: PropTypes__default["default"].string,
272
272
  buttonClassName: PropTypes__default["default"].string
273
273
  };
274
- var defaultProps$J = {
274
+ var defaultProps$Q = {
275
275
  buttons: [],
276
276
  size: null,
277
277
  theme: undefined,
@@ -316,14 +316,14 @@ var Buttons = function Buttons(_ref) {
316
316
  return renderButton !== null ? renderButton(button, index, fixedProps) : /*#__PURE__*/React__default["default"].createElement(Button$1, Object.assign({}, fixedProps, buttonProps));
317
317
  }));
318
318
  };
319
- Buttons.propTypes = propTypes$J;
320
- Buttons.defaultProps = defaultProps$J;
319
+ Buttons.propTypes = propTypes$Q;
320
+ Buttons.defaultProps = defaultProps$Q;
321
321
 
322
322
  var _excluded$9 = ["className"];
323
- var propTypes$I = {
323
+ var propTypes$P = {
324
324
  className: PropTypes__default["default"].string
325
325
  };
326
- var defaultProps$I = {
326
+ var defaultProps$P = {
327
327
  className: null
328
328
  };
329
329
  var BackButton = function BackButton(_ref) {
@@ -338,12 +338,12 @@ var BackButton = function BackButton(_ref) {
338
338
  })
339
339
  }, props));
340
340
  };
341
- BackButton.propTypes = propTypes$I;
342
- BackButton.defaultProps = defaultProps$I;
341
+ BackButton.propTypes = propTypes$P;
342
+ BackButton.defaultProps = defaultProps$P;
343
343
 
344
344
  var _excluded$8 = ["type"],
345
345
  _excluded2 = ["component", "id", "settings"];
346
- var propTypes$H = {
346
+ var propTypes$O = {
347
347
  name: PropTypes__default["default"].string,
348
348
  // .isRequired,
349
349
  value: core.PropTypes.component,
@@ -357,7 +357,7 @@ var propTypes$H = {
357
357
  fieldContext: PropTypes__default["default"].any // eslint-disable-line react/forbid-prop-types
358
358
  };
359
359
 
360
- var defaultProps$H = {
360
+ var defaultProps$O = {
361
361
  name: null,
362
362
  form: null,
363
363
  formComponents: {},
@@ -435,12 +435,12 @@ var FieldForm = function FieldForm(_ref) {
435
435
  isForm: true
436
436
  }, formProps))) : null;
437
437
  };
438
- FieldForm.propTypes = propTypes$H;
439
- FieldForm.defaultProps = defaultProps$H;
438
+ FieldForm.propTypes = propTypes$O;
439
+ FieldForm.defaultProps = defaultProps$O;
440
440
 
441
441
  var styles$u = {"actions":"micromag-core-forms-form-actions","left":"micromag-core-forms-form-left","right":"micromag-core-forms-form-right"};
442
442
 
443
- var propTypes$G = {
443
+ var propTypes$N = {
444
444
  action: PropTypes__default["default"].string.isRequired,
445
445
  method: PropTypes__default["default"].string,
446
446
  fields: core.PropTypes.formFields,
@@ -449,6 +449,8 @@ var propTypes$G = {
449
449
  postForm: PropTypes__default["default"].func,
450
450
  submitButtonLabel: core.PropTypes.label,
451
451
  submitButtonLoadingLabel: core.PropTypes.label,
452
+ submitButtonTheme: PropTypes__default["default"].string,
453
+ cancelButtonTheme: PropTypes__default["default"].string,
452
454
  buttons: core.PropTypes.buttons,
453
455
  children: PropTypes__default["default"].node,
454
456
  actionsAlign: PropTypes__default["default"].oneOf(['left', 'right']),
@@ -467,7 +469,7 @@ var propTypes$G = {
467
469
  actionsClassName: PropTypes__default["default"].string,
468
470
  cancelClassName: PropTypes__default["default"].string
469
471
  };
470
- var defaultProps$G = {
472
+ var defaultProps$N = {
471
473
  method: 'POST',
472
474
  fields: [],
473
475
  initialValue: null,
@@ -480,6 +482,8 @@ var defaultProps$G = {
480
482
  }]
481
483
  }),
482
484
  submitButtonLoadingLabel: null,
485
+ submitButtonTheme: null,
486
+ cancelButtonTheme: null,
483
487
  buttons: null,
484
488
  children: null,
485
489
  actionsAlign: 'left',
@@ -507,6 +511,8 @@ var Form = function Form(_ref) {
507
511
  postForm = _ref.postForm,
508
512
  submitButtonLabel = _ref.submitButtonLabel,
509
513
  submitButtonLoadingLabel = _ref.submitButtonLoadingLabel,
514
+ submitButtonTheme = _ref.submitButtonTheme,
515
+ cancelButtonTheme = _ref.cancelButtonTheme,
510
516
  buttons = _ref.buttons,
511
517
  children = _ref.children,
512
518
  actionsAlign = _ref.actionsAlign,
@@ -640,7 +646,7 @@ var Form = function Form(_ref) {
640
646
  type: "button",
641
647
  onClick: onCancel,
642
648
  href: onCancelHref,
643
- theme: "secondary",
649
+ theme: cancelButtonTheme || 'secondary',
644
650
  outline: true,
645
651
  disabled: status === 'loading',
646
652
  className: classNames__default["default"](['me-2', _defineProperty__default["default"]({}, cancelClassName, cancelClassName !== null)])
@@ -655,7 +661,7 @@ var Form = function Form(_ref) {
655
661
  className: styles$u.buttons
656
662
  }) : /*#__PURE__*/React__default["default"].createElement(Button$1, {
657
663
  type: "submit",
658
- theme: "primary",
664
+ theme: submitButtonTheme || 'primary',
659
665
  disabled: status === 'loading' || !canSave
660
666
  }, status === 'loading' ? submitButtonLoadingLabel || submitButtonLabel : submitButtonLabel), complete ? /*#__PURE__*/React__default["default"].createElement("p", {
661
667
  className: "text-success mx-2 my-1"
@@ -667,13 +673,13 @@ var Form = function Form(_ref) {
667
673
  }]
668
674
  })) : null) : null);
669
675
  };
670
- Form.propTypes = propTypes$G;
671
- Form.defaultProps = defaultProps$G;
676
+ Form.propTypes = propTypes$N;
677
+ Form.defaultProps = defaultProps$N;
672
678
 
673
679
  var styles$t = {"withoutStyle":"micromag-core-partials-link-withoutStyle"};
674
680
 
675
681
  var _excluded$7 = ["href", "external", "children", "target", "rel", "className", "withoutStyle"];
676
- var propTypes$F = {
682
+ var propTypes$M = {
677
683
  href: PropTypes__default["default"].string,
678
684
  external: PropTypes__default["default"].bool,
679
685
  target: PropTypes__default["default"].string,
@@ -682,7 +688,7 @@ var propTypes$F = {
682
688
  withoutStyle: PropTypes__default["default"].bool,
683
689
  className: PropTypes__default["default"].string
684
690
  };
685
- var defaultProps$F = {
691
+ var defaultProps$M = {
686
692
  href: '',
687
693
  external: false,
688
694
  target: '_blank',
@@ -710,11 +716,11 @@ var Link = function Link(_ref) {
710
716
  to: href
711
717
  }, props), /*#__PURE__*/React__default["default"].createElement(Label, null, children));
712
718
  };
713
- Link.propTypes = propTypes$F;
714
- Link.defaultProps = defaultProps$F;
719
+ Link.propTypes = propTypes$M;
720
+ Link.defaultProps = defaultProps$M;
715
721
 
716
722
  var _excluded$6 = ["label", "className"];
717
- var propTypes$E = {
723
+ var propTypes$L = {
718
724
  href: PropTypes__default["default"].string,
719
725
  header: PropTypes__default["default"].node,
720
726
  image: PropTypes__default["default"].node,
@@ -743,7 +749,7 @@ var propTypes$E = {
743
749
  onClickBody: PropTypes__default["default"].func,
744
750
  onClickFooter: PropTypes__default["default"].func
745
751
  };
746
- var defaultProps$E = {
752
+ var defaultProps$L = {
747
753
  href: null,
748
754
  header: null,
749
755
  image: null,
@@ -857,15 +863,15 @@ var Card = function Card(_ref) {
857
863
  className: cardClassName
858
864
  }, cardInner);
859
865
  };
860
- Card.propTypes = propTypes$E;
861
- Card.defaultProps = defaultProps$E;
866
+ Card.propTypes = propTypes$L;
867
+ Card.defaultProps = defaultProps$L;
862
868
 
863
- var propTypes$D = {
869
+ var propTypes$K = {
864
870
  animated: PropTypes__default["default"].bool,
865
871
  color: PropTypes__default["default"].string,
866
872
  className: PropTypes__default["default"].string
867
873
  };
868
- var defaultProps$D = {
874
+ var defaultProps$K = {
869
875
  animated: true,
870
876
  color: 'currentColor',
871
877
  className: null
@@ -928,19 +934,19 @@ var Spinner = function Spinner(_ref) {
928
934
  repeatCount: "indefinite"
929
935
  }) : null))));
930
936
  };
931
- Spinner.propTypes = propTypes$D;
932
- Spinner.defaultProps = defaultProps$D;
937
+ Spinner.propTypes = propTypes$K;
938
+ Spinner.defaultProps = defaultProps$K;
933
939
 
934
940
  var styles$s = {};
935
941
 
936
942
  var _excluded$5 = ["description", "loading", "children", "className"];
937
- var propTypes$C = {
943
+ var propTypes$J = {
938
944
  description: PropTypes__default["default"].node,
939
945
  loading: PropTypes__default["default"].bool,
940
946
  children: PropTypes__default["default"].node,
941
947
  className: PropTypes__default["default"].string
942
948
  };
943
- var defaultProps$C = {
949
+ var defaultProps$J = {
944
950
  description: null,
945
951
  loading: false,
946
952
  children: null,
@@ -956,8 +962,228 @@ var FormPanel = function FormPanel(_ref) {
956
962
  className: classNames__default["default"]([styles$s.container, _defineProperty__default["default"]({}, className, className !== null)])
957
963
  }, props), description, loading ? /*#__PURE__*/React__default["default"].createElement(Spinner, null) : children);
958
964
  };
959
- FormPanel.propTypes = propTypes$C;
960
- FormPanel.defaultProps = defaultProps$C;
965
+ FormPanel.propTypes = propTypes$J;
966
+ FormPanel.defaultProps = defaultProps$J;
967
+
968
+ var propTypes$I = {
969
+ className: PropTypes__default["default"].string,
970
+ color: PropTypes__default["default"].string
971
+ };
972
+ var defaultProps$I = {
973
+ className: null,
974
+ color: '#fff'
975
+ };
976
+ var ArrowIcon = function ArrowIcon(_ref) {
977
+ var color = _ref.color,
978
+ className = _ref.className;
979
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
980
+ width: "20",
981
+ height: "14",
982
+ viewBox: "0 0 20 14",
983
+ fill: "none",
984
+ xmlns: "http://www.w3.org/2000/svg",
985
+ className: className
986
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
987
+ fillRule: "evenodd",
988
+ clipRule: "evenodd",
989
+ d: "M13.353 0.371014L19.319 6.33704C19.6851 6.70314 19.6851 7.29671 19.319 7.66282L13.353 13.6288C12.9869 13.9949 12.3933 13.9949 12.0272 13.6288C11.6611 13.2627 11.6611 12.6692 12.0272 12.3031L16.3929 7.9374H0V6.06246H16.3929L12.0272 1.6968C11.6611 1.33069 11.6611 0.737119 12.0272 0.371014C12.3933 0.0049094 12.9869 0.0049094 13.353 0.371014Z",
990
+ fill: color
991
+ }));
992
+ };
993
+ ArrowIcon.propTypes = propTypes$I;
994
+ ArrowIcon.defaultProps = defaultProps$I;
995
+
996
+ var propTypes$H = {
997
+ className: PropTypes__default["default"].string,
998
+ color: PropTypes__default["default"].string
999
+ };
1000
+ var defaultProps$H = {
1001
+ className: null,
1002
+ color: '#fff'
1003
+ };
1004
+ var CloseIcon = function CloseIcon(_ref) {
1005
+ var color = _ref.color,
1006
+ className = _ref.className;
1007
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1008
+ width: "22",
1009
+ height: "22",
1010
+ viewBox: "0 0 22 22",
1011
+ fill: "none",
1012
+ xmlns: "http://www.w3.org/2000/svg",
1013
+ className: className
1014
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1015
+ d: "M1 1L21 21",
1016
+ stroke: color,
1017
+ strokeWidth: "1.5",
1018
+ strokeLinecap: "round"
1019
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
1020
+ d: "M1 21L21 0.999998",
1021
+ stroke: color,
1022
+ strokeWidth: "1.5",
1023
+ strokeLinecap: "round"
1024
+ }));
1025
+ };
1026
+ CloseIcon.propTypes = propTypes$H;
1027
+ CloseIcon.defaultProps = defaultProps$H;
1028
+
1029
+ var propTypes$G = {
1030
+ className: PropTypes__default["default"].string,
1031
+ color: PropTypes__default["default"].string
1032
+ };
1033
+ var defaultProps$G = {
1034
+ className: null,
1035
+ color: '#fff'
1036
+ };
1037
+ var LinkIcon = function LinkIcon(_ref) {
1038
+ var color = _ref.color,
1039
+ className = _ref.className;
1040
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1041
+ width: "16",
1042
+ height: "16",
1043
+ viewBox: "0 0 16 16",
1044
+ fill: "none",
1045
+ xmlns: "http://www.w3.org/2000/svg",
1046
+ className: className
1047
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1048
+ d: "M6.60207 8.70208C7.75493 10.2515 9.95019 10.5697 11.4965 9.40761C11.6277 9.31077 11.7589 9.2001 11.8762 9.08251L13.9749 6.97975C15.3417 5.61018 15.3417 3.39674 13.9749 2.02717C12.608 0.657609 10.3989 0.657609 9.03205 2.02717L7.83086 3.22381",
1049
+ stroke: color,
1050
+ strokeWidth: "1.25",
1051
+ strokeLinecap: "round",
1052
+ strokeLinejoin: "round"
1053
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
1054
+ d: "M9.39793 7.29793C8.24507 5.74852 6.04981 5.43034 4.50345 6.59239C4.37229 6.68923 4.24113 6.7999 4.12377 6.91749L2.02515 9.02026C0.658284 10.3898 0.658284 12.6033 2.02515 13.9728C3.39201 15.3424 5.60109 15.3424 6.96795 13.9728L8.16223 12.7762",
1055
+ stroke: color,
1056
+ strokeWidth: "1.25",
1057
+ strokeLinecap: "round",
1058
+ strokeLinejoin: "round"
1059
+ }));
1060
+ };
1061
+ LinkIcon.propTypes = propTypes$G;
1062
+ LinkIcon.defaultProps = defaultProps$G;
1063
+
1064
+ var propTypes$F = {
1065
+ className: PropTypes__default["default"].string,
1066
+ color: PropTypes__default["default"].string
1067
+ };
1068
+ var defaultProps$F = {
1069
+ className: null,
1070
+ color: '#fff'
1071
+ };
1072
+ var MuteIcon = function MuteIcon(_ref) {
1073
+ var color = _ref.color,
1074
+ className = _ref.className;
1075
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1076
+ width: "26",
1077
+ height: "26",
1078
+ viewBox: "0 0 26 26",
1079
+ fill: "none",
1080
+ xmlns: "http://www.w3.org/2000/svg",
1081
+ className: className
1082
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1083
+ d: "M7.09929 8.77987H1C0.447715 8.77987 0 9.22758 0 9.77987V15.7799C0 16.3322 0.447715 16.7799 1 16.7799H7.1076C7.35984 16.7799 7.60276 16.8752 7.78768 17.0467L14.3199 23.1062C14.9599 23.6999 16 23.246 16 22.3731V3.00199C16 2.12221 14.9458 1.67117 14.3095 2.2787L7.78983 8.50316C7.6038 8.68077 7.35649 8.77987 7.09929 8.77987Z",
1084
+ fill: color
1085
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
1086
+ d: "M18 18.6875C21.3137 18.6875 24 16.0012 24 12.6875C24 9.37379 21.3137 6.6875 18 6.6875",
1087
+ stroke: color
1088
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
1089
+ d: "M18 15.6875C19.6569 15.6875 21 14.3444 21 12.6875C21 11.0306 19.6569 9.6875 18 9.6875",
1090
+ stroke: color
1091
+ }));
1092
+ };
1093
+ MuteIcon.propTypes = propTypes$F;
1094
+ MuteIcon.defaultProps = defaultProps$F;
1095
+
1096
+ var propTypes$E = {
1097
+ className: PropTypes__default["default"].string,
1098
+ color: PropTypes__default["default"].string
1099
+ };
1100
+ var defaultProps$E = {
1101
+ className: null,
1102
+ color: '#fff'
1103
+ };
1104
+ var PauseIcon = function PauseIcon(_ref) {
1105
+ var color = _ref.color,
1106
+ className = _ref.className;
1107
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1108
+ className: className,
1109
+ width: "14",
1110
+ height: "18",
1111
+ viewBox: "0 0 14 18",
1112
+ fill: "none",
1113
+ xmlns: "http://www.w3.org/2000/svg"
1114
+ }, /*#__PURE__*/React__default["default"].createElement("rect", {
1115
+ width: "6",
1116
+ height: "18",
1117
+ rx: "2",
1118
+ fill: color
1119
+ }), /*#__PURE__*/React__default["default"].createElement("rect", {
1120
+ x: "8",
1121
+ width: "6",
1122
+ height: "18",
1123
+ rx: "2",
1124
+ fill: color
1125
+ }));
1126
+ };
1127
+ PauseIcon.propTypes = propTypes$E;
1128
+ PauseIcon.defaultProps = defaultProps$E;
1129
+
1130
+ var propTypes$D = {
1131
+ className: PropTypes__default["default"].string,
1132
+ color: PropTypes__default["default"].string
1133
+ };
1134
+ var defaultProps$D = {
1135
+ className: null,
1136
+ color: '#fff'
1137
+ };
1138
+ var PlayIcon = function PlayIcon(_ref) {
1139
+ var color = _ref.color,
1140
+ className = _ref.className;
1141
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1142
+ width: "20",
1143
+ height: "23",
1144
+ viewBox: "0 0 20 23",
1145
+ fill: "none",
1146
+ xmlns: "http://www.w3.org/2000/svg",
1147
+ className: className
1148
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1149
+ d: "M16.25 12.5574L2.74999 20.3516C1.74999 20.9289 0.499993 20.2073 0.499993 19.0526L0.499994 3.4641C0.499994 2.3094 1.74999 1.58771 2.74999 2.16506L16.25 9.95929C17.25 10.5366 17.25 11.98 16.25 12.5574Z",
1150
+ fill: color,
1151
+ stroke: color
1152
+ }));
1153
+ };
1154
+ PlayIcon.propTypes = propTypes$D;
1155
+ PlayIcon.defaultProps = defaultProps$D;
1156
+
1157
+ var propTypes$C = {
1158
+ className: PropTypes__default["default"].string,
1159
+ color: PropTypes__default["default"].string
1160
+ };
1161
+ var defaultProps$C = {
1162
+ className: null,
1163
+ color: '#fff'
1164
+ };
1165
+ var UnmuteIcon = function UnmuteIcon(_ref) {
1166
+ var color = _ref.color,
1167
+ className = _ref.className;
1168
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1169
+ width: "26",
1170
+ height: "26",
1171
+ viewBox: "0 0 26 26",
1172
+ fill: "none",
1173
+ xmlns: "http://www.w3.org/2000/svg",
1174
+ className: className
1175
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1176
+ d: "M7.09929 8.77987H1C0.447715 8.77987 0 9.22758 0 9.77987V15.7799C0 16.3322 0.447715 16.7799 1 16.7799H7.1076C7.35984 16.7799 7.60276 16.8752 7.78768 17.0467L14.3199 23.1062C14.9599 23.6999 16 23.246 16 22.3731V3.00199C16 2.12221 14.9458 1.67117 14.3095 2.2787L7.78983 8.50316C7.6038 8.68077 7.35649 8.77987 7.09929 8.77987Z",
1177
+ fill: color
1178
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
1179
+ fillRule: "evenodd",
1180
+ clipRule: "evenodd",
1181
+ d: "M20.8536 13.3946L23 15.5411L23.7071 14.834L21.5607 12.6875L23.7071 10.5411L23 9.83398L20.8536 11.9804L18.7071 9.83398L18 10.5411L20.1464 12.6875L18 14.834L18.7071 15.5411L20.8536 13.3946Z",
1182
+ fill: color
1183
+ }));
1184
+ };
1185
+ UnmuteIcon.propTypes = propTypes$C;
1186
+ UnmuteIcon.defaultProps = defaultProps$C;
961
1187
 
962
1188
  var styles$r = {"container":"micromag-core-menus-breadcrumb-container","arrow":"micromag-core-menus-breadcrumb-arrow"};
963
1189
 
@@ -4225,12 +4451,14 @@ var LinkStyle = function LinkStyle(_ref) {
4225
4451
  LinkStyle.propTypes = propTypes;
4226
4452
  LinkStyle.defaultProps = defaultProps;
4227
4453
 
4454
+ exports.ArrowIcon = ArrowIcon;
4228
4455
  exports.BackButton = BackButton;
4229
4456
  exports.Breadcrumb = Breadcrumb;
4230
4457
  exports.Button = Button$1;
4231
4458
  exports.Buttons = Buttons;
4232
4459
  exports.Card = Card;
4233
4460
  exports.Close = Close;
4461
+ exports.CloseIcon = CloseIcon;
4234
4462
  exports.CollapsablePanel = CollapsablePanel;
4235
4463
  exports.Date = Date$1;
4236
4464
  exports.Detector = Detector;
@@ -4244,6 +4472,7 @@ exports.FormPanel = FormPanel;
4244
4472
  exports.HighlightStyle = HighlightStyle;
4245
4473
  exports.Label = Label;
4246
4474
  exports.Link = Link;
4475
+ exports.LinkIcon = LinkIcon;
4247
4476
  exports.LinkStyle = LinkStyle;
4248
4477
  exports.Media = Media;
4249
4478
  exports.Menu = Menu;
@@ -4252,11 +4481,13 @@ exports.Modal = Modal;
4252
4481
  exports.ModalDialog = ModalDialog;
4253
4482
  exports.ModalPortal = ModalPortal;
4254
4483
  exports.Modals = Modals;
4484
+ exports.MuteIcon = MuteIcon;
4255
4485
  exports.Navbar = Navbar;
4256
4486
  exports.Pagination = PaginationMenu;
4257
4487
  exports.Panel = Panel;
4258
4488
  exports.PanelPortal = PanelPortal;
4259
4489
  exports.Panels = Panels;
4490
+ exports.PauseIcon = PauseIcon;
4260
4491
  exports.PlaceholderAdFrame = AdFrame;
4261
4492
  exports.PlaceholderAdImage = AdImage;
4262
4493
  exports.PlaceholderAudio = Audio;
@@ -4274,6 +4505,7 @@ exports.PlaceholderTitle = Title$1;
4274
4505
  exports.PlaceholderVideo = Video;
4275
4506
  exports.PlaceholderVideo360 = Video360;
4276
4507
  exports.PlaceholderVideoLoop = VideoLoop;
4508
+ exports.PlayIcon = PlayIcon;
4277
4509
  exports.Screen = Screen$1;
4278
4510
  exports.ScreenElement = ScreenElement;
4279
4511
  exports.ScreenPlaceholder = Placeholder;
@@ -4285,4 +4517,5 @@ exports.Spinner = Spinner;
4285
4517
  exports.Tabs = TabsMenu;
4286
4518
  exports.Transitions = Transitions;
4287
4519
  exports.TransitionsStagger = TransitionsStagger;
4520
+ exports.UnmuteIcon = UnmuteIcon;
4288
4521
  exports.UploadModal = UploadModal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.346",
3
+ "version": "0.3.348",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -133,5 +133,5 @@
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "gitHead": "a71f64210aaba1aef0fc07b6cc087badb2e74119"
136
+ "gitHead": "20ef008fdf5c678004b740f395f51cb548591dad"
137
137
  }