@ilo-org/react 0.4.3 → 0.4.5
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/.eslintrc.cjs +39 -0
- package/CHANGELOG.md +21 -0
- package/lib/cjs/{DailyMotion-5654fa6e.js → DailyMotion-2cda261d.js} +1 -1
- package/lib/cjs/{Facebook-1924e510.js → Facebook-40bd92e7.js} +1 -1
- package/lib/cjs/{FilePlayer-9c697e42.js → FilePlayer-b5a2e7b1.js} +1 -1
- package/lib/cjs/{Kaltura-177bb003.js → Kaltura-8544b000.js} +1 -1
- package/lib/cjs/{Mixcloud-91a772a6.js → Mixcloud-2c92778a.js} +1 -1
- package/lib/cjs/{Preview-8e2afb6a.js → Preview-a5f6c0c7.js} +1 -1
- package/lib/cjs/{SoundCloud-089e0f30.js → SoundCloud-ff297faf.js} +1 -1
- package/lib/cjs/{Streamable-4ca5b9c7.js → Streamable-612542e7.js} +1 -1
- package/lib/cjs/{Twitch-dbc5c387.js → Twitch-246c531e.js} +1 -1
- package/lib/cjs/{VideoPlayer-874a52b0.js → VideoPlayer-d576de50.js} +16 -23
- package/lib/cjs/{Vidyard-371acdcb.js → Vidyard-e1bb2e3d.js} +1 -1
- package/lib/cjs/{Vimeo-4d2029a8.js → Vimeo-38a72f3d.js} +1 -1
- package/lib/cjs/{Wistia-cd0799ad.js → Wistia-1280865c.js} +1 -1
- package/lib/cjs/{YouTube-23b7ec9e.js → YouTube-1fbce80b.js} +1 -1
- package/lib/cjs/components/Callout/index.js +14 -3
- package/lib/cjs/components/Card/CardGroup.js +4 -4
- package/lib/cjs/components/Collapse/Collapse.js +32 -47
- package/lib/cjs/components/Collapse/index.js +1 -1
- package/lib/cjs/components/Video/Video.js +2 -2
- package/lib/cjs/components/Video/VideoPlayer.js +2 -2
- package/lib/cjs/components/Video/index.js +2 -2
- package/lib/cjs/components/index.js +3 -3
- package/lib/cjs/{index-1b6434f0.js → index-0af02e81.js} +22 -59
- package/lib/cjs/index.js +4 -4
- package/lib/esm/{DailyMotion-88f6c379.js → DailyMotion-89500a59.js} +1 -1
- package/lib/esm/{Facebook-3a284039.js → Facebook-7abf2b6b.js} +1 -1
- package/lib/esm/{FilePlayer-dee1f94b.js → FilePlayer-c5879d9f.js} +1 -1
- package/lib/esm/{Kaltura-c5d42c88.js → Kaltura-424e97bb.js} +1 -1
- package/lib/esm/{Mixcloud-430ab42a.js → Mixcloud-a9c98513.js} +1 -1
- package/lib/esm/{Preview-7f57e055.js → Preview-05e5eb47.js} +1 -1
- package/lib/esm/{SoundCloud-d1ab591e.js → SoundCloud-0853e0b6.js} +1 -1
- package/lib/esm/{Streamable-042d61d5.js → Streamable-da3fc8b6.js} +1 -1
- package/lib/esm/{Twitch-2f45534f.js → Twitch-25eb6a7b.js} +1 -1
- package/lib/esm/{VideoPlayer-719076c4.js → VideoPlayer-a5fa87ce.js} +16 -23
- package/lib/esm/{Vidyard-4625527b.js → Vidyard-7284e1ca.js} +1 -1
- package/lib/esm/{Vimeo-03b960e6.js → Vimeo-4dc64c92.js} +1 -1
- package/lib/esm/{Wistia-48f9c303.js → Wistia-7f9e5ea3.js} +1 -1
- package/lib/esm/{YouTube-5b29a3d9.js → YouTube-9fef7faa.js} +1 -1
- package/lib/esm/components/Callout/index.js +16 -1
- package/lib/esm/components/Card/CardGroup.js +4 -4
- package/lib/esm/components/Collapse/Collapse.js +32 -47
- package/lib/esm/components/Collapse/index.js +1 -1
- package/lib/esm/components/Video/Video.js +2 -2
- package/lib/esm/components/Video/VideoPlayer.js +2 -2
- package/lib/esm/components/Video/index.js +2 -2
- package/lib/esm/components/index.js +3 -3
- package/lib/esm/{index-8ebb2cc1.js → index-623ce3f5.js} +21 -60
- package/lib/esm/index.js +4 -4
- package/lib/types/react/src/components/Fieldset/Fieldset.props.d.ts +1 -2
- package/lib/types/react/src/components/Video/Video.props.d.ts +1 -1
- package/package.json +29 -35
- package/src/components/Fieldset/Fieldset.props.ts +1 -2
- package/src/components/Video/Video.props.ts +1 -1
- package/lib/cjs/Callout.args-bcd5a9f1.js +0 -17
- package/lib/esm/Callout.args-3a0e0416.js +0 -15
|
@@ -26,7 +26,7 @@ var components_Notification_Notification = require('./Notification/Notification.
|
|
|
26
26
|
var components_ReadMore_ReadMore = require('./ReadMore/ReadMore.js');
|
|
27
27
|
var components_Textarea_Textarea = require('./Textarea/Textarea.js');
|
|
28
28
|
var components_Callout_Callout = require('./Callout/Callout.js');
|
|
29
|
-
require('
|
|
29
|
+
require('./Callout/index.js');
|
|
30
30
|
var components_Credit_Credit = require('./Credit/Credit.js');
|
|
31
31
|
var components_FileUpload_FileUpload = require('./FileUpload/FileUpload.js');
|
|
32
32
|
var components_Heading_Heading = require('./Heading/Heading.js');
|
|
@@ -59,7 +59,7 @@ require('../hooks/useGlobalSettings.js');
|
|
|
59
59
|
require('../AccordionCtx-fe08ff45.js');
|
|
60
60
|
require('@ilo-org/utils');
|
|
61
61
|
require('../utils/checkArrayDuplicates.js');
|
|
62
|
-
require('../index-
|
|
62
|
+
require('../index-0af02e81.js');
|
|
63
63
|
require('react-dom');
|
|
64
64
|
require('../utils/createChainedFunction.js');
|
|
65
65
|
require('../utils/getDefaultDimensionValue.js');
|
|
@@ -67,7 +67,7 @@ require('../css-9c93400b.js');
|
|
|
67
67
|
require('../utils/transitionEndListener.js');
|
|
68
68
|
require('../utils/triggerBrowserReflow.js');
|
|
69
69
|
require('./Hero/HeroCard.js');
|
|
70
|
-
require('../VideoPlayer-
|
|
70
|
+
require('../VideoPlayer-d576de50.js');
|
|
71
71
|
require('../utils/hoursMinutesSeconds.js');
|
|
72
72
|
require('screenfull');
|
|
73
73
|
require('@ilo-org/icons-react');
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
set exports(v){ exports.propTypesExports = v; },
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
var reactIsExports = {};
|
|
10
|
-
var reactIs = {
|
|
11
|
-
get exports(){ return reactIsExports; },
|
|
12
|
-
set exports(v){ reactIsExports = v; },
|
|
13
|
-
};
|
|
3
|
+
var propTypes = {exports: {}};
|
|
4
|
+
|
|
5
|
+
var reactIs = {exports: {}};
|
|
14
6
|
|
|
15
7
|
var reactIs_production_min = {};
|
|
16
8
|
|
|
@@ -229,7 +221,7 @@ function requireReactIs_development () {
|
|
|
229
221
|
var hasRequiredReactIs;
|
|
230
222
|
|
|
231
223
|
function requireReactIs () {
|
|
232
|
-
if (hasRequiredReactIs) return
|
|
224
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
|
233
225
|
hasRequiredReactIs = 1;
|
|
234
226
|
(function (module) {
|
|
235
227
|
|
|
@@ -239,7 +231,7 @@ function requireReactIs () {
|
|
|
239
231
|
module.exports = requireReactIs_development();
|
|
240
232
|
}
|
|
241
233
|
} (reactIs));
|
|
242
|
-
return
|
|
234
|
+
return reactIs.exports;
|
|
243
235
|
}
|
|
244
236
|
|
|
245
237
|
/*
|
|
@@ -360,16 +352,6 @@ function requireReactPropTypesSecret () {
|
|
|
360
352
|
return ReactPropTypesSecret_1;
|
|
361
353
|
}
|
|
362
354
|
|
|
363
|
-
var has;
|
|
364
|
-
var hasRequiredHas;
|
|
365
|
-
|
|
366
|
-
function requireHas () {
|
|
367
|
-
if (hasRequiredHas) return has;
|
|
368
|
-
hasRequiredHas = 1;
|
|
369
|
-
has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
370
|
-
return has;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
355
|
/**
|
|
374
356
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
375
357
|
*
|
|
@@ -389,7 +371,7 @@ function requireCheckPropTypes () {
|
|
|
389
371
|
if (process.env.NODE_ENV !== 'production') {
|
|
390
372
|
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
391
373
|
var loggedTypeFailures = {};
|
|
392
|
-
var has =
|
|
374
|
+
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
393
375
|
|
|
394
376
|
printWarning = function(text) {
|
|
395
377
|
var message = 'Warning: ' + text;
|
|
@@ -401,7 +383,7 @@ function requireCheckPropTypes () {
|
|
|
401
383
|
// This error was thrown as a convenience so that you can use this stack
|
|
402
384
|
// to find the callsite that caused this warning to fire.
|
|
403
385
|
throw new Error(message);
|
|
404
|
-
} catch (x) {
|
|
386
|
+
} catch (x) {}
|
|
405
387
|
};
|
|
406
388
|
}
|
|
407
389
|
|
|
@@ -430,8 +412,7 @@ function requireCheckPropTypes () {
|
|
|
430
412
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
431
413
|
var err = Error(
|
|
432
414
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
433
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
434
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
415
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
435
416
|
);
|
|
436
417
|
err.name = 'Invariant Violation';
|
|
437
418
|
throw err;
|
|
@@ -499,9 +480,9 @@ function requireFactoryWithTypeCheckers () {
|
|
|
499
480
|
var assign = requireObjectAssign();
|
|
500
481
|
|
|
501
482
|
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
502
|
-
var has = requireHas();
|
|
503
483
|
var checkPropTypes = requireCheckPropTypes();
|
|
504
484
|
|
|
485
|
+
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
505
486
|
var printWarning = function() {};
|
|
506
487
|
|
|
507
488
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -602,7 +583,6 @@ function requireFactoryWithTypeCheckers () {
|
|
|
602
583
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
603
584
|
var ReactPropTypes = {
|
|
604
585
|
array: createPrimitiveTypeChecker('array'),
|
|
605
|
-
bigint: createPrimitiveTypeChecker('bigint'),
|
|
606
586
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
607
587
|
func: createPrimitiveTypeChecker('function'),
|
|
608
588
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -648,9 +628,8 @@ function requireFactoryWithTypeCheckers () {
|
|
|
648
628
|
* is prohibitively expensive if they are created too often, such as what
|
|
649
629
|
* happens in oneOfType() for any type before the one that matched.
|
|
650
630
|
*/
|
|
651
|
-
function PropTypeError(message
|
|
631
|
+
function PropTypeError(message) {
|
|
652
632
|
this.message = message;
|
|
653
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
654
633
|
this.stack = '';
|
|
655
634
|
}
|
|
656
635
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -685,7 +664,7 @@ function requireFactoryWithTypeCheckers () {
|
|
|
685
664
|
) {
|
|
686
665
|
printWarning(
|
|
687
666
|
'You are manually calling a React.PropTypes validation ' +
|
|
688
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
667
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
689
668
|
'and will throw in the standalone `prop-types` package. ' +
|
|
690
669
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
691
670
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -724,10 +703,7 @@ function requireFactoryWithTypeCheckers () {
|
|
|
724
703
|
// 'of type `object`'.
|
|
725
704
|
var preciseType = getPreciseType(propValue);
|
|
726
705
|
|
|
727
|
-
return new PropTypeError(
|
|
728
|
-
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
729
|
-
{expectedType: expectedType}
|
|
730
|
-
);
|
|
706
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
|
|
731
707
|
}
|
|
732
708
|
return null;
|
|
733
709
|
}
|
|
@@ -871,19 +847,14 @@ function requireFactoryWithTypeCheckers () {
|
|
|
871
847
|
}
|
|
872
848
|
|
|
873
849
|
function validate(props, propName, componentName, location, propFullName) {
|
|
874
|
-
var expectedTypes = [];
|
|
875
850
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
876
851
|
var checker = arrayOfTypeCheckers[i];
|
|
877
|
-
|
|
878
|
-
if (checkerResult == null) {
|
|
852
|
+
if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {
|
|
879
853
|
return null;
|
|
880
854
|
}
|
|
881
|
-
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
882
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
|
883
|
-
}
|
|
884
855
|
}
|
|
885
|
-
|
|
886
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
856
|
+
|
|
857
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
|
|
887
858
|
}
|
|
888
859
|
return createChainableTypeChecker(validate);
|
|
889
860
|
}
|
|
@@ -898,13 +869,6 @@ function requireFactoryWithTypeCheckers () {
|
|
|
898
869
|
return createChainableTypeChecker(validate);
|
|
899
870
|
}
|
|
900
871
|
|
|
901
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
902
|
-
return new PropTypeError(
|
|
903
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
904
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
905
|
-
);
|
|
906
|
-
}
|
|
907
|
-
|
|
908
872
|
function createShapeTypeChecker(shapeTypes) {
|
|
909
873
|
function validate(props, propName, componentName, location, propFullName) {
|
|
910
874
|
var propValue = props[propName];
|
|
@@ -914,8 +878,8 @@ function requireFactoryWithTypeCheckers () {
|
|
|
914
878
|
}
|
|
915
879
|
for (var key in shapeTypes) {
|
|
916
880
|
var checker = shapeTypes[key];
|
|
917
|
-
if (
|
|
918
|
-
|
|
881
|
+
if (!checker) {
|
|
882
|
+
continue;
|
|
919
883
|
}
|
|
920
884
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
921
885
|
if (error) {
|
|
@@ -934,18 +898,16 @@ function requireFactoryWithTypeCheckers () {
|
|
|
934
898
|
if (propType !== 'object') {
|
|
935
899
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
936
900
|
}
|
|
937
|
-
// We need to check all keys in case some are required but missing from
|
|
901
|
+
// We need to check all keys in case some are required but missing from
|
|
902
|
+
// props.
|
|
938
903
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
939
904
|
for (var key in allKeys) {
|
|
940
905
|
var checker = shapeTypes[key];
|
|
941
|
-
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
942
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
943
|
-
}
|
|
944
906
|
if (!checker) {
|
|
945
907
|
return new PropTypeError(
|
|
946
908
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
947
909
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
948
|
-
'\nValid keys: ' +
|
|
910
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
949
911
|
);
|
|
950
912
|
}
|
|
951
913
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -1139,7 +1101,6 @@ function requireFactoryWithThrowingShims () {
|
|
|
1139
1101
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1140
1102
|
var ReactPropTypes = {
|
|
1141
1103
|
array: shim,
|
|
1142
|
-
bigint: shim,
|
|
1143
1104
|
bool: shim,
|
|
1144
1105
|
func: shim,
|
|
1145
1106
|
number: shim,
|
|
@@ -1189,3 +1150,5 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1189
1150
|
// http://fb.me/prop-types-in-prod
|
|
1190
1151
|
propTypes.exports = requireFactoryWithThrowingShims()();
|
|
1191
1152
|
}
|
|
1153
|
+
|
|
1154
|
+
exports.propTypes = propTypes;
|
package/lib/cjs/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var components_Notification_Notification = require('./components/Notification/No
|
|
|
26
26
|
var components_ReadMore_ReadMore = require('./components/ReadMore/ReadMore.js');
|
|
27
27
|
var components_Textarea_Textarea = require('./components/Textarea/Textarea.js');
|
|
28
28
|
var components_Callout_Callout = require('./components/Callout/Callout.js');
|
|
29
|
-
require('./Callout.
|
|
29
|
+
require('./components/Callout/index.js');
|
|
30
30
|
var components_Credit_Credit = require('./components/Credit/Credit.js');
|
|
31
31
|
var components_FileUpload_FileUpload = require('./components/FileUpload/FileUpload.js');
|
|
32
32
|
var components_Heading_Heading = require('./components/Heading/Heading.js');
|
|
@@ -59,18 +59,18 @@ require('./hooks/useGlobalSettings.js');
|
|
|
59
59
|
require('./AccordionCtx-fe08ff45.js');
|
|
60
60
|
require('@ilo-org/utils');
|
|
61
61
|
require('./utils/checkArrayDuplicates.js');
|
|
62
|
-
require('./index-
|
|
62
|
+
require('./index-0af02e81.js');
|
|
63
63
|
require('react-dom');
|
|
64
64
|
require('./utils/createChainedFunction.js');
|
|
65
65
|
require('./utils/getDefaultDimensionValue.js');
|
|
66
66
|
require('./css-9c93400b.js');
|
|
67
67
|
require('./utils/transitionEndListener.js');
|
|
68
68
|
require('./utils/triggerBrowserReflow.js');
|
|
69
|
+
require('@ilo-org/icons-react');
|
|
69
70
|
require('./components/Hero/HeroCard.js');
|
|
70
|
-
require('./VideoPlayer-
|
|
71
|
+
require('./VideoPlayer-d576de50.js');
|
|
71
72
|
require('./utils/hoursMinutesSeconds.js');
|
|
72
73
|
require('screenfull');
|
|
73
|
-
require('@ilo-org/icons-react');
|
|
74
74
|
require('./components/Logo/Logo.js');
|
|
75
75
|
require('./components/List/ListItem.js');
|
|
76
76
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import require$$0, { useState, createRef } from 'react';
|
|
3
|
-
import { p as
|
|
3
|
+
import { p as propTypes$1 } from './index-623ce3f5.js';
|
|
4
4
|
import { findDOMNode } from 'react-dom';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import useGlobalSettings from './hooks/useGlobalSettings.js';
|
|
@@ -14,16 +14,9 @@ function getDefaultExportFromCjs (x) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
function getAugmentedNamespace(n) {
|
|
17
|
-
if (n.__esModule) return n;
|
|
18
17
|
var f = n.default;
|
|
19
18
|
if (typeof f == "function") {
|
|
20
|
-
var a = function
|
|
21
|
-
if (this instanceof a) {
|
|
22
|
-
var args = [null];
|
|
23
|
-
args.push.apply(args, arguments);
|
|
24
|
-
var Ctor = Function.bind.apply(f, args);
|
|
25
|
-
return new Ctor();
|
|
26
|
-
}
|
|
19
|
+
var a = function () {
|
|
27
20
|
return f.apply(this, arguments);
|
|
28
21
|
};
|
|
29
22
|
a.prototype = f.prototype;
|
|
@@ -639,7 +632,7 @@ patterns.canPlay = canPlay;
|
|
|
639
632
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
640
633
|
return import(
|
|
641
634
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
642
|
-
'./YouTube-
|
|
635
|
+
'./YouTube-9fef7faa.js').then(function (n) { return n.Y; });
|
|
643
636
|
})
|
|
644
637
|
}, {
|
|
645
638
|
key: 'soundcloud',
|
|
@@ -648,7 +641,7 @@ patterns.canPlay = canPlay;
|
|
|
648
641
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
649
642
|
return import(
|
|
650
643
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
651
|
-
'./SoundCloud-
|
|
644
|
+
'./SoundCloud-0853e0b6.js').then(function (n) { return n.S; });
|
|
652
645
|
})
|
|
653
646
|
}, {
|
|
654
647
|
key: 'vimeo',
|
|
@@ -657,7 +650,7 @@ patterns.canPlay = canPlay;
|
|
|
657
650
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
658
651
|
return import(
|
|
659
652
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
660
|
-
'./Vimeo-
|
|
653
|
+
'./Vimeo-4dc64c92.js').then(function (n) { return n.V; });
|
|
661
654
|
})
|
|
662
655
|
}, {
|
|
663
656
|
key: 'facebook',
|
|
@@ -666,7 +659,7 @@ patterns.canPlay = canPlay;
|
|
|
666
659
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
667
660
|
return import(
|
|
668
661
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
669
|
-
'./Facebook-
|
|
662
|
+
'./Facebook-7abf2b6b.js').then(function (n) { return n.F; });
|
|
670
663
|
})
|
|
671
664
|
}, {
|
|
672
665
|
key: 'streamable',
|
|
@@ -675,7 +668,7 @@ patterns.canPlay = canPlay;
|
|
|
675
668
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
676
669
|
return import(
|
|
677
670
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
678
|
-
'./Streamable-
|
|
671
|
+
'./Streamable-da3fc8b6.js').then(function (n) { return n.S; });
|
|
679
672
|
})
|
|
680
673
|
}, {
|
|
681
674
|
key: 'wistia',
|
|
@@ -684,7 +677,7 @@ patterns.canPlay = canPlay;
|
|
|
684
677
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
685
678
|
return import(
|
|
686
679
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
687
|
-
'./Wistia-
|
|
680
|
+
'./Wistia-7f9e5ea3.js').then(function (n) { return n.W; });
|
|
688
681
|
})
|
|
689
682
|
}, {
|
|
690
683
|
key: 'twitch',
|
|
@@ -693,7 +686,7 @@ patterns.canPlay = canPlay;
|
|
|
693
686
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
694
687
|
return import(
|
|
695
688
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
696
|
-
'./Twitch-
|
|
689
|
+
'./Twitch-25eb6a7b.js').then(function (n) { return n.T; });
|
|
697
690
|
})
|
|
698
691
|
}, {
|
|
699
692
|
key: 'dailymotion',
|
|
@@ -702,7 +695,7 @@ patterns.canPlay = canPlay;
|
|
|
702
695
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
703
696
|
return import(
|
|
704
697
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
705
|
-
'./DailyMotion-
|
|
698
|
+
'./DailyMotion-89500a59.js').then(function (n) { return n.D; });
|
|
706
699
|
})
|
|
707
700
|
}, {
|
|
708
701
|
key: 'mixcloud',
|
|
@@ -711,7 +704,7 @@ patterns.canPlay = canPlay;
|
|
|
711
704
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
712
705
|
return import(
|
|
713
706
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
714
|
-
'./Mixcloud-
|
|
707
|
+
'./Mixcloud-a9c98513.js').then(function (n) { return n.M; });
|
|
715
708
|
})
|
|
716
709
|
}, {
|
|
717
710
|
key: 'vidyard',
|
|
@@ -720,7 +713,7 @@ patterns.canPlay = canPlay;
|
|
|
720
713
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
721
714
|
return import(
|
|
722
715
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
723
|
-
'./Vidyard-
|
|
716
|
+
'./Vidyard-7284e1ca.js').then(function (n) { return n.V; });
|
|
724
717
|
})
|
|
725
718
|
}, {
|
|
726
719
|
key: 'kaltura',
|
|
@@ -729,7 +722,7 @@ patterns.canPlay = canPlay;
|
|
|
729
722
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
730
723
|
return import(
|
|
731
724
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
732
|
-
'./Kaltura-
|
|
725
|
+
'./Kaltura-424e97bb.js').then(function (n) { return n.K; });
|
|
733
726
|
})
|
|
734
727
|
}, {
|
|
735
728
|
key: 'file',
|
|
@@ -741,7 +734,7 @@ patterns.canPlay = canPlay;
|
|
|
741
734
|
lazyPlayer: /*#__PURE__*/(0, _react.lazy)(function () {
|
|
742
735
|
return import(
|
|
743
736
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
744
|
-
'./FilePlayer-
|
|
737
|
+
'./FilePlayer-c5879d9f.js').then(function (n) { return n.F; });
|
|
745
738
|
})
|
|
746
739
|
}];
|
|
747
740
|
exports["default"] = _default;
|
|
@@ -951,7 +944,7 @@ Object.defineProperty(props, "__esModule", {
|
|
|
951
944
|
});
|
|
952
945
|
props.defaultProps = props.propTypes = void 0;
|
|
953
946
|
|
|
954
|
-
var _propTypes = _interopRequireDefault$1(
|
|
947
|
+
var _propTypes = _interopRequireDefault$1(propTypes$1.exports);
|
|
955
948
|
|
|
956
949
|
function _interopRequireDefault$1(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
957
950
|
|
|
@@ -1666,7 +1659,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
1666
1659
|
var Preview = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
1667
1660
|
return import(
|
|
1668
1661
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
1669
|
-
'./Preview-
|
|
1662
|
+
'./Preview-05e5eb47.js').then(function (n) { return n.P; });
|
|
1670
1663
|
});
|
|
1671
1664
|
var IS_BROWSER = typeof window !== 'undefined' && window.document;
|
|
1672
1665
|
var IS_GLOBAL = typeof commonjsGlobal !== 'undefined' && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-
|
|
1
|
+
import { g as getDefaultExportFromCjs, p as patterns, u as utils } from './VideoPlayer-a5fa87ce.js';
|
|
2
2
|
import require$$0 from 'react';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { default as Callout } from './Callout.js';
|
|
2
|
-
export { C as calloutArgs } from '../../Callout.args-3a0e0416.js';
|
|
3
2
|
import 'react/jsx-runtime';
|
|
4
3
|
import 'classnames';
|
|
5
4
|
import 'react';
|
|
@@ -10,3 +9,19 @@ import '../Button/Button.js';
|
|
|
10
9
|
import '../Link/Link.js';
|
|
11
10
|
import '../Icon/Icon.js';
|
|
12
11
|
import '@ilo-org/icons-react';
|
|
12
|
+
|
|
13
|
+
const baseArgs = {
|
|
14
|
+
copy: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
15
|
+
isCollapsible: false,
|
|
16
|
+
headline: "Info Callout",
|
|
17
|
+
type: "info",
|
|
18
|
+
};
|
|
19
|
+
const success = Object.assign(Object.assign({}, baseArgs), { type: "success", headline: "Success Callout" });
|
|
20
|
+
const warning = Object.assign(Object.assign({}, baseArgs), { type: "warning", headline: "Warning Callout" });
|
|
21
|
+
const error = Object.assign(Object.assign({}, baseArgs), { cta: {
|
|
22
|
+
label: "Optional CTA",
|
|
23
|
+
url: "http://www.google.com",
|
|
24
|
+
}, isCollapsible: true, isOpen: false, headline: "Error Callout (Collapsible)", toggleOpenLabel: "Open", toggleClosedLabel: "Closed", type: "error" });
|
|
25
|
+
const CalloutArgs = { baseArgs, success, warning, error };
|
|
26
|
+
|
|
27
|
+
export { CalloutArgs as calloutArgs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import Card from './Card.js';
|
|
1
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
3
|
import classNames from 'classnames';
|
|
3
4
|
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
4
|
-
import Card from './Card.js';
|
|
5
|
-
import 'tslib';
|
|
6
|
-
import 'react';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
5
|
import '../Link/Link.js';
|
|
6
|
+
import 'tslib';
|
|
9
7
|
import '../List/List.js';
|
|
8
|
+
import 'react';
|
|
10
9
|
import '../../ListCtx-da435fdf.js';
|
|
10
|
+
import '../../GlobalCtx-7fb23cfa.js';
|
|
11
11
|
import '../List/ListItem.js';
|
|
12
12
|
import '../LinkList/LinkList.js';
|
|
13
13
|
import '../Profile/Profile.js';
|