@phillips/seldon 1.236.0 → 1.238.0
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/dist/_virtual/_commonjsHelpers.js +15 -10
- package/dist/_virtual/index.js +5 -2
- package/dist/_virtual/index11.js +4 -0
- package/dist/_virtual/index12.js +4 -0
- package/dist/_virtual/index13.js +4 -0
- package/dist/_virtual/index14.js +5 -0
- package/dist/_virtual/index15.js +5 -0
- package/dist/_virtual/index16.js +7 -0
- package/dist/_virtual/index17.js +4 -0
- package/dist/_virtual/index18.js +4 -0
- package/dist/_virtual/index2.js +3 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.js +2 -4
- package/dist/_virtual/index6.js +5 -2
- package/dist/_virtual/index7.js +3 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/AccordionItem.js +1 -1
- package/dist/components/Accordion/utils.js +1 -1
- package/dist/components/AddToCalendar/AddToCalendar.js +1 -1
- package/dist/components/AddToCalendar/calendarLinks.js +10 -10
- package/dist/components/Article/Article.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/components/Button/Button.d.ts +5 -1
- package/dist/components/Button/Button.js +49 -47
- package/dist/components/Button/Button.stories.d.ts +34 -5
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Button/types.d.ts +4 -1
- package/dist/components/Button/types.js +2 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/CarouselArrows.js +1 -1
- package/dist/components/Carousel/CarouselContent.js +1 -1
- package/dist/components/Carousel/CarouselDot.js +1 -1
- package/dist/components/Carousel/CarouselDots.js +1 -1
- package/dist/components/Carousel/CarouselItem.js +1 -1
- package/dist/components/Collapsible/Collapsible.js +1 -1
- package/dist/components/Collapsible/CollapsibleContent.js +1 -1
- package/dist/components/Collapsible/CollapsibleTrigger.js +1 -1
- package/dist/components/ComboBox/ComboBox.js +16 -16
- package/dist/components/ComposedModal/ComposedModal.js +1 -1
- package/dist/components/ContentPeek/ContentPeek.js +1 -1
- package/dist/components/Countdown/Countdown.js +10 -10
- package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +1 -1
- package/dist/components/DescriptiveRadioButtonGroup/DescriptiveRadioButtonGroup.js +1 -1
- package/dist/components/Detail/Detail.js +1 -1
- package/dist/components/DetailList/DetailList.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/Drawer/Drawer.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/ExitGateCard/ExitGateCard.js +1 -1
- package/dist/components/FavoritingTileButton/FavoritingTileButton.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/FilterHeader.js +1 -1
- package/dist/components/Grid/Grid.js +1 -1
- package/dist/components/Grid/Grid.stories.d.ts +1 -1
- package/dist/components/Grid/utils.js +1 -1
- package/dist/components/GridItem/GridItem.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/utils.js +1 -1
- package/dist/components/Link/Link.js +1 -1
- package/dist/components/LinkBlock/LinkBlock.js +1 -1
- package/dist/components/LinkList/LinkList.js +1 -1
- package/dist/components/Loader/Loader.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Navigation/Navigation.js +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.js +1 -1
- package/dist/components/Navigation/NavigationItem/NavigationItem.stories.d.ts +1 -1
- package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +1 -1
- package/dist/components/Navigation/NavigationList/NavigationList.js +1 -1
- package/dist/components/NotificationBanner/NotificationBanner.js +1 -1
- package/dist/components/PageContentWrapper/PageContentWrapper.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pictogram/Pictogram.js +1 -1
- package/dist/components/PinchZoom/PinchZoom.js +1 -1
- package/dist/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/dist/components/Row/Row.js +5 -5
- package/dist/components/Search/Search.js +1 -1
- package/dist/components/Search/Search.stories.d.ts +1 -1
- package/dist/components/SeldonImage/SeldonImage.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/SplitPanel/SplitPanel.js +1 -1
- package/dist/components/Tabs/TabsContainer.js +1 -1
- package/dist/components/Tabs/TabsContent.js +1 -1
- package/dist/components/Tags/Tags.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/Text/utils.js +1 -0
- package/dist/components/TextArea/TextArea.js +2 -2
- package/dist/components/TextSymbol/TextSymbol.js +16 -16
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Video/Video.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +225 -224
- package/dist/node_modules/@artsy/fresnel/dist/Breakpoints.js +261 -260
- package/dist/node_modules/@artsy/fresnel/dist/DynamicResponsive.js +148 -143
- package/dist/node_modules/@artsy/fresnel/dist/Interactions.js +124 -123
- package/dist/node_modules/@artsy/fresnel/dist/Media.js +158 -157
- package/dist/node_modules/@artsy/fresnel/dist/MediaQueries.js +120 -120
- package/dist/node_modules/@artsy/fresnel/dist/Utils.js +85 -87
- package/dist/node_modules/@artsy/fresnel/dist/index.js +25 -21
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +12 -12
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +9 -9
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +23 -24
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +17 -18
- package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +24 -25
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.js +10 -10
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.js +14 -15
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-progress/dist/index.js +13 -14
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-progress/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +21 -22
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +16 -17
- package/dist/node_modules/@radix-ui/react-toast/dist/index.js +43 -44
- package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-collection/dist/index.js +3 -1
- package/dist/node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/change-case/dist/index.js +20 -20
- package/dist/node_modules/classnames/index.js +33 -38
- package/dist/node_modules/date-fns/_lib/format/formatters.js +51 -20
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +0 -1
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +0 -3
- package/dist/node_modules/date-fns/addHours.js +4 -5
- package/dist/node_modules/date-fns/addMilliseconds.js +4 -5
- package/dist/node_modules/date-fns/constants.js +1 -1
- package/dist/node_modules/date-fns/constructFrom.js +1 -2
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +4 -5
- package/dist/node_modules/date-fns/differenceInDays.js +8 -9
- package/dist/node_modules/date-fns/differenceInHours.js +8 -9
- package/dist/node_modules/date-fns/differenceInMilliseconds.js +3 -4
- package/dist/node_modules/date-fns/differenceInMinutes.js +6 -7
- package/dist/node_modules/date-fns/differenceInSeconds.js +5 -6
- package/dist/node_modules/date-fns/format.js +7 -8
- package/dist/node_modules/date-fns/formatDuration.js +6 -7
- package/dist/node_modules/date-fns/getDayOfYear.js +5 -6
- package/dist/node_modules/date-fns/getISOWeek.js +2 -3
- package/dist/node_modules/date-fns/getISOWeekYear.js +0 -1
- package/dist/node_modules/date-fns/getWeek.js +5 -6
- package/dist/node_modules/date-fns/getWeekYear.js +5 -6
- package/dist/node_modules/date-fns/isAfter.js +2 -3
- package/dist/node_modules/date-fns/isDate.js +0 -1
- package/dist/node_modules/date-fns/isSameWeek.js +5 -6
- package/dist/node_modules/date-fns/isValid.js +4 -5
- package/dist/node_modules/date-fns/locale/en-US.js +8 -9
- package/dist/node_modules/date-fns/locale/zh-CN.js +8 -9
- package/dist/node_modules/date-fns/startOfDay.js +4 -5
- package/dist/node_modules/date-fns/startOfISOWeek.js +2 -3
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +5 -6
- package/dist/node_modules/date-fns/startOfWeek.js +5 -6
- package/dist/node_modules/date-fns/startOfWeekYear.js +2 -3
- package/dist/node_modules/date-fns/startOfYear.js +4 -5
- package/dist/node_modules/date-fns/toDate.js +3 -4
- package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +6 -7
- package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +0 -1
- package/dist/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js +1 -1
- package/dist/node_modules/ics/dist/defaults.js +21 -19
- package/dist/node_modules/ics/dist/index.js +103 -104
- package/dist/node_modules/ics/dist/pipeline/build.js +47 -45
- package/dist/node_modules/ics/dist/pipeline/format.js +61 -61
- package/dist/node_modules/ics/dist/pipeline/index.js +56 -53
- package/dist/node_modules/ics/dist/pipeline/validate.js +21 -16
- package/dist/node_modules/ics/dist/schema/index.js +203 -201
- package/dist/node_modules/ics/dist/utils/encode-new-lines.js +15 -9
- package/dist/node_modules/ics/dist/utils/encode-param-value.js +15 -9
- package/dist/node_modules/ics/dist/utils/fold-line.js +19 -13
- package/dist/node_modules/ics/dist/utils/format-date.js +66 -60
- package/dist/node_modules/ics/dist/utils/format-duration.js +16 -10
- package/dist/node_modules/ics/dist/utils/format-text.js +15 -9
- package/dist/node_modules/ics/dist/utils/index.js +81 -86
- package/dist/node_modules/ics/dist/utils/set-alarm.js +47 -44
- package/dist/node_modules/ics/dist/utils/set-contact.js +23 -18
- package/dist/node_modules/ics/dist/utils/set-description.js +20 -15
- package/dist/node_modules/ics/dist/utils/set-geolocation.js +16 -10
- package/dist/node_modules/ics/dist/utils/set-location.js +20 -15
- package/dist/node_modules/ics/dist/utils/set-organizer.js +21 -16
- package/dist/node_modules/ics/dist/utils/set-summary.js +20 -15
- package/dist/node_modules/libphonenumber-js/es6/metadata.js +5 -5
- package/dist/node_modules/lodash.debounce/index.js +85 -3
- package/dist/node_modules/nanoid/index.browser.js +1 -1
- package/dist/node_modules/object-assign/index.js +0 -5
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -1
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/dist/node_modules/prop-types/index.js +13 -11
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +3 -11
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -9
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/property-expr/index.js +78 -73
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +1 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +3 -3
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +9 -9
- package/dist/node_modules/react-transition-group/esm/CSSTransition.js +3 -3
- package/dist/node_modules/react-transition-group/esm/Transition.js +3 -3
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/node_modules/react-zoom-pan-pinch/dist/index.esm.js +2 -3
- package/dist/node_modules/runes2/dist/index.cjs.production.min.js +8 -8
- package/dist/node_modules/runes2/dist/index.js +8 -6
- package/dist/node_modules/tiny-case/index.js +20 -15
- package/dist/node_modules/toposort/index.js +57 -56
- package/dist/node_modules/usehooks-ts/dist/index.js +1 -1
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -9
- package/dist/node_modules/wheel-gestures/dist/wheel-gestures.esm.js +2 -2
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/dist/pages/Page.stories.d.ts +1 -1
- package/dist/patterns/AccountPageHeader/AccountPageHeader.js +1 -1
- package/dist/patterns/BidSnapshot/BidMessage.js +1 -1
- package/dist/patterns/BidSnapshot/BidSnapshot.js +1 -1
- package/dist/patterns/CountryPicker/CountryPicker.stories.d.ts +1 -1
- package/dist/patterns/CountryPicker/CountryPickerModal.stories.d.ts +1 -1
- package/dist/patterns/CountryPicker/CountryPickerOption.js +1 -1
- package/dist/patterns/CountryPicker/CountryPickerTrigger.js +1 -1
- package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +1 -1
- package/dist/patterns/FilterMenu/FilterMenu.js +1 -1
- package/dist/patterns/FiltersInline/FilterButton.js +1 -1
- package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +1 -1
- package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +1 -1
- package/dist/patterns/FiltersInline/FiltersInline.js +1 -1
- package/dist/patterns/FiltersInline/MainFilterDropdown.js +1 -1
- package/dist/patterns/HeroBanner/HeroBanner.js +1 -1
- package/dist/patterns/HeroBanner/HeroBanner.stories.d.ts +1 -1
- package/dist/patterns/LanguageSelector/LanguageSelector.js +1 -1
- package/dist/patterns/ObjectTile/ObjectTile.js +1 -1
- package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +4 -4
- package/dist/patterns/ProgressWizard/ProgressWizard.stories.d.ts +8 -8
- package/dist/patterns/SaleCard/SaleCard.js +2 -2
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +1 -1
- package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +1 -1
- package/dist/patterns/Social/Social.js +1 -1
- package/dist/patterns/Subscribe/Subscribe.js +1 -1
- package/dist/patterns/TextBanner/TextBanner.js +1 -1
- package/dist/patterns/UserManagement/UserManagement.js +1 -1
- package/dist/patterns/UserManagement/UserManagement.stories.d.ts +1 -1
- package/dist/patterns/ViewingDetails/ViewingDetails.js +1 -1
- package/dist/patterns/ViewingsList/ViewingsList.js +5 -5
- package/dist/patterns/ViewingsList/ViewingsListCard.js +38 -29
- package/dist/patterns/ViewingsList/ViewingsListCardForm.js +1 -1
- package/dist/providers/SeldonProvider/utils.js +4 -5
- package/dist/scss/componentStyles.scss +1 -0
- package/dist/scss/components/Button/_button.scss +29 -33
- package/dist/scss/components/Button/_button.stories.scss +76 -0
- package/dist/scss/components/DatePicker/_datePicker.scss +2 -2
- package/dist/scss/components/Drawer/_drawer.scss +1 -1
- package/dist/scss/components/Icon/_icon.stories.scss +1 -1
- package/dist/scss/patterns/ViewingDetails/_viewingDetails.stories.scss +0 -2
- package/dist/site-furniture/Footer/Footer.js +1 -1
- package/dist/site-furniture/Header/Header.js +1 -1
- package/package.json +27 -30
|
@@ -1,167 +1,168 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import
|
|
3
|
-
import "./DynamicResponsive.js";
|
|
4
|
-
import "./MediaQueries.js";
|
|
5
|
-
import "./Utils.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(
|
|
10
|
-
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1
|
+
import { __exports as p } from "../../../../_virtual/Media.js";
|
|
2
|
+
import Y from "react";
|
|
3
|
+
import { __require as Z } from "./DynamicResponsive.js";
|
|
4
|
+
import { __require as ee } from "./MediaQueries.js";
|
|
5
|
+
import { __require as te } from "./Utils.js";
|
|
6
|
+
var E;
|
|
7
|
+
function ue() {
|
|
8
|
+
if (E) return p;
|
|
9
|
+
E = 1, Object.defineProperty(p, "__esModule", {
|
|
10
|
+
value: !0
|
|
11
|
+
}), p.createMedia = V;
|
|
12
|
+
var o = q(Y), S = Z(), _ = ee(), u = te();
|
|
13
|
+
function q(e) {
|
|
14
|
+
return e && e.__esModule ? e : { default: e };
|
|
15
|
+
}
|
|
16
|
+
function B(e) {
|
|
17
|
+
return N(e) || I(e) || R(e) || Q();
|
|
18
|
+
}
|
|
19
|
+
function Q() {
|
|
20
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
22
21
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
23
|
-
}
|
|
24
|
-
function L(e, r) {
|
|
25
|
-
if (e) {
|
|
26
|
-
if (typeof e == "string") return g(e, r);
|
|
27
|
-
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
28
|
-
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
|
|
29
|
-
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return g(e, r);
|
|
30
22
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
function g(e, r) {
|
|
39
|
-
(r == null || r > e.length) && (r = e.length);
|
|
40
|
-
for (var t = 0, a = new Array(r); t < r; t++)
|
|
41
|
-
a[t] = e[t];
|
|
42
|
-
return a;
|
|
43
|
-
}
|
|
44
|
-
function J(e) {
|
|
45
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
46
|
-
var t = arguments[r] != null ? Object(arguments[r]) : {}, a = Object.keys(t);
|
|
47
|
-
typeof Object.getOwnPropertySymbols == "function" && a.push.apply(a, Object.getOwnPropertySymbols(t).filter(function(n) {
|
|
48
|
-
return Object.getOwnPropertyDescriptor(t, n).enumerable;
|
|
49
|
-
})), a.forEach(function(n) {
|
|
50
|
-
K(e, n, t[n]);
|
|
51
|
-
});
|
|
23
|
+
function R(e, r) {
|
|
24
|
+
if (e) {
|
|
25
|
+
if (typeof e == "string") return y(e, r);
|
|
26
|
+
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
27
|
+
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
|
|
28
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return y(e, r);
|
|
29
|
+
}
|
|
52
30
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
function K(e, r, t) {
|
|
56
|
-
return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
57
|
-
}
|
|
58
|
-
function X(e, r) {
|
|
59
|
-
if (e == null) return {};
|
|
60
|
-
var t = Y(e, r), a, n;
|
|
61
|
-
if (Object.getOwnPropertySymbols) {
|
|
62
|
-
var s = Object.getOwnPropertySymbols(e);
|
|
63
|
-
for (n = 0; n < s.length; n++)
|
|
64
|
-
a = s[n], !(r.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (t[a] = e[a]);
|
|
31
|
+
function I(e) {
|
|
32
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
65
33
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
function
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
n.displayName = "MediaParent.Context";
|
|
83
|
-
var k = (0, u.memoize)(function(v) {
|
|
84
|
-
return {
|
|
85
|
-
onlyMatch: v
|
|
86
|
-
};
|
|
87
|
-
}), E = function(i) {
|
|
88
|
-
var y = i.disableDynamicMediaQueries, d = i.onlyMatch, f = i.children;
|
|
89
|
-
if (y) {
|
|
90
|
-
var l = k(d);
|
|
91
|
-
return o.default.createElement(n.Provider, {
|
|
92
|
-
value: l
|
|
93
|
-
}, f);
|
|
94
|
-
} else
|
|
95
|
-
return o.default.createElement(a.Provider, {
|
|
96
|
-
mediaQueries: t.dynamicResponsiveMediaQueries,
|
|
97
|
-
initialMatchingMediaQueries: (0, u.intersection)(t.mediaQueryTypes, d)
|
|
98
|
-
}, o.default.createElement(a.Consumer, null, function(p) {
|
|
99
|
-
var m = Object.keys(p).filter(function(h) {
|
|
100
|
-
return p[h];
|
|
101
|
-
}), b = k((0, u.intersection)(m, d));
|
|
102
|
-
return o.default.createElement(n.Provider, {
|
|
103
|
-
value: b
|
|
104
|
-
}, f);
|
|
105
|
-
}));
|
|
106
|
-
}, S = function(i) {
|
|
107
|
-
ee(i), i.children;
|
|
108
|
-
var y = i.className, d = i.style, f = i.interaction, l = X(i, ["children", "className", "style", "interaction"]), p = o.default.useMemo(function() {
|
|
109
|
-
return (0, u.memoize)(function(P) {
|
|
110
|
-
return {
|
|
111
|
-
hasParentMedia: !0,
|
|
112
|
-
breakpointProps: P
|
|
113
|
-
};
|
|
34
|
+
function N(e) {
|
|
35
|
+
if (Array.isArray(e)) return y(e);
|
|
36
|
+
}
|
|
37
|
+
function y(e, r) {
|
|
38
|
+
(r == null || r > e.length) && (r = e.length);
|
|
39
|
+
for (var t = 0, a = new Array(r); t < r; t++)
|
|
40
|
+
a[t] = e[t];
|
|
41
|
+
return a;
|
|
42
|
+
}
|
|
43
|
+
function W(e) {
|
|
44
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
45
|
+
var t = arguments[r] != null ? Object(arguments[r]) : {}, a = Object.keys(t);
|
|
46
|
+
typeof Object.getOwnPropertySymbols == "function" && a.push.apply(a, Object.getOwnPropertySymbols(t).filter(function(n) {
|
|
47
|
+
return Object.getOwnPropertyDescriptor(t, n).enumerable;
|
|
48
|
+
})), a.forEach(function(n) {
|
|
49
|
+
T(e, n, t[n]);
|
|
114
50
|
});
|
|
115
|
-
}, []), m = o.default.useContext(s), b = p(l), h = o.default.useContext(n), C = h.onlyMatch, B = o.default.useId(), Q = typeof window < "u", R = (0, u.useIsFirstRender)(), c;
|
|
116
|
-
if (i.interaction)
|
|
117
|
-
c = (0, u.createClassName)("interaction", i.interaction);
|
|
118
|
-
else {
|
|
119
|
-
if (i.at) {
|
|
120
|
-
var _ = t.breakpoints.largestBreakpoint;
|
|
121
|
-
i.at === _ && console.warn("[@artsy/fresnel] `at` is being used with the largest breakpoint. Consider using `<Media greaterThanOrEqual=" + '"'.concat(_, '">` to account for future ') + "breakpoint definitions outside of this range.");
|
|
122
|
-
}
|
|
123
|
-
var x = (0, u.propKey)(l), I = l[x];
|
|
124
|
-
c = (0, u.createClassName)(x, I);
|
|
125
51
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
52
|
+
return e;
|
|
53
|
+
}
|
|
54
|
+
function T(e, r, t) {
|
|
55
|
+
return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
56
|
+
}
|
|
57
|
+
function D(e, r) {
|
|
58
|
+
if (e == null) return {};
|
|
59
|
+
var t = F(e, r), a, n;
|
|
60
|
+
if (Object.getOwnPropertySymbols) {
|
|
61
|
+
var s = Object.getOwnPropertySymbols(e);
|
|
62
|
+
for (n = 0; n < s.length; n++)
|
|
63
|
+
a = s[n], !(r.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (t[a] = e[a]);
|
|
134
64
|
}
|
|
135
|
-
return
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
Media
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
function
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
65
|
+
return t;
|
|
66
|
+
}
|
|
67
|
+
function F(e, r) {
|
|
68
|
+
if (e == null) return {};
|
|
69
|
+
var t = {}, a = Object.keys(e), n, s;
|
|
70
|
+
for (s = 0; s < a.length; s++)
|
|
71
|
+
n = a[s], !(r.indexOf(n) >= 0) && (t[n] = e[n]);
|
|
72
|
+
return t;
|
|
73
|
+
}
|
|
74
|
+
function V(e) {
|
|
75
|
+
var r = (0, u.castBreakpointsToIntegers)(e.breakpoints), t = new _.MediaQueries(r, e.interactions || {}), a = (0, S.createResponsiveComponents)(), n = o.default.createContext({});
|
|
76
|
+
n.displayName = "Media.Context";
|
|
77
|
+
var s = o.default.createContext({
|
|
78
|
+
hasParentMedia: !1,
|
|
79
|
+
breakpointProps: {}
|
|
80
|
+
});
|
|
81
|
+
n.displayName = "MediaParent.Context";
|
|
82
|
+
var O = (0, u.memoize)(function(b) {
|
|
83
|
+
return {
|
|
84
|
+
onlyMatch: b
|
|
85
|
+
};
|
|
86
|
+
}), U = function(i) {
|
|
87
|
+
var h = i.disableDynamicMediaQueries, d = i.onlyMatch, f = i.children;
|
|
88
|
+
if (h) {
|
|
89
|
+
var l = O(d);
|
|
90
|
+
return o.default.createElement(n.Provider, {
|
|
91
|
+
value: l
|
|
92
|
+
}, f);
|
|
93
|
+
} else
|
|
94
|
+
return o.default.createElement(a.Provider, {
|
|
95
|
+
mediaQueries: t.dynamicResponsiveMediaQueries,
|
|
96
|
+
initialMatchingMediaQueries: (0, u.intersection)(t.mediaQueryTypes, d)
|
|
97
|
+
}, o.default.createElement(a.Consumer, null, function(v) {
|
|
98
|
+
var m = Object.keys(v).filter(function(P) {
|
|
99
|
+
return v[P];
|
|
100
|
+
}), M = O((0, u.intersection)(m, d));
|
|
101
|
+
return o.default.createElement(n.Provider, {
|
|
102
|
+
value: M
|
|
103
|
+
}, f);
|
|
104
|
+
}));
|
|
105
|
+
}, z = function(i) {
|
|
106
|
+
H(i), i.children;
|
|
107
|
+
var h = i.className, d = i.style, f = i.interaction, l = D(i, ["children", "className", "style", "interaction"]), v = o.default.useMemo(function() {
|
|
108
|
+
return (0, u.memoize)(function(k) {
|
|
109
|
+
return {
|
|
110
|
+
hasParentMedia: !0,
|
|
111
|
+
breakpointProps: k
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
}, []), m = o.default.useContext(s), M = v(l), P = o.default.useContext(n), x = P.onlyMatch, L = o.default.useId(), $ = typeof window < "u", G = (0, u.useIsFirstRender)(), c;
|
|
115
|
+
if (i.interaction)
|
|
116
|
+
c = (0, u.createClassName)("interaction", i.interaction);
|
|
117
|
+
else {
|
|
118
|
+
if (i.at) {
|
|
119
|
+
var w = t.breakpoints.largestBreakpoint;
|
|
120
|
+
i.at === w && console.warn("[@artsy/fresnel] `at` is being used with the largest breakpoint. Consider using `<Media greaterThanOrEqual=" + '"'.concat(w, '">` to account for future ') + "breakpoint definitions outside of this range.");
|
|
121
|
+
}
|
|
122
|
+
var j = (0, u.propKey)(l), J = l[j];
|
|
123
|
+
c = (0, u.createClassName)(j, J);
|
|
124
|
+
}
|
|
125
|
+
var K = !m.hasParentMedia || (0, u.intersection)(t.breakpoints.toVisibleAtBreakpointSet(m.breakpointProps), t.breakpoints.toVisibleAtBreakpointSet(l)).length > 0, g = K && (x === void 0 || t.shouldRenderMediaQuery(W({}, l, {
|
|
126
|
+
interaction: f
|
|
127
|
+
}), x)), A = " fresnel-".concat(L);
|
|
128
|
+
if (c += A, $ && G && !g) {
|
|
129
|
+
var X = document.getElementsByClassName(A);
|
|
130
|
+
Array.from(X).forEach(function(k) {
|
|
131
|
+
return k.innerHTML = "";
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
return o.default.createElement(s.Provider, {
|
|
135
|
+
value: M
|
|
136
|
+
}, (function() {
|
|
137
|
+
return i.children instanceof Function ? i.children(c, g) : o.default.createElement("div", {
|
|
138
|
+
className: ["fresnel-container", c, h].filter(Boolean).join(" "),
|
|
139
|
+
style: d,
|
|
140
|
+
suppressHydrationWarning: !0
|
|
141
|
+
}, g ? i.children : null);
|
|
142
|
+
})());
|
|
143
|
+
};
|
|
144
|
+
return {
|
|
145
|
+
Media: z,
|
|
146
|
+
MediaContextProvider: U,
|
|
147
|
+
createMediaStyle: t.toStyle,
|
|
148
|
+
SortedBreakpoints: B(t.breakpoints.sortedBreakpoints),
|
|
149
|
+
findBreakpointAtWidth: t.breakpoints.findBreakpointAtWidth,
|
|
150
|
+
findBreakpointsForWidths: t.breakpoints.findBreakpointsForWidths,
|
|
151
|
+
valuesWithBreakpointProps: t.breakpoints.valuesWithBreakpointProps
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
var C = _.MediaQueries.validKeys();
|
|
155
|
+
function H(e) {
|
|
156
|
+
var r = Object.keys(e).filter(function(t) {
|
|
157
|
+
return C.includes(t);
|
|
158
|
+
});
|
|
159
|
+
if (r.length < 1)
|
|
160
|
+
throw new Error("1 of ".concat(C.join(", "), " is required."));
|
|
161
|
+
if (r.length > 1)
|
|
162
|
+
throw new Error("Only 1 of ".concat(r.join(", "), " is allowed at a time."));
|
|
163
|
+
}
|
|
164
|
+
return p;
|
|
164
165
|
}
|
|
165
166
|
export {
|
|
166
|
-
|
|
167
|
+
ue as __require
|
|
167
168
|
};
|
|
@@ -1,130 +1,130 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import "./Breakpoints.js";
|
|
3
|
-
import "./Interactions.js";
|
|
4
|
-
import "./Utils.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(
|
|
9
|
-
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
1
|
+
import { __exports as u } from "../../../../_virtual/MediaQueries.js";
|
|
2
|
+
import { __require as S } from "./Breakpoints.js";
|
|
3
|
+
import { __require as w } from "./Interactions.js";
|
|
4
|
+
import { __require as A } from "./Utils.js";
|
|
5
|
+
var b;
|
|
6
|
+
function B() {
|
|
7
|
+
if (b) return u;
|
|
8
|
+
b = 1, Object.defineProperty(u, "__esModule", {
|
|
9
|
+
value: !0
|
|
10
|
+
}), u.MediaQueries = void 0;
|
|
11
|
+
var l = S(), c = w(), d = A();
|
|
12
|
+
function _(e) {
|
|
13
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
14
|
+
var r = arguments[t] != null ? Object(arguments[t]) : {}, n = Object.keys(r);
|
|
15
|
+
typeof Object.getOwnPropertySymbols == "function" && n.push.apply(n, Object.getOwnPropertySymbols(r).filter(function(i) {
|
|
16
|
+
return Object.getOwnPropertyDescriptor(r, i).enumerable;
|
|
17
|
+
})), n.forEach(function(i) {
|
|
18
|
+
s(e, i, r[i]);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return e;
|
|
21
22
|
}
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
function h(e, t) {
|
|
24
|
+
if (e == null) return {};
|
|
25
|
+
var r = v(e, t), n, i;
|
|
26
|
+
if (Object.getOwnPropertySymbols) {
|
|
27
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
28
|
+
for (i = 0; i < a.length; i++)
|
|
29
|
+
n = a[i], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]);
|
|
30
|
+
}
|
|
31
|
+
return r;
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
i = n[a], !(t.indexOf(i) >= 0) && (r[i] = e[i]);
|
|
39
|
-
return r;
|
|
40
|
-
}
|
|
41
|
-
function o(e) {
|
|
42
|
-
return S(e) || M(e) || j(e) || O();
|
|
43
|
-
}
|
|
44
|
-
function O() {
|
|
45
|
-
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
46
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
47
|
-
}
|
|
48
|
-
function j(e, t) {
|
|
49
|
-
if (e) {
|
|
50
|
-
if (typeof e == "string") return u(e, t);
|
|
51
|
-
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
52
|
-
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
|
|
53
|
-
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return u(e, t);
|
|
33
|
+
function v(e, t) {
|
|
34
|
+
if (e == null) return {};
|
|
35
|
+
var r = {}, n = Object.keys(e), i, a;
|
|
36
|
+
for (a = 0; a < n.length; a++)
|
|
37
|
+
i = n[a], !(t.indexOf(i) >= 0) && (r[i] = e[i]);
|
|
38
|
+
return r;
|
|
54
39
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
58
|
-
}
|
|
59
|
-
function S(e) {
|
|
60
|
-
if (Array.isArray(e)) return u(e);
|
|
61
|
-
}
|
|
62
|
-
function u(e, t) {
|
|
63
|
-
(t == null || t > e.length) && (t = e.length);
|
|
64
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
65
|
-
n[r] = e[r];
|
|
66
|
-
return n;
|
|
67
|
-
}
|
|
68
|
-
function w(e, t) {
|
|
69
|
-
if (!(e instanceof t))
|
|
70
|
-
throw new TypeError("Cannot call a class as a function");
|
|
71
|
-
}
|
|
72
|
-
function p(e, t) {
|
|
73
|
-
for (var r = 0; r < t.length; r++) {
|
|
74
|
-
var n = t[r];
|
|
75
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
|
|
40
|
+
function o(e) {
|
|
41
|
+
return O(e) || k(e) || g(e) || m();
|
|
76
42
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
function s(e, t, r) {
|
|
82
|
-
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
83
|
-
}
|
|
84
|
-
var Q = /* @__PURE__ */ function() {
|
|
85
|
-
y(e, null, [{
|
|
86
|
-
key: "validKeys",
|
|
87
|
-
value: function() {
|
|
88
|
-
return o(l.Breakpoints.validKeys()).concat(o(c.Interactions.validKeys()));
|
|
89
|
-
}
|
|
90
|
-
}]);
|
|
91
|
-
function e(t, r) {
|
|
92
|
-
var n = this;
|
|
93
|
-
w(this, e), s(this, "_breakpoints", void 0), s(this, "_interactions", void 0), s(this, "toStyle", function(i) {
|
|
94
|
-
return [
|
|
95
|
-
// Don’t add any size to the layout
|
|
96
|
-
".fresnel-container{margin:0;padding:0;}"
|
|
97
|
-
].concat(o(n._breakpoints.toRuleSets(i)), o(n._interactions.toRuleSets())).join(`
|
|
98
|
-
`);
|
|
99
|
-
}), this._breakpoints = new l.Breakpoints(t), this._interactions = new c.Interactions(r || {});
|
|
43
|
+
function m() {
|
|
44
|
+
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
45
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
100
46
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
var
|
|
105
|
-
if (
|
|
106
|
-
|
|
107
|
-
var b = (0, h.intersection)(n, this._breakpoints.sortedBreakpoints);
|
|
108
|
-
return this._breakpoints.shouldRenderMediaQuery(a, b);
|
|
47
|
+
function g(e, t) {
|
|
48
|
+
if (e) {
|
|
49
|
+
if (typeof e == "string") return f(e, t);
|
|
50
|
+
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
51
|
+
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
|
|
52
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return f(e, t);
|
|
109
53
|
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
54
|
+
}
|
|
55
|
+
function k(e) {
|
|
56
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
57
|
+
}
|
|
58
|
+
function O(e) {
|
|
59
|
+
if (Array.isArray(e)) return f(e);
|
|
60
|
+
}
|
|
61
|
+
function f(e, t) {
|
|
62
|
+
(t == null || t > e.length) && (t = e.length);
|
|
63
|
+
for (var r = 0, n = new Array(t); r < t; r++)
|
|
64
|
+
n[r] = e[r];
|
|
65
|
+
return n;
|
|
66
|
+
}
|
|
67
|
+
function j(e, t) {
|
|
68
|
+
if (!(e instanceof t))
|
|
69
|
+
throw new TypeError("Cannot call a class as a function");
|
|
70
|
+
}
|
|
71
|
+
function y(e, t) {
|
|
72
|
+
for (var r = 0; r < t.length; r++) {
|
|
73
|
+
var n = t[r];
|
|
74
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
|
|
119
75
|
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
76
|
+
}
|
|
77
|
+
function p(e, t, r) {
|
|
78
|
+
return t && y(e.prototype, t), r && y(e, r), e;
|
|
79
|
+
}
|
|
80
|
+
function s(e, t, r) {
|
|
81
|
+
return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
82
|
+
}
|
|
83
|
+
var M = /* @__PURE__ */ (function() {
|
|
84
|
+
p(e, null, [{
|
|
85
|
+
key: "validKeys",
|
|
86
|
+
value: function() {
|
|
87
|
+
return o(l.Breakpoints.validKeys()).concat(o(c.Interactions.validKeys()));
|
|
88
|
+
}
|
|
89
|
+
}]);
|
|
90
|
+
function e(t, r) {
|
|
91
|
+
var n = this;
|
|
92
|
+
j(this, e), s(this, "_breakpoints", void 0), s(this, "_interactions", void 0), s(this, "toStyle", function(i) {
|
|
93
|
+
return [
|
|
94
|
+
// Don’t add any size to the layout
|
|
95
|
+
".fresnel-container{margin:0;padding:0;}"
|
|
96
|
+
].concat(o(n._breakpoints.toRuleSets(i)), o(n._interactions.toRuleSets())).join(`
|
|
97
|
+
`);
|
|
98
|
+
}), this._breakpoints = new l.Breakpoints(t), this._interactions = new c.Interactions(r || {});
|
|
124
99
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
100
|
+
return p(e, [{
|
|
101
|
+
key: "shouldRenderMediaQuery",
|
|
102
|
+
value: function(r, n) {
|
|
103
|
+
var i = r.interaction, a = h(r, ["interaction"]);
|
|
104
|
+
if (i)
|
|
105
|
+
return this._interactions.shouldRenderMediaQuery(i, n);
|
|
106
|
+
var Q = (0, d.intersection)(n, this._breakpoints.sortedBreakpoints);
|
|
107
|
+
return this._breakpoints.shouldRenderMediaQuery(a, Q);
|
|
108
|
+
}
|
|
109
|
+
}, {
|
|
110
|
+
key: "breakpoints",
|
|
111
|
+
get: function() {
|
|
112
|
+
return this._breakpoints;
|
|
113
|
+
}
|
|
114
|
+
}, {
|
|
115
|
+
key: "mediaQueryTypes",
|
|
116
|
+
get: function() {
|
|
117
|
+
return o(this._breakpoints.sortedBreakpoints).concat(o(this._interactions.interactions));
|
|
118
|
+
}
|
|
119
|
+
}, {
|
|
120
|
+
key: "dynamicResponsiveMediaQueries",
|
|
121
|
+
get: function() {
|
|
122
|
+
return _({}, this._breakpoints.dynamicResponsiveMediaQueries, this._interactions.dynamicResponsiveMediaQueries);
|
|
123
|
+
}
|
|
124
|
+
}]), e;
|
|
125
|
+
})();
|
|
126
|
+
return u.MediaQueries = M, u;
|
|
127
|
+
}
|
|
128
128
|
export {
|
|
129
|
-
|
|
129
|
+
B as __require
|
|
130
130
|
};
|