@micromag/core 0.3.676 → 0.3.703
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/assets/css/vendor.css +3 -3
- package/es/components.js +6 -0
- package/es/contexts.js +13 -13
- package/es/hooks.js +18 -14
- package/es/index.js +48 -41
- package/es/utils.js +35 -39
- package/package.json +3 -3
package/es/components.js
CHANGED
|
@@ -3090,6 +3090,12 @@ var badge = PropTypes.shape({
|
|
|
3090
3090
|
label: textElement,
|
|
3091
3091
|
buttonStyle: boxStyle
|
|
3092
3092
|
});
|
|
3093
|
+
PropTypes.shape({
|
|
3094
|
+
active: PropTypes.bool,
|
|
3095
|
+
placeholder: textElement,
|
|
3096
|
+
textStyle: textStyle,
|
|
3097
|
+
boxStyle: boxStyle
|
|
3098
|
+
});
|
|
3093
3099
|
PropTypes.shape({
|
|
3094
3100
|
badge: badge
|
|
3095
3101
|
});
|
package/es/contexts.js
CHANGED
|
@@ -905,21 +905,21 @@ var PlaybackProvider = function PlaybackProvider(_ref) {
|
|
|
905
905
|
controls = _useState8[0],
|
|
906
906
|
setControls = _useState8[1];
|
|
907
907
|
var _useState9 = useState(initialControlsSuggestPlay),
|
|
908
|
-
|
|
909
|
-
controlsSuggestPlay =
|
|
910
|
-
setControlsSuggestPlay =
|
|
911
|
-
var
|
|
908
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
909
|
+
controlsSuggestPlay = _useState0[0],
|
|
910
|
+
setControlsSuggestPlay = _useState0[1];
|
|
911
|
+
var _useState1 = useState(initialControlsVisible),
|
|
912
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
913
|
+
controlsVisible = _useState10[0],
|
|
914
|
+
setControlsVisible = _useState10[1];
|
|
915
|
+
var _useState11 = useState(initialControlsTheme),
|
|
912
916
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
var _useState13 = useState(
|
|
917
|
+
controlsTheme = _useState12[0],
|
|
918
|
+
setControlsTheme = _useState12[1];
|
|
919
|
+
var _useState13 = useState(initialCurrentQualityLevel),
|
|
916
920
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
var _useState15 = useState(initialCurrentQualityLevel),
|
|
920
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
921
|
-
currentQualityLevel = _useState16[0],
|
|
922
|
-
setCurrentQualityLevel = _useState16[1];
|
|
921
|
+
currentQualityLevel = _useState14[0],
|
|
922
|
+
setCurrentQualityLevel = _useState14[1];
|
|
923
923
|
var finalSetControls = useCallback(function (newControls) {
|
|
924
924
|
if (newControls) {
|
|
925
925
|
setControls(true);
|
package/es/hooks.js
CHANGED
|
@@ -923,17 +923,17 @@ var useMediaApi = function useMediaApi() {
|
|
|
923
923
|
ready = _useState8[0],
|
|
924
924
|
setReady = _useState8[1];
|
|
925
925
|
var _useState9 = useState(false),
|
|
926
|
-
|
|
927
|
-
dataReady =
|
|
928
|
-
setDataReady =
|
|
929
|
-
var
|
|
926
|
+
_useState0 = _slicedToArray(_useState9, 2),
|
|
927
|
+
dataReady = _useState0[0],
|
|
928
|
+
setDataReady = _useState0[1];
|
|
929
|
+
var _useState1 = useState(true),
|
|
930
|
+
_useState10 = _slicedToArray(_useState1, 2),
|
|
931
|
+
initialPlay = _useState10[0],
|
|
932
|
+
setInitialPlay = _useState10[1];
|
|
933
|
+
var _useState11 = useState(false),
|
|
930
934
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
var _useState13 = useState(false),
|
|
934
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
935
|
-
suspended = _useState14[0],
|
|
936
|
-
setSuspended = _useState14[1];
|
|
935
|
+
suspended = _useState12[0],
|
|
936
|
+
setSuspended = _useState12[1];
|
|
937
937
|
var progressStepsReached = useRef({});
|
|
938
938
|
var paused = !playing;
|
|
939
939
|
|
|
@@ -1915,6 +1915,10 @@ var useParsedStory = function useParsedStory(story) {
|
|
|
1915
1915
|
return newStory;
|
|
1916
1916
|
};
|
|
1917
1917
|
|
|
1918
|
+
var usePlaceholderStyle = function usePlaceholderStyle(className, placeholderStyle) {
|
|
1919
|
+
return "\n .".concat(className, "::placeholder {\n ").concat(placeholderStyle.color ? "color: ".concat(placeholderStyle.color, ";") : '', "\n ").concat(placeholderStyle.fontSize ? "font-size: ".concat(placeholderStyle.fontSize, ";") : '', "\n ").concat(placeholderStyle.fontStyle ? "font-style: ".concat(placeholderStyle.fontStyle, ";") : '', "\n ").concat(placeholderStyle.fontWeight ? "font-weight: ".concat(placeholderStyle.fontWeight, ";") : '', "\n ").concat(placeholderStyle.fontFamily ? "font-family: ".concat(placeholderStyle.fontFamily, ";") : '', "\n ").concat(placeholderStyle.textAlign ? "text-align: ".concat(placeholderStyle.textAlign, ";") : '', "\n }\n ");
|
|
1920
|
+
};
|
|
1921
|
+
|
|
1918
1922
|
function useProgressSteps() {
|
|
1919
1923
|
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
1920
1924
|
_ref$disabled = _ref.disabled,
|
|
@@ -2351,7 +2355,7 @@ var useTrackScreenEvent = function useTrackScreenEvent() {
|
|
|
2351
2355
|
return useCallback(function () {
|
|
2352
2356
|
var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
2353
2357
|
var label = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
2354
|
-
var opts = arguments.length > 2 ? arguments[2] :
|
|
2358
|
+
var opts = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
2355
2359
|
if (type !== null && action !== null) {
|
|
2356
2360
|
tracking.trackEvent("screen_".concat(type), action, label, _objectSpread(_objectSpread({}, opts), getScreenOptions(screenContext, opts)));
|
|
2357
2361
|
}
|
|
@@ -2385,7 +2389,7 @@ var useTrackEvent = function useTrackEvent() {
|
|
|
2385
2389
|
var category = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
2386
2390
|
var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
2387
2391
|
var label = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
2388
|
-
var opts = arguments.length > 3 ? arguments[3] :
|
|
2392
|
+
var opts = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
|
2389
2393
|
if (category !== null && action !== null) {
|
|
2390
2394
|
tracking.trackEvent(category, action, label, opts);
|
|
2391
2395
|
}
|
|
@@ -2400,7 +2404,7 @@ var useTrackMedia = function useTrackMedia() {
|
|
|
2400
2404
|
return useCallback(function () {
|
|
2401
2405
|
var media = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
2402
2406
|
var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
2403
|
-
var opts = arguments.length > 2 ? arguments[2] :
|
|
2407
|
+
var opts = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
2404
2408
|
if (type !== null && media !== null && action !== null) {
|
|
2405
2409
|
tracking.trackMedia(type, media, action, opts);
|
|
2406
2410
|
}
|
|
@@ -2410,4 +2414,4 @@ var useTrackMedia = function useTrackMedia() {
|
|
|
2410
2414
|
var eventsManager = typeof window !== 'undefined' ? new EventsManager(window) : null;
|
|
2411
2415
|
var useWindowEvent = createUseEvent(eventsManager);
|
|
2412
2416
|
|
|
2413
|
-
export { getObserver, useActivityDetector, useAnimationFrame, useDebounced as useDebounce, useDevicePixelRatio, useDimensionObserver, useDocumentEvent, useDragProgress, useForm, useFormTransition, useFormattedDate, useFormattedTime, useFullscreen, useIntersectionObserver, useIsVisible, useLoadedFonts, useLongPress, useMediaApi, useMediaBuffering, useMediaCurrentTime, useMediaDuration, useMediaLoad, useMediaProgress, useMediaReady, useMediaState, useMediaThumbnail, useMediaTimestampOffset, useMediaWaveform, useMediasParser, useObserver, useParsedStory, useProgressSteps, useResizeObserver, useScreenSizeFromElement, useScreenSizeFromWindow, useSpringValue, useSwipe, useThemeParser, useTrackEvent, useTrackMedia, useTrackScreenEvent, useTrackScreenMedia, useTrackScreenView, useWindowEvent };
|
|
2417
|
+
export { getObserver, useActivityDetector, useAnimationFrame, useDebounced as useDebounce, useDevicePixelRatio, useDimensionObserver, useDocumentEvent, useDragProgress, useForm, useFormTransition, useFormattedDate, useFormattedTime, useFullscreen, useIntersectionObserver, useIsVisible, useLoadedFonts, useLongPress, useMediaApi, useMediaBuffering, useMediaCurrentTime, useMediaDuration, useMediaLoad, useMediaProgress, useMediaReady, useMediaState, useMediaThumbnail, useMediaTimestampOffset, useMediaWaveform, useMediasParser, useObserver, useParsedStory, usePlaceholderStyle, useProgressSteps, useResizeObserver, useScreenSizeFromElement, useScreenSizeFromWindow, useSpringValue, useSwipe, useThemeParser, useTrackEvent, useTrackMedia, useTrackScreenEvent, useTrackScreenMedia, useTrackScreenView, useWindowEvent };
|
package/es/index.js
CHANGED
|
@@ -612,6 +612,12 @@ var badge = PropTypes$1.shape({
|
|
|
612
612
|
label: textElement,
|
|
613
613
|
buttonStyle: boxStyle
|
|
614
614
|
});
|
|
615
|
+
var customAnswer = PropTypes$1.shape({
|
|
616
|
+
active: PropTypes$1.bool,
|
|
617
|
+
placeholder: textElement,
|
|
618
|
+
textStyle: textStyle,
|
|
619
|
+
boxStyle: boxStyle
|
|
620
|
+
});
|
|
615
621
|
var header = PropTypes$1.shape({
|
|
616
622
|
badge: badge
|
|
617
623
|
});
|
|
@@ -664,6 +670,7 @@ var PropTypes = /*#__PURE__*/Object.freeze({
|
|
|
664
670
|
conversation: conversation,
|
|
665
671
|
conversationMessage: conversationMessage,
|
|
666
672
|
conversationMessages: conversationMessages,
|
|
673
|
+
customAnswer: customAnswer,
|
|
667
674
|
customFont: customFont,
|
|
668
675
|
defaultMessage: defaultMessage,
|
|
669
676
|
defaultMessageContent: defaultMessageContent,
|
|
@@ -1895,20 +1902,20 @@ var ButtonPadding = /*#__PURE__*/function () {
|
|
|
1895
1902
|
return _createClass(ButtonPadding, [{
|
|
1896
1903
|
key: "test",
|
|
1897
1904
|
value: function test(screen) {
|
|
1898
|
-
var
|
|
1899
|
-
|
|
1900
|
-
footer =
|
|
1901
|
-
|
|
1902
|
-
header =
|
|
1905
|
+
var _ref0 = screen || {},
|
|
1906
|
+
_ref0$footer = _ref0.footer,
|
|
1907
|
+
footer = _ref0$footer === void 0 ? null : _ref0$footer,
|
|
1908
|
+
_ref0$header = _ref0.header,
|
|
1909
|
+
header = _ref0$header === void 0 ? null : _ref0$header;
|
|
1903
1910
|
if (header === null || footer === null) {
|
|
1904
1911
|
return false;
|
|
1905
1912
|
}
|
|
1906
|
-
var
|
|
1907
|
-
|
|
1908
|
-
badge =
|
|
1909
|
-
var
|
|
1910
|
-
|
|
1911
|
-
callToAction =
|
|
1913
|
+
var _ref1 = header || {},
|
|
1914
|
+
_ref1$badge = _ref1.badge,
|
|
1915
|
+
badge = _ref1$badge === void 0 ? null : _ref1$badge;
|
|
1916
|
+
var _ref10 = footer || {},
|
|
1917
|
+
_ref10$callToAction = _ref10.callToAction,
|
|
1918
|
+
callToAction = _ref10$callToAction === void 0 ? null : _ref10$callToAction;
|
|
1912
1919
|
if (callToAction === null) {
|
|
1913
1920
|
return false;
|
|
1914
1921
|
}
|
|
@@ -1928,20 +1935,20 @@ var ButtonPadding = /*#__PURE__*/function () {
|
|
|
1928
1935
|
}, {
|
|
1929
1936
|
key: "parse",
|
|
1930
1937
|
value: function parse(screen) {
|
|
1931
|
-
var
|
|
1932
|
-
|
|
1933
|
-
footer =
|
|
1934
|
-
|
|
1935
|
-
header =
|
|
1936
|
-
restScreen = _objectWithoutProperties(
|
|
1937
|
-
var
|
|
1938
|
-
|
|
1939
|
-
badge =
|
|
1940
|
-
restHeader = _objectWithoutProperties(
|
|
1941
|
-
var
|
|
1942
|
-
|
|
1943
|
-
callToAction =
|
|
1944
|
-
restFooter = _objectWithoutProperties(
|
|
1938
|
+
var _ref11 = screen || {},
|
|
1939
|
+
_ref11$footer = _ref11.footer,
|
|
1940
|
+
footer = _ref11$footer === void 0 ? null : _ref11$footer,
|
|
1941
|
+
_ref11$header = _ref11.header,
|
|
1942
|
+
header = _ref11$header === void 0 ? null : _ref11$header,
|
|
1943
|
+
restScreen = _objectWithoutProperties(_ref11, _excluded$3);
|
|
1944
|
+
var _ref12 = header || {},
|
|
1945
|
+
_ref12$badge = _ref12.badge,
|
|
1946
|
+
badge = _ref12$badge === void 0 ? null : _ref12$badge,
|
|
1947
|
+
restHeader = _objectWithoutProperties(_ref12, _excluded2$1);
|
|
1948
|
+
var _ref13 = footer || {},
|
|
1949
|
+
_ref13$callToAction = _ref13.callToAction,
|
|
1950
|
+
callToAction = _ref13$callToAction === void 0 ? null : _ref13$callToAction,
|
|
1951
|
+
restFooter = _objectWithoutProperties(_ref13, _excluded3);
|
|
1945
1952
|
return _objectSpread(_objectSpread({}, restScreen), {}, {
|
|
1946
1953
|
header: _objectSpread(_objectSpread({}, restHeader), badge !== null ? {
|
|
1947
1954
|
badge: parsePadding(badge)
|
|
@@ -2278,9 +2285,9 @@ var ThemeParser = /*#__PURE__*/function () {
|
|
|
2278
2285
|
var innerDefinition = isArray(fieldsOrDefinition) ? fieldsOrDefinition.find(function (it) {
|
|
2279
2286
|
return it.name === innerFieldName;
|
|
2280
2287
|
}) || null : fieldsOrDefinition;
|
|
2281
|
-
var
|
|
2282
|
-
|
|
2283
|
-
idfTheme =
|
|
2288
|
+
var _ref0 = innerDefinition || {},
|
|
2289
|
+
_ref0$theme = _ref0.theme,
|
|
2290
|
+
idfTheme = _ref0$theme === void 0 ? null : _ref0$theme;
|
|
2284
2291
|
var innerValue = value[innerFieldName];
|
|
2285
2292
|
|
|
2286
2293
|
// For items fields
|
|
@@ -2311,14 +2318,14 @@ var ThemeParser = /*#__PURE__*/function () {
|
|
|
2311
2318
|
var _this5 = this;
|
|
2312
2319
|
if (isObject(initialValue) || isObject(fieldTheme)) {
|
|
2313
2320
|
var value = initialValue || null;
|
|
2314
|
-
var
|
|
2315
|
-
|
|
2316
|
-
fieldTextStyleName =
|
|
2317
|
-
|
|
2318
|
-
fieldColorName =
|
|
2319
|
-
|
|
2320
|
-
fieldBoxStyleName =
|
|
2321
|
-
otherProps = _objectWithoutProperties(
|
|
2321
|
+
var _ref1 = fieldTheme || {},
|
|
2322
|
+
_ref1$textStyle = _ref1.textStyle,
|
|
2323
|
+
fieldTextStyleName = _ref1$textStyle === void 0 ? null : _ref1$textStyle,
|
|
2324
|
+
_ref1$color = _ref1.color,
|
|
2325
|
+
fieldColorName = _ref1$color === void 0 ? null : _ref1$color,
|
|
2326
|
+
_ref1$boxStyle = _ref1.boxStyle,
|
|
2327
|
+
fieldBoxStyleName = _ref1$boxStyle === void 0 ? null : _ref1$boxStyle,
|
|
2328
|
+
otherProps = _objectWithoutProperties(_ref1, _excluded$1);
|
|
2322
2329
|
if (fieldTextStyleName === null && fieldColorName === null && fieldBoxStyleName === null && isEmpty(otherProps) && !isObject(fieldTheme)) {
|
|
2323
2330
|
return value;
|
|
2324
2331
|
}
|
|
@@ -2330,11 +2337,11 @@ var ThemeParser = /*#__PURE__*/function () {
|
|
|
2330
2337
|
return _objectSpread(_objectSpread({}, newObject), newValue !== null ? _defineProperty({}, key, newValue) : null);
|
|
2331
2338
|
}, {});
|
|
2332
2339
|
}
|
|
2333
|
-
var
|
|
2334
|
-
|
|
2335
|
-
valueTextStyle =
|
|
2336
|
-
|
|
2337
|
-
valueBoxStyle =
|
|
2340
|
+
var _ref11 = value || {},
|
|
2341
|
+
_ref11$textStyle = _ref11.textStyle,
|
|
2342
|
+
valueTextStyle = _ref11$textStyle === void 0 ? null : _ref11$textStyle,
|
|
2343
|
+
_ref11$boxStyle = _ref11.boxStyle,
|
|
2344
|
+
valueBoxStyle = _ref11$boxStyle === void 0 ? null : _ref11$boxStyle;
|
|
2338
2345
|
|
|
2339
2346
|
// Color
|
|
2340
2347
|
var fieldColor = fieldColorName !== null && themeColors !== null ? themeColors[fieldColorName] || null : null;
|
package/es/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import isNumber from 'lodash/isNumber';
|
|
2
2
|
import { kebabCase, pascalCase, snakeCase } from 'change-case';
|
|
3
3
|
export { camelCase, pascalCase, snakeCase } from 'change-case';
|
|
4
|
-
import
|
|
4
|
+
import _regenerator from '@babel/runtime/helpers/regenerator';
|
|
5
5
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
6
6
|
import isObject from 'lodash/isObject';
|
|
7
7
|
import { useEffect, useMemo } from 'react';
|
|
@@ -33,20 +33,17 @@ function copyClipboardApi(_x) {
|
|
|
33
33
|
return _copyClipboardApi.apply(this, arguments);
|
|
34
34
|
}
|
|
35
35
|
function _copyClipboardApi() {
|
|
36
|
-
_copyClipboardApi = _asyncToGenerator(/*#__PURE__*/
|
|
37
|
-
return
|
|
38
|
-
while (1) switch (_context.
|
|
36
|
+
_copyClipboardApi = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(text) {
|
|
37
|
+
return _regenerator().w(function (_context) {
|
|
38
|
+
while (1) switch (_context.n) {
|
|
39
39
|
case 0:
|
|
40
40
|
if (navigator.clipboard) {
|
|
41
|
-
_context.
|
|
41
|
+
_context.n = 1;
|
|
42
42
|
break;
|
|
43
43
|
}
|
|
44
44
|
throw makeError();
|
|
45
|
-
case
|
|
46
|
-
return _context.
|
|
47
|
-
case 3:
|
|
48
|
-
case "end":
|
|
49
|
-
return _context.stop();
|
|
45
|
+
case 1:
|
|
46
|
+
return _context.a(2, navigator.clipboard.writeText(text));
|
|
50
47
|
}
|
|
51
48
|
}, _callee);
|
|
52
49
|
}));
|
|
@@ -56,10 +53,10 @@ function copyExecCommand(_x2) {
|
|
|
56
53
|
return _copyExecCommand.apply(this, arguments);
|
|
57
54
|
}
|
|
58
55
|
function _copyExecCommand() {
|
|
59
|
-
_copyExecCommand = _asyncToGenerator(/*#__PURE__*/
|
|
56
|
+
_copyExecCommand = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(text) {
|
|
60
57
|
var span, selection, range, success;
|
|
61
|
-
return
|
|
62
|
-
while (1) switch (_context2.
|
|
58
|
+
return _regenerator().w(function (_context2) {
|
|
59
|
+
while (1) switch (_context2.n) {
|
|
63
60
|
case 0:
|
|
64
61
|
// Put the text to copy into a <span>
|
|
65
62
|
span = document.createElement('span');
|
|
@@ -90,13 +87,12 @@ function _copyExecCommand() {
|
|
|
90
87
|
window.document.body.removeChild(span);
|
|
91
88
|
}
|
|
92
89
|
if (success) {
|
|
93
|
-
_context2.
|
|
90
|
+
_context2.n = 1;
|
|
94
91
|
break;
|
|
95
92
|
}
|
|
96
93
|
throw makeError();
|
|
97
|
-
case
|
|
98
|
-
|
|
99
|
-
return _context2.stop();
|
|
94
|
+
case 1:
|
|
95
|
+
return _context2.a(2);
|
|
100
96
|
}
|
|
101
97
|
}, _callee2);
|
|
102
98
|
}));
|
|
@@ -106,34 +102,34 @@ function copyToClipboard(_x3) {
|
|
|
106
102
|
return _copyToClipboard.apply(this, arguments);
|
|
107
103
|
}
|
|
108
104
|
function _copyToClipboard() {
|
|
109
|
-
_copyToClipboard = _asyncToGenerator(/*#__PURE__*/
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
_copyToClipboard = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(text) {
|
|
106
|
+
var _t, _t2;
|
|
107
|
+
return _regenerator().w(function (_context3) {
|
|
108
|
+
while (1) switch (_context3.n) {
|
|
112
109
|
case 0:
|
|
113
|
-
_context3.
|
|
114
|
-
_context3.
|
|
110
|
+
_context3.p = 0;
|
|
111
|
+
_context3.n = 1;
|
|
115
112
|
return copyClipboardApi(text);
|
|
116
|
-
case
|
|
117
|
-
_context3.
|
|
113
|
+
case 1:
|
|
114
|
+
_context3.n = 6;
|
|
118
115
|
break;
|
|
119
|
-
case
|
|
120
|
-
_context3.
|
|
121
|
-
|
|
122
|
-
_context3.
|
|
123
|
-
_context3.
|
|
116
|
+
case 2:
|
|
117
|
+
_context3.p = 2;
|
|
118
|
+
_t = _context3.v;
|
|
119
|
+
_context3.p = 3;
|
|
120
|
+
_context3.n = 4;
|
|
124
121
|
return copyExecCommand(text);
|
|
125
|
-
case
|
|
126
|
-
_context3.
|
|
122
|
+
case 4:
|
|
123
|
+
_context3.n = 6;
|
|
127
124
|
break;
|
|
128
|
-
case
|
|
129
|
-
_context3.
|
|
130
|
-
|
|
131
|
-
throw
|
|
132
|
-
case
|
|
133
|
-
|
|
134
|
-
return _context3.stop();
|
|
125
|
+
case 5:
|
|
126
|
+
_context3.p = 5;
|
|
127
|
+
_t2 = _context3.v;
|
|
128
|
+
throw _t2 || _t || makeError();
|
|
129
|
+
case 6:
|
|
130
|
+
return _context3.a(2);
|
|
135
131
|
}
|
|
136
|
-
}, _callee3, null, [[
|
|
132
|
+
}, _callee3, null, [[3, 5], [0, 2]]);
|
|
137
133
|
}));
|
|
138
134
|
return _copyToClipboard.apply(this, arguments);
|
|
139
135
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.703",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"@react-spring/core": "^9.6.1",
|
|
119
119
|
"@react-spring/web": "^9.6.1",
|
|
120
120
|
"@use-gesture/react": "^10.3.1",
|
|
121
|
-
"bootstrap": "^5.3.
|
|
121
|
+
"bootstrap": "^5.3.7",
|
|
122
122
|
"change-case": "^5.4.4",
|
|
123
123
|
"classnames": "^2.2.6",
|
|
124
124
|
"css-mediaquery": "^0.1.2",
|
|
@@ -144,5 +144,5 @@
|
|
|
144
144
|
"access": "public",
|
|
145
145
|
"registry": "https://registry.npmjs.org/"
|
|
146
146
|
},
|
|
147
|
-
"gitHead": "
|
|
147
|
+
"gitHead": "15a0df01ed9d05f47a056fb2ff078aded803d33d"
|
|
148
148
|
}
|