@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-Accordion2.js
CHANGED
|
@@ -2,7 +2,7 @@ import i from "./index-extends.js";
|
|
|
2
2
|
import M from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import { isFragment as O } from "react-is";
|
|
5
|
-
import o from "./index-
|
|
5
|
+
import o from "./index-_virtual17.js";
|
|
6
6
|
import { clsx as L } from "./index-clsx.js";
|
|
7
7
|
import U from "./index-AccordionContext.js";
|
|
8
8
|
import _ from "./index-useSlot.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import p from "./index-extends.js";
|
|
2
2
|
import l from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as m from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as f } from "./index-clsx.js";
|
|
6
6
|
import { getAccordionDetailsUtilityClass as d } from "./index-accordionDetailsClasses.js";
|
|
7
7
|
import { jsx as u } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import y from "./index-extends.js";
|
|
2
2
|
import R from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as g from "react";
|
|
4
|
-
import s from "./index-
|
|
4
|
+
import s from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as C } from "./index-clsx.js";
|
|
6
6
|
import V from "./index-AccordionContext.js";
|
|
7
7
|
import t, { getAccordionSummaryUtilityClass as h } from "./index-accordionSummaryClasses.js";
|
package/dist/index-AppBar2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import g from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import p from "./index-extends.js";
|
|
3
3
|
import * as k from "react";
|
|
4
|
-
import a from "./index-
|
|
4
|
+
import a from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as x } from "./index-clsx.js";
|
|
6
6
|
import v from "./index-styled.js";
|
|
7
7
|
import { getAppBarUtilityClass as B } from "./index-appBarClasses.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import S from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import r from "./index-extends.js";
|
|
3
3
|
import * as lo from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as $ } from "./index-clsx.js";
|
|
6
6
|
import { c as D } from "./index-colorManipulator2.js";
|
|
7
7
|
import V from "./index-inputClasses.js";
|
package/dist/index-Backdrop.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import j from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import n from "./index-extends.js";
|
|
3
3
|
import * as R from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as N } from "./index-clsx.js";
|
|
6
6
|
import _ from "./index-styled.js";
|
|
7
7
|
import { getBackdropUtilityClass as B } from "./index-backdropClasses.js";
|
package/dist/index-BasePopper.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import x from "./index-extends.js";
|
|
2
2
|
import W from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as n from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { getPopperUtilityClass as z } from "./index-popperClasses.js";
|
|
6
6
|
import { jsx as C } from "react/jsx-runtime";
|
|
7
7
|
import D from "./index-ownerDocument2.js";
|
package/dist/index-Box.js
CHANGED
package/dist/index-Bullets.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { classNames as l } from "./index-classNames.js";
|
|
3
|
+
import { ComponentContainer as m } from "./index-ComponentContainer.js";
|
|
2
4
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
const p = (o) => {
|
|
5
|
+
import o from "./index-Bullets.module.scss.js";
|
|
6
|
+
const f = (e) => {
|
|
6
7
|
const {
|
|
7
|
-
children:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
children: t,
|
|
9
|
+
placement: r = "overlayBottom"
|
|
10
|
+
} = e;
|
|
11
|
+
return n(m, {
|
|
12
|
+
className: l(o.BulletsContainer, r === "below" ? o.BulletsContainerBelow : void 0),
|
|
13
|
+
children: t
|
|
12
14
|
});
|
|
13
15
|
};
|
|
14
16
|
export {
|
|
15
|
-
|
|
17
|
+
f as Bullets
|
|
16
18
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
BulletsContainer:
|
|
1
|
+
const e = "BulletsContainer_53", t = "BulletsContainerBelow_sq", l = {
|
|
2
|
+
BulletsContainer: e,
|
|
3
|
+
BulletsContainerBelow: t
|
|
3
4
|
};
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
e as BulletsContainer,
|
|
7
|
+
t as BulletsContainerBelow,
|
|
8
|
+
l as default
|
|
7
9
|
};
|
package/dist/index-Button2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import F 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 I } from "./index-clsx.js";
|
|
6
6
|
import { c as u } from "./index-colorManipulator2.js";
|
|
7
7
|
import x from "./index-styled.js";
|
package/dist/index-ButtonBase.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import w from "./index-extends.js";
|
|
2
2
|
import Me from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as t from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as ge } from "./index-clsx.js";
|
|
6
6
|
import Ce from "./index-styled.js";
|
|
7
7
|
import Be from "./index-TouchRipple.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import C from "./index-extends.js";
|
|
2
2
|
import x from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import N from "./index-inheritsLoose.js";
|
|
4
|
-
import v from "./index-
|
|
4
|
+
import v from "./index-_virtual17.js";
|
|
5
5
|
import A from "./index-addClass.js";
|
|
6
6
|
import _ from "./index-removeClass.js";
|
|
7
7
|
import c from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import pe from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import F from "./index-extends.js";
|
|
3
3
|
import * as f from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as Ce } from "./index-clsx.m.js";
|
|
6
6
|
import { MonthPicker as be } from "./index-MonthPicker.js";
|
|
7
7
|
import { useCalendarState as De } from "./index-useCalendarState.js";
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { CARD_MOTION_SIZES as o } from "./index-CardMotion.constants.js";
|
|
2
|
+
const d = "linear(0, 0.024, 0.087, 0.194, 0.352, 0.604, 0.789, 0.923, 1.012, 1.04, 1.027, 1.008, 1)", l = {
|
|
3
|
+
opacity: 0,
|
|
4
|
+
y: o.genericEntryOffsetY,
|
|
5
|
+
scale: 1,
|
|
6
|
+
blur: 0,
|
|
7
|
+
duration: 0.32,
|
|
8
|
+
delay: 0
|
|
9
|
+
}, m = {
|
|
10
|
+
opacity: 0,
|
|
11
|
+
y: o.genericLeaveOffsetY,
|
|
12
|
+
scale: 0.985,
|
|
13
|
+
blur: o.genericLeaveBlur,
|
|
14
|
+
duration: 0.2,
|
|
15
|
+
delay: 0
|
|
16
|
+
}, s = {
|
|
17
|
+
y: o.glowEntryOffsetY,
|
|
18
|
+
scale: o.glowEntryScale,
|
|
19
|
+
skewX: o.glowEntrySkewX,
|
|
20
|
+
skewY: o.glowEntrySkewY,
|
|
21
|
+
brightness: 1.08,
|
|
22
|
+
glowAlpha: 1,
|
|
23
|
+
radiusFrom: o.glowEntryRadiusFrom,
|
|
24
|
+
radiusTo: o.glowEntryRadiusTo,
|
|
25
|
+
duration: 1,
|
|
26
|
+
delay: 0,
|
|
27
|
+
contentDelay: 0.25,
|
|
28
|
+
contentDuration: 0.35
|
|
29
|
+
}, f = {
|
|
30
|
+
y: o.hoverLiftY,
|
|
31
|
+
scale: 1,
|
|
32
|
+
tension: 400,
|
|
33
|
+
friction: 40
|
|
34
|
+
}, u = (r) => {
|
|
35
|
+
if (!r)
|
|
36
|
+
return r;
|
|
37
|
+
const {
|
|
38
|
+
background: n,
|
|
39
|
+
backgroundColor: i,
|
|
40
|
+
...c
|
|
41
|
+
} = r;
|
|
42
|
+
return c;
|
|
43
|
+
}, w = (r) => {
|
|
44
|
+
if (r === void 0)
|
|
45
|
+
return {
|
|
46
|
+
skewX: s.skewX,
|
|
47
|
+
skewY: s.skewY
|
|
48
|
+
};
|
|
49
|
+
const n = 1 / Math.max(1, r);
|
|
50
|
+
return {
|
|
51
|
+
skewX: o.glowMaxSkewX * n,
|
|
52
|
+
skewY: o.glowMaxSkewY * n
|
|
53
|
+
};
|
|
54
|
+
}, g = (r, n, i, c, a) => {
|
|
55
|
+
if (r === "glow-in") {
|
|
56
|
+
const t = {
|
|
57
|
+
...s,
|
|
58
|
+
...w(c),
|
|
59
|
+
...a === !1 ? {
|
|
60
|
+
...s,
|
|
61
|
+
y: 0,
|
|
62
|
+
scale: 1,
|
|
63
|
+
skewX: 0,
|
|
64
|
+
skewY: 0,
|
|
65
|
+
brightness: 1,
|
|
66
|
+
glowAlpha: 0,
|
|
67
|
+
radiusFrom: 12,
|
|
68
|
+
radiusTo: 12,
|
|
69
|
+
duration: 0,
|
|
70
|
+
delay: 0,
|
|
71
|
+
contentDelay: 0,
|
|
72
|
+
contentDuration: 0
|
|
73
|
+
} : a
|
|
74
|
+
};
|
|
75
|
+
return {
|
|
76
|
+
kind: "glow-shell",
|
|
77
|
+
transitionFrom: {
|
|
78
|
+
opacity: 1,
|
|
79
|
+
y: 0,
|
|
80
|
+
scale: 1,
|
|
81
|
+
blur: 0
|
|
82
|
+
},
|
|
83
|
+
transitionEnter: {
|
|
84
|
+
opacity: 1,
|
|
85
|
+
y: 0,
|
|
86
|
+
scale: 1,
|
|
87
|
+
blur: 0
|
|
88
|
+
},
|
|
89
|
+
delayOffset: 0,
|
|
90
|
+
duration: 0,
|
|
91
|
+
shellStyle: {
|
|
92
|
+
...u(i),
|
|
93
|
+
"--card-motion-delay": `${n + t.delay}s`,
|
|
94
|
+
"--card-motion-duration": `${t.duration}s`,
|
|
95
|
+
"--card-motion-content-delay": `${n + t.contentDelay}s`,
|
|
96
|
+
"--card-motion-content-duration": `${t.contentDuration}s`,
|
|
97
|
+
"--card-motion-ease": d,
|
|
98
|
+
"--card-motion-y-from": `${t.y}px`,
|
|
99
|
+
"--card-motion-scale-from": t.scale,
|
|
100
|
+
"--card-motion-skew-x-from": `${t.skewX}deg`,
|
|
101
|
+
"--card-motion-skew-y-from": `${t.skewY}deg`,
|
|
102
|
+
"--card-motion-radius-from": `${t.radiusFrom}px`,
|
|
103
|
+
"--card-motion-radius-to": `${t.radiusTo}px`,
|
|
104
|
+
"--card-motion-brightness-from": t.brightness,
|
|
105
|
+
"--card-motion-glow-alpha-from": t.glowAlpha,
|
|
106
|
+
"--card-motion-shadow-inset-width": `${o.glowShadowInsetWidth}px`,
|
|
107
|
+
"--card-motion-shadow-offset-y": `${o.glowShadowOffsetY}px`,
|
|
108
|
+
"--card-motion-shadow-blur": `${o.glowShadowBlur}px`,
|
|
109
|
+
"--card-motion-perspective": `${o.transformPerspective}px`,
|
|
110
|
+
"--card-motion-content-blur-from": `${o.contentBlurFrom}px`,
|
|
111
|
+
"--card-motion-content-y-from": `${o.contentOffsetY}px`
|
|
112
|
+
},
|
|
113
|
+
contentStyle: {
|
|
114
|
+
animationDelay: `${n + t.contentDelay}s`,
|
|
115
|
+
animationDuration: `${t.contentDuration}s`
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
const e = {
|
|
120
|
+
...l,
|
|
121
|
+
...a === !1 ? {
|
|
122
|
+
...l,
|
|
123
|
+
opacity: 1,
|
|
124
|
+
y: 0,
|
|
125
|
+
scale: 1,
|
|
126
|
+
blur: 0,
|
|
127
|
+
duration: 0,
|
|
128
|
+
delay: 0
|
|
129
|
+
} : a
|
|
130
|
+
};
|
|
131
|
+
return {
|
|
132
|
+
kind: "spring",
|
|
133
|
+
baseStyle: i,
|
|
134
|
+
transitionFrom: {
|
|
135
|
+
opacity: e.opacity,
|
|
136
|
+
y: e.y,
|
|
137
|
+
scale: e.scale,
|
|
138
|
+
blur: e.blur
|
|
139
|
+
},
|
|
140
|
+
transitionEnter: {
|
|
141
|
+
opacity: 1,
|
|
142
|
+
y: 0,
|
|
143
|
+
scale: 1,
|
|
144
|
+
blur: 0
|
|
145
|
+
},
|
|
146
|
+
delayOffset: e.delay,
|
|
147
|
+
duration: e.duration
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export {
|
|
151
|
+
l as GENERIC_ENTRY,
|
|
152
|
+
m as GENERIC_LEAVE,
|
|
153
|
+
s as GLOW_ENTRY_DEFAULTS,
|
|
154
|
+
f as HOVER_DEFAULTS,
|
|
155
|
+
d as SPRING_EASE_CSS,
|
|
156
|
+
g as getEntryPresetConfig,
|
|
157
|
+
w as getGlowSkewValues,
|
|
158
|
+
u as stripGlowBackground
|
|
159
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
genericEntryOffsetY: 20,
|
|
3
|
+
genericLeaveOffsetY: 12,
|
|
4
|
+
genericLeaveBlur: 2,
|
|
5
|
+
glowEntryOffsetY: -8,
|
|
6
|
+
glowEntryScale: 0.7,
|
|
7
|
+
glowEntrySkewX: 4,
|
|
8
|
+
glowEntrySkewY: 8,
|
|
9
|
+
glowEntryRadiusFrom: 24,
|
|
10
|
+
glowEntryRadiusTo: 12,
|
|
11
|
+
glowMaxSkewX: 8,
|
|
12
|
+
glowMaxSkewY: 12,
|
|
13
|
+
hoverLiftY: -4,
|
|
14
|
+
glowShadowInsetWidth: 1,
|
|
15
|
+
glowShadowOffsetY: 14,
|
|
16
|
+
glowShadowBlur: 40,
|
|
17
|
+
transformPerspective: 1e3,
|
|
18
|
+
contentBlurFrom: 8,
|
|
19
|
+
contentOffsetY: 8
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
e as CARD_MOTION_SIZES
|
|
23
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useState as F, useMemo as y } from "react";
|
|
3
|
+
import { a as N } from "./index-react-spring_web.modern.js";
|
|
4
|
+
import { HOVER_DEFAULTS as x, getEntryPresetConfig as O, GENERIC_LEAVE as C } from "./index-CardMotion.config.js";
|
|
5
|
+
import p from "./index-CardMotion.module.scss.js";
|
|
6
|
+
import { useSpring as P, useTransition as R, to as T } from "./index-react-spring_core.modern.js";
|
|
7
|
+
function U({
|
|
8
|
+
delay: f,
|
|
9
|
+
className: a,
|
|
10
|
+
style: g,
|
|
11
|
+
children: E,
|
|
12
|
+
hoverable: o = !1,
|
|
13
|
+
glowIn: H = !1,
|
|
14
|
+
index: d,
|
|
15
|
+
isVisible: n = !0,
|
|
16
|
+
entryPreset: L,
|
|
17
|
+
entryAnimation: m,
|
|
18
|
+
leaveAnimation: l,
|
|
19
|
+
hoverAnimation: r
|
|
20
|
+
}) {
|
|
21
|
+
const [S, $] = F(!1), v = L ?? (H ? "glow-in" : "fade-up"), c = y(() => r === !1 || !o && r === void 0 ? {
|
|
22
|
+
...x,
|
|
23
|
+
y: 0
|
|
24
|
+
} : {
|
|
25
|
+
...x,
|
|
26
|
+
...o ? {} : {
|
|
27
|
+
y: 0
|
|
28
|
+
},
|
|
29
|
+
...r
|
|
30
|
+
}, [r, o]), w = P({
|
|
31
|
+
hoverY: S ? c.y : 0,
|
|
32
|
+
hoverScale: S ? c.scale : 1,
|
|
33
|
+
config: {
|
|
34
|
+
tension: c.tension,
|
|
35
|
+
friction: c.friction
|
|
36
|
+
}
|
|
37
|
+
}), e = y(() => O(v, f, g, d, m), [v, f, g, d, m]), t = y(() => ({
|
|
38
|
+
...C,
|
|
39
|
+
...l === !1 ? {
|
|
40
|
+
...C,
|
|
41
|
+
opacity: 1,
|
|
42
|
+
y: 0,
|
|
43
|
+
scale: 1,
|
|
44
|
+
blur: 0,
|
|
45
|
+
duration: 0,
|
|
46
|
+
delay: 0
|
|
47
|
+
} : l
|
|
48
|
+
}), [l]), M = R(n ? ["visible"] : [], {
|
|
49
|
+
keys: (s) => s,
|
|
50
|
+
from: e.transitionFrom,
|
|
51
|
+
enter: e.transitionEnter,
|
|
52
|
+
leave: l === !1 ? {
|
|
53
|
+
opacity: 1,
|
|
54
|
+
y: 0,
|
|
55
|
+
scale: 1,
|
|
56
|
+
blur: 0
|
|
57
|
+
} : {
|
|
58
|
+
opacity: t.opacity,
|
|
59
|
+
y: t.y,
|
|
60
|
+
scale: t.scale,
|
|
61
|
+
blur: t.blur
|
|
62
|
+
},
|
|
63
|
+
delay: n ? (f + e.delayOffset) * 1e3 : t.delay * 1e3,
|
|
64
|
+
config: {
|
|
65
|
+
duration: (n ? e.duration : t.duration) * 1e3
|
|
66
|
+
},
|
|
67
|
+
expires: !0
|
|
68
|
+
});
|
|
69
|
+
return !n && l === !1 ? null : M((s) => i(N.div, {
|
|
70
|
+
className: e.kind === "spring" ? a : void 0,
|
|
71
|
+
onMouseEnter: o || r ? () => $(!0) : void 0,
|
|
72
|
+
onMouseLeave: o || r ? () => $(!1) : void 0,
|
|
73
|
+
style: {
|
|
74
|
+
...e.baseStyle ?? {},
|
|
75
|
+
opacity: s.opacity,
|
|
76
|
+
filter: s.blur.to((u) => `blur(${u}px)`),
|
|
77
|
+
transform: T([s.y, s.scale, w.hoverY, w.hoverScale], (u, k, I, h) => `translate3d(0, ${u + I}px, 0) scale(${k * h})`)
|
|
78
|
+
},
|
|
79
|
+
children: e.kind === "glow-shell" ? i("div", {
|
|
80
|
+
className: a ? `${p.glowShell} ${a}` : p.glowShell,
|
|
81
|
+
style: e.shellStyle,
|
|
82
|
+
"data-card-motion-index": d,
|
|
83
|
+
children: i("div", {
|
|
84
|
+
className: p.contentIn,
|
|
85
|
+
style: e.contentStyle,
|
|
86
|
+
children: E
|
|
87
|
+
})
|
|
88
|
+
}) : E
|
|
89
|
+
}));
|
|
90
|
+
}
|
|
91
|
+
export {
|
|
92
|
+
U as CardMotion
|
|
93
|
+
};
|
package/dist/index-Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import J from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import f from "./index-extends.js";
|
|
3
3
|
import * as u from "react";
|
|
4
|
-
import l from "./index-
|
|
4
|
+
import l from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as k } from "./index-clsx.js";
|
|
6
6
|
import { c as d } from "./index-colorManipulator2.js";
|
|
7
7
|
import Q from "./index-Cancel.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import pe from "./index-extends.js";
|
|
2
2
|
import * as T from "react";
|
|
3
3
|
import { clsx as he } from "./index-clsx.m.js";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { Clock as ge } from "./index-Clock3.js";
|
|
6
6
|
import { useLocaleText as Ce, useNow as fe, useUtils as be } from "./index-useUtils.js";
|
|
7
7
|
import { buildDeprecatedPropsWarning as we } from "./index-warning.js";
|
package/dist/index-Collapse2.js
CHANGED
|
@@ -2,7 +2,7 @@ import ee from "./index-objectWithoutPropertiesLoose.js";
|
|
|
2
2
|
import r from "./index-extends.js";
|
|
3
3
|
import * as z from "react";
|
|
4
4
|
import { clsx as te } from "./index-clsx.js";
|
|
5
|
-
import e from "./index-
|
|
5
|
+
import e from "./index-_virtual17.js";
|
|
6
6
|
import b from "./index-styled.js";
|
|
7
7
|
import { duration as ne } from "./index-createTransitions.js";
|
|
8
8
|
import { getTransitionProps as H } from "./index-utils6.js";
|
package/dist/index-DateInput.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { __exports as p } from "./index-
|
|
1
|
+
import { __exports as p } from "./index-_virtual70.js";
|
|
2
2
|
import k from "react";
|
|
3
3
|
import { __require as K } from "./index-prop-types.js";
|
|
4
4
|
import { __require as L } from "./index-classnames2.js";
|
|
5
|
-
import U from "./index-
|
|
6
|
-
import z from "./index-
|
|
7
|
-
import A from "./index-
|
|
5
|
+
import U from "./index-_virtual71.js";
|
|
6
|
+
import z from "./index-_virtual72.js";
|
|
7
|
+
import A from "./index-_virtual73.js";
|
|
8
8
|
import V from "./index-_virtual55.js";
|
|
9
9
|
var q;
|
|
10
10
|
function te() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./index-extends.js";
|
|
2
2
|
import u from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as d from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
6
|
import f from "./index-useThemeProps.js";
|
|
7
7
|
import m from "./index-useMediaQuery.js";
|
package/dist/index-DayCell.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { __exports as g } from "./index-
|
|
1
|
+
import { __exports as g } from "./index-_virtual66.js";
|
|
2
2
|
import ae from "react";
|
|
3
3
|
import { __require as oe } from "./index-prop-types.js";
|
|
4
4
|
import { __require as se } from "./index-classnames2.js";
|
|
5
5
|
import ue from "./index-_virtual62.js";
|
|
6
6
|
import ie from "./index-_virtual41.js";
|
|
7
|
-
import le from "./index-
|
|
7
|
+
import le from "./index-_virtual67.js";
|
|
8
8
|
import fe from "./index-_virtual51.js";
|
|
9
9
|
import de from "./index-_virtual55.js";
|
|
10
10
|
import ce from "./index-_virtual61.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import o from "./index-
|
|
2
|
+
import o from "./index-_virtual17.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import { useDefaultProps as r } from "./index-DefaultPropsProvider2.js";
|
|
5
5
|
process.env.NODE_ENV !== "production" && (o.node, o.object.isRequired);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./index-extends.js";
|
|
2
2
|
import D from "./index-objectWithoutPropertiesLoose.js";
|
|
3
3
|
import * as g from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { useDatePickerDefaultizedProps as T, datePickerValueManager as y } from "./index-shared.js";
|
|
6
6
|
import { DatePickerToolbar as k } from "./index-DatePickerToolbar.js";
|
|
7
7
|
import { DesktopWrapper as C } from "./index-DesktopWrapper.js";
|
package/dist/index-Dialog.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import z from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import i from "./index-extends.js";
|
|
3
3
|
import * as g from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as k } from "./index-clsx.js";
|
|
6
6
|
import d from "./index-styled.js";
|
|
7
7
|
import y, { getDialogUtilityClass as H } from "./index-dialogClasses.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import m from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import r from "./index-extends.js";
|
|
3
3
|
import * as f from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as d } from "./index-clsx.js";
|
|
6
6
|
import g from "./index-styled.js";
|
|
7
7
|
import { getDialogActionsUtilityClass as u } from "./index-dialogActionsClasses.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import c from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import i from "./index-extends.js";
|
|
3
3
|
import * as m from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as f } from "./index-clsx.js";
|
|
6
6
|
import v from "./index-styled.js";
|
|
7
7
|
import { getDialogContentUtilityClass as u } from "./index-dialogContentClasses.js";
|
package/dist/index-Drawer2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import B from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import n from "./index-extends.js";
|
|
3
3
|
import * as v from "react";
|
|
4
|
-
import r from "./index-
|
|
4
|
+
import r from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as m } from "./index-clsx.js";
|
|
6
6
|
import { useRtl as H } from "./index-RtlProvider.js";
|
|
7
7
|
import F from "./index-useTheme.js";
|
package/dist/index-Fade.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import p from "./index-extends.js";
|
|
2
2
|
import S 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 q from "./index-useTheme.js";
|
|
6
6
|
import { getTransitionProps as y, reflow as z } from "./index-utils6.js";
|
|
7
7
|
import { jsx as D } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import h from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import d from "./index-extends.js";
|
|
3
3
|
import * as L from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import C from "./index-styled.js";
|
|
6
6
|
import i, { getFilledInputUtilityClass as O } from "./index-filledInputClasses.js";
|
|
7
7
|
import $, { InputBaseRoot as j, rootOverridesResolver as W, InputBaseComponent as _, inputOverridesResolver as U } from "./index-InputBase2.js";
|
package/dist/index-FocusTrap.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import L from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import m from "./index-extends.js";
|
|
3
3
|
import * as n from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as q } from "./index-clsx.js";
|
|
6
6
|
import U from "./index-styled.js";
|
|
7
7
|
import { isAdornedStart as w, isFilled as I } from "./index-utils8.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import v from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import m from "./index-extends.js";
|
|
3
3
|
import * as T from "react";
|
|
4
|
-
import e from "./index-
|
|
4
|
+
import e from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as y } from "./index-clsx.js";
|
|
6
6
|
import z from "./index-formControlState.js";
|
|
7
7
|
import F from "./index-useFormControl.js";
|
package/dist/index-FormLabel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import v from "./index-objectWithoutPropertiesLoose.js";
|
|
2
2
|
import c from "./index-extends.js";
|
|
3
3
|
import * as F from "react";
|
|
4
|
-
import o from "./index-
|
|
4
|
+
import o from "./index-_virtual17.js";
|
|
5
5
|
import { clsx as L } from "./index-clsx.js";
|
|
6
6
|
import q from "./index-formControlState.js";
|
|
7
7
|
import x from "./index-useFormControl.js";
|