@mjhls/mjh-framework 1.0.861-dl-iframe-v1 → 1.0.861
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/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/AdSlot.js +2 -3
- package/dist/cjs/AdSlotsProvider.js +1 -2
- package/dist/cjs/AlgoliaSearch.js +17 -14090
- package/dist/cjs/AlphabeticList.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -6
- package/dist/cjs/ArticleSeriesListing.js +3 -4
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +6 -622
- package/dist/cjs/CMEDeck.js +1 -2
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +12 -13
- package/dist/cjs/DeckQueue.js +3 -4
- package/dist/cjs/{Dfp-391fd124.js → Dfp-0bf098b5.js} +1 -2
- package/dist/cjs/EventsDeck.js +19 -19
- package/dist/cjs/ExternalResources.js +6 -6
- package/dist/cjs/GridContent.js +5 -6
- package/dist/cjs/HamMagazine.js +9 -9
- package/dist/cjs/HorizontalArticleListing.js +5 -5
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +36 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +13 -14
- package/dist/cjs/MediaSeriesLanding.js +407 -462
- package/dist/cjs/NavMagazine.js +10 -10
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/PartnerDetailListing.js +1208 -11
- package/dist/cjs/PubSection.js +4 -5
- package/dist/cjs/PublicationLanding.js +27 -27
- package/dist/cjs/QueueDeckExpanded.js +4 -5
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-0d3bf265.js → SeriesSlider-60fa1342.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyCard.js +1 -1
- package/dist/cjs/TaxonomyDescription.js +5 -5
- package/dist/cjs/TemplateNormal.js +2 -3
- package/dist/cjs/VideoProgramLandingPage.js +5 -5
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +5 -6
- package/dist/cjs/VideoSeriesListing.js +3 -4
- package/dist/cjs/View.js +8 -8
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/{extends-0a918631.js → extends-60837c34.js} +0 -1
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +5 -5
- package/dist/cjs/{getTargeting-a9a871f0.js → getTargeting-3e45e4d4.js} +10 -10
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/{index-2cf30c83.js → index-44481153.js} +485 -39
- package/dist/cjs/{index-f83a102a.js → index-87d0db67.js} +8 -263
- package/dist/cjs/{index-6367b7bf.js → index-99edf08a.js} +16 -15
- package/dist/cjs/index.js +11 -12
- package/dist/cjs/{inherits-0c7830c5.js → inherits-87492b40.js} +0 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -3
- package/dist/esm/AD300x250x600.js +2 -3
- package/dist/esm/AD728x90.js +2 -3
- package/dist/esm/ADFloatingFooter.js +2 -3
- package/dist/esm/ADGutter.js +2 -3
- package/dist/esm/ADSkyscraper.js +2 -3
- package/dist/esm/ADSponsoredResources.js +2 -3
- package/dist/esm/ADWebcast.js +2 -3
- package/dist/esm/ADWelcome.js +2 -3
- package/dist/esm/AdSlot.js +2 -3
- package/dist/esm/AdSlotsProvider.js +1 -2
- package/dist/esm/AlgoliaSearch.js +16 -14089
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +5 -5
- package/dist/esm/ArticleSeriesLandingPage.js +5 -6
- package/dist/esm/ArticleSeriesListing.js +3 -4
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +5 -622
- package/dist/esm/CMEDeck.js +1 -2
- package/dist/esm/Column3.js +2 -3
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/DeckContent.js +12 -13
- package/dist/esm/DeckQueue.js +3 -4
- package/dist/esm/{Dfp-2f9796e1.js → Dfp-85c9513e.js} +1 -2
- package/dist/esm/EventsDeck.js +19 -19
- package/dist/esm/ExternalResources.js +6 -6
- package/dist/esm/GridContent.js +5 -6
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HorizontalArticleListing.js +5 -5
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +36 -36
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +2 -3
- package/dist/esm/MasterDeck.js +13 -14
- package/dist/esm/MediaSeriesLanding.js +132 -187
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/PartnerDetailListing.js +1207 -11
- package/dist/esm/PubSection.js +4 -5
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +4 -5
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +3 -4
- package/dist/esm/{SeriesSlider-7d89f4d9.js → SeriesSlider-05ecb544.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +5 -5
- package/dist/esm/TemplateNormal.js +2 -3
- package/dist/esm/VideoProgramLandingPage.js +5 -5
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +5 -6
- package/dist/esm/VideoSeriesListing.js +3 -4
- package/dist/esm/View.js +8 -8
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/{extends-6f2fcc99.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +5 -5
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-9cb7e014.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-f7fb1e25.js → index-1819118a.js} +484 -38
- package/dist/esm/{index-82fea143.js → index-20e503c9.js} +6 -262
- package/dist/esm/{index-c00b0bbb.js → index-fa2ffe86.js} +16 -15
- package/dist/esm/index.js +11 -12
- package/dist/esm/{inherits-75d45541.js → inherits-0d8cda6e.js} +1 -1
- package/package.json +110 -110
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-e2e62963.js +0 -89
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-aaa2dae0.js +0 -85
- /package/dist/cjs/{ADInfeed-25d48cc2.js → ADInfeed-ff26342c.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-a535a768.js → ADlgInfeed-ad4953d4.js} +0 -0
- /package/dist/esm/{ADInfeed-56a3db8b.js → ADInfeed-422ad6e6.js} +0 -0
- /package/dist/esm/{ADlgInfeed-53edb995.js → ADlgInfeed-f7468db8.js} +0 -0
|
@@ -6,16 +6,15 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import './toConsumableArray-43aa614d.js';
|
|
7
7
|
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends$1 } from './extends-
|
|
9
|
+
import { _ as _extends$1 } from './extends-eb69e8ac.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-0d8cda6e.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
14
|
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
16
|
import React, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
17
|
-
import './
|
|
18
|
-
import './index-f7fb1e25.js';
|
|
17
|
+
import './index-1819118a.js';
|
|
19
18
|
import PropTypes from 'prop-types';
|
|
20
19
|
import 'react-bootstrap/Container';
|
|
21
20
|
import 'react-bootstrap/Row';
|
|
@@ -40,9 +39,9 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1
|
|
|
40
39
|
import './Segment.js';
|
|
41
40
|
import './Beam.js';
|
|
42
41
|
import './AdSlot.js';
|
|
43
|
-
import './ADInfeed-
|
|
42
|
+
import './ADInfeed-422ad6e6.js';
|
|
44
43
|
import './lodash-ec8c6b48.js';
|
|
45
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-f7468db8.js';
|
|
46
45
|
import 'react-bootstrap/Button';
|
|
47
46
|
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
48
47
|
import './index-c7e2ac95.js';
|
|
@@ -51,7 +50,7 @@ import './GroupDeck.js';
|
|
|
51
50
|
import 'react-bootstrap';
|
|
52
51
|
import './iconBase-602d52fe.js';
|
|
53
52
|
import './index.esm-3fdda599.js';
|
|
54
|
-
import { g as getSerializers } from './index-
|
|
53
|
+
import { g as getSerializers } from './index-20e503c9.js';
|
|
55
54
|
import './util-7700fc59.js';
|
|
56
55
|
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
57
56
|
import 'next/head';
|
|
@@ -63,12 +62,94 @@ import 'react-bootstrap/Figure';
|
|
|
63
62
|
import 'react-bootstrap/OverlayTrigger';
|
|
64
63
|
import 'react-bootstrap/Tooltip';
|
|
65
64
|
import 'react-bootstrap/Popover';
|
|
65
|
+
import 'react-script-tag';
|
|
66
66
|
import MasterDeck from './MasterDeck.js';
|
|
67
67
|
import { _ as _defineProperty } from './defineProperty-94fd8bfc.js';
|
|
68
|
-
import { _ as _objectWithoutPropertiesLoose, a as _extends, c as classnames } from './index-aaa2dae0.js';
|
|
69
68
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
70
69
|
import Link from 'next/link';
|
|
71
70
|
|
|
71
|
+
function _extends() {
|
|
72
|
+
_extends = Object.assign || function (target) {
|
|
73
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
74
|
+
var source = arguments[i];
|
|
75
|
+
|
|
76
|
+
for (var key in source) {
|
|
77
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
78
|
+
target[key] = source[key];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return target;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
return _extends.apply(this, arguments);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
90
|
+
if (source == null) return {};
|
|
91
|
+
var target = {};
|
|
92
|
+
var sourceKeys = Object.keys(source);
|
|
93
|
+
var key, i;
|
|
94
|
+
|
|
95
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
96
|
+
key = sourceKeys[i];
|
|
97
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
98
|
+
target[key] = source[key];
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return target;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
var classnames = createCommonjsModule(function (module) {
|
|
105
|
+
/*!
|
|
106
|
+
Copyright (c) 2017 Jed Watson.
|
|
107
|
+
Licensed under the MIT License (MIT), see
|
|
108
|
+
http://jedwatson.github.io/classnames
|
|
109
|
+
*/
|
|
110
|
+
/* global define */
|
|
111
|
+
|
|
112
|
+
(function () {
|
|
113
|
+
|
|
114
|
+
var hasOwn = {}.hasOwnProperty;
|
|
115
|
+
|
|
116
|
+
function classNames () {
|
|
117
|
+
var classes = [];
|
|
118
|
+
|
|
119
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
120
|
+
var arg = arguments[i];
|
|
121
|
+
if (!arg) continue;
|
|
122
|
+
|
|
123
|
+
var argType = typeof arg;
|
|
124
|
+
|
|
125
|
+
if (argType === 'string' || argType === 'number') {
|
|
126
|
+
classes.push(arg);
|
|
127
|
+
} else if (Array.isArray(arg) && arg.length) {
|
|
128
|
+
var inner = classNames.apply(null, arg);
|
|
129
|
+
if (inner) {
|
|
130
|
+
classes.push(inner);
|
|
131
|
+
}
|
|
132
|
+
} else if (argType === 'object') {
|
|
133
|
+
for (var key in arg) {
|
|
134
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
135
|
+
classes.push(key);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
return classes.join(' ');
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if ( module.exports) {
|
|
145
|
+
classNames.default = classNames;
|
|
146
|
+
module.exports = classNames;
|
|
147
|
+
} else {
|
|
148
|
+
window.classNames = classNames;
|
|
149
|
+
}
|
|
150
|
+
}());
|
|
151
|
+
});
|
|
152
|
+
|
|
72
153
|
/**
|
|
73
154
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
74
155
|
*
|
|
@@ -1172,15 +1253,11 @@ var AccordionCollapse = React.forwardRef(function (_ref, ref) {
|
|
|
1172
1253
|
eventKey = _ref.eventKey,
|
|
1173
1254
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "eventKey"]);
|
|
1174
1255
|
|
|
1175
|
-
var contextEventKey = useContext(context);
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
return /*#__PURE__*/React.createElement(SelectableContext.Provider, {
|
|
1179
|
-
value: null
|
|
1180
|
-
}, /*#__PURE__*/React.createElement(Collapse, _extends({
|
|
1256
|
+
var contextEventKey = useContext(context);
|
|
1257
|
+
return /*#__PURE__*/React.createElement(Collapse, _extends({
|
|
1181
1258
|
ref: ref,
|
|
1182
1259
|
in: contextEventKey === eventKey
|
|
1183
|
-
}, props), /*#__PURE__*/React.createElement("div", null, React.Children.only(children)))
|
|
1260
|
+
}, props), /*#__PURE__*/React.createElement("div", null, React.Children.only(children)));
|
|
1184
1261
|
});
|
|
1185
1262
|
AccordionCollapse.displayName = 'AccordionCollapse';
|
|
1186
1263
|
|
|
@@ -1567,7 +1644,7 @@ var Button = React.forwardRef(function (_ref, ref) {
|
|
|
1567
1644
|
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "variant", "size", "active", "className", "block", "type", "as"]);
|
|
1568
1645
|
|
|
1569
1646
|
var prefix = useBootstrapPrefix(bsPrefix, 'btn');
|
|
1570
|
-
var classes = classnames(className, prefix, active && 'active',
|
|
1647
|
+
var classes = classnames(className, prefix, active && 'active', prefix + "-" + variant, block && prefix + "-block", size && prefix + "-" + size);
|
|
1571
1648
|
|
|
1572
1649
|
if (props.href) {
|
|
1573
1650
|
return /*#__PURE__*/React.createElement(SafeAnchor, _extends({}, props, {
|
|
@@ -1886,22 +1963,7 @@ function useTimeout() {
|
|
|
1886
1963
|
|
|
1887
1964
|
var CarouselCaption = createWithBsPrefix('carousel-caption');
|
|
1888
1965
|
|
|
1889
|
-
var CarouselItem =
|
|
1890
|
-
var _ref$as = _ref.as,
|
|
1891
|
-
Component = _ref$as === void 0 ? 'div' : _ref$as,
|
|
1892
|
-
bsPrefix = _ref.bsPrefix,
|
|
1893
|
-
children = _ref.children,
|
|
1894
|
-
className = _ref.className,
|
|
1895
|
-
props = _objectWithoutPropertiesLoose(_ref, ["as", "bsPrefix", "children", "className"]);
|
|
1896
|
-
|
|
1897
|
-
var finalClassName = classnames(className, useBootstrapPrefix(bsPrefix, 'carousel-item'));
|
|
1898
|
-
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
1899
|
-
ref: ref
|
|
1900
|
-
}, props, {
|
|
1901
|
-
className: finalClassName
|
|
1902
|
-
}), children);
|
|
1903
|
-
});
|
|
1904
|
-
CarouselItem.displayName = 'CarouselItem';
|
|
1966
|
+
var CarouselItem = createWithBsPrefix('carousel-item');
|
|
1905
1967
|
|
|
1906
1968
|
/**
|
|
1907
1969
|
* Iterates through children that are typically specified as `props.children`,
|
|
@@ -1918,20 +1980,6 @@ function map(children, func) {
|
|
|
1918
1980
|
return React.isValidElement(child) ? func(child, index++) : child;
|
|
1919
1981
|
});
|
|
1920
1982
|
}
|
|
1921
|
-
/**
|
|
1922
|
-
* Iterates through children that are "valid elements".
|
|
1923
|
-
*
|
|
1924
|
-
* The provided forEachFunc(child, index) will be called for each
|
|
1925
|
-
* leaf child with the index reflecting the position relative to "valid components".
|
|
1926
|
-
*/
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
function forEach(children, func) {
|
|
1930
|
-
var index = 0;
|
|
1931
|
-
React.Children.forEach(children, function (child) {
|
|
1932
|
-
if (React.isValidElement(child)) func(child, index++);
|
|
1933
|
-
});
|
|
1934
|
-
}
|
|
1935
1983
|
|
|
1936
1984
|
var SWIPE_THRESHOLD = 40;
|
|
1937
1985
|
var propTypes$1 = {
|
|
@@ -2120,6 +2168,7 @@ function CarouselFunc(uncontrolledProps, ref) {
|
|
|
2120
2168
|
if (!isSliding && activeIndex !== renderedActiveIndex) {
|
|
2121
2169
|
if (nextDirectionRef.current) {
|
|
2122
2170
|
setDirection(nextDirectionRef.current);
|
|
2171
|
+
nextDirectionRef.current = null;
|
|
2123
2172
|
} else {
|
|
2124
2173
|
setDirection((activeIndex || 0) > renderedActiveIndex ? 'next' : 'prev');
|
|
2125
2174
|
}
|
|
@@ -2131,23 +2180,7 @@ function CarouselFunc(uncontrolledProps, ref) {
|
|
|
2131
2180
|
setRenderedActiveIndex(activeIndex || 0);
|
|
2132
2181
|
}
|
|
2133
2182
|
|
|
2134
|
-
|
|
2135
|
-
if (nextDirectionRef.current) {
|
|
2136
|
-
nextDirectionRef.current = null;
|
|
2137
|
-
}
|
|
2138
|
-
});
|
|
2139
|
-
var numChildren = 0;
|
|
2140
|
-
var activeChildInterval; // Iterate to grab all of the children's interval values
|
|
2141
|
-
// (and count them, too)
|
|
2142
|
-
|
|
2143
|
-
forEach(children, function (child, index) {
|
|
2144
|
-
++numChildren;
|
|
2145
|
-
|
|
2146
|
-
if (index === activeIndex) {
|
|
2147
|
-
activeChildInterval = child.props.interval;
|
|
2148
|
-
}
|
|
2149
|
-
});
|
|
2150
|
-
var activeChildIntervalRef = useCommittedRef(activeChildInterval);
|
|
2183
|
+
var numChildren = React.Children.toArray(children).filter(React.isValidElement).length;
|
|
2151
2184
|
var prev = useCallback(function (event) {
|
|
2152
2185
|
if (isSliding) {
|
|
2153
2186
|
return;
|
|
@@ -2333,19 +2366,17 @@ function CarouselFunc(uncontrolledProps, ref) {
|
|
|
2333
2366
|
var shouldPlay = interval != null && !pausedOnHover && !pausedOnTouch && !isSliding;
|
|
2334
2367
|
var intervalHandleRef = useRef();
|
|
2335
2368
|
useEffect(function () {
|
|
2336
|
-
var _ref, _activeChildIntervalR;
|
|
2337
|
-
|
|
2338
2369
|
if (!shouldPlay) {
|
|
2339
2370
|
return undefined;
|
|
2340
2371
|
}
|
|
2341
2372
|
|
|
2342
|
-
intervalHandleRef.current = window.setInterval(document.visibilityState ? nextWhenVisible : next,
|
|
2373
|
+
intervalHandleRef.current = window.setInterval(document.visibilityState ? nextWhenVisible : next, interval || undefined);
|
|
2343
2374
|
return function () {
|
|
2344
2375
|
if (intervalHandleRef.current !== null) {
|
|
2345
2376
|
clearInterval(intervalHandleRef.current);
|
|
2346
2377
|
}
|
|
2347
2378
|
};
|
|
2348
|
-
}, [shouldPlay, next,
|
|
2379
|
+
}, [shouldPlay, next, interval, nextWhenVisible]);
|
|
2349
2380
|
var indicatorOnClicks = useMemo(function () {
|
|
2350
2381
|
return indicators && Array.from({
|
|
2351
2382
|
length: numChildren
|
|
@@ -2657,7 +2688,7 @@ function contains(parent, child) {
|
|
|
2657
2688
|
if (parent.contains(child)) {
|
|
2658
2689
|
return true;
|
|
2659
2690
|
} // then fallback to custom implementation with Shadow DOM support
|
|
2660
|
-
else if (
|
|
2691
|
+
else if (isShadowRoot(rootNode)) {
|
|
2661
2692
|
var next = child;
|
|
2662
2693
|
|
|
2663
2694
|
do {
|
|
@@ -4367,11 +4398,6 @@ var ariaDescribedByModifier = {
|
|
|
4367
4398
|
|
|
4368
4399
|
if (popper.id && role === 'tooltip' && 'setAttribute' in reference) {
|
|
4369
4400
|
var ids = reference.getAttribute('aria-describedby');
|
|
4370
|
-
|
|
4371
|
-
if (ids && ids.split(',').indexOf(popper.id) !== -1) {
|
|
4372
|
-
return;
|
|
4373
|
-
}
|
|
4374
|
-
|
|
4375
4401
|
reference.setAttribute('aria-describedby', ids ? ids + "," + popper.id : popper.id);
|
|
4376
4402
|
}
|
|
4377
4403
|
}
|
|
@@ -4627,33 +4653,14 @@ function useRootClose(ref, onRootClose, _temp) {
|
|
|
4627
4653
|
}
|
|
4628
4654
|
});
|
|
4629
4655
|
useEffect(function () {
|
|
4630
|
-
if (disabled || ref == null) return undefined;
|
|
4631
|
-
// https://github.com/facebook/react/issues/20074
|
|
4632
|
-
|
|
4633
|
-
var currentEvent = window.event;
|
|
4656
|
+
if (disabled || ref == null) return undefined;
|
|
4634
4657
|
var doc = ownerDocument$1(getRefTarget(ref)); // Use capture for this listener so it fires before React's listener, to
|
|
4635
4658
|
// avoid false positives in the contains() check below if the target DOM
|
|
4636
4659
|
// element is removed in the React mouse callback.
|
|
4637
4660
|
|
|
4638
4661
|
var removeMouseCaptureListener = listen(doc, clickTrigger, handleMouseCapture, true);
|
|
4639
|
-
var removeMouseListener = listen(doc, clickTrigger,
|
|
4640
|
-
|
|
4641
|
-
if (e === currentEvent) {
|
|
4642
|
-
currentEvent = undefined;
|
|
4643
|
-
return;
|
|
4644
|
-
}
|
|
4645
|
-
|
|
4646
|
-
handleMouse(e);
|
|
4647
|
-
});
|
|
4648
|
-
var removeKeyupListener = listen(doc, 'keyup', function (e) {
|
|
4649
|
-
// skip if this event is the same as the one running when we added the handlers
|
|
4650
|
-
if (e === currentEvent) {
|
|
4651
|
-
currentEvent = undefined;
|
|
4652
|
-
return;
|
|
4653
|
-
}
|
|
4654
|
-
|
|
4655
|
-
handleKeyUp(e);
|
|
4656
|
-
});
|
|
4662
|
+
var removeMouseListener = listen(doc, clickTrigger, handleMouse);
|
|
4663
|
+
var removeKeyupListener = listen(doc, 'keyup', handleKeyUp);
|
|
4657
4664
|
var mobileSafariHackListeners = [];
|
|
4658
4665
|
|
|
4659
4666
|
if ('ontouchstart' in doc.documentElement) {
|
|
@@ -5234,10 +5241,9 @@ var DropdownItem = React.forwardRef(function (_ref, ref) {
|
|
|
5234
5241
|
var navContext = useContext(NavContext);
|
|
5235
5242
|
|
|
5236
5243
|
var _ref2 = navContext || {},
|
|
5237
|
-
activeKey = _ref2.activeKey;
|
|
5244
|
+
activeKey = _ref2.activeKey;
|
|
5238
5245
|
|
|
5239
|
-
|
|
5240
|
-
var key = makeEventKey(eventKey, href);
|
|
5246
|
+
var key = makeEventKey(eventKey || null, href);
|
|
5241
5247
|
var active = propActive == null && key != null ? makeEventKey(activeKey) === key : propActive;
|
|
5242
5248
|
var handleClick = useEventCallback(function (event) {
|
|
5243
5249
|
// SafeAnchor handles the disabled case, but we handle it here
|
|
@@ -5336,14 +5342,12 @@ function getMargins(element) {
|
|
|
5336
5342
|
function usePopperMarginModifiers() {
|
|
5337
5343
|
var overlayRef = useRef(null);
|
|
5338
5344
|
var margins = useRef(null);
|
|
5339
|
-
var popoverClass = useBootstrapPrefix(undefined, 'popover');
|
|
5340
|
-
var dropdownMenuClass = useBootstrapPrefix(undefined, 'dropdown-menu');
|
|
5341
5345
|
var callback = useCallback(function (overlay) {
|
|
5342
|
-
if (!overlay || !(hasClass(overlay,
|
|
5346
|
+
if (!overlay || !(hasClass(overlay, 'popover') || hasClass(overlay, 'dropdown-menu'))) return;
|
|
5343
5347
|
margins.current = getMargins(overlay);
|
|
5344
5348
|
overlay.style.margin = '0';
|
|
5345
5349
|
overlayRef.current = overlay;
|
|
5346
|
-
}, [
|
|
5350
|
+
}, []);
|
|
5347
5351
|
var offset = useMemo(function () {
|
|
5348
5352
|
return {
|
|
5349
5353
|
name: 'offset',
|
|
@@ -5387,7 +5391,7 @@ function usePopperMarginModifiers() {
|
|
|
5387
5391
|
effect: function effect(_ref2) {
|
|
5388
5392
|
var state = _ref2.state;
|
|
5389
5393
|
|
|
5390
|
-
if (!overlayRef.current || !state.elements.arrow || !hasClass(overlayRef.current,
|
|
5394
|
+
if (!overlayRef.current || !state.elements.arrow || !hasClass(overlayRef.current, 'popover') || !state.modifiersData['arrow#persistent']) {
|
|
5391
5395
|
return undefined;
|
|
5392
5396
|
}
|
|
5393
5397
|
|
|
@@ -5408,22 +5412,11 @@ function usePopperMarginModifiers() {
|
|
|
5408
5412
|
};
|
|
5409
5413
|
}
|
|
5410
5414
|
};
|
|
5411
|
-
}, [
|
|
5415
|
+
}, []);
|
|
5412
5416
|
return [callback, [offset, popoverArrowMargins]];
|
|
5413
5417
|
}
|
|
5414
5418
|
|
|
5415
|
-
var alignDirection = PropTypes.oneOf(['left', 'right']);
|
|
5416
|
-
var alignPropType = PropTypes.oneOfType([alignDirection, PropTypes.shape({
|
|
5417
|
-
sm: alignDirection
|
|
5418
|
-
}), PropTypes.shape({
|
|
5419
|
-
md: alignDirection
|
|
5420
|
-
}), PropTypes.shape({
|
|
5421
|
-
lg: alignDirection
|
|
5422
|
-
}), PropTypes.shape({
|
|
5423
|
-
xl: alignDirection
|
|
5424
|
-
})]);
|
|
5425
5419
|
var defaultProps$f = {
|
|
5426
|
-
align: 'left',
|
|
5427
5420
|
alignRight: false,
|
|
5428
5421
|
flip: true
|
|
5429
5422
|
}; // TODO: remove this hack
|
|
@@ -5431,7 +5424,6 @@ var defaultProps$f = {
|
|
|
5431
5424
|
var DropdownMenu$1 = React.forwardRef(function (_ref, ref) {
|
|
5432
5425
|
var bsPrefix = _ref.bsPrefix,
|
|
5433
5426
|
className = _ref.className,
|
|
5434
|
-
align = _ref.align,
|
|
5435
5427
|
alignRight = _ref.alignRight,
|
|
5436
5428
|
rootCloseEvent = _ref.rootCloseEvent,
|
|
5437
5429
|
flip = _ref.flip,
|
|
@@ -5440,7 +5432,7 @@ var DropdownMenu$1 = React.forwardRef(function (_ref, ref) {
|
|
|
5440
5432
|
_ref$as = _ref.as,
|
|
5441
5433
|
Component = _ref$as === void 0 ? 'div' : _ref$as,
|
|
5442
5434
|
popperConfig = _ref.popperConfig,
|
|
5443
|
-
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "
|
|
5435
|
+
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "alignRight", "rootCloseEvent", "flip", "show", "renderOnMount", "as", "popperConfig"]);
|
|
5444
5436
|
|
|
5445
5437
|
var isNavbar = useContext(context$2);
|
|
5446
5438
|
var prefix = useBootstrapPrefix(bsPrefix, 'dropdown-menu');
|
|
@@ -5449,33 +5441,12 @@ var DropdownMenu$1 = React.forwardRef(function (_ref, ref) {
|
|
|
5449
5441
|
popperRef = _usePopperMarginModif[0],
|
|
5450
5442
|
marginModifiers = _usePopperMarginModif[1];
|
|
5451
5443
|
|
|
5452
|
-
var alignClasses = [];
|
|
5453
|
-
|
|
5454
|
-
if (align) {
|
|
5455
|
-
if (typeof align === 'object') {
|
|
5456
|
-
var keys = Object.keys(align);
|
|
5457
|
-
process.env.NODE_ENV !== "production" ? warning_1(keys.length === 1, 'There should only be 1 breakpoint when passing an object to `align`') : void 0;
|
|
5458
|
-
|
|
5459
|
-
if (keys.length) {
|
|
5460
|
-
var brkPoint = keys[0];
|
|
5461
|
-
var direction = align[brkPoint]; // .dropdown-menu-right is required for responsively aligning
|
|
5462
|
-
// left in addition to align left classes.
|
|
5463
|
-
// Reuse alignRight to toggle the class below.
|
|
5464
|
-
|
|
5465
|
-
alignRight = direction === 'left';
|
|
5466
|
-
alignClasses.push(prefix + "-" + brkPoint + "-" + direction);
|
|
5467
|
-
}
|
|
5468
|
-
} else if (align === 'right') {
|
|
5469
|
-
alignRight = true;
|
|
5470
|
-
}
|
|
5471
|
-
}
|
|
5472
|
-
|
|
5473
5444
|
var _ref2 = useDropdownMenu({
|
|
5474
5445
|
flip: flip,
|
|
5475
5446
|
rootCloseEvent: rootCloseEvent,
|
|
5476
5447
|
show: showProps,
|
|
5477
5448
|
alignEnd: alignRight,
|
|
5478
|
-
usePopper: !isNavbar
|
|
5449
|
+
usePopper: !isNavbar,
|
|
5479
5450
|
popperConfig: _extends({}, popperConfig, {
|
|
5480
5451
|
modifiers: marginModifiers.concat((popperConfig == null ? void 0 : popperConfig.modifiers) || [])
|
|
5481
5452
|
})
|
|
@@ -5504,7 +5475,7 @@ var DropdownMenu$1 = React.forwardRef(function (_ref, ref) {
|
|
|
5504
5475
|
}
|
|
5505
5476
|
|
|
5506
5477
|
return /*#__PURE__*/React.createElement(Component, _extends({}, props, menuProps, {
|
|
5507
|
-
className: classnames
|
|
5478
|
+
className: classnames(className, prefix, show && 'show', alignEnd && prefix + "-right")
|
|
5508
5479
|
}));
|
|
5509
5480
|
});
|
|
5510
5481
|
DropdownMenu$1.displayName = 'DropdownMenu';
|
|
@@ -5541,10 +5512,11 @@ var DropdownToggle$1 = React.forwardRef(function (_ref, ref) {
|
|
|
5541
5512
|
var bsPrefix = _ref.bsPrefix,
|
|
5542
5513
|
split = _ref.split,
|
|
5543
5514
|
className = _ref.className,
|
|
5515
|
+
children = _ref.children,
|
|
5544
5516
|
childBsPrefix = _ref.childBsPrefix,
|
|
5545
5517
|
_ref$as = _ref.as,
|
|
5546
5518
|
Component = _ref$as === void 0 ? Button : _ref$as,
|
|
5547
|
-
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "split", "className", "childBsPrefix", "as"]);
|
|
5519
|
+
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "split", "className", "children", "childBsPrefix", "as"]);
|
|
5548
5520
|
|
|
5549
5521
|
var prefix = useBootstrapPrefix(bsPrefix, 'dropdown-toggle');
|
|
5550
5522
|
|
|
@@ -5562,7 +5534,7 @@ var DropdownToggle$1 = React.forwardRef(function (_ref, ref) {
|
|
|
5562
5534
|
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
5563
5535
|
onClick: toggle,
|
|
5564
5536
|
className: classnames(className, prefix, split && prefix + "-split")
|
|
5565
|
-
}, toggleProps, props));
|
|
5537
|
+
}, toggleProps, props), children);
|
|
5566
5538
|
});
|
|
5567
5539
|
DropdownToggle$1.displayName = 'DropdownToggle';
|
|
5568
5540
|
|
|
@@ -5665,15 +5637,6 @@ var propTypes$5 = {
|
|
|
5665
5637
|
/** Disables both Buttons */
|
|
5666
5638
|
disabled: PropTypes.bool,
|
|
5667
5639
|
|
|
5668
|
-
/**
|
|
5669
|
-
* Aligns the dropdown menu responsively.
|
|
5670
|
-
*
|
|
5671
|
-
* _see [DropdownMenu](#dropdown-menu-props) for more details_
|
|
5672
|
-
*
|
|
5673
|
-
* @type {"left"|"right"|{ sm: "left"|"right" }|{ md: "left"|"right" }|{ lg: "left"|"right" }|{ xl: "left"|"right"} }
|
|
5674
|
-
*/
|
|
5675
|
-
menuAlign: alignPropType,
|
|
5676
|
-
|
|
5677
5640
|
/** An ARIA accessible role applied to the Menu component. When set to 'menu', The dropdown */
|
|
5678
5641
|
menuRole: PropTypes.string,
|
|
5679
5642
|
|
|
@@ -5683,7 +5646,7 @@ var propTypes$5 = {
|
|
|
5683
5646
|
/**
|
|
5684
5647
|
* Which event when fired outside the component will cause it to be closed.
|
|
5685
5648
|
*
|
|
5686
|
-
* _see [DropdownMenu](#
|
|
5649
|
+
* _see [DropdownMenu](#menu-props) for more details_
|
|
5687
5650
|
*/
|
|
5688
5651
|
rootCloseEvent: PropTypes.string,
|
|
5689
5652
|
|
|
@@ -5712,13 +5675,12 @@ var DropdownButton = React.forwardRef(function (_ref, ref) {
|
|
|
5712
5675
|
rootCloseEvent = _ref.rootCloseEvent,
|
|
5713
5676
|
variant = _ref.variant,
|
|
5714
5677
|
size = _ref.size,
|
|
5715
|
-
menuAlign = _ref.menuAlign,
|
|
5716
5678
|
menuRole = _ref.menuRole,
|
|
5717
5679
|
renderMenuOnMount = _ref.renderMenuOnMount,
|
|
5718
5680
|
disabled = _ref.disabled,
|
|
5719
5681
|
href = _ref.href,
|
|
5720
5682
|
id = _ref.id,
|
|
5721
|
-
props = _objectWithoutPropertiesLoose(_ref, ["title", "children", "bsPrefix", "rootCloseEvent", "variant", "size", "
|
|
5683
|
+
props = _objectWithoutPropertiesLoose(_ref, ["title", "children", "bsPrefix", "rootCloseEvent", "variant", "size", "menuRole", "renderMenuOnMount", "disabled", "href", "id"]);
|
|
5722
5684
|
|
|
5723
5685
|
return /*#__PURE__*/React.createElement(Dropdown$1, _extends({
|
|
5724
5686
|
ref: ref
|
|
@@ -5730,7 +5692,6 @@ var DropdownButton = React.forwardRef(function (_ref, ref) {
|
|
|
5730
5692
|
disabled: disabled,
|
|
5731
5693
|
childBsPrefix: bsPrefix
|
|
5732
5694
|
}, title), /*#__PURE__*/React.createElement(DropdownMenu$1, {
|
|
5733
|
-
align: menuAlign,
|
|
5734
5695
|
role: menuRole,
|
|
5735
5696
|
renderOnMount: renderMenuOnMount,
|
|
5736
5697
|
rootCloseEvent: rootCloseEvent
|
|
@@ -5970,7 +5931,7 @@ var FormCheck = React.forwardRef(function (_ref, ref) {
|
|
|
5970
5931
|
custom: custom
|
|
5971
5932
|
};
|
|
5972
5933
|
}, [controlId, custom, id]);
|
|
5973
|
-
var hasLabel =
|
|
5934
|
+
var hasLabel = label != null && label !== false && !children;
|
|
5974
5935
|
var input = /*#__PURE__*/React.createElement(FormCheckInput, _extends({}, props, {
|
|
5975
5936
|
type: type === 'switch' ? 'checkbox' : type,
|
|
5976
5937
|
ref: ref,
|
|
@@ -6230,7 +6191,7 @@ var FormLabel = React.forwardRef(function (_ref, ref) {
|
|
|
6230
6191
|
|
|
6231
6192
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'form-label');
|
|
6232
6193
|
var columnClass = 'col-form-label';
|
|
6233
|
-
if (typeof column === 'string') columnClass = columnClass + "
|
|
6194
|
+
if (typeof column === 'string') columnClass = columnClass + "-" + column;
|
|
6234
6195
|
var classes = classnames(className, bsPrefix, srOnly && 'sr-only', column && columnClass);
|
|
6235
6196
|
process.env.NODE_ENV !== "production" ? warning_1(controlId == null || !htmlFor, '`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified.') : void 0;
|
|
6236
6197
|
htmlFor = htmlFor || controlId;
|
|
@@ -6667,8 +6628,7 @@ var ListGroupItem = React.forwardRef(function (_ref, ref) {
|
|
|
6667
6628
|
return /*#__PURE__*/React.createElement(AbstractNavItem, _extends({
|
|
6668
6629
|
ref: ref
|
|
6669
6630
|
}, props, {
|
|
6670
|
-
|
|
6671
|
-
eventKey: makeEventKey(eventKey, props.href) // eslint-disable-next-line no-nested-ternary
|
|
6631
|
+
eventKey: makeEventKey(eventKey || null, props.href) // eslint-disable-next-line no-nested-ternary
|
|
6672
6632
|
,
|
|
6673
6633
|
as: as || (action ? props.href ? 'a' : 'button' : 'div'),
|
|
6674
6634
|
onClick: handleClick,
|
|
@@ -7553,12 +7513,11 @@ var ModalContext = React.createContext({
|
|
|
7553
7513
|
var ModalDialog = React.forwardRef(function (_ref, ref) {
|
|
7554
7514
|
var bsPrefix = _ref.bsPrefix,
|
|
7555
7515
|
className = _ref.className,
|
|
7556
|
-
contentClassName = _ref.contentClassName,
|
|
7557
7516
|
centered = _ref.centered,
|
|
7558
7517
|
size = _ref.size,
|
|
7559
7518
|
children = _ref.children,
|
|
7560
7519
|
scrollable = _ref.scrollable,
|
|
7561
|
-
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "
|
|
7520
|
+
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "centered", "size", "children", "scrollable"]);
|
|
7562
7521
|
|
|
7563
7522
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'modal');
|
|
7564
7523
|
var dialogClass = bsPrefix + "-dialog";
|
|
@@ -7566,7 +7525,7 @@ var ModalDialog = React.forwardRef(function (_ref, ref) {
|
|
|
7566
7525
|
ref: ref,
|
|
7567
7526
|
className: classnames(dialogClass, className, size && bsPrefix + "-" + size, centered && dialogClass + "-centered", scrollable && dialogClass + "-scrollable")
|
|
7568
7527
|
}), /*#__PURE__*/React.createElement("div", {
|
|
7569
|
-
className:
|
|
7528
|
+
className: bsPrefix + "-content"
|
|
7570
7529
|
}, children));
|
|
7571
7530
|
});
|
|
7572
7531
|
ModalDialog.displayName = 'ModalDialog';
|
|
@@ -7637,7 +7596,6 @@ var Modal$1 = React.forwardRef(function (_ref, ref) {
|
|
|
7637
7596
|
className = _ref.className,
|
|
7638
7597
|
style = _ref.style,
|
|
7639
7598
|
dialogClassName = _ref.dialogClassName,
|
|
7640
|
-
contentClassName = _ref.contentClassName,
|
|
7641
7599
|
children = _ref.children,
|
|
7642
7600
|
Dialog = _ref.dialogAs,
|
|
7643
7601
|
ariaLabelledby = _ref['aria-labelledby'],
|
|
@@ -7661,7 +7619,7 @@ var Modal$1 = React.forwardRef(function (_ref, ref) {
|
|
|
7661
7619
|
onExited = _ref.onExited,
|
|
7662
7620
|
backdropClassName = _ref.backdropClassName,
|
|
7663
7621
|
propsManager = _ref.manager,
|
|
7664
|
-
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "style", "dialogClassName", "
|
|
7622
|
+
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "style", "dialogClassName", "children", "dialogAs", "aria-labelledby", "show", "animation", "backdrop", "keyboard", "onEscapeKeyDown", "onShow", "onHide", "container", "autoFocus", "enforceFocus", "restoreFocus", "restoreFocusOptions", "onEntered", "onExit", "onExiting", "onEnter", "onEntering", "onExited", "backdropClassName", "manager"]);
|
|
7665
7623
|
|
|
7666
7624
|
var _useState = useState({}),
|
|
7667
7625
|
modalStyle = _useState[0],
|
|
@@ -7851,8 +7809,7 @@ var Modal$1 = React.forwardRef(function (_ref, ref) {
|
|
|
7851
7809
|
}), /*#__PURE__*/React.createElement(Dialog, _extends({}, props, {
|
|
7852
7810
|
role: "document",
|
|
7853
7811
|
onMouseDown: handleDialogMouseDown,
|
|
7854
|
-
className: dialogClassName
|
|
7855
|
-
contentClassName: contentClassName
|
|
7812
|
+
className: dialogClassName
|
|
7856
7813
|
}), children));
|
|
7857
7814
|
};
|
|
7858
7815
|
|
|
@@ -8820,15 +8777,6 @@ var propTypes$a = {
|
|
|
8820
8777
|
/** Disables both Buttons */
|
|
8821
8778
|
disabled: PropTypes.bool,
|
|
8822
8779
|
|
|
8823
|
-
/**
|
|
8824
|
-
* Aligns the dropdown menu responsively.
|
|
8825
|
-
*
|
|
8826
|
-
* _see [DropdownMenu](#dropdown-menu-props) for more details_
|
|
8827
|
-
*
|
|
8828
|
-
* @type {"left"|"right"|{ sm: "left"|"right" }|{ md: "left"|"right" }|{ lg: "left"|"right" }|{ xl: "left"|"right"} }
|
|
8829
|
-
*/
|
|
8830
|
-
menuAlign: alignPropType,
|
|
8831
|
-
|
|
8832
8780
|
/** An ARIA accessible role applied to the Menu component. When set to 'menu', The dropdown */
|
|
8833
8781
|
menuRole: PropTypes.string,
|
|
8834
8782
|
|
|
@@ -8838,7 +8786,7 @@ var propTypes$a = {
|
|
|
8838
8786
|
/**
|
|
8839
8787
|
* Which event when fired outside the component will cause it to be closed.
|
|
8840
8788
|
*
|
|
8841
|
-
* _see [DropdownMenu](#
|
|
8789
|
+
* _see [DropdownMenu](#menu-props) for more details_
|
|
8842
8790
|
*/
|
|
8843
8791
|
rootCloseEvent: PropTypes.string,
|
|
8844
8792
|
|
|
@@ -8867,11 +8815,10 @@ var SplitButton = React.forwardRef(function (_ref, ref) {
|
|
|
8867
8815
|
onClick = _ref.onClick,
|
|
8868
8816
|
href = _ref.href,
|
|
8869
8817
|
target = _ref.target,
|
|
8870
|
-
menuAlign = _ref.menuAlign,
|
|
8871
8818
|
menuRole = _ref.menuRole,
|
|
8872
8819
|
renderMenuOnMount = _ref.renderMenuOnMount,
|
|
8873
8820
|
rootCloseEvent = _ref.rootCloseEvent,
|
|
8874
|
-
props = _objectWithoutPropertiesLoose(_ref, ["id", "bsPrefix", "size", "variant", "title", "type", "toggleLabel", "children", "onClick", "href", "target", "
|
|
8821
|
+
props = _objectWithoutPropertiesLoose(_ref, ["id", "bsPrefix", "size", "variant", "title", "type", "toggleLabel", "children", "onClick", "href", "target", "menuRole", "renderMenuOnMount", "rootCloseEvent"]);
|
|
8875
8822
|
|
|
8876
8823
|
return /*#__PURE__*/React.createElement(Dropdown$1, _extends({
|
|
8877
8824
|
ref: ref
|
|
@@ -8896,7 +8843,6 @@ var SplitButton = React.forwardRef(function (_ref, ref) {
|
|
|
8896
8843
|
}, /*#__PURE__*/React.createElement("span", {
|
|
8897
8844
|
className: "sr-only"
|
|
8898
8845
|
}, toggleLabel)), /*#__PURE__*/React.createElement(Dropdown$1.Menu, {
|
|
8899
|
-
align: menuAlign,
|
|
8900
8846
|
role: menuRole,
|
|
8901
8847
|
renderOnMount: renderMenuOnMount,
|
|
8902
8848
|
rootCloseEvent: rootCloseEvent
|
|
@@ -9238,8 +9184,7 @@ var ToggleButton = React.forwardRef(function (_ref, ref) {
|
|
|
9238
9184
|
ToggleButton.displayName = 'ToggleButton';
|
|
9239
9185
|
|
|
9240
9186
|
var defaultProps$D = {
|
|
9241
|
-
type: 'radio'
|
|
9242
|
-
vertical: false
|
|
9187
|
+
type: 'radio'
|
|
9243
9188
|
};
|
|
9244
9189
|
var ToggleButtonGroup = React.forwardRef(function (props, ref) {
|
|
9245
9190
|
var _useUncontrolled = useUncontrolled(props, {
|
|
@@ -9337,7 +9282,7 @@ var Tooltip = React.forwardRef(function (_ref, ref) {
|
|
|
9337
9282
|
Tooltip.defaultProps = defaultProps$E;
|
|
9338
9283
|
Tooltip.displayName = 'Tooltip';
|
|
9339
9284
|
|
|
9340
|
-
var css = ".MediaSeriesCard-module_article__SAFYK {\
|
|
9285
|
+
var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
|
|
9341
9286
|
var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
|
|
9342
9287
|
styleInject(css);
|
|
9343
9288
|
|
|
@@ -9424,11 +9369,11 @@ var Filter = function Filter(_ref) {
|
|
|
9424
9369
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
9425
9370
|
grandChildData = _useState6[0],
|
|
9426
9371
|
setGrandChildData = _useState6[1];
|
|
9427
|
-
/*
|
|
9428
|
-
{parent: showAll,
|
|
9429
|
-
chidlren: show selected from parent,
|
|
9430
|
-
grandchildren: show selected from children
|
|
9431
|
-
}
|
|
9372
|
+
/*
|
|
9373
|
+
{parent: showAll,
|
|
9374
|
+
chidlren: show selected from parent,
|
|
9375
|
+
grandchildren: show selected from children
|
|
9376
|
+
}
|
|
9432
9377
|
*/
|
|
9433
9378
|
|
|
9434
9379
|
|