@micromag/core 0.3.347 → 0.3.354

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/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,
@@ -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$G = {
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$G;
677
- Form.defaultProps = defaultProps$G;
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$F = {
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$F = {
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$F;
720
- Link.defaultProps = defaultProps$F;
719
+ Link.propTypes = propTypes$M;
720
+ Link.defaultProps = defaultProps$M;
721
721
 
722
722
  var _excluded$6 = ["label", "className"];
723
- var propTypes$E = {
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$E = {
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$E;
867
- Card.defaultProps = defaultProps$E;
866
+ Card.propTypes = propTypes$L;
867
+ Card.defaultProps = defaultProps$L;
868
868
 
869
- var propTypes$D = {
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$D = {
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$D;
938
- Spinner.defaultProps = defaultProps$D;
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$C = {
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$C = {
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$C;
966
- 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;
967
1187
 
968
1188
  var styles$r = {"container":"micromag-core-menus-breadcrumb-container","arrow":"micromag-core-menus-breadcrumb-arrow"};
969
1189
 
@@ -2922,6 +3142,10 @@ PropTypes__default["default"].shape({
2922
3142
  id: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
2923
3143
  name: PropTypes__default["default"].string
2924
3144
  });
3145
+ PropTypes__default["default"].shape({
3146
+ label: textElement,
3147
+ buttonStyle: boxStyle
3148
+ });
2925
3149
 
2926
3150
  /* eslint-disable react/no-array-index-key */
2927
3151
  var propTypes$d = {
@@ -4231,12 +4455,14 @@ var LinkStyle = function LinkStyle(_ref) {
4231
4455
  LinkStyle.propTypes = propTypes;
4232
4456
  LinkStyle.defaultProps = defaultProps;
4233
4457
 
4458
+ exports.ArrowIcon = ArrowIcon;
4234
4459
  exports.BackButton = BackButton;
4235
4460
  exports.Breadcrumb = Breadcrumb;
4236
4461
  exports.Button = Button$1;
4237
4462
  exports.Buttons = Buttons;
4238
4463
  exports.Card = Card;
4239
4464
  exports.Close = Close;
4465
+ exports.CloseIcon = CloseIcon;
4240
4466
  exports.CollapsablePanel = CollapsablePanel;
4241
4467
  exports.Date = Date$1;
4242
4468
  exports.Detector = Detector;
@@ -4250,6 +4476,7 @@ exports.FormPanel = FormPanel;
4250
4476
  exports.HighlightStyle = HighlightStyle;
4251
4477
  exports.Label = Label;
4252
4478
  exports.Link = Link;
4479
+ exports.LinkIcon = LinkIcon;
4253
4480
  exports.LinkStyle = LinkStyle;
4254
4481
  exports.Media = Media;
4255
4482
  exports.Menu = Menu;
@@ -4258,11 +4485,13 @@ exports.Modal = Modal;
4258
4485
  exports.ModalDialog = ModalDialog;
4259
4486
  exports.ModalPortal = ModalPortal;
4260
4487
  exports.Modals = Modals;
4488
+ exports.MuteIcon = MuteIcon;
4261
4489
  exports.Navbar = Navbar;
4262
4490
  exports.Pagination = PaginationMenu;
4263
4491
  exports.Panel = Panel;
4264
4492
  exports.PanelPortal = PanelPortal;
4265
4493
  exports.Panels = Panels;
4494
+ exports.PauseIcon = PauseIcon;
4266
4495
  exports.PlaceholderAdFrame = AdFrame;
4267
4496
  exports.PlaceholderAdImage = AdImage;
4268
4497
  exports.PlaceholderAudio = Audio;
@@ -4280,6 +4509,7 @@ exports.PlaceholderTitle = Title$1;
4280
4509
  exports.PlaceholderVideo = Video;
4281
4510
  exports.PlaceholderVideo360 = Video360;
4282
4511
  exports.PlaceholderVideoLoop = VideoLoop;
4512
+ exports.PlayIcon = PlayIcon;
4283
4513
  exports.Screen = Screen$1;
4284
4514
  exports.ScreenElement = ScreenElement;
4285
4515
  exports.ScreenPlaceholder = Placeholder;
@@ -4291,4 +4521,5 @@ exports.Spinner = Spinner;
4291
4521
  exports.Tabs = TabsMenu;
4292
4522
  exports.Transitions = Transitions;
4293
4523
  exports.TransitionsStagger = TransitionsStagger;
4524
+ exports.UnmuteIcon = UnmuteIcon;
4294
4525
  exports.UploadModal = UploadModal;
package/lib/hooks.js CHANGED
@@ -1637,7 +1637,9 @@ var useParsedStory = function useParsedStory(story) {
1637
1637
  _ref$withMedias = _ref.withMedias,
1638
1638
  withMedias = _ref$withMedias === void 0 ? true : _ref$withMedias,
1639
1639
  _ref$withFonts = _ref.withFonts,
1640
- withFonts = _ref$withFonts === void 0 ? true : _ref$withFonts;
1640
+ withFonts = _ref$withFonts === void 0 ? true : _ref$withFonts,
1641
+ _ref$withMigrations = _ref.withMigrations,
1642
+ withMigrations = _ref$withMigrations === void 0 ? true : _ref$withMigrations;
1641
1643
  var screensManager = contexts.useScreensManager();
1642
1644
  var fieldsManager = contexts.useFieldsManager();
1643
1645
  var parser = react.useMemo(function () {
@@ -1653,7 +1655,8 @@ var useParsedStory = function useParsedStory(story) {
1653
1655
  return parser.parse(story, {
1654
1656
  withMedias: withMedias,
1655
1657
  withTheme: withTheme,
1656
- withFonts: withFonts
1658
+ withFonts: withFonts,
1659
+ withMigrations: withMigrations
1657
1660
  });
1658
1661
  }, [parser, disabled, withMedias, withTheme, withFonts, story]);
1659
1662
  return newStory;