@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.
Files changed (183) hide show
  1. package/dist/index-Accordion2.js +1 -1
  2. package/dist/index-AccordionDetails.js +1 -1
  3. package/dist/index-AccordionSummary.js +1 -1
  4. package/dist/index-AppBar2.js +1 -1
  5. package/dist/index-Autocomplete2.js +1 -1
  6. package/dist/index-Backdrop.js +1 -1
  7. package/dist/index-BasePopper.js +1 -1
  8. package/dist/index-Box.js +1 -1
  9. package/dist/index-Bullets.js +12 -10
  10. package/dist/index-Bullets.module.scss.js +6 -4
  11. package/dist/index-Button2.js +1 -1
  12. package/dist/index-ButtonBase.js +1 -1
  13. package/dist/index-CSSTransition.js +1 -1
  14. package/dist/index-CalendarPicker.js +1 -1
  15. package/dist/index-CardMotion.config.js +159 -0
  16. package/dist/index-CardMotion.constants.js +23 -0
  17. package/dist/index-CardMotion.js +93 -0
  18. package/dist/index-CardMotion.module.scss.js +9 -0
  19. package/dist/index-Chip.js +1 -1
  20. package/dist/index-ClickAwayListener.js +1 -1
  21. package/dist/index-ClockPicker.js +1 -1
  22. package/dist/index-Collapse2.js +1 -1
  23. package/dist/index-DateInput.js +4 -4
  24. package/dist/index-DatePicker2.js +1 -1
  25. package/dist/index-DayCell.js +2 -2
  26. package/dist/index-DefaultPropsProvider.js +1 -1
  27. package/dist/index-DefaultPropsProvider2.js +1 -1
  28. package/dist/index-DesktopDatePicker.js +1 -1
  29. package/dist/index-Dialog.js +1 -1
  30. package/dist/index-DialogActions.js +1 -1
  31. package/dist/index-DialogContent.js +1 -1
  32. package/dist/index-Drawer2.js +1 -1
  33. package/dist/index-Fade.js +1 -1
  34. package/dist/index-FilledInput.js +1 -1
  35. package/dist/index-FocusTrap.js +1 -1
  36. package/dist/index-FormControl2.js +1 -1
  37. package/dist/index-FormHelperText.js +1 -1
  38. package/dist/index-FormLabel.js +1 -1
  39. package/dist/index-GlobalStyles.js +1 -1
  40. package/dist/index-GlobalStyles2.js +1 -1
  41. package/dist/index-GlobalStyles3.js +1 -1
  42. package/dist/index-Grid.js +1 -1
  43. package/dist/index-Grow.js +1 -1
  44. package/dist/index-IconButton2.js +1 -1
  45. package/dist/index-Input2.js +1 -1
  46. package/dist/index-InputAdornment.js +1 -1
  47. package/dist/index-InputBase2.js +1 -1
  48. package/dist/index-InputLabel.js +1 -1
  49. package/dist/index-InputRangeField.js +1 -1
  50. package/dist/index-LinearProgress.js +1 -1
  51. package/dist/index-List2.js +1 -1
  52. package/dist/index-ListSubheader.js +1 -1
  53. package/dist/index-LocalizationProvider.js +1 -1
  54. package/dist/index-Menu2.js +1 -1
  55. package/dist/index-MenuItem2.js +1 -1
  56. package/dist/index-MenuList.js +1 -1
  57. package/dist/index-MobileDatePicker.js +1 -1
  58. package/dist/index-Modal2.js +1 -1
  59. package/dist/index-ModalContext.js +37 -36
  60. package/dist/index-ModalTransition.js +9 -7
  61. package/dist/index-Month.js +3 -3
  62. package/dist/index-MonthPicker.js +1 -1
  63. package/dist/index-NativeSelectInput.js +1 -1
  64. package/dist/index-NotchedOutline.js +1 -1
  65. package/dist/index-OutlinedInput.js +1 -1
  66. package/dist/index-Paper.js +1 -1
  67. package/dist/index-PhotoCarouselModal.js +26 -25
  68. package/dist/index-PhotoCarouselModal.module.scss.js +6 -4
  69. package/dist/index-PickersDay.js +1 -1
  70. package/dist/index-Popover2.js +1 -1
  71. package/dist/index-Popper.js +1 -1
  72. package/dist/index-Portal.js +1 -1
  73. package/dist/index-PropTypes.js +1 -1
  74. package/dist/index-Ripple.js +1 -1
  75. package/dist/index-RtlProvider.js +1 -1
  76. package/dist/index-ScrollbarSize.js +1 -1
  77. package/dist/index-Select2.js +1 -1
  78. package/dist/index-SelectInput2.js +1 -1
  79. package/dist/index-Skeleton2.js +1 -1
  80. package/dist/index-Slide.js +1 -1
  81. package/dist/index-SlideCarousel.js +117 -138
  82. package/dist/index-SlideCarousel.module.scss.js +22 -14
  83. package/dist/index-Slider2.js +1 -1
  84. package/dist/index-SliderValueLabel.js +1 -1
  85. package/dist/index-Snackbar2.js +1 -1
  86. package/dist/index-SnackbarContent.js +1 -1
  87. package/dist/index-StyledEngineProvider.js +1 -1
  88. package/dist/index-SvgIcon.js +1 -1
  89. package/dist/index-Tab2.js +1 -1
  90. package/dist/index-TabScrollButton.js +1 -1
  91. package/dist/index-Tabs2.js +1 -1
  92. package/dist/index-Text.js +158 -131
  93. package/dist/index-TextField.js +1 -1
  94. package/dist/index-TextHighlighted.js +11 -136
  95. package/dist/index-TextareaAutosize.js +1 -1
  96. package/dist/index-ToggleButton2.js +1 -1
  97. package/dist/index-ToggleButtonGroup2.js +1 -1
  98. package/dist/index-Toolbar2.js +1 -1
  99. package/dist/index-Tooltip.js +1 -1
  100. package/dist/index-TouchRipple.js +1 -1
  101. package/dist/index-Transition.js +1 -1
  102. package/dist/index-TransitionGroup.js +1 -1
  103. package/dist/index-Typography.js +1 -1
  104. package/dist/index-YearPicker.js +1 -1
  105. package/dist/index-_virtual16.js +3 -5
  106. package/dist/index-_virtual17.js +5 -3
  107. package/dist/index-_virtual66.js +2 -2
  108. package/dist/index-_virtual67.js +4 -2
  109. package/dist/index-_virtual68.js +2 -4
  110. package/dist/index-_virtual69.js +4 -2
  111. package/dist/index-_virtual70.js +2 -2
  112. package/dist/index-_virtual71.js +1 -1
  113. package/dist/index-_virtual72.js +4 -2
  114. package/dist/index-_virtual73.js +1 -1
  115. package/dist/index-_virtual74.js +2 -4
  116. package/dist/index-_virtual75.js +2 -4
  117. package/dist/index-_virtual76.js +2 -2
  118. package/dist/index-accessibility.js +1 -1
  119. package/dist/index-elementAcceptingRef.js +1 -1
  120. package/dist/index-elementTypeAcceptingRef.js +1 -1
  121. package/dist/index-helpers3.js +1 -1
  122. package/dist/index-lib5.js +1 -1
  123. package/dist/index-react-spring_animated.modern.js +6 -6
  124. package/dist/index-react-spring_core.modern.js +56 -54
  125. package/dist/index-react-spring_web.modern.js +9 -8
  126. package/dist/index-refType.js +1 -1
  127. package/dist/index-regex.js +1 -1
  128. package/dist/index-responsivePropType.js +1 -1
  129. package/dist/index-use-carousel-movement.js +138 -0
  130. package/dist/index.js +300 -296
  131. package/dist/types/core/CardMotion/CardMotion.config.d.ts +855 -0
  132. package/dist/types/core/CardMotion/CardMotion.constants.d.ts +20 -0
  133. package/dist/types/core/CardMotion/CardMotion.d.ts +3 -0
  134. package/dist/types/core/CardMotion/CardMotion.types.d.ts +60 -0
  135. package/dist/types/core/CardMotion/index.d.ts +2 -0
  136. package/dist/types/core/CardMotion/stories/CustomMotion.story.d.ts +2 -0
  137. package/dist/types/core/CardMotion/stories/Default.story.d.ts +2 -0
  138. package/dist/types/core/CardMotion/stories/GlowIn.story.d.ts +2 -0
  139. package/dist/types/core/CardMotion/stories/GlowPreset.story.d.ts +2 -0
  140. package/dist/types/core/CardMotion/stories/Hoverable.story.d.ts +2 -0
  141. package/dist/types/core/CardMotion/stories/StaggeredGlowGroup.story.d.ts +2 -0
  142. package/dist/types/core/CardMotion/stories/VisibilityToggle.story.d.ts +2 -0
  143. package/dist/types/core/CardMotion/stories/_CardMotion.default.d.ts +3 -0
  144. package/dist/types/core/Modal/ModalContext.d.ts +1 -0
  145. package/dist/types/core/Modal/stories/StackingPermutations.story.d.ts +71 -0
  146. package/dist/types/core/Modal/stories/TwoModalsOverlapping.story.d.ts +2 -0
  147. package/dist/types/core/Modal/stories/TwoModalsOverlappingDifferentAnimations.story.d.ts +2 -0
  148. package/dist/types/core/SlideCarousel/Bullets/Bullets.d.ts +2 -0
  149. package/dist/types/core/SlideCarousel/SlideCarousel.d.ts +6 -0
  150. package/dist/types/core/SlideCarousel/hooks/use-carousel-movement.d.ts +27 -0
  151. package/dist/types/core/SlideCarousel/index.d.ts +2 -0
  152. package/dist/types/core/SlideCarousel/stories/SlideCarouselAutoPlay.story.d.ts +2 -0
  153. package/dist/types/core/SlideCarousel/stories/SlideCarouselBasic.story.d.ts +2 -0
  154. package/dist/types/core/SlideCarousel/stories/SlideCarouselBulletsBelow.story.d.ts +2 -0
  155. package/dist/types/core/SlideCarousel/stories/SlideCarouselControlled.story.d.ts +2 -0
  156. package/dist/types/core/SlideCarousel/stories/SlideCarouselCustomArrows.story.d.ts +2 -0
  157. package/dist/types/core/SlideCarousel/stories/SlideCarouselCustomBullets.story.d.ts +2 -0
  158. package/dist/types/core/SlideCarousel/stories/SlideCarouselMultipleSlidesAtOnce.story.d.ts +2 -0
  159. package/dist/types/core/SlideCarousel/stories/SlideCarouselOutsideArrows.story.d.ts +2 -0
  160. package/dist/types/core/SlideCarousel/stories/SlideCarouselWithArrows.story.d.ts +2 -0
  161. package/dist/types/core/SlideCarousel/stories/SlideCarouselWithArrowsAndBullets.story.d.ts +2 -0
  162. package/dist/types/core/SlideCarousel/stories/SlideCarouselWithBullets.story.d.ts +2 -0
  163. package/dist/types/core/SlideCarousel/stories/_SlideCarousel.default.d.ts +13 -0
  164. package/dist/types/core/Text/Text.types.d.ts +4 -0
  165. package/dist/types/core/Text/stories/stories/HighlightCaseInsensitive.story.d.ts +3 -0
  166. package/dist/types/core/Text/stories/stories/HighlightDefault.story.d.ts +2 -0
  167. package/dist/types/core/Text/stories/stories/HighlightModeBackground.story.d.ts +2 -0
  168. package/dist/types/core/Text/stories/stories/HighlightModeBold.story.d.ts +2 -0
  169. package/dist/types/core/Text/stories/stories/HighlightModeText.story.d.ts +2 -0
  170. package/dist/types/core/Text/stories/stories/HighlightWithEmphasis.story.d.ts +2 -0
  171. package/dist/types/core/TextHighlighted/TextHighlighted.d.ts +4 -1
  172. package/dist/types/index.d.ts +4 -0
  173. package/dist/vanguard-asset-analysis.json +1 -1
  174. package/dist/vanguard.css +1 -1
  175. package/dist-wordpress/index.js +17776 -17742
  176. package/dist-wordpress/types/core/PageSection/GradientPrimaryMeshBackground.d.ts +1 -0
  177. package/dist-wordpress/types/core/PageSection/PageSection.d.ts +43 -0
  178. package/dist-wordpress/types/core/PageSection/index.d.ts +2 -0
  179. package/dist-wordpress/types/core/TextHighlighted/TextHighlighted.d.ts +4 -1
  180. package/dist-wordpress/types/index.d.ts +2 -0
  181. package/dist-wordpress/vanguard.css +1 -1
  182. package/package.json +1 -1
  183. package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +0 -2
@@ -1,5 +1,7 @@
1
- import { __require as e } from "./index-exenv.js";
2
- var o = e();
1
+ import { getDefaultExportFromCjs as r } from "./index-_commonjsHelpers.js";
2
+ import { __require as o } from "./index-prop-types.js";
3
+ var p = /* @__PURE__ */ o();
4
+ const s = /* @__PURE__ */ r(p);
3
5
  export {
4
- o as e
6
+ s as default
5
7
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var a = {};
2
2
  export {
3
- r as __exports
3
+ a as __exports
4
4
  };
@@ -1,4 +1,6 @@
1
- var a = {};
1
+ import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
+ import * as r from "./index-isAfter.js";
3
+ const m = /* @__PURE__ */ e(r);
2
4
  export {
3
- a as __exports
5
+ m as default
4
6
  };
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isAfter.js";
3
- const m = /* @__PURE__ */ e(r);
1
+ var o = {};
4
2
  export {
5
- m as default
3
+ o as __exports
6
4
  };
@@ -1,4 +1,6 @@
1
- var e = {};
1
+ import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
+ import * as r from "./index-isWeekend.js";
3
+ const m = /* @__PURE__ */ e(r);
2
4
  export {
3
- e as __exports
5
+ m as default
4
6
  };
@@ -1,4 +1,4 @@
1
- var o = {};
1
+ var t = {};
2
2
  export {
3
- o as __exports
3
+ t as __exports
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isWeekend.js";
2
+ import * as r from "./index-isEqual.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,4 +1,6 @@
1
- var t = {};
1
+ import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
+ import * as r from "./index-isValid2.js";
3
+ const m = /* @__PURE__ */ e(r);
2
4
  export {
3
- t as __exports
5
+ m as default
4
6
  };
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isEqual.js";
2
+ import * as r from "./index-parse3.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isValid2.js";
3
- const m = /* @__PURE__ */ e(r);
1
+ var s = {};
4
2
  export {
5
- m as default
3
+ s as __exports
6
4
  };
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-parse3.js";
3
- const m = /* @__PURE__ */ e(r);
1
+ var e = {};
4
2
  export {
5
- m as default
3
+ e as __exports
6
4
  };
@@ -1,4 +1,4 @@
1
- var s = {};
1
+ var r = {};
2
2
  export {
3
- s as __exports
3
+ r as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- import { __exports as t } from "./index-_virtual76.js";
1
+ import { __exports as t } from "./index-_virtual74.js";
2
2
  import { __require as s } from "./index-prop-types.js";
3
3
  var a;
4
4
  function f() {
@@ -1,4 +1,4 @@
1
- import r from "./index-_virtual16.js";
1
+ import r from "./index-_virtual17.js";
2
2
  import a from "./index-chainPropTypes.js";
3
3
  function u(n) {
4
4
  const {
@@ -1,4 +1,4 @@
1
- import c from "./index-_virtual16.js";
1
+ import c from "./index-_virtual17.js";
2
2
  import l from "./index-chainPropTypes.js";
3
3
  function f(n) {
4
4
  const {
@@ -1,4 +1,4 @@
1
- import { e as u } from "./index-_virtual17.js";
1
+ import { e as u } from "./index-_virtual16.js";
2
2
  var d = {
3
3
  FAILED: "failed",
4
4
  LOADED: "loaded",
@@ -1,4 +1,4 @@
1
- import { __exports as r } from "./index-_virtual66.js";
1
+ import { __exports as r } from "./index-_virtual76.js";
2
2
  import { __require as a } from "./index-dom.js";
3
3
  import { __require as o } from "./index-dom-parser.js";
4
4
  var i;
@@ -1,8 +1,8 @@
1
- import { eachProp as m, is as i, hasFluidValue as v, getFluidValue as $, each as o, useForceUpdate as j, useIsomorphicLayoutEffect as B, addFluidObserver as D, removeFluidObserver as P, useOnce as K, defineHidden as L, createInterpolator as b, isAnimatedString as N } from "./index-react-spring_shared.modern.js";
1
+ import { eachProp as m, defineHidden as $, is as i, hasFluidValue as v, getFluidValue as j, each as o, isAnimatedString as N, useForceUpdate as B, useIsomorphicLayoutEffect as D, addFluidObserver as K, removeFluidObserver as P, useOnce as L, createInterpolator as b } from "./index-react-spring_shared.modern.js";
2
2
  import * as M from "react";
3
3
  import { forwardRef as q, useRef as S, useCallback as z, useEffect as G } from "react";
4
4
  import { raf as O } from "./index-react-spring_rafz.modern.js";
5
- var h = Symbol.for("Animated:node"), J = (e) => !!e && e[h] === e, Q = (e) => e && e[h], W = (e, t) => L(e, h, t), X = (e) => e && e[h] && e[h].getPayload(), R = class {
5
+ var h = Symbol.for("Animated:node"), J = (e) => !!e && e[h] === e, Q = (e) => e && e[h], W = (e, t) => $(e, h, t), X = (e) => e && e[h] && e[h].getPayload(), R = class {
6
6
  constructor() {
7
7
  W(this, this);
8
8
  }
@@ -68,7 +68,7 @@ var h = Symbol.for("Animated:node"), J = (e) => !!e && e[h] === e, Q = (e) => e
68
68
  getValue(e) {
69
69
  const t = {};
70
70
  return m(this.source, (s, u) => {
71
- J(s) ? t[u] = s.getValue(e) : v(s) ? t[u] = $(s) : e || (t[u] = s);
71
+ J(s) ? t[u] = s.getValue(e) : v(s) ? t[u] = j(s) : e || (t[u] = s);
72
72
  }), t;
73
73
  }
74
74
  /** Replace the raw object data */
@@ -127,18 +127,18 @@ var w = (e, t) => {
127
127
  d.current = te(n, a);
128
128
  },
129
129
  [n]
130
- ), [l, g] = ee(u, t), k = j(), A = () => {
130
+ ), [l, g] = ee(u, t), k = B(), A = () => {
131
131
  const a = d.current;
132
132
  if (s && !a)
133
133
  return;
134
134
  (a ? t.applyAnimatedValues(a, l.getValue(!0)) : !1) === !1 && k();
135
135
  }, _ = new C(A, g), c = S(void 0);
136
- B(() => (c.current = _, o(g, (a) => D(a, _)), () => {
136
+ D(() => (c.current = _, o(g, (a) => K(a, _)), () => {
137
137
  c.current && (o(
138
138
  c.current.deps,
139
139
  (a) => P(a, c.current)
140
140
  ), O.cancel(c.current.update));
141
- })), G(A, []), K(() => () => {
141
+ })), G(A, []), L(() => () => {
142
142
  const a = c.current;
143
143
  o(a.deps, (V) => P(V, a));
144
144
  });
@@ -1,13 +1,13 @@
1
- import { is as o, useIsomorphicLayoutEffect as ue, useOnce as Xe, each as I, toArray as M, useForceUpdate as Ze, usePrev as we, eachProp as se, addFluidObserver as ve, flush as _e, deprecateDirectCall as St, flushCalls as ce, Globals as H, getFluidValue as z, hasFluidValue as W, isEqual as K, isAnimatedString as et, getFluidObservers as Qe, removeFluidObserver as tt, frameLoop as Oe, callFluidObservers as ye, FluidValue as It, deprecateInterpolate as wt, easings as At, noop as Ne, createStringInterpolator as Ct, createInterpolator as Rt } from "./index-react-spring_shared.modern.js";
1
+ import { is as o, useIsomorphicLayoutEffect as ue, useOnce as Xe, each as I, toArray as M, useForceUpdate as Ze, usePrev as we, createInterpolator as It, isEqual as K, getFluidValue as z, Globals as H, frameLoop as Oe, FluidValue as wt, deprecateInterpolate as At, callFluidObservers as ye, hasFluidValue as W, addFluidObserver as ve, removeFluidObserver as et, eachProp as se, flush as _e, deprecateDirectCall as Ct, flushCalls as ce, isAnimatedString as tt, getFluidObservers as Qe, easings as Rt, noop as Ne, createStringInterpolator as xt } from "./index-react-spring_shared.modern.js";
2
2
  import * as fe from "react";
3
3
  import { useMemo as le, useRef as te, useContext as it } from "react";
4
- import { getAnimated as $, AnimatedValue as xt, getPayload as qe, AnimatedString as ze, getAnimatedType as Ae, setAnimated as st } from "./index-react-spring_animated.modern.js";
4
+ import { getAnimatedType as Ae, setAnimated as st, getAnimated as $, getPayload as qe, AnimatedValue as Tt, AnimatedString as ze } from "./index-react-spring_animated.modern.js";
5
5
  import { raf as U } from "./index-react-spring_rafz.modern.js";
6
6
  function E(e, ...t) {
7
7
  return o.fun(e) ? e(...t) : e;
8
8
  }
9
- var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))), nt = (e, t) => o.obj(e) ? t && e[t] : e, at = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0, Tt = (e) => e, Pe = (e, t = Tt) => {
10
- let i = Vt;
9
+ var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))), nt = (e, t) => o.obj(e) ? t && e[t] : e, at = (e, t) => e.default === !0 ? e[t] : e.default ? e.default[t] : void 0, Vt = (e) => e, Pe = (e, t = Vt) => {
10
+ let i = Ft;
11
11
  e.default && e.default !== !0 && (e = e.default, i = Object.keys(e));
12
12
  const s = {};
13
13
  for (const n of i) {
@@ -15,7 +15,7 @@ var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))
15
15
  o.und(a) || (s[n] = a);
16
16
  }
17
17
  return s;
18
- }, Vt = [
18
+ }, Ft = [
19
19
  "config",
20
20
  "onProps",
21
21
  "onStart",
@@ -23,7 +23,7 @@ var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))
23
23
  "onPause",
24
24
  "onResume",
25
25
  "onRest"
26
- ], Ft = {
26
+ ], Et = {
27
27
  config: 1,
28
28
  from: 1,
29
29
  to: 1,
@@ -59,16 +59,16 @@ var he = (e, t) => e === !0 || !!(t && e && (o.fun(e) ? e(t) : M(e).includes(t))
59
59
  callId: 1,
60
60
  parentId: 1
61
61
  };
62
- function Et(e) {
62
+ function Mt(e) {
63
63
  const t = {};
64
64
  let i = 0;
65
65
  if (se(e, (s, n) => {
66
- Ft[n] || (t[n] = s, i++);
66
+ Et[n] || (t[n] = s, i++);
67
67
  }), i)
68
68
  return t;
69
69
  }
70
70
  function je(e) {
71
- const t = Et(e);
71
+ const t = Mt(e);
72
72
  if (t) {
73
73
  const i = { to: t };
74
74
  return se(e, (s, n) => n in t || (i[n] = s)), i;
@@ -76,7 +76,7 @@ function je(e) {
76
76
  return { ...e };
77
77
  }
78
78
  function de(e) {
79
- return e = z(e), o.arr(e) ? e.map(de) : et(e) ? H.createStringInterpolator({
79
+ return e = z(e), o.arr(e) ? e.map(de) : tt(e) ? H.createStringInterpolator({
80
80
  range: [0, 1],
81
81
  output: [e, e]
82
82
  })(1) : e;
@@ -96,21 +96,21 @@ function rt(e, t) {
96
96
  var i;
97
97
  t && e.ref !== t && ((i = e.ref) == null || i.delete(e), t.add(e), e.ref = t);
98
98
  }
99
- var Mt = {
99
+ var Ot = {
100
100
  default: { tension: 170, friction: 26 },
101
101
  wobbly: { tension: 180, friction: 12 }
102
102
  }, xe = {
103
- ...Mt.default,
103
+ ...Ot.default,
104
104
  mass: 1,
105
105
  damping: 1,
106
- easing: At.linear,
106
+ easing: Rt.linear,
107
107
  clamp: !1
108
- }, Ot = class {
108
+ }, qt = class {
109
109
  constructor() {
110
110
  this.velocity = 0, Object.assign(this, xe);
111
111
  }
112
112
  };
113
- function qt(e, t, i) {
113
+ function jt(e, t, i) {
114
114
  i && (i = { ...i }, Be(i, t), t = { ...i, ...t }), Be(e, t), Object.assign(e, t);
115
115
  for (const u in xe)
116
116
  e[u] == null && (e[u] = xe[u]);
@@ -126,9 +126,9 @@ function Be(e, t) {
126
126
  (i || !o.und(t.frequency) || !o.und(t.damping) || !o.und(t.mass)) && (e.duration = void 0, e.decay = void 0), i && (e.frequency = void 0);
127
127
  }
128
128
  }
129
- var Le = [], jt = class {
129
+ var Le = [], kt = class {
130
130
  constructor() {
131
- this.changed = !1, this.values = Le, this.toValues = null, this.fromValues = Le, this.config = new Ot(), this.immediate = !1;
131
+ this.changed = !1, this.values = Le, this.toValues = null, this.fromValues = Le, this.config = new qt(), this.immediate = !1;
132
132
  }
133
133
  };
134
134
  function ut(e, { key: t, props: i, defaultProps: s, state: n, actions: a }) {
@@ -249,9 +249,9 @@ var Ge = class extends Error {
249
249
  constructor() {
250
250
  super("SkipAnimationSignal");
251
251
  }
252
- }, Te = (e) => e instanceof De, kt = 1, De = class extends It {
252
+ }, Te = (e) => e instanceof De, Dt = 1, De = class extends wt {
253
253
  constructor() {
254
- super(...arguments), this.id = kt++, this._priority = 0;
254
+ super(...arguments), this.id = Dt++, this._priority = 0;
255
255
  }
256
256
  get priority() {
257
257
  return this._priority;
@@ -270,7 +270,7 @@ var Ge = class extends Error {
270
270
  }
271
271
  /** @deprecated Use the `to` method instead. */
272
272
  interpolate(...e) {
273
- return wt(), H.to(this, e);
273
+ return At(), H.to(this, e);
274
274
  }
275
275
  toJSON() {
276
276
  return this.get();
@@ -304,9 +304,9 @@ var Ge = class extends Error {
304
304
  priority: e
305
305
  });
306
306
  }
307
- }, Z = Symbol.for("SpringPhase"), lt = 1, Ve = 2, Fe = 4, Se = (e) => (e[Z] & lt) > 0, Y = (e) => (e[Z] & Ve) > 0, ae = (e) => (e[Z] & Fe) > 0, $e = (e, t) => t ? e[Z] |= Ve | lt : e[Z] &= ~Ve, He = (e, t) => t ? e[Z] |= Fe : e[Z] &= ~Fe, Dt = class extends De {
307
+ }, Z = Symbol.for("SpringPhase"), lt = 1, Ve = 2, Fe = 4, Se = (e) => (e[Z] & lt) > 0, Y = (e) => (e[Z] & Ve) > 0, ae = (e) => (e[Z] & Fe) > 0, $e = (e, t) => t ? e[Z] |= Ve | lt : e[Z] &= ~Ve, He = (e, t) => t ? e[Z] |= Fe : e[Z] &= ~Fe, Ut = class extends De {
308
308
  constructor(e, t) {
309
- if (super(), this.animation = new jt(), this.defaultProps = {}, this._state = {
309
+ if (super(), this.animation = new kt(), this.defaultProps = {}, this._state = {
310
310
  paused: !1,
311
311
  delayed: !1,
312
312
  pauseQueue: /* @__PURE__ */ new Set(),
@@ -326,7 +326,7 @@ var Ge = class extends Error {
326
326
  }
327
327
  get velocity() {
328
328
  const e = $(this);
329
- return e instanceof xt ? e.lastVelocity || 0 : e.getPayload().map((t) => t.lastVelocity || 0);
329
+ return e instanceof Tt ? e.lastVelocity || 0 : e.getPayload().map((t) => t.lastVelocity || 0);
330
330
  }
331
331
  /**
332
332
  * When true, this value has been animated at least once.
@@ -539,7 +539,7 @@ var Ge = class extends Error {
539
539
  const y = !K(S, p);
540
540
  y && this._focus(S);
541
541
  const _ = Ce(t.to), { config: d } = r, { decay: m, velocity: c } = d;
542
- (s || n) && (d.velocity = 0), t.config && !_ && qt(
542
+ (s || n) && (d.velocity = 0), t.config && !_ && jt(
543
543
  d,
544
544
  E(t.config, a),
545
545
  // Avoid calling the same "config" prop twice.
@@ -553,7 +553,7 @@ var Ge = class extends Error {
553
553
  // except for declarative updates. When `reset` is defined, there
554
554
  // must exist a value to animate from.
555
555
  o.und(t.reset) ? n && !t.default : !o.und(l) && he(t.reset, a)
556
- ), w = h ? l : this.get(), C = de(S), Q = o.num(C) || o.arr(C) || et(C), R = !_ && (!Q || he(u.immediate || t.immediate, a));
556
+ ), w = h ? l : this.get(), C = de(S), Q = o.num(C) || o.arr(C) || tt(C), R = !_ && (!Q || he(u.immediate || t.immediate, a));
557
557
  if (y) {
558
558
  const O = Ae(S);
559
559
  if (O !== v.constructor)
@@ -572,7 +572,7 @@ var Ge = class extends Error {
572
572
  }
573
573
  if (q && Y(this) && (r.changed && !h ? x = !0 : x || this._stop(p)), !_ && ((x || W(p)) && (r.values = v.getPayload(), r.toValues = W(S) ? null : N == ze ? [1] : M(C)), r.immediate != R && (r.immediate = R, !R && !h && this._set(p)), x)) {
574
574
  const { onRest: O } = r;
575
- I(Qt, (L) => Ye(this, t, L));
575
+ I(Nt, (L) => Ye(this, t, L));
576
576
  const B = D(this, oe(this, p));
577
577
  ce(this._pendingCalls, B), this._pendingCalls.add(i), r.changed && U.batchedUpdates(() => {
578
578
  var L;
@@ -593,7 +593,7 @@ var Ge = class extends Error {
593
593
  }
594
594
  _detach() {
595
595
  const { to: e } = this.animation;
596
- W(e) && tt(e, this);
596
+ W(e) && et(e, this);
597
597
  }
598
598
  /**
599
599
  * Update the current value from outside the frameloop,
@@ -686,14 +686,14 @@ function ge(e) {
686
686
  const { to: t, from: i } = e = je(e), s = /* @__PURE__ */ new Set();
687
687
  return o.obj(t) && Je(t, s), o.obj(i) && Je(i, s), e.keys = s.size ? Array.from(s) : null, e;
688
688
  }
689
- function Ut(e) {
689
+ function Qt(e) {
690
690
  const t = ge(e);
691
691
  return o.und(t.default) && (t.default = Pe(t)), t;
692
692
  }
693
693
  function Je(e, t) {
694
694
  se(e, (i, s) => i != null && t.add(s));
695
695
  }
696
- var Qt = [
696
+ var Nt = [
697
697
  "onStart",
698
698
  "onRest",
699
699
  "onChange",
@@ -707,9 +707,9 @@ function re(e, t, ...i) {
707
707
  var s, n, a, u;
708
708
  (n = (s = e.animation)[t]) == null || n.call(s, ...i), (u = (a = e.defaultProps)[t]) == null || u.call(a, ...i);
709
709
  }
710
- var Nt = ["onStart", "onChange", "onRest"], zt = 1, dt = class {
710
+ var zt = ["onStart", "onChange", "onRest"], Bt = 1, dt = class {
711
711
  constructor(e, t) {
712
- this.id = zt++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
712
+ this.id = Bt++, this.springs = {}, this.queue = [], this._lastAsyncId = 0, this._active = /* @__PURE__ */ new Set(), this._changed = /* @__PURE__ */ new Set(), this._started = !1, this._state = {
713
713
  paused: !1,
714
714
  pauseQueue: /* @__PURE__ */ new Set(),
715
715
  resumeQueue: /* @__PURE__ */ new Set(),
@@ -825,7 +825,7 @@ async function mt(e, t, i) {
825
825
  const { keys: s, to: n, from: a, loop: u, onRest: r, onResolve: p } = t, f = o.obj(t.default) && t.default;
826
826
  u && (t.loop = !1), n === !1 && (t.to = null), a === !1 && (t.from = null);
827
827
  const S = o.arr(n) || o.fun(n) ? n : void 0;
828
- S ? (t.to = void 0, t.onRest = void 0, f && (f.onRest = void 0)) : I(Nt, (d) => {
828
+ S ? (t.to = void 0, t.onRest = void 0, f && (f.onRest = void 0)) : I(zt, (d) => {
829
829
  const m = t[d];
830
830
  if (o.fun(m)) {
831
831
  const c = e._events[d];
@@ -886,7 +886,7 @@ function gt(e, t) {
886
886
  });
887
887
  }
888
888
  function pt(e, t) {
889
- const i = new Dt();
889
+ const i = new Ut();
890
890
  return i.key = e, t && ve(i, t), i;
891
891
  }
892
892
  function _t(e, t, i) {
@@ -904,7 +904,7 @@ var vt = fe.createContext({
904
904
  immediate: !1
905
905
  }), Pt = () => {
906
906
  const e = [], t = function(s) {
907
- St();
907
+ Ct();
908
908
  const n = [];
909
909
  return I(e, (a, u) => {
910
910
  if (o.und(s))
@@ -949,7 +949,7 @@ var vt = fe.createContext({
949
949
  };
950
950
  return t._getProps = i, t;
951
951
  };
952
- function Bt(e, t, i) {
952
+ function Lt(e, t, i) {
953
953
  const s = o.fun(t) && t;
954
954
  s && !i && (i = []);
955
955
  const n = le(
@@ -980,7 +980,7 @@ function Bt(e, t, i) {
980
980
  function l(c, v) {
981
981
  for (let h = c; h < v; h++) {
982
982
  const w = p.current[h] || (p.current[h] = new dt(null, r.flush)), C = s ? s(h, w) : t[h];
983
- C && (f.current[h] = Ut(C));
983
+ C && (f.current[h] = Qt(C));
984
984
  }
985
985
  }
986
986
  const P = p.current.map(
@@ -1001,7 +1001,7 @@ function Bt(e, t, i) {
1001
1001
  return n ? [m, n] : m;
1002
1002
  }
1003
1003
  function Xt(e, t) {
1004
- const i = o.fun(e), [[s], n] = Bt(
1004
+ const i = o.fun(e), [[s], n] = Lt(
1005
1005
  1,
1006
1006
  i ? e : [e],
1007
1007
  i ? [] : t
@@ -1031,7 +1031,7 @@ function Zt(e, t, i) {
1031
1031
  g.expired && clearTimeout(g.expirationId), Re(g.ctrl, P), g.ctrl.stop(!0);
1032
1032
  });
1033
1033
  }));
1034
- const c = Gt(y, s ? s() : t, m), v = n && d.current || [];
1034
+ const c = Kt(y, s ? s() : t, m), v = n && d.current || [];
1035
1035
  ue(
1036
1036
  () => I(v, ({ ctrl: g, item: b, key: T }) => {
1037
1037
  Re(g, P), E(f, b, T);
@@ -1096,9 +1096,9 @@ function Zt(e, t, i) {
1096
1096
  const k = s ? s() : t, ne = o.und(k.initial) || m ? k.from : k.initial;
1097
1097
  G.from = E(ne, g.item, b);
1098
1098
  }
1099
- const { onResolve: bt } = G;
1099
+ const { onResolve: St } = G;
1100
1100
  G.onResolve = (k) => {
1101
- E(bt, k);
1101
+ E(St, k);
1102
1102
  const ne = d.current, J = ne.find((pe) => pe.key === T);
1103
1103
  if (J && !(k.cancelled && J.phase != "update") && J.ctrl.idle) {
1104
1104
  const pe = ne.every((X) => X.ctrl.idle);
@@ -1146,22 +1146,22 @@ function Zt(e, t, i) {
1146
1146
  }));
1147
1147
  return P ? [L, P] : L;
1148
1148
  }
1149
- var Lt = 1;
1150
- function Gt(e, { key: t, keys: i = t }, s) {
1149
+ var Gt = 1;
1150
+ function Kt(e, { key: t, keys: i = t }, s) {
1151
1151
  if (i === null) {
1152
1152
  const n = /* @__PURE__ */ new Set();
1153
1153
  return e.map((a) => {
1154
1154
  const u = s && s.find(
1155
1155
  (r) => r.item === a && r.phase !== "leave" && !n.has(r)
1156
1156
  );
1157
- return u ? (n.add(u), u.key) : Lt++;
1157
+ return u ? (n.add(u), u.key) : Gt++;
1158
1158
  });
1159
1159
  }
1160
1160
  return o.und(i) ? e : o.fun(i) ? e.map(i) : M(i);
1161
1161
  }
1162
- var Kt = class extends De {
1162
+ var bt = class extends De {
1163
1163
  constructor(e, t) {
1164
- super(), this.source = e, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc = Rt(...t);
1164
+ super(), this.source = e, this.idle = !0, this._active = /* @__PURE__ */ new Set(), this.calc = It(...t);
1165
1165
  const i = this._get(), s = Ae(i);
1166
1166
  st(this, s.create(i));
1167
1167
  }
@@ -1188,7 +1188,7 @@ var Kt = class extends De {
1188
1188
  // Stop observing our sources once we have no observers.
1189
1189
  _detach() {
1190
1190
  I(M(this.source), (e) => {
1191
- W(e) && tt(e, this);
1191
+ W(e) && et(e, this);
1192
1192
  }), this._active.clear(), Ie(this);
1193
1193
  }
1194
1194
  /** @internal */
@@ -1213,25 +1213,27 @@ function Ie(e) {
1213
1213
  parent: e
1214
1214
  }));
1215
1215
  }
1216
+ var ei = (e, ...t) => new bt(e, t);
1216
1217
  H.assign({
1217
- createStringInterpolator: Ct,
1218
- to: (e, t) => new Kt(e, t)
1218
+ createStringInterpolator: xt,
1219
+ to: (e, t) => new bt(e, t)
1219
1220
  });
1220
1221
  export {
1221
1222
  Ge as BailSignal,
1222
1223
  dt as Controller,
1223
1224
  De as FrameValue,
1224
1225
  H as Globals,
1225
- Kt as Interpolation,
1226
+ bt as Interpolation,
1226
1227
  vt as SpringContext,
1227
1228
  Pt as SpringRef,
1228
- Dt as SpringValue,
1229
- Mt as config,
1230
- Rt as createInterpolator,
1231
- At as easings,
1229
+ Ut as SpringValue,
1230
+ Ot as config,
1231
+ It as createInterpolator,
1232
+ Rt as easings,
1232
1233
  je as inferTo,
1234
+ ei as to,
1233
1235
  ue as useIsomorphicLayoutEffect,
1234
1236
  Xt as useSpring,
1235
- Bt as useSprings,
1237
+ Lt as useSprings,
1236
1238
  Zt as useTransition
1237
1239
  };
@@ -1,7 +1,7 @@
1
- import { BailSignal as X, Controller as Y, FrameValue as tt, Interpolation as et, SpringContext as rt, SpringRef as ot, SpringValue as st, config as at, inferTo as it, useSpring as lt, useSprings as nt, useTransition as ut } from "./index-react-spring_core.modern.js";
1
+ import { BailSignal as X, Controller as Y, FrameValue as tt, Interpolation as et, SpringContext as rt, SpringRef as ot, SpringValue as st, config as at, inferTo as it, to as lt, useSpring as nt, useSprings as ut, useTransition as dt } from "./index-react-spring_core.modern.js";
2
2
  import { unstable_batchedUpdates as w } from "react-dom";
3
3
  import { Globals as C, colors as A, createStringInterpolator as F, eachProp as I, is as h, toArray as k, FluidValue as T, each as f, getFluidValue as x, hasFluidValue as y, addFluidObserver as j, removeFluidObserver as N, callFluidObservers as P } from "./index-react-spring_shared.modern.js";
4
- import { createInterpolator as pt, easings as mt, useIsomorphicLayoutEffect as ft } from "./index-react-spring_shared.modern.js";
4
+ import { createInterpolator as mt, easings as ft, useIsomorphicLayoutEffect as ct } from "./index-react-spring_shared.modern.js";
5
5
  import { createHost as V, AnimatedObject as _ } from "./index-react-spring_animated.modern.js";
6
6
  var S = /^--/;
7
7
  function E(t, e) {
@@ -304,11 +304,12 @@ export {
304
304
  Z as a,
305
305
  Z as animated,
306
306
  at as config,
307
- pt as createInterpolator,
308
- mt as easings,
307
+ mt as createInterpolator,
308
+ ft as easings,
309
309
  it as inferTo,
310
- ft as useIsomorphicLayoutEffect,
311
- lt as useSpring,
312
- nt as useSprings,
313
- ut as useTransition
310
+ lt as to,
311
+ ct as useIsomorphicLayoutEffect,
312
+ nt as useSpring,
313
+ ut as useSprings,
314
+ dt as useTransition
314
315
  };
@@ -1,4 +1,4 @@
1
- import e from "./index-_virtual16.js";
1
+ import e from "./index-_virtual17.js";
2
2
  const p = e.oneOfType([e.func, e.object]);
3
3
  export {
4
4
  p as default
@@ -14,7 +14,7 @@ const a = {
14
14
  excessiveCapitalisation: /\b(?:\w*[A-Z]){2}\w*\b/,
15
15
  at: /@/g,
16
16
  domain: /^(?:https?:\/\/)?(?:www\.)?([^\/]+)/i,
17
- path: /\//g,
17
+ path: /[^a-zA-Z0-9_\-À-ɏḀ-ỿ ]/g,
18
18
  fullStopMark: /\./g
19
19
  };
20
20
  export {
@@ -1,4 +1,4 @@
1
- import e from "./index-_virtual16.js";
1
+ import e from "./index-_virtual17.js";
2
2
  const r = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.string, e.object, e.array]) : {};
3
3
  export {
4
4
  r as default