@micromag/core 0.3.377 → 0.3.389

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$S = {
47
+ var propTypes$T = {
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$S = {
53
+ var defaultProps$T = {
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$S;
67
- Label.defaultProps = defaultProps$S;
66
+ Label.propTypes = propTypes$T;
67
+ Label.defaultProps = defaultProps$T;
68
68
 
69
69
  var styles$x = {"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$R = {
72
+ var propTypes$S = {
73
73
  type: PropTypes$1.string,
74
74
  theme: PropTypes.buttonTheme,
75
75
  size: PropTypes.buttonSize,
@@ -103,7 +103,7 @@ var propTypes$R = {
103
103
  })])
104
104
  };
105
105
 
106
- var defaultProps$R = {
106
+ var defaultProps$S = {
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$R;
219
- Button$1.defaultProps = defaultProps$R;
218
+ Button$1.propTypes = propTypes$S;
219
+ Button$1.defaultProps = defaultProps$S;
220
220
 
221
221
  var styles$w = {};
222
222
 
223
223
  var _excluded$a = ["className", "onClick", "theme"];
224
- var propTypes$Q = {
224
+ var propTypes$R = {
225
225
  buttons: PropTypes.buttons,
226
226
  size: PropTypes.buttonSize,
227
227
  theme: PropTypes.buttonTheme,
@@ -230,7 +230,7 @@ var propTypes$Q = {
230
230
  className: PropTypes$1.string,
231
231
  buttonClassName: PropTypes$1.string
232
232
  };
233
- var defaultProps$Q = {
233
+ var defaultProps$R = {
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$Q;
279
- Buttons.defaultProps = defaultProps$Q;
278
+ Buttons.propTypes = propTypes$R;
279
+ Buttons.defaultProps = defaultProps$R;
280
280
 
281
281
  var _excluded$9 = ["className"];
282
- var propTypes$P = {
282
+ var propTypes$Q = {
283
283
  className: PropTypes$1.string
284
284
  };
285
- var defaultProps$P = {
285
+ var defaultProps$Q = {
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$P;
301
- BackButton.defaultProps = defaultProps$P;
300
+ BackButton.propTypes = propTypes$Q;
301
+ BackButton.defaultProps = defaultProps$Q;
302
302
 
303
303
  var _excluded$8 = ["type"],
304
304
  _excluded2 = ["component", "id", "settings"];
305
- var propTypes$O = {
305
+ var propTypes$P = {
306
306
  name: PropTypes$1.string,
307
307
  // .isRequired,
308
308
  value: PropTypes.component,
@@ -316,7 +316,7 @@ var propTypes$O = {
316
316
  fieldContext: PropTypes$1.any // eslint-disable-line react/forbid-prop-types
317
317
  };
318
318
 
319
- var defaultProps$O = {
319
+ var defaultProps$P = {
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$O;
398
- FieldForm.defaultProps = defaultProps$O;
397
+ FieldForm.propTypes = propTypes$P;
398
+ FieldForm.defaultProps = defaultProps$P;
399
399
 
400
400
  var styles$v = {"actions":"micromag-core-forms-form-actions","left":"micromag-core-forms-form-left","right":"micromag-core-forms-form-right"};
401
401
 
402
- var propTypes$N = {
402
+ var propTypes$O = {
403
403
  action: PropTypes$1.string.isRequired,
404
404
  method: PropTypes$1.string,
405
405
  fields: PropTypes.formFields,
@@ -428,7 +428,7 @@ var propTypes$N = {
428
428
  actionsClassName: PropTypes$1.string,
429
429
  cancelClassName: PropTypes$1.string
430
430
  };
431
- var defaultProps$N = {
431
+ var defaultProps$O = {
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$N;
636
- Form.defaultProps = defaultProps$N;
635
+ Form.propTypes = propTypes$O;
636
+ Form.defaultProps = defaultProps$O;
637
637
 
638
638
  var styles$u = {"withoutStyle":"micromag-core-partials-link-withoutStyle"};
639
639
 
640
640
  var _excluded$7 = ["href", "external", "children", "target", "rel", "className", "withoutStyle"];
641
- var propTypes$M = {
641
+ var propTypes$N = {
642
642
  href: PropTypes$1.string,
643
643
  external: PropTypes$1.bool,
644
644
  target: PropTypes$1.string,
@@ -647,7 +647,7 @@ var propTypes$M = {
647
647
  withoutStyle: PropTypes$1.bool,
648
648
  className: PropTypes$1.string
649
649
  };
650
- var defaultProps$M = {
650
+ var defaultProps$N = {
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$M;
679
- Link.defaultProps = defaultProps$M;
678
+ Link.propTypes = propTypes$N;
679
+ Link.defaultProps = defaultProps$N;
680
680
 
681
681
  var _excluded$6 = ["label", "className"];
682
- var propTypes$L = {
682
+ var propTypes$M = {
683
683
  href: PropTypes$1.string,
684
684
  header: PropTypes$1.node,
685
685
  image: PropTypes$1.node,
@@ -708,7 +708,7 @@ var propTypes$L = {
708
708
  onClickBody: PropTypes$1.func,
709
709
  onClickFooter: PropTypes$1.func
710
710
  };
711
- var defaultProps$L = {
711
+ var defaultProps$M = {
712
712
  href: null,
713
713
  header: null,
714
714
  image: null,
@@ -822,18 +822,18 @@ var Card = function Card(_ref) {
822
822
  className: cardClassName
823
823
  }, cardInner);
824
824
  };
825
- Card.propTypes = propTypes$L;
826
- Card.defaultProps = defaultProps$L;
825
+ Card.propTypes = propTypes$M;
826
+ Card.defaultProps = defaultProps$M;
827
827
 
828
828
  var styles$t = {"container":"micromag-core-partials-spinner-container","path":"micromag-core-partials-spinner-path","animated":"micromag-core-partials-spinner-animated","rotate":"micromag-core-partials-spinner-rotate","dash":"micromag-core-partials-spinner-dash"};
829
829
 
830
- var propTypes$K = {
830
+ var propTypes$L = {
831
831
  animated: PropTypes$1.bool,
832
832
  color: PropTypes$1.string,
833
833
  strokeWidth: PropTypes$1.number,
834
834
  className: PropTypes$1.string
835
835
  };
836
- var defaultProps$K = {
836
+ var defaultProps$L = {
837
837
  animated: true,
838
838
  color: 'currentColor',
839
839
  strokeWidth: 3,
@@ -861,19 +861,19 @@ var Spinner = function Spinner(_ref) {
861
861
  strokeWidth: strokeWidth
862
862
  }));
863
863
  };
864
- Spinner.propTypes = propTypes$K;
865
- Spinner.defaultProps = defaultProps$K;
864
+ Spinner.propTypes = propTypes$L;
865
+ Spinner.defaultProps = defaultProps$L;
866
866
 
867
867
  var styles$s = {};
868
868
 
869
869
  var _excluded$5 = ["description", "loading", "children", "className"];
870
- var propTypes$J = {
870
+ var propTypes$K = {
871
871
  description: PropTypes$1.node,
872
872
  loading: PropTypes$1.bool,
873
873
  children: PropTypes$1.node,
874
874
  className: PropTypes$1.string
875
875
  };
876
- var defaultProps$J = {
876
+ var defaultProps$K = {
877
877
  description: null,
878
878
  loading: false,
879
879
  children: null,
@@ -889,14 +889,14 @@ var FormPanel = function FormPanel(_ref) {
889
889
  className: classNames([styles$s.container, _defineProperty({}, className, className !== null)])
890
890
  }, props), description, loading ? /*#__PURE__*/React.createElement(Spinner, null) : children);
891
891
  };
892
- FormPanel.propTypes = propTypes$J;
893
- FormPanel.defaultProps = defaultProps$J;
892
+ FormPanel.propTypes = propTypes$K;
893
+ FormPanel.defaultProps = defaultProps$K;
894
894
 
895
- var propTypes$I = {
895
+ var propTypes$J = {
896
896
  className: PropTypes$1.string,
897
897
  color: PropTypes$1.string
898
898
  };
899
- var defaultProps$I = {
899
+ var defaultProps$J = {
900
900
  className: null,
901
901
  color: '#fff'
902
902
  };
@@ -917,14 +917,14 @@ var ArrowIcon = function ArrowIcon(_ref) {
917
917
  fill: color
918
918
  }));
919
919
  };
920
- ArrowIcon.propTypes = propTypes$I;
921
- ArrowIcon.defaultProps = defaultProps$I;
920
+ ArrowIcon.propTypes = propTypes$J;
921
+ ArrowIcon.defaultProps = defaultProps$J;
922
922
 
923
- var propTypes$H = {
923
+ var propTypes$I = {
924
924
  className: PropTypes$1.string,
925
925
  color: PropTypes$1.string
926
926
  };
927
- var defaultProps$H = {
927
+ var defaultProps$I = {
928
928
  className: null,
929
929
  color: '#fff'
930
930
  };
@@ -950,8 +950,34 @@ var CloseIcon = function CloseIcon(_ref) {
950
950
  strokeLinecap: "round"
951
951
  }));
952
952
  };
953
- CloseIcon.propTypes = propTypes$H;
954
- CloseIcon.defaultProps = defaultProps$H;
953
+ CloseIcon.propTypes = propTypes$I;
954
+ CloseIcon.defaultProps = defaultProps$I;
955
+
956
+ var propTypes$H = {
957
+ className: PropTypes$1.string,
958
+ color: PropTypes$1.string
959
+ };
960
+ var defaultProps$H = {
961
+ className: null,
962
+ color: '#fff'
963
+ };
964
+ var FullscreenIcon = function FullscreenIcon(_ref) {
965
+ var color = _ref.color,
966
+ className = _ref.className;
967
+ return /*#__PURE__*/React.createElement("svg", {
968
+ width: "16",
969
+ height: "14",
970
+ viewBox: "0 0 16 14",
971
+ fill: "none",
972
+ xmlns: "http://www.w3.org/2000/svg",
973
+ className: className
974
+ }, /*#__PURE__*/React.createElement("path", {
975
+ d: "M11.2 0H16V4.66667H14.4V1.55556H11.2V0ZM0 0H4.8V1.55556H1.6V4.66667H0V0ZM14.4 12.4444V9.33333H16V14H11.2V12.4444H14.4ZM1.6 12.4444H4.8V14H0V9.33333H1.6V12.4444Z",
976
+ fill: color
977
+ }));
978
+ };
979
+ FullscreenIcon.propTypes = propTypes$H;
980
+ FullscreenIcon.defaultProps = defaultProps$H;
955
981
 
956
982
  var propTypes$G = {
957
983
  className: PropTypes$1.string,
@@ -3665,7 +3691,7 @@ var ScreenSizer = function ScreenSizer(_ref) {
3665
3691
  }, [screenWidth, screenHeight, frameScale]);
3666
3692
  var hasFrameSize = frameWidth !== null && frameHeight !== null;
3667
3693
  return /*#__PURE__*/React.createElement("div", {
3668
- styles: classNames([styles$9.container, _defineProperty({}, className, className !== null)]),
3694
+ className: classNames([styles$9.container, _defineProperty({}, className, className !== null)]),
3669
3695
  ref: !hasSize ? refContainer : null
3670
3696
  }, hasFrameSize ? /*#__PURE__*/React.createElement("div", {
3671
3697
  className: styles$9.frame,
@@ -4391,4 +4417,4 @@ var LinkStyle = function LinkStyle(_ref) {
4391
4417
  LinkStyle.propTypes = propTypes;
4392
4418
  LinkStyle.defaultProps = defaultProps;
4393
4419
 
4394
- 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 };
4420
+ 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, FullscreenIcon, 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$S = {
88
+ var propTypes$T = {
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$S = {
94
+ var defaultProps$T = {
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$S;
108
- Label.defaultProps = defaultProps$S;
107
+ Label.propTypes = propTypes$T;
108
+ Label.defaultProps = defaultProps$T;
109
109
 
110
110
  var styles$x = {"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$R = {
113
+ var propTypes$S = {
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$R = {
144
144
  })])
145
145
  };
146
146
 
147
- var defaultProps$R = {
147
+ var defaultProps$S = {
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$R;
260
- Button$1.defaultProps = defaultProps$R;
259
+ Button$1.propTypes = propTypes$S;
260
+ Button$1.defaultProps = defaultProps$S;
261
261
 
262
262
  var styles$w = {};
263
263
 
264
264
  var _excluded$a = ["className", "onClick", "theme"];
265
- var propTypes$Q = {
265
+ var propTypes$R = {
266
266
  buttons: core.PropTypes.buttons,
267
267
  size: core.PropTypes.buttonSize,
268
268
  theme: core.PropTypes.buttonTheme,
@@ -271,7 +271,7 @@ var propTypes$Q = {
271
271
  className: PropTypes__default["default"].string,
272
272
  buttonClassName: PropTypes__default["default"].string
273
273
  };
274
- var defaultProps$Q = {
274
+ var defaultProps$R = {
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$Q;
320
- Buttons.defaultProps = defaultProps$Q;
319
+ Buttons.propTypes = propTypes$R;
320
+ Buttons.defaultProps = defaultProps$R;
321
321
 
322
322
  var _excluded$9 = ["className"];
323
- var propTypes$P = {
323
+ var propTypes$Q = {
324
324
  className: PropTypes__default["default"].string
325
325
  };
326
- var defaultProps$P = {
326
+ var defaultProps$Q = {
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$P;
342
- BackButton.defaultProps = defaultProps$P;
341
+ BackButton.propTypes = propTypes$Q;
342
+ BackButton.defaultProps = defaultProps$Q;
343
343
 
344
344
  var _excluded$8 = ["type"],
345
345
  _excluded2 = ["component", "id", "settings"];
346
- var propTypes$O = {
346
+ var propTypes$P = {
347
347
  name: PropTypes__default["default"].string,
348
348
  // .isRequired,
349
349
  value: core.PropTypes.component,
@@ -357,7 +357,7 @@ var propTypes$O = {
357
357
  fieldContext: PropTypes__default["default"].any // eslint-disable-line react/forbid-prop-types
358
358
  };
359
359
 
360
- var defaultProps$O = {
360
+ var defaultProps$P = {
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$O;
439
- FieldForm.defaultProps = defaultProps$O;
438
+ FieldForm.propTypes = propTypes$P;
439
+ FieldForm.defaultProps = defaultProps$P;
440
440
 
441
441
  var styles$v = {"actions":"micromag-core-forms-form-actions","left":"micromag-core-forms-form-left","right":"micromag-core-forms-form-right"};
442
442
 
443
- var propTypes$N = {
443
+ var propTypes$O = {
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$N = {
469
469
  actionsClassName: PropTypes__default["default"].string,
470
470
  cancelClassName: PropTypes__default["default"].string
471
471
  };
472
- var defaultProps$N = {
472
+ var defaultProps$O = {
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$N;
677
- Form.defaultProps = defaultProps$N;
676
+ Form.propTypes = propTypes$O;
677
+ Form.defaultProps = defaultProps$O;
678
678
 
679
679
  var styles$u = {"withoutStyle":"micromag-core-partials-link-withoutStyle"};
680
680
 
681
681
  var _excluded$7 = ["href", "external", "children", "target", "rel", "className", "withoutStyle"];
682
- var propTypes$M = {
682
+ var propTypes$N = {
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$M = {
688
688
  withoutStyle: PropTypes__default["default"].bool,
689
689
  className: PropTypes__default["default"].string
690
690
  };
691
- var defaultProps$M = {
691
+ var defaultProps$N = {
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$M;
720
- Link.defaultProps = defaultProps$M;
719
+ Link.propTypes = propTypes$N;
720
+ Link.defaultProps = defaultProps$N;
721
721
 
722
722
  var _excluded$6 = ["label", "className"];
723
- var propTypes$L = {
723
+ var propTypes$M = {
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$L = {
749
749
  onClickBody: PropTypes__default["default"].func,
750
750
  onClickFooter: PropTypes__default["default"].func
751
751
  };
752
- var defaultProps$L = {
752
+ var defaultProps$M = {
753
753
  href: null,
754
754
  header: null,
755
755
  image: null,
@@ -863,18 +863,18 @@ var Card = function Card(_ref) {
863
863
  className: cardClassName
864
864
  }, cardInner);
865
865
  };
866
- Card.propTypes = propTypes$L;
867
- Card.defaultProps = defaultProps$L;
866
+ Card.propTypes = propTypes$M;
867
+ Card.defaultProps = defaultProps$M;
868
868
 
869
869
  var styles$t = {"container":"micromag-core-partials-spinner-container","path":"micromag-core-partials-spinner-path","animated":"micromag-core-partials-spinner-animated","rotate":"micromag-core-partials-spinner-rotate","dash":"micromag-core-partials-spinner-dash"};
870
870
 
871
- var propTypes$K = {
871
+ var propTypes$L = {
872
872
  animated: PropTypes__default["default"].bool,
873
873
  color: PropTypes__default["default"].string,
874
874
  strokeWidth: PropTypes__default["default"].number,
875
875
  className: PropTypes__default["default"].string
876
876
  };
877
- var defaultProps$K = {
877
+ var defaultProps$L = {
878
878
  animated: true,
879
879
  color: 'currentColor',
880
880
  strokeWidth: 3,
@@ -902,19 +902,19 @@ var Spinner = function Spinner(_ref) {
902
902
  strokeWidth: strokeWidth
903
903
  }));
904
904
  };
905
- Spinner.propTypes = propTypes$K;
906
- Spinner.defaultProps = defaultProps$K;
905
+ Spinner.propTypes = propTypes$L;
906
+ Spinner.defaultProps = defaultProps$L;
907
907
 
908
908
  var styles$s = {};
909
909
 
910
910
  var _excluded$5 = ["description", "loading", "children", "className"];
911
- var propTypes$J = {
911
+ var propTypes$K = {
912
912
  description: PropTypes__default["default"].node,
913
913
  loading: PropTypes__default["default"].bool,
914
914
  children: PropTypes__default["default"].node,
915
915
  className: PropTypes__default["default"].string
916
916
  };
917
- var defaultProps$J = {
917
+ var defaultProps$K = {
918
918
  description: null,
919
919
  loading: false,
920
920
  children: null,
@@ -930,14 +930,14 @@ var FormPanel = function FormPanel(_ref) {
930
930
  className: classNames__default["default"]([styles$s.container, _defineProperty__default["default"]({}, className, className !== null)])
931
931
  }, props), description, loading ? /*#__PURE__*/React__default["default"].createElement(Spinner, null) : children);
932
932
  };
933
- FormPanel.propTypes = propTypes$J;
934
- FormPanel.defaultProps = defaultProps$J;
933
+ FormPanel.propTypes = propTypes$K;
934
+ FormPanel.defaultProps = defaultProps$K;
935
935
 
936
- var propTypes$I = {
936
+ var propTypes$J = {
937
937
  className: PropTypes__default["default"].string,
938
938
  color: PropTypes__default["default"].string
939
939
  };
940
- var defaultProps$I = {
940
+ var defaultProps$J = {
941
941
  className: null,
942
942
  color: '#fff'
943
943
  };
@@ -958,14 +958,14 @@ var ArrowIcon = function ArrowIcon(_ref) {
958
958
  fill: color
959
959
  }));
960
960
  };
961
- ArrowIcon.propTypes = propTypes$I;
962
- ArrowIcon.defaultProps = defaultProps$I;
961
+ ArrowIcon.propTypes = propTypes$J;
962
+ ArrowIcon.defaultProps = defaultProps$J;
963
963
 
964
- var propTypes$H = {
964
+ var propTypes$I = {
965
965
  className: PropTypes__default["default"].string,
966
966
  color: PropTypes__default["default"].string
967
967
  };
968
- var defaultProps$H = {
968
+ var defaultProps$I = {
969
969
  className: null,
970
970
  color: '#fff'
971
971
  };
@@ -991,8 +991,34 @@ var CloseIcon = function CloseIcon(_ref) {
991
991
  strokeLinecap: "round"
992
992
  }));
993
993
  };
994
- CloseIcon.propTypes = propTypes$H;
995
- CloseIcon.defaultProps = defaultProps$H;
994
+ CloseIcon.propTypes = propTypes$I;
995
+ CloseIcon.defaultProps = defaultProps$I;
996
+
997
+ var propTypes$H = {
998
+ className: PropTypes__default["default"].string,
999
+ color: PropTypes__default["default"].string
1000
+ };
1001
+ var defaultProps$H = {
1002
+ className: null,
1003
+ color: '#fff'
1004
+ };
1005
+ var FullscreenIcon = function FullscreenIcon(_ref) {
1006
+ var color = _ref.color,
1007
+ className = _ref.className;
1008
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
1009
+ width: "16",
1010
+ height: "14",
1011
+ viewBox: "0 0 16 14",
1012
+ fill: "none",
1013
+ xmlns: "http://www.w3.org/2000/svg",
1014
+ className: className
1015
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
1016
+ d: "M11.2 0H16V4.66667H14.4V1.55556H11.2V0ZM0 0H4.8V1.55556H1.6V4.66667H0V0ZM14.4 12.4444V9.33333H16V14H11.2V12.4444H14.4ZM1.6 12.4444H4.8V14H0V9.33333H1.6V12.4444Z",
1017
+ fill: color
1018
+ }));
1019
+ };
1020
+ FullscreenIcon.propTypes = propTypes$H;
1021
+ FullscreenIcon.defaultProps = defaultProps$H;
996
1022
 
997
1023
  var propTypes$G = {
998
1024
  className: PropTypes__default["default"].string,
@@ -3706,7 +3732,7 @@ var ScreenSizer = function ScreenSizer(_ref) {
3706
3732
  }, [screenWidth, screenHeight, frameScale]);
3707
3733
  var hasFrameSize = frameWidth !== null && frameHeight !== null;
3708
3734
  return /*#__PURE__*/React__default["default"].createElement("div", {
3709
- styles: classNames__default["default"]([styles$9.container, _defineProperty__default["default"]({}, className, className !== null)]),
3735
+ className: classNames__default["default"]([styles$9.container, _defineProperty__default["default"]({}, className, className !== null)]),
3710
3736
  ref: !hasSize ? refContainer : null
3711
3737
  }, hasFrameSize ? /*#__PURE__*/React__default["default"].createElement("div", {
3712
3738
  className: styles$9.frame,
@@ -4450,6 +4476,7 @@ exports.FieldForm = FieldForm;
4450
4476
  exports.FontFaces = FontFaces;
4451
4477
  exports.Form = Form;
4452
4478
  exports.FormPanel = FormPanel;
4479
+ exports.FullscreenIcon = FullscreenIcon;
4453
4480
  exports.HighlightStyle = HighlightStyle;
4454
4481
  exports.Label = Label;
4455
4482
  exports.Link = Link;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.377",
3
+ "version": "0.3.389",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -31,6 +31,7 @@
31
31
  "license": "ISC",
32
32
  "main": "lib/index.js",
33
33
  "module": "es/index.js",
34
+ "style": "assets/css/styles.css",
34
35
  "exports": {
35
36
  ".": "./lib/index.js",
36
37
  "./components": "./lib/components.js",
@@ -133,5 +134,5 @@
133
134
  "publishConfig": {
134
135
  "access": "public"
135
136
  },
136
- "gitHead": "80f2c43eabcb9c8e23e71704751c4ad4066e4d3a"
137
+ "gitHead": "67cbf19814ac1142a26e35df2e3959405aebf149"
137
138
  }