@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,6 +1,6 @@
1
1
  import r from "./index-extends.js";
2
2
  import "react";
3
- import o from "./index-_virtual16.js";
3
+ import o from "./index-_virtual17.js";
4
4
  import t from "./index-defaultTheme.js";
5
5
  import m from "./index-identifier.js";
6
6
  import { jsx as p } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import o from "./index-_virtual16.js";
2
+ import o from "./index-_virtual17.js";
3
3
  import s from "./index-useTheme2.js";
4
4
  import { jsx as m } from "react/jsx-runtime";
5
5
  import l from "./index-GlobalStyles3.js";
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import e from "./index-_virtual16.js";
2
+ import e from "./index-_virtual17.js";
3
3
  import { Global as r } from "./index-emotion-react.browser.esm.js";
4
4
  import { jsx as n } from "react/jsx-runtime";
5
5
  function p(t) {
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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,4 +1,4 @@
1
- import { __exports as p } from "./index-_virtual69.js";
1
+ import { __exports as p } from "./index-_virtual75.js";
2
2
  import E from "react";
3
3
  import { __require as W } from "./index-prop-types.js";
4
4
  var R;
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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-_virtual16.js";
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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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 g } from "react/jsx-runtime";
2
- import { useRef as b, useState as C, useCallback as d, createContext as k, useContext as v } from "react";
3
- const M = k(void 0), m = () => {
4
- const r = v(M);
5
- if (!r)
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 r;
8
- }, P = ({
9
- children: r
7
+ return s;
8
+ }, A = ({
9
+ children: s
10
10
  }) => {
11
- const n = b(/* @__PURE__ */ new Map()), [u, l] = C({
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
- }), w = d((o) => n.current.get(o), []), p = d((o, t, e) => {
16
- n.current.set(o, e), l((x) => {
17
- const s = {
18
- ...x
19
- }, a = (i, c) => {
20
- i.indexOf(c) >= 0 || i.push(c);
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 (t) {
22
+ switch (o) {
23
23
  case "grow":
24
- a(s.growModals, o);
24
+ a(r.growModals, e);
25
25
  break;
26
26
  case "slide":
27
- a(s.slideModals, o);
27
+ a(r.slideModals, e);
28
28
  break;
29
29
  case "pop":
30
- a(s.popModals, o);
30
+ a(r.popModals, e);
31
31
  break;
32
32
  default:
33
- a(s.growModals, o);
33
+ a(r.growModals, e);
34
34
  }
35
- return s;
35
+ return r;
36
36
  });
37
- }, []), f = d((o) => {
38
- n.current.delete(o), l((t) => ({
39
- growModals: t.growModals.filter((e) => e !== o),
40
- slideModals: t.slideModals.filter((e) => e !== o),
41
- popModals: t.popModals.filter((e) => e !== o)
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
- }, []), h = {
44
- getModal: w,
45
- modalRootState: u,
46
- addModal: p,
47
- removeModal: f
43
+ }, []), b = {
44
+ getModal: g,
45
+ modalRootState: f,
46
+ addModal: x,
47
+ removeModal: C,
48
+ getModalOrder: h
48
49
  };
49
- return g(M.Provider, {
50
- value: h,
51
- children: r
50
+ return k(p.Provider, {
51
+ value: b,
52
+ children: s
52
53
  });
53
54
  };
54
55
  export {
55
- P as ModalProvider,
56
- m as useModalContext
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 f } from "./index-ModalContext.js";
4
+ import { useModalContext as y } from "./index-ModalContext.js";
5
5
  import { useTransition as n } from "./index-react-spring_core.modern.js";
6
- const b = (c) => {
6
+ const O = (c) => {
7
7
  const {
8
8
  modalsList: r,
9
9
  animation: d
10
10
  } = c, {
11
- getModal: p
12
- } = f();
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
- b as ModalTransition
133
+ O as ModalTransition
132
134
  };
@@ -1,11 +1,11 @@
1
- import { __exports as y } from "./index-_virtual70.js";
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-_virtual71.js";
8
- import _e from "./index-_virtual68.js";
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-_virtual16.js";
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-_virtual16.js";
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-_virtual16.js";
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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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 m, w100 as h, dFlexColumn as g } from "./index-general.module.js";
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 c from "./index-PhotoCarouselModal.module.scss.js";
14
- const z = (a) => {
13
+ import a from "./index-PhotoCarouselModal.module.scss.js";
14
+ const $ = (l) => {
15
15
  const {
16
- gallery: t,
16
+ gallery: r,
17
17
  close: f,
18
- defaultMediaItem: r
19
- } = a, [l, u] = M(0);
18
+ defaultMediaItem: t
19
+ } = l, [s, u] = M(0);
20
20
  return N(() => {
21
- r && u(t.map((e) => e.uuid).indexOf(r.uuid));
22
- }, [r]), o(U, {
23
- className: c.container,
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
- ...a,
25
+ ...l,
26
26
  className: "confirm-modal",
27
27
  children: [o(R, {
28
- className: m,
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, m),
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: l,
43
- initialIndex: l,
44
- hasBullets: t.length > 1,
45
- hasArrows: t.length != 1,
46
- children: t && t.map((e) => {
47
- var s, d;
48
- if (e.file && ((s = e.fileType) != null && s.includes("video")) || e.type === x.video) {
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 n = e.publicThumbnailUrl ?? e.publicUrl ?? ((d = e.mediaItemContent) == null ? void 0 : d.base64EncodedContent);
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: c.carouselPhoto,
61
+ className: a.carouselPhoto,
61
62
  style: {
62
- backgroundImage: `url(${v(n)})`,
63
+ backgroundImage: `url(${v(d)})`,
63
64
  backgroundColor: "var(--fn-bg-var)"
64
65
  }
65
- }, n);
66
+ }, d);
66
67
  })
67
68
  })
68
69
  })
@@ -71,5 +72,5 @@ const z = (a) => {
71
72
  });
72
73
  };
73
74
  export {
74
- z as PhotoCarouselModal
75
+ $ as PhotoCarouselModal
75
76
  };
@@ -1,9 +1,11 @@
1
- const o = "container_O5", t = "carousel-photo_je", e = {
1
+ const o = "container_O5", e = "carousel-video_g-", c = "carousel-photo_je", s = {
2
2
  container: o,
3
- carouselPhoto: t
3
+ carouselVideo: e,
4
+ carouselPhoto: c
4
5
  };
5
6
  export {
6
- t as carouselPhoto,
7
+ c as carouselPhoto,
8
+ e as carouselVideo,
7
9
  o as container,
8
- e as default
10
+ s as default
9
11
  };
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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";
@@ -1,6 +1,6 @@
1
1
  import * as e from "react";
2
2
  import * as y from "react-dom";
3
- import p from "./index-_virtual16.js";
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";
@@ -1,4 +1,4 @@
1
- import e from "./index-_virtual16.js";
1
+ import e from "./index-_virtual17.js";
2
2
  var n = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
3
3
  enter: e.number,
4
4
  exit: e.number,
@@ -1,5 +1,5 @@
1
1
  import * as n from "react";
2
- import e from "./index-_virtual16.js";
2
+ import e from "./index-_virtual17.js";
3
3
  import { clsx as a } from "./index-clsx.js";
4
4
  import { jsx as u } from "react/jsx-runtime";
5
5
  function x(c) {
@@ -1,5 +1,5 @@
1
1
  import * as e from "react";
2
- import t from "./index-_virtual16.js";
2
+ import t from "./index-_virtual17.js";
3
3
  import "react/jsx-runtime";
4
4
  const r = /* @__PURE__ */ e.createContext();
5
5
  process.env.NODE_ENV !== "production" && (t.node, t.bool);
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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";
@@ -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-_virtual16.js";
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";