@micromag/core 0.3.347 → 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 +261 -41
- package/lib/components.js +267 -40
- package/package.json +2 -2
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$
|
|
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$
|
|
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$
|
|
67
|
-
Label.defaultProps = defaultProps$
|
|
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$
|
|
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$
|
|
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$
|
|
219
|
-
Button$1.defaultProps = defaultProps$
|
|
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$
|
|
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$
|
|
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$
|
|
279
|
-
Buttons.defaultProps = defaultProps$
|
|
278
|
+
Buttons.propTypes = propTypes$Q;
|
|
279
|
+
Buttons.defaultProps = defaultProps$Q;
|
|
280
280
|
|
|
281
281
|
var _excluded$9 = ["className"];
|
|
282
|
-
var propTypes$
|
|
282
|
+
var propTypes$P = {
|
|
283
283
|
className: PropTypes$1.string
|
|
284
284
|
};
|
|
285
|
-
var defaultProps$
|
|
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$
|
|
301
|
-
BackButton.defaultProps = defaultProps$
|
|
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$
|
|
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$
|
|
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$
|
|
398
|
-
FieldForm.defaultProps = defaultProps$
|
|
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$
|
|
402
|
+
var propTypes$N = {
|
|
403
403
|
action: PropTypes$1.string.isRequired,
|
|
404
404
|
method: PropTypes$1.string,
|
|
405
405
|
fields: PropTypes.formFields,
|
|
@@ -428,7 +428,7 @@ var propTypes$G = {
|
|
|
428
428
|
actionsClassName: PropTypes$1.string,
|
|
429
429
|
cancelClassName: PropTypes$1.string
|
|
430
430
|
};
|
|
431
|
-
var defaultProps$
|
|
431
|
+
var defaultProps$N = {
|
|
432
432
|
method: 'POST',
|
|
433
433
|
fields: [],
|
|
434
434
|
initialValue: null,
|
|
@@ -632,13 +632,13 @@ var Form = function Form(_ref) {
|
|
|
632
632
|
}]
|
|
633
633
|
})) : null) : null);
|
|
634
634
|
};
|
|
635
|
-
Form.propTypes = propTypes$
|
|
636
|
-
Form.defaultProps = defaultProps$
|
|
635
|
+
Form.propTypes = propTypes$N;
|
|
636
|
+
Form.defaultProps = defaultProps$N;
|
|
637
637
|
|
|
638
638
|
var styles$t = {"withoutStyle":"micromag-core-partials-link-withoutStyle"};
|
|
639
639
|
|
|
640
640
|
var _excluded$7 = ["href", "external", "children", "target", "rel", "className", "withoutStyle"];
|
|
641
|
-
var propTypes$
|
|
641
|
+
var propTypes$M = {
|
|
642
642
|
href: PropTypes$1.string,
|
|
643
643
|
external: PropTypes$1.bool,
|
|
644
644
|
target: PropTypes$1.string,
|
|
@@ -647,7 +647,7 @@ var propTypes$F = {
|
|
|
647
647
|
withoutStyle: PropTypes$1.bool,
|
|
648
648
|
className: PropTypes$1.string
|
|
649
649
|
};
|
|
650
|
-
var defaultProps$
|
|
650
|
+
var defaultProps$M = {
|
|
651
651
|
href: '',
|
|
652
652
|
external: false,
|
|
653
653
|
target: '_blank',
|
|
@@ -675,11 +675,11 @@ var Link = function Link(_ref) {
|
|
|
675
675
|
to: href
|
|
676
676
|
}, props), /*#__PURE__*/React.createElement(Label, null, children));
|
|
677
677
|
};
|
|
678
|
-
Link.propTypes = propTypes$
|
|
679
|
-
Link.defaultProps = defaultProps$
|
|
678
|
+
Link.propTypes = propTypes$M;
|
|
679
|
+
Link.defaultProps = defaultProps$M;
|
|
680
680
|
|
|
681
681
|
var _excluded$6 = ["label", "className"];
|
|
682
|
-
var propTypes$
|
|
682
|
+
var propTypes$L = {
|
|
683
683
|
href: PropTypes$1.string,
|
|
684
684
|
header: PropTypes$1.node,
|
|
685
685
|
image: PropTypes$1.node,
|
|
@@ -708,7 +708,7 @@ var propTypes$E = {
|
|
|
708
708
|
onClickBody: PropTypes$1.func,
|
|
709
709
|
onClickFooter: PropTypes$1.func
|
|
710
710
|
};
|
|
711
|
-
var defaultProps$
|
|
711
|
+
var defaultProps$L = {
|
|
712
712
|
href: null,
|
|
713
713
|
header: null,
|
|
714
714
|
image: null,
|
|
@@ -822,15 +822,15 @@ var Card = function Card(_ref) {
|
|
|
822
822
|
className: cardClassName
|
|
823
823
|
}, cardInner);
|
|
824
824
|
};
|
|
825
|
-
Card.propTypes = propTypes$
|
|
826
|
-
Card.defaultProps = defaultProps$
|
|
825
|
+
Card.propTypes = propTypes$L;
|
|
826
|
+
Card.defaultProps = defaultProps$L;
|
|
827
827
|
|
|
828
|
-
var propTypes$
|
|
828
|
+
var propTypes$K = {
|
|
829
829
|
animated: PropTypes$1.bool,
|
|
830
830
|
color: PropTypes$1.string,
|
|
831
831
|
className: PropTypes$1.string
|
|
832
832
|
};
|
|
833
|
-
var defaultProps$
|
|
833
|
+
var defaultProps$K = {
|
|
834
834
|
animated: true,
|
|
835
835
|
color: 'currentColor',
|
|
836
836
|
className: null
|
|
@@ -893,19 +893,19 @@ var Spinner = function Spinner(_ref) {
|
|
|
893
893
|
repeatCount: "indefinite"
|
|
894
894
|
}) : null))));
|
|
895
895
|
};
|
|
896
|
-
Spinner.propTypes = propTypes$
|
|
897
|
-
Spinner.defaultProps = defaultProps$
|
|
896
|
+
Spinner.propTypes = propTypes$K;
|
|
897
|
+
Spinner.defaultProps = defaultProps$K;
|
|
898
898
|
|
|
899
899
|
var styles$s = {};
|
|
900
900
|
|
|
901
901
|
var _excluded$5 = ["description", "loading", "children", "className"];
|
|
902
|
-
var propTypes$
|
|
902
|
+
var propTypes$J = {
|
|
903
903
|
description: PropTypes$1.node,
|
|
904
904
|
loading: PropTypes$1.bool,
|
|
905
905
|
children: PropTypes$1.node,
|
|
906
906
|
className: PropTypes$1.string
|
|
907
907
|
};
|
|
908
|
-
var defaultProps$
|
|
908
|
+
var defaultProps$J = {
|
|
909
909
|
description: null,
|
|
910
910
|
loading: false,
|
|
911
911
|
children: null,
|
|
@@ -921,8 +921,228 @@ var FormPanel = function FormPanel(_ref) {
|
|
|
921
921
|
className: classNames([styles$s.container, _defineProperty({}, className, className !== null)])
|
|
922
922
|
}, props), description, loading ? /*#__PURE__*/React.createElement(Spinner, null) : children);
|
|
923
923
|
};
|
|
924
|
-
FormPanel.propTypes = propTypes$
|
|
925
|
-
FormPanel.defaultProps = defaultProps$
|
|
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;
|
|
926
1146
|
|
|
927
1147
|
var styles$r = {"container":"micromag-core-menus-breadcrumb-container","arrow":"micromag-core-menus-breadcrumb-arrow"};
|
|
928
1148
|
|
|
@@ -4190,4 +4410,4 @@ var LinkStyle = function LinkStyle(_ref) {
|
|
|
4190
4410
|
LinkStyle.propTypes = propTypes;
|
|
4191
4411
|
LinkStyle.defaultProps = defaultProps;
|
|
4192
4412
|
|
|
4193
|
-
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$
|
|
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$
|
|
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$
|
|
108
|
-
Label.defaultProps = defaultProps$
|
|
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$
|
|
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$
|
|
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$
|
|
260
|
-
Button$1.defaultProps = defaultProps$
|
|
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$
|
|
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$
|
|
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$
|
|
320
|
-
Buttons.defaultProps = defaultProps$
|
|
319
|
+
Buttons.propTypes = propTypes$Q;
|
|
320
|
+
Buttons.defaultProps = defaultProps$Q;
|
|
321
321
|
|
|
322
322
|
var _excluded$9 = ["className"];
|
|
323
|
-
var propTypes$
|
|
323
|
+
var propTypes$P = {
|
|
324
324
|
className: PropTypes__default["default"].string
|
|
325
325
|
};
|
|
326
|
-
var defaultProps$
|
|
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$
|
|
342
|
-
BackButton.defaultProps = defaultProps$
|
|
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$
|
|
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$
|
|
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$
|
|
439
|
-
FieldForm.defaultProps = defaultProps$
|
|
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$
|
|
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,
|
|
@@ -469,7 +469,7 @@ var propTypes$G = {
|
|
|
469
469
|
actionsClassName: PropTypes__default["default"].string,
|
|
470
470
|
cancelClassName: PropTypes__default["default"].string
|
|
471
471
|
};
|
|
472
|
-
var defaultProps$
|
|
472
|
+
var defaultProps$N = {
|
|
473
473
|
method: 'POST',
|
|
474
474
|
fields: [],
|
|
475
475
|
initialValue: null,
|
|
@@ -673,13 +673,13 @@ var Form = function Form(_ref) {
|
|
|
673
673
|
}]
|
|
674
674
|
})) : null) : null);
|
|
675
675
|
};
|
|
676
|
-
Form.propTypes = propTypes$
|
|
677
|
-
Form.defaultProps = defaultProps$
|
|
676
|
+
Form.propTypes = propTypes$N;
|
|
677
|
+
Form.defaultProps = defaultProps$N;
|
|
678
678
|
|
|
679
679
|
var styles$t = {"withoutStyle":"micromag-core-partials-link-withoutStyle"};
|
|
680
680
|
|
|
681
681
|
var _excluded$7 = ["href", "external", "children", "target", "rel", "className", "withoutStyle"];
|
|
682
|
-
var propTypes$
|
|
682
|
+
var propTypes$M = {
|
|
683
683
|
href: PropTypes__default["default"].string,
|
|
684
684
|
external: PropTypes__default["default"].bool,
|
|
685
685
|
target: PropTypes__default["default"].string,
|
|
@@ -688,7 +688,7 @@ var propTypes$F = {
|
|
|
688
688
|
withoutStyle: PropTypes__default["default"].bool,
|
|
689
689
|
className: PropTypes__default["default"].string
|
|
690
690
|
};
|
|
691
|
-
var defaultProps$
|
|
691
|
+
var defaultProps$M = {
|
|
692
692
|
href: '',
|
|
693
693
|
external: false,
|
|
694
694
|
target: '_blank',
|
|
@@ -716,11 +716,11 @@ var Link = function Link(_ref) {
|
|
|
716
716
|
to: href
|
|
717
717
|
}, props), /*#__PURE__*/React__default["default"].createElement(Label, null, children));
|
|
718
718
|
};
|
|
719
|
-
Link.propTypes = propTypes$
|
|
720
|
-
Link.defaultProps = defaultProps$
|
|
719
|
+
Link.propTypes = propTypes$M;
|
|
720
|
+
Link.defaultProps = defaultProps$M;
|
|
721
721
|
|
|
722
722
|
var _excluded$6 = ["label", "className"];
|
|
723
|
-
var propTypes$
|
|
723
|
+
var propTypes$L = {
|
|
724
724
|
href: PropTypes__default["default"].string,
|
|
725
725
|
header: PropTypes__default["default"].node,
|
|
726
726
|
image: PropTypes__default["default"].node,
|
|
@@ -749,7 +749,7 @@ var propTypes$E = {
|
|
|
749
749
|
onClickBody: PropTypes__default["default"].func,
|
|
750
750
|
onClickFooter: PropTypes__default["default"].func
|
|
751
751
|
};
|
|
752
|
-
var defaultProps$
|
|
752
|
+
var defaultProps$L = {
|
|
753
753
|
href: null,
|
|
754
754
|
header: null,
|
|
755
755
|
image: null,
|
|
@@ -863,15 +863,15 @@ var Card = function Card(_ref) {
|
|
|
863
863
|
className: cardClassName
|
|
864
864
|
}, cardInner);
|
|
865
865
|
};
|
|
866
|
-
Card.propTypes = propTypes$
|
|
867
|
-
Card.defaultProps = defaultProps$
|
|
866
|
+
Card.propTypes = propTypes$L;
|
|
867
|
+
Card.defaultProps = defaultProps$L;
|
|
868
868
|
|
|
869
|
-
var propTypes$
|
|
869
|
+
var propTypes$K = {
|
|
870
870
|
animated: PropTypes__default["default"].bool,
|
|
871
871
|
color: PropTypes__default["default"].string,
|
|
872
872
|
className: PropTypes__default["default"].string
|
|
873
873
|
};
|
|
874
|
-
var defaultProps$
|
|
874
|
+
var defaultProps$K = {
|
|
875
875
|
animated: true,
|
|
876
876
|
color: 'currentColor',
|
|
877
877
|
className: null
|
|
@@ -934,19 +934,19 @@ var Spinner = function Spinner(_ref) {
|
|
|
934
934
|
repeatCount: "indefinite"
|
|
935
935
|
}) : null))));
|
|
936
936
|
};
|
|
937
|
-
Spinner.propTypes = propTypes$
|
|
938
|
-
Spinner.defaultProps = defaultProps$
|
|
937
|
+
Spinner.propTypes = propTypes$K;
|
|
938
|
+
Spinner.defaultProps = defaultProps$K;
|
|
939
939
|
|
|
940
940
|
var styles$s = {};
|
|
941
941
|
|
|
942
942
|
var _excluded$5 = ["description", "loading", "children", "className"];
|
|
943
|
-
var propTypes$
|
|
943
|
+
var propTypes$J = {
|
|
944
944
|
description: PropTypes__default["default"].node,
|
|
945
945
|
loading: PropTypes__default["default"].bool,
|
|
946
946
|
children: PropTypes__default["default"].node,
|
|
947
947
|
className: PropTypes__default["default"].string
|
|
948
948
|
};
|
|
949
|
-
var defaultProps$
|
|
949
|
+
var defaultProps$J = {
|
|
950
950
|
description: null,
|
|
951
951
|
loading: false,
|
|
952
952
|
children: null,
|
|
@@ -962,8 +962,228 @@ var FormPanel = function FormPanel(_ref) {
|
|
|
962
962
|
className: classNames__default["default"]([styles$s.container, _defineProperty__default["default"]({}, className, className !== null)])
|
|
963
963
|
}, props), description, loading ? /*#__PURE__*/React__default["default"].createElement(Spinner, null) : children);
|
|
964
964
|
};
|
|
965
|
-
FormPanel.propTypes = propTypes$
|
|
966
|
-
FormPanel.defaultProps = defaultProps$
|
|
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;
|
|
967
1187
|
|
|
968
1188
|
var styles$r = {"container":"micromag-core-menus-breadcrumb-container","arrow":"micromag-core-menus-breadcrumb-arrow"};
|
|
969
1189
|
|
|
@@ -4231,12 +4451,14 @@ var LinkStyle = function LinkStyle(_ref) {
|
|
|
4231
4451
|
LinkStyle.propTypes = propTypes;
|
|
4232
4452
|
LinkStyle.defaultProps = defaultProps;
|
|
4233
4453
|
|
|
4454
|
+
exports.ArrowIcon = ArrowIcon;
|
|
4234
4455
|
exports.BackButton = BackButton;
|
|
4235
4456
|
exports.Breadcrumb = Breadcrumb;
|
|
4236
4457
|
exports.Button = Button$1;
|
|
4237
4458
|
exports.Buttons = Buttons;
|
|
4238
4459
|
exports.Card = Card;
|
|
4239
4460
|
exports.Close = Close;
|
|
4461
|
+
exports.CloseIcon = CloseIcon;
|
|
4240
4462
|
exports.CollapsablePanel = CollapsablePanel;
|
|
4241
4463
|
exports.Date = Date$1;
|
|
4242
4464
|
exports.Detector = Detector;
|
|
@@ -4250,6 +4472,7 @@ exports.FormPanel = FormPanel;
|
|
|
4250
4472
|
exports.HighlightStyle = HighlightStyle;
|
|
4251
4473
|
exports.Label = Label;
|
|
4252
4474
|
exports.Link = Link;
|
|
4475
|
+
exports.LinkIcon = LinkIcon;
|
|
4253
4476
|
exports.LinkStyle = LinkStyle;
|
|
4254
4477
|
exports.Media = Media;
|
|
4255
4478
|
exports.Menu = Menu;
|
|
@@ -4258,11 +4481,13 @@ exports.Modal = Modal;
|
|
|
4258
4481
|
exports.ModalDialog = ModalDialog;
|
|
4259
4482
|
exports.ModalPortal = ModalPortal;
|
|
4260
4483
|
exports.Modals = Modals;
|
|
4484
|
+
exports.MuteIcon = MuteIcon;
|
|
4261
4485
|
exports.Navbar = Navbar;
|
|
4262
4486
|
exports.Pagination = PaginationMenu;
|
|
4263
4487
|
exports.Panel = Panel;
|
|
4264
4488
|
exports.PanelPortal = PanelPortal;
|
|
4265
4489
|
exports.Panels = Panels;
|
|
4490
|
+
exports.PauseIcon = PauseIcon;
|
|
4266
4491
|
exports.PlaceholderAdFrame = AdFrame;
|
|
4267
4492
|
exports.PlaceholderAdImage = AdImage;
|
|
4268
4493
|
exports.PlaceholderAudio = Audio;
|
|
@@ -4280,6 +4505,7 @@ exports.PlaceholderTitle = Title$1;
|
|
|
4280
4505
|
exports.PlaceholderVideo = Video;
|
|
4281
4506
|
exports.PlaceholderVideo360 = Video360;
|
|
4282
4507
|
exports.PlaceholderVideoLoop = VideoLoop;
|
|
4508
|
+
exports.PlayIcon = PlayIcon;
|
|
4283
4509
|
exports.Screen = Screen$1;
|
|
4284
4510
|
exports.ScreenElement = ScreenElement;
|
|
4285
4511
|
exports.ScreenPlaceholder = Placeholder;
|
|
@@ -4291,4 +4517,5 @@ exports.Spinner = Spinner;
|
|
|
4291
4517
|
exports.Tabs = TabsMenu;
|
|
4292
4518
|
exports.Transitions = Transitions;
|
|
4293
4519
|
exports.TransitionsStagger = TransitionsStagger;
|
|
4520
|
+
exports.UnmuteIcon = UnmuteIcon;
|
|
4294
4521
|
exports.UploadModal = UploadModal;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
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": "
|
|
136
|
+
"gitHead": "20ef008fdf5c678004b740f395f51cb548591dad"
|
|
137
137
|
}
|