@rankingcoach/vanguard 1.8.0 → 1.10.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/index-Accordion2.js +1 -1
- package/dist/index-AccordionDetails.js +1 -1
- package/dist/index-AccordionSummary.js +1 -1
- package/dist/index-AppBar2.js +1 -1
- package/dist/index-Autocomplete2.js +1 -1
- package/dist/index-Backdrop.js +1 -1
- package/dist/index-BasePopper.js +1 -1
- package/dist/index-Box.js +1 -1
- package/dist/index-Bullets.js +12 -10
- package/dist/index-Bullets.module.scss.js +6 -4
- package/dist/index-Button2.js +1 -1
- package/dist/index-ButtonBase.js +1 -1
- package/dist/index-CSSTransition.js +1 -1
- package/dist/index-CalendarPicker.js +1 -1
- package/dist/index-CardMotion.config.js +159 -0
- package/dist/index-CardMotion.constants.js +23 -0
- package/dist/index-CardMotion.js +93 -0
- package/dist/index-CardMotion.module.scss.js +9 -0
- package/dist/index-Chip.js +1 -1
- package/dist/index-ClickAwayListener.js +1 -1
- package/dist/index-ClockPicker.js +1 -1
- package/dist/index-Collapse2.js +1 -1
- package/dist/index-DateInput.js +4 -4
- package/dist/index-DatePicker2.js +1 -1
- package/dist/index-DayCell.js +2 -2
- package/dist/index-DefaultPropsProvider.js +1 -1
- package/dist/index-DefaultPropsProvider2.js +1 -1
- package/dist/index-DesktopDatePicker.js +1 -1
- package/dist/index-Dialog.js +1 -1
- package/dist/index-DialogActions.js +1 -1
- package/dist/index-DialogContent.js +1 -1
- package/dist/index-Drawer2.js +1 -1
- package/dist/index-Fade.js +1 -1
- package/dist/index-FilledInput.js +1 -1
- package/dist/index-FocusTrap.js +1 -1
- package/dist/index-FormControl2.js +1 -1
- package/dist/index-FormHelperText.js +1 -1
- package/dist/index-FormLabel.js +1 -1
- package/dist/index-GlobalStyles.js +1 -1
- package/dist/index-GlobalStyles2.js +1 -1
- package/dist/index-GlobalStyles3.js +1 -1
- package/dist/index-Grid.js +1 -1
- package/dist/index-Grow.js +1 -1
- package/dist/index-IconButton2.js +1 -1
- package/dist/index-Input2.js +1 -1
- package/dist/index-InputAdornment.js +1 -1
- package/dist/index-InputBase2.js +1 -1
- package/dist/index-InputLabel.js +1 -1
- package/dist/index-InputRangeField.js +1 -1
- package/dist/index-LinearProgress.js +1 -1
- package/dist/index-List2.js +1 -1
- package/dist/index-ListSubheader.js +1 -1
- package/dist/index-LocalizationProvider.js +1 -1
- package/dist/index-Menu2.js +1 -1
- package/dist/index-MenuItem2.js +1 -1
- package/dist/index-MenuList.js +1 -1
- package/dist/index-MobileDatePicker.js +1 -1
- package/dist/index-Modal2.js +1 -1
- package/dist/index-ModalContext.js +37 -36
- package/dist/index-ModalTransition.js +9 -7
- package/dist/index-Month.js +3 -3
- package/dist/index-MonthPicker.js +1 -1
- package/dist/index-NativeSelectInput.js +1 -1
- package/dist/index-NotchedOutline.js +1 -1
- package/dist/index-OutlinedInput.js +1 -1
- package/dist/index-Paper.js +1 -1
- package/dist/index-PhotoCarouselModal.js +26 -25
- package/dist/index-PhotoCarouselModal.module.scss.js +6 -4
- package/dist/index-PickersDay.js +1 -1
- package/dist/index-Popover2.js +1 -1
- package/dist/index-Popper.js +1 -1
- package/dist/index-Portal.js +1 -1
- package/dist/index-PropTypes.js +1 -1
- package/dist/index-Ripple.js +1 -1
- package/dist/index-RtlProvider.js +1 -1
- package/dist/index-ScrollbarSize.js +1 -1
- package/dist/index-Select2.js +1 -1
- package/dist/index-SelectInput2.js +1 -1
- package/dist/index-Skeleton2.js +1 -1
- package/dist/index-Slide.js +1 -1
- package/dist/index-SlideCarousel.js +117 -138
- package/dist/index-SlideCarousel.module.scss.js +22 -14
- package/dist/index-Slider2.js +1 -1
- package/dist/index-SliderValueLabel.js +1 -1
- package/dist/index-Snackbar2.js +1 -1
- package/dist/index-SnackbarContent.js +1 -1
- package/dist/index-StyledEngineProvider.js +1 -1
- package/dist/index-SvgIcon.js +1 -1
- package/dist/index-Tab2.js +1 -1
- package/dist/index-TabScrollButton.js +1 -1
- package/dist/index-Tabs2.js +1 -1
- package/dist/index-Text.js +158 -131
- package/dist/index-TextField.js +1 -1
- package/dist/index-TextHighlighted.js +11 -136
- package/dist/index-TextareaAutosize.js +1 -1
- package/dist/index-ToggleButton2.js +1 -1
- package/dist/index-ToggleButtonGroup2.js +1 -1
- package/dist/index-Toolbar2.js +1 -1
- package/dist/index-Tooltip.js +1 -1
- package/dist/index-TouchRipple.js +1 -1
- package/dist/index-Transition.js +1 -1
- package/dist/index-TransitionGroup.js +1 -1
- package/dist/index-Typography.js +1 -1
- package/dist/index-YearPicker.js +1 -1
- package/dist/index-_virtual16.js +3 -5
- package/dist/index-_virtual17.js +5 -3
- package/dist/index-_virtual66.js +2 -2
- package/dist/index-_virtual67.js +4 -2
- package/dist/index-_virtual68.js +2 -4
- package/dist/index-_virtual69.js +4 -2
- package/dist/index-_virtual70.js +2 -2
- package/dist/index-_virtual71.js +1 -1
- package/dist/index-_virtual72.js +4 -2
- package/dist/index-_virtual73.js +1 -1
- package/dist/index-_virtual74.js +2 -4
- package/dist/index-_virtual75.js +2 -4
- package/dist/index-_virtual76.js +2 -2
- package/dist/index-accessibility.js +1 -1
- package/dist/index-elementAcceptingRef.js +1 -1
- package/dist/index-elementTypeAcceptingRef.js +1 -1
- package/dist/index-helpers3.js +1 -1
- package/dist/index-lib5.js +1 -1
- package/dist/index-react-spring_animated.modern.js +6 -6
- package/dist/index-react-spring_core.modern.js +56 -54
- package/dist/index-react-spring_web.modern.js +9 -8
- package/dist/index-refType.js +1 -1
- package/dist/index-regex.js +1 -1
- package/dist/index-responsivePropType.js +1 -1
- package/dist/index-use-carousel-movement.js +138 -0
- package/dist/index.js +300 -296
- package/dist/types/core/CardMotion/CardMotion.config.d.ts +855 -0
- package/dist/types/core/CardMotion/CardMotion.constants.d.ts +20 -0
- package/dist/types/core/CardMotion/CardMotion.d.ts +3 -0
- package/dist/types/core/CardMotion/CardMotion.types.d.ts +60 -0
- package/dist/types/core/CardMotion/index.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/CustomMotion.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/Default.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/GlowIn.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/GlowPreset.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/Hoverable.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/StaggeredGlowGroup.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/VisibilityToggle.story.d.ts +2 -0
- package/dist/types/core/CardMotion/stories/_CardMotion.default.d.ts +3 -0
- package/dist/types/core/Modal/ModalContext.d.ts +1 -0
- package/dist/types/core/Modal/stories/StackingPermutations.story.d.ts +71 -0
- package/dist/types/core/Modal/stories/TwoModalsOverlapping.story.d.ts +2 -0
- package/dist/types/core/Modal/stories/TwoModalsOverlappingDifferentAnimations.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/Bullets/Bullets.d.ts +2 -0
- package/dist/types/core/SlideCarousel/SlideCarousel.d.ts +6 -0
- package/dist/types/core/SlideCarousel/hooks/use-carousel-movement.d.ts +27 -0
- package/dist/types/core/SlideCarousel/index.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselAutoPlay.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselBasic.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselBulletsBelow.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselControlled.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselCustomArrows.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselCustomBullets.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselMultipleSlidesAtOnce.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselOutsideArrows.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselWithArrows.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselWithArrowsAndBullets.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/SlideCarouselWithBullets.story.d.ts +2 -0
- package/dist/types/core/SlideCarousel/stories/_SlideCarousel.default.d.ts +13 -0
- package/dist/types/core/Text/Text.types.d.ts +4 -0
- package/dist/types/core/Text/stories/stories/HighlightCaseInsensitive.story.d.ts +3 -0
- package/dist/types/core/Text/stories/stories/HighlightDefault.story.d.ts +2 -0
- package/dist/types/core/Text/stories/stories/HighlightModeBackground.story.d.ts +2 -0
- package/dist/types/core/Text/stories/stories/HighlightModeBold.story.d.ts +2 -0
- package/dist/types/core/Text/stories/stories/HighlightModeText.story.d.ts +2 -0
- package/dist/types/core/Text/stories/stories/HighlightWithEmphasis.story.d.ts +2 -0
- package/dist/types/core/TextHighlighted/TextHighlighted.d.ts +4 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist/vanguard.css +1 -1
- package/dist-wordpress/index.js +17776 -17742
- package/dist-wordpress/types/core/PageSection/GradientPrimaryMeshBackground.d.ts +1 -0
- package/dist-wordpress/types/core/PageSection/PageSection.d.ts +43 -0
- package/dist-wordpress/types/core/PageSection/index.d.ts +2 -0
- package/dist-wordpress/types/core/TextHighlighted/TextHighlighted.d.ts +4 -1
- package/dist-wordpress/types/index.d.ts +2 -0
- package/dist-wordpress/vanguard.css +1 -1
- package/package.json +1 -1
- package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +0 -2
package/dist/index-Grid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import K from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import g from "./index-extends.js";
|
|
3
3
|
import * as W from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as _ } from "./index-clsx.js";
|
|
6
6
|
import R from "./index-styled.js";
|
|
7
7
|
import D from "./index-useTheme.js";
|
package/dist/index-Grow.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import g from "./index-extends.js";
|
|
2
2
|
import V from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as f from "react";
|
|
4
|
-
import n from "./index-
|
|
4
|
+
import n from "./index-_virtual17.js";
|
|
5
5
|
import k from "./index-useTheme.js";
|
|
6
6
|
import { getTransitionProps as v, reflow as B } from "./index-utils6.js";
|
|
7
7
|
import { jsx as J } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import h from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import i from "./index-extends.js";
|
|
3
3
|
import * as p from "react";
|
|
4
|
-
import r from "./index-
|
|
4
|
+
import r from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as R } from "./index-clsx.js";
|
|
6
6
|
import { c as m } from "./index-colorManipulator2.js";
|
|
7
7
|
import z from "./index-styled.js";
|
package/dist/index-Input2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import j from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import a from "./index-extends.js";
|
|
3
3
|
import * as B from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import y from "./index-styled.js";
|
|
6
6
|
import s, { getInputUtilityClass as U } from "./index-inputClasses.js";
|
|
7
7
|
import _, { InputBaseRoot as w, rootOverridesResolver as S, InputBaseComponent as W, inputOverridesResolver as E } from "./index-InputBase2.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import T from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import f from "./index-extends.js";
|
|
3
3
|
import * as b from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as I } from "./index-clsx.js";
|
|
6
6
|
import N from "./index-FormControlContext.js";
|
|
7
7
|
import A from "./index-useFormControl.js";
|
package/dist/index-InputBase2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import So from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import l from "./index-extends.js";
|
|
3
3
|
import * as u from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as to } from "./index-clsx.js";
|
|
6
6
|
import Eo from "./index-formControlState.js";
|
|
7
7
|
import Io from "./index-FormControlContext.js";
|
package/dist/index-InputLabel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import x from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import n from "./index-extends.js";
|
|
3
3
|
import * as b from "react";
|
|
4
|
-
import r from "./index-
|
|
4
|
+
import r from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as h } from "./index-clsx.js";
|
|
6
6
|
import v from "./index-formControlState.js";
|
|
7
7
|
import k from "./index-useFormControl.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import M from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import l from "./index-extends.js";
|
|
3
3
|
import * as T from "react";
|
|
4
|
-
import a from "./index-
|
|
4
|
+
import a from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as q } from "./index-clsx.js";
|
|
6
6
|
import { c as k } from "./index-colorManipulator2.js";
|
|
7
7
|
import { useRtl as j } from "./index-RtlProvider.js";
|
package/dist/index-List2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import h from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import i from "./index-extends.js";
|
|
3
3
|
import * as p from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as P } from "./index-clsx.js";
|
|
6
6
|
import x from "./index-styled.js";
|
|
7
7
|
import L from "./index-ListContext.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import g from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import n from "./index-extends.js";
|
|
3
3
|
import * as S from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as h } from "./index-clsx.js";
|
|
6
6
|
import k from "./index-styled.js";
|
|
7
7
|
import { getListSubheaderUtilityClass as x } from "./index-listSubheaderClasses.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import h from "./index-extends.js";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import e from "./index-
|
|
3
|
+
import e from "./index-_virtual17.js";
|
|
4
4
|
import { jsx as D } from "react/jsx-runtime";
|
|
5
5
|
import T from "./index-useThemeProps.js";
|
|
6
6
|
import { DEFAULT_LOCALE as y } from "./index-enUS.js";
|
package/dist/index-Menu2.js
CHANGED
|
@@ -2,7 +2,7 @@ import i from "./index-extends.js";
|
|
|
2
2
|
import E from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as l from "react";
|
|
4
4
|
import { isFragment as G } from "react-is";
|
|
5
|
-
import o from "./index-
|
|
5
|
+
import o from "./index-_virtual17.js";
|
|
6
6
|
import { clsx as H } from "./index-clsx.js";
|
|
7
7
|
import { useRtl as W } from "./index-RtlProvider.js";
|
|
8
8
|
import h from "./index-styled.js";
|
package/dist/index-MenuItem2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import P from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import l from "./index-extends.js";
|
|
3
3
|
import * as d from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as x } from "./index-clsx.js";
|
|
6
6
|
import { c as p } from "./index-colorManipulator2.js";
|
|
7
7
|
import j from "./index-styled.js";
|
package/dist/index-MenuList.js
CHANGED
|
@@ -2,7 +2,7 @@ import T from "./index-extends.js";
|
|
|
2
2
|
import H from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { isFragment as O } from "react-is";
|
|
5
|
-
import d from "./index-
|
|
5
|
+
import d from "./index-_virtual17.js";
|
|
6
6
|
import { jsx as j } from "react/jsx-runtime";
|
|
7
7
|
import _ from "./index-useEnhancedEffect2.js";
|
|
8
8
|
import A from "./index-getScrollbarSize.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import a from "./index-extends.js";
|
|
2
2
|
import f from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as P from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { useDatePickerDefaultizedProps as h, datePickerValueManager as g } from "./index-shared.js";
|
|
6
6
|
import { DatePickerToolbar as D } from "./index-DatePickerToolbar.js";
|
|
7
7
|
import { MobileWrapper as T } from "./index-MobileWrapper.js";
|
package/dist/index-Modal2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import no from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import n from "./index-extends.js";
|
|
3
3
|
import * as $ from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as z } from "./index-clsx.js";
|
|
6
6
|
import q from "./index-styled.js";
|
|
7
7
|
import ro from "./index-useModal.js";
|
|
@@ -1,57 +1,58 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useRef as
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
if (!
|
|
1
|
+
import { jsx as k } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as l, useState as v, useCallback as d, createContext as S, useContext as P } from "react";
|
|
3
|
+
const p = S(void 0), j = () => {
|
|
4
|
+
const s = P(p);
|
|
5
|
+
if (!s)
|
|
6
6
|
throw new Error("useModalContext must be used within a ModalProvider");
|
|
7
|
-
return
|
|
8
|
-
},
|
|
9
|
-
children:
|
|
7
|
+
return s;
|
|
8
|
+
}, A = ({
|
|
9
|
+
children: s
|
|
10
10
|
}) => {
|
|
11
|
-
const n =
|
|
11
|
+
const c = l(/* @__PURE__ */ new Map()), n = l(/* @__PURE__ */ new Map()), i = l(0), [f, u] = v({
|
|
12
12
|
growModals: [],
|
|
13
13
|
slideModals: [],
|
|
14
14
|
popModals: []
|
|
15
|
-
}),
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
...
|
|
19
|
-
}, a = (
|
|
20
|
-
|
|
15
|
+
}), g = d((e) => c.current.get(e), []), h = d((e) => n.current.get(e) ?? 0, []), x = d((e, o, t) => {
|
|
16
|
+
c.current.set(e, t), n.current.has(e) || (i.current += 1, n.current.set(e, i.current)), u((R) => {
|
|
17
|
+
const r = {
|
|
18
|
+
...R
|
|
19
|
+
}, a = (M, w) => {
|
|
20
|
+
M.indexOf(w) >= 0 || M.push(w);
|
|
21
21
|
};
|
|
22
|
-
switch (
|
|
22
|
+
switch (o) {
|
|
23
23
|
case "grow":
|
|
24
|
-
a(
|
|
24
|
+
a(r.growModals, e);
|
|
25
25
|
break;
|
|
26
26
|
case "slide":
|
|
27
|
-
a(
|
|
27
|
+
a(r.slideModals, e);
|
|
28
28
|
break;
|
|
29
29
|
case "pop":
|
|
30
|
-
a(
|
|
30
|
+
a(r.popModals, e);
|
|
31
31
|
break;
|
|
32
32
|
default:
|
|
33
|
-
a(
|
|
33
|
+
a(r.growModals, e);
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return r;
|
|
36
36
|
});
|
|
37
|
-
}, []),
|
|
38
|
-
n.current.delete(
|
|
39
|
-
growModals:
|
|
40
|
-
slideModals:
|
|
41
|
-
popModals:
|
|
37
|
+
}, []), C = d((e) => {
|
|
38
|
+
c.current.delete(e), n.current.delete(e), u((o) => ({
|
|
39
|
+
growModals: o.growModals.filter((t) => t !== e),
|
|
40
|
+
slideModals: o.slideModals.filter((t) => t !== e),
|
|
41
|
+
popModals: o.popModals.filter((t) => t !== e)
|
|
42
42
|
}));
|
|
43
|
-
}, []),
|
|
44
|
-
getModal:
|
|
45
|
-
modalRootState:
|
|
46
|
-
addModal:
|
|
47
|
-
removeModal:
|
|
43
|
+
}, []), b = {
|
|
44
|
+
getModal: g,
|
|
45
|
+
modalRootState: f,
|
|
46
|
+
addModal: x,
|
|
47
|
+
removeModal: C,
|
|
48
|
+
getModalOrder: h
|
|
48
49
|
};
|
|
49
|
-
return
|
|
50
|
-
value:
|
|
51
|
-
children:
|
|
50
|
+
return k(p.Provider, {
|
|
51
|
+
value: b,
|
|
52
|
+
children: s
|
|
52
53
|
});
|
|
53
54
|
};
|
|
54
55
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
A as ModalProvider,
|
|
57
|
+
j as useModalContext
|
|
57
58
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import { a as m } from "./index-react-spring_web.modern.js";
|
|
4
|
-
import { useModalContext as
|
|
4
|
+
import { useModalContext as y } from "./index-ModalContext.js";
|
|
5
5
|
import { useTransition as n } from "./index-react-spring_core.modern.js";
|
|
6
|
-
const
|
|
6
|
+
const O = (c) => {
|
|
7
7
|
const {
|
|
8
8
|
modalsList: r,
|
|
9
9
|
animation: d
|
|
10
10
|
} = c, {
|
|
11
|
-
getModal: p
|
|
12
|
-
|
|
11
|
+
getModal: p,
|
|
12
|
+
getModalOrder: f
|
|
13
|
+
} = y();
|
|
13
14
|
let a, t;
|
|
14
15
|
switch (d) {
|
|
15
16
|
case "slide":
|
|
@@ -110,10 +111,11 @@ const b = (c) => {
|
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
113
|
return a((o, e) => {
|
|
113
|
-
const i = p(e);
|
|
114
|
+
const i = p(e), l = f(e);
|
|
114
115
|
return e && i && s(m.div, {
|
|
115
116
|
style: {
|
|
116
|
-
opacity: o.bgOpacity
|
|
117
|
+
opacity: o.bgOpacity,
|
|
118
|
+
zIndex: 1100 + l
|
|
117
119
|
},
|
|
118
120
|
className: "modalRoot",
|
|
119
121
|
children: s(m.div, {
|
|
@@ -128,5 +130,5 @@ const b = (c) => {
|
|
|
128
130
|
});
|
|
129
131
|
};
|
|
130
132
|
export {
|
|
131
|
-
|
|
133
|
+
O as ModalTransition
|
|
132
134
|
};
|
package/dist/index-Month.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { __exports as y } from "./index-
|
|
1
|
+
import { __exports as y } from "./index-_virtual68.js";
|
|
2
2
|
import de from "react";
|
|
3
3
|
import { __require as me } from "./index-prop-types.js";
|
|
4
4
|
import { __require as he } from "./index-DayCell.js";
|
|
5
5
|
import ye from "./index-_virtual54.js";
|
|
6
6
|
import ve from "./index-_virtual37.js";
|
|
7
|
-
import Oe from "./index-
|
|
8
|
-
import _e from "./index-
|
|
7
|
+
import Oe from "./index-_virtual69.js";
|
|
8
|
+
import _e from "./index-_virtual67.js";
|
|
9
9
|
import De from "./index-_virtual51.js";
|
|
10
10
|
import ge from "./index-_virtual41.js";
|
|
11
11
|
import be from "./index-_virtual52.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import J from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import v from "./index-extends.js";
|
|
3
3
|
import * as a from "react";
|
|
4
|
-
import t from "./index-
|
|
4
|
+
import t from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as Q } from "./index-clsx.m.js";
|
|
6
6
|
import { PickersMonth as X } from "./index-PickersMonth.js";
|
|
7
7
|
import { useUtils as A, useNow as Z, useDefaultDates as $ } from "./index-useUtils.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import R from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import a from "./index-extends.js";
|
|
3
3
|
import * as m from "react";
|
|
4
|
-
import r from "./index-
|
|
4
|
+
import r from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as N } from "./index-clsx.js";
|
|
6
6
|
import p, { getNativeSelectUtilityClasses as C } from "./index-nativeSelectClasses.js";
|
|
7
7
|
import b from "./index-styled.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import u from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import n from "./index-extends.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import l from "./index-styled.js";
|
|
6
6
|
import { jsx as o } from "react/jsx-runtime";
|
|
7
7
|
import c from "./index-rootShouldForwardProp.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import j from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import l from "./index-extends.js";
|
|
3
3
|
import * as I from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import A from "./index-NotchedOutline.js";
|
|
6
6
|
import N from "./index-useFormControl.js";
|
|
7
7
|
import w from "./index-formControlState.js";
|
package/dist/index-Paper.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import b from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import s from "./index-extends.js";
|
|
3
3
|
import * as g from "react";
|
|
4
|
-
import r from "./index-
|
|
4
|
+
import r from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as y } from "./index-clsx.js";
|
|
6
6
|
import { c as v } from "./index-colorManipulator2.js";
|
|
7
7
|
import P from "./index-styled.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as p } from "react/jsx-runtime";
|
|
2
|
-
import { mb3 as
|
|
2
|
+
import { mb3 as c, w100 as h, dFlexColumn as g } from "./index-general.module.js";
|
|
3
3
|
import { classNames as b } from "./index-classNames.js";
|
|
4
4
|
import { updateImageUrlWithBaseRequest as v } from "./index-update-image-url-with-base-request.js";
|
|
5
5
|
import { MediaItemType as x } from "./index-MediaItem.js";
|
|
@@ -10,28 +10,28 @@ import { Modal as T } from "./index-Modal.js";
|
|
|
10
10
|
import { ModalBody as B } from "./index-ModalBody.js";
|
|
11
11
|
import { ModalHeader as R } from "./index-ModalHeader.js";
|
|
12
12
|
import { SlideCarousel as j } from "./index-SlideCarousel.js";
|
|
13
|
-
import
|
|
14
|
-
const
|
|
13
|
+
import a from "./index-PhotoCarouselModal.module.scss.js";
|
|
14
|
+
const $ = (l) => {
|
|
15
15
|
const {
|
|
16
|
-
gallery:
|
|
16
|
+
gallery: r,
|
|
17
17
|
close: f,
|
|
18
|
-
defaultMediaItem:
|
|
19
|
-
} =
|
|
18
|
+
defaultMediaItem: t
|
|
19
|
+
} = l, [s, u] = M(0);
|
|
20
20
|
return N(() => {
|
|
21
|
-
|
|
22
|
-
}, [
|
|
23
|
-
className:
|
|
21
|
+
t && u(r.map((e) => e.uuid).indexOf(t.uuid));
|
|
22
|
+
}, [t]), o(U, {
|
|
23
|
+
className: a.container,
|
|
24
24
|
children: p(T, {
|
|
25
|
-
...
|
|
25
|
+
...l,
|
|
26
26
|
className: "confirm-modal",
|
|
27
27
|
children: [o(R, {
|
|
28
|
-
className:
|
|
28
|
+
className: c,
|
|
29
29
|
closeFn: f,
|
|
30
30
|
hideCloseButtonOnMobile: !1,
|
|
31
31
|
children: o(y, {
|
|
32
32
|
fontWeight: I.bold,
|
|
33
33
|
type: C.heading4,
|
|
34
|
-
className: b(h,
|
|
34
|
+
className: b(h, c),
|
|
35
35
|
children: "Media gallery"
|
|
36
36
|
})
|
|
37
37
|
}), o(B, {
|
|
@@ -39,30 +39,31 @@ const z = (a) => {
|
|
|
39
39
|
children: o("div", {
|
|
40
40
|
className: g,
|
|
41
41
|
children: o(j, {
|
|
42
|
-
activeIndex:
|
|
43
|
-
initialIndex:
|
|
44
|
-
hasBullets:
|
|
45
|
-
hasArrows:
|
|
46
|
-
children:
|
|
47
|
-
var
|
|
48
|
-
if (e.file && ((
|
|
42
|
+
activeIndex: s,
|
|
43
|
+
initialIndex: s,
|
|
44
|
+
hasBullets: r.length > 1,
|
|
45
|
+
hasArrows: r.length != 1,
|
|
46
|
+
children: r && r.map((e) => {
|
|
47
|
+
var m, n;
|
|
48
|
+
if (e.file && ((m = e.fileType) != null && m.includes("video")) || e.type === x.video) {
|
|
49
49
|
let i = "";
|
|
50
50
|
return e.file ? i = URL.createObjectURL(e.file) : i = e.publicUrl ?? "", o("video", {
|
|
51
51
|
src: i,
|
|
52
52
|
width: "100%",
|
|
53
53
|
height: "100%",
|
|
54
|
-
controls: !0
|
|
54
|
+
controls: !0,
|
|
55
|
+
className: a.carouselVideo
|
|
55
56
|
});
|
|
56
57
|
}
|
|
57
|
-
const
|
|
58
|
+
const d = e.publicThumbnailUrl ?? e.publicUrl ?? ((n = e.mediaItemContent) == null ? void 0 : n.base64EncodedContent);
|
|
58
59
|
return o("div", {
|
|
59
60
|
draggable: "false",
|
|
60
|
-
className:
|
|
61
|
+
className: a.carouselPhoto,
|
|
61
62
|
style: {
|
|
62
|
-
backgroundImage: `url(${v(
|
|
63
|
+
backgroundImage: `url(${v(d)})`,
|
|
63
64
|
backgroundColor: "var(--fn-bg-var)"
|
|
64
65
|
}
|
|
65
|
-
},
|
|
66
|
+
}, d);
|
|
66
67
|
})
|
|
67
68
|
})
|
|
68
69
|
})
|
|
@@ -71,5 +72,5 @@ const z = (a) => {
|
|
|
71
72
|
});
|
|
72
73
|
};
|
|
73
74
|
export {
|
|
74
|
-
|
|
75
|
+
$ as PhotoCarouselModal
|
|
75
76
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
const o = "container_O5",
|
|
1
|
+
const o = "container_O5", e = "carousel-video_g-", c = "carousel-photo_je", s = {
|
|
2
2
|
container: o,
|
|
3
|
-
|
|
3
|
+
carouselVideo: e,
|
|
4
|
+
carouselPhoto: c
|
|
4
5
|
};
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
+
c as carouselPhoto,
|
|
8
|
+
e as carouselVideo,
|
|
7
9
|
o as container,
|
|
8
|
-
|
|
10
|
+
s as default
|
|
9
11
|
};
|
package/dist/index-PickersDay.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import G from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import y from "./index-extends.js";
|
|
3
3
|
import * as m from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as T } from "./index-clsx.m.js";
|
|
6
6
|
import { useUtils as L } from "./index-useUtils.js";
|
|
7
7
|
import { DAY_SIZE as S, DAY_MARGIN as V } from "./index-dimensions.js";
|
package/dist/index-Popover2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import v from "./index-extends.js";
|
|
2
2
|
import j from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as p from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as Z } from "./index-clsx.js";
|
|
6
6
|
import le from "./index-styled.js";
|
|
7
7
|
import { getPopoverUtilityClass as Ee } from "./index-popoverClasses.js";
|
package/dist/index-Popper.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import i from "./index-extends.js";
|
|
2
2
|
import E from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import _ from "./index-useThemeWithoutDefault.js";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import * as k from "react";
|
|
6
6
|
import q from "./index-BasePopper.js";
|
|
7
7
|
import { jsx as W } from "react/jsx-runtime";
|
package/dist/index-Portal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
2
|
import * as y from "react-dom";
|
|
3
|
-
import p from "./index-
|
|
3
|
+
import p from "./index-_virtual17.js";
|
|
4
4
|
import { jsx as s } from "react/jsx-runtime";
|
|
5
5
|
import P from "./index-useForkRef.js";
|
|
6
6
|
import T from "./index-getReactElementRef.js";
|
package/dist/index-PropTypes.js
CHANGED
package/dist/index-Ripple.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "./index-extends.js";
|
|
2
2
|
import p from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as n from "react";
|
|
4
|
-
import d from "./index-
|
|
4
|
+
import d from "./index-_virtual17.js";
|
|
5
5
|
import { jsx as l } from "react/jsx-runtime";
|
|
6
6
|
import a from "./index-useEnhancedEffect2.js";
|
|
7
7
|
import h from "./index-debounce3.js";
|
package/dist/index-Select2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import p from "./index-extends.js";
|
|
2
2
|
import I from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as u from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as z } from "./index-clsx.js";
|
|
6
6
|
import B from "./index-SelectInput2.js";
|
|
7
7
|
import G from "./index-formControlState.js";
|
|
@@ -2,7 +2,7 @@ import u from "./index-extends.js";
|
|
|
2
2
|
import Re from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as i from "react";
|
|
4
4
|
import { isFragment as Fe } from "react-is";
|
|
5
|
-
import t from "./index-
|
|
5
|
+
import t from "./index-_virtual17.js";
|
|
6
6
|
import { clsx as $e } from "./index-clsx.js";
|
|
7
7
|
import je from "./index-Menu2.js";
|
|
8
8
|
import { nativeSelectSelectStyles as Ve, nativeSelectIconStyles as We } from "./index-NativeSelectInput.js";
|
package/dist/index-Skeleton2.js
CHANGED
|
@@ -2,7 +2,7 @@ import x from "./index-objectWithoutPropertiesLoose.js";
|
|
|
2
2
|
import s from "./index-extends.js";
|
|
3
3
|
import * as R from "react";
|
|
4
4
|
import { clsx as O } from "./index-clsx.js";
|
|
5
|
-
import t from "./index-
|
|
5
|
+
import t from "./index-_virtual17.js";
|
|
6
6
|
import _ from "./index-styled.js";
|
|
7
7
|
import { getSkeletonUtilityClass as T } from "./index-skeletonClasses.js";
|
|
8
8
|
import { jsx as $ } from "react/jsx-runtime";
|
package/dist/index-Slide.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import x from "./index-extends.js";
|
|
2
2
|
import D from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as g from "react";
|
|
4
|
-
import t from "./index-
|
|
4
|
+
import t from "./index-_virtual17.js";
|
|
5
5
|
import U from "./index-useTheme.js";
|
|
6
6
|
import { getTransitionProps as $, reflow as q } from "./index-utils6.js";
|
|
7
7
|
import { jsx as A } from "react/jsx-runtime";
|