@rankingcoach/vanguard 1.9.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 (153) 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-Chip.js +1 -1
  16. package/dist/index-ClickAwayListener.js +1 -1
  17. package/dist/index-ClockPicker.js +1 -1
  18. package/dist/index-Collapse2.js +1 -1
  19. package/dist/index-DateInput.js +4 -4
  20. package/dist/index-DatePicker2.js +1 -1
  21. package/dist/index-DayCell.js +2 -2
  22. package/dist/index-DefaultPropsProvider.js +1 -1
  23. package/dist/index-DefaultPropsProvider2.js +1 -1
  24. package/dist/index-DesktopDatePicker.js +1 -1
  25. package/dist/index-Dialog.js +1 -1
  26. package/dist/index-DialogActions.js +1 -1
  27. package/dist/index-DialogContent.js +1 -1
  28. package/dist/index-Drawer2.js +1 -1
  29. package/dist/index-Fade.js +1 -1
  30. package/dist/index-FilledInput.js +1 -1
  31. package/dist/index-FocusTrap.js +1 -1
  32. package/dist/index-FormControl2.js +1 -1
  33. package/dist/index-FormHelperText.js +1 -1
  34. package/dist/index-FormLabel.js +1 -1
  35. package/dist/index-GlobalStyles.js +1 -1
  36. package/dist/index-GlobalStyles2.js +1 -1
  37. package/dist/index-GlobalStyles3.js +1 -1
  38. package/dist/index-Grid.js +1 -1
  39. package/dist/index-Grow.js +1 -1
  40. package/dist/index-IconButton2.js +1 -1
  41. package/dist/index-Input2.js +1 -1
  42. package/dist/index-InputAdornment.js +1 -1
  43. package/dist/index-InputBase2.js +1 -1
  44. package/dist/index-InputLabel.js +1 -1
  45. package/dist/index-InputRangeField.js +1 -1
  46. package/dist/index-LinearProgress.js +1 -1
  47. package/dist/index-List2.js +1 -1
  48. package/dist/index-ListSubheader.js +1 -1
  49. package/dist/index-LocalizationProvider.js +1 -1
  50. package/dist/index-Menu2.js +1 -1
  51. package/dist/index-MenuItem2.js +1 -1
  52. package/dist/index-MenuList.js +1 -1
  53. package/dist/index-MobileDatePicker.js +1 -1
  54. package/dist/index-Modal2.js +1 -1
  55. package/dist/index-Month.js +3 -3
  56. package/dist/index-MonthPicker.js +1 -1
  57. package/dist/index-NativeSelectInput.js +1 -1
  58. package/dist/index-NotchedOutline.js +1 -1
  59. package/dist/index-OutlinedInput.js +1 -1
  60. package/dist/index-Paper.js +1 -1
  61. package/dist/index-PhotoCarouselModal.js +26 -25
  62. package/dist/index-PhotoCarouselModal.module.scss.js +6 -4
  63. package/dist/index-PickersDay.js +1 -1
  64. package/dist/index-Popover2.js +1 -1
  65. package/dist/index-Popper.js +1 -1
  66. package/dist/index-Portal.js +1 -1
  67. package/dist/index-PropTypes.js +1 -1
  68. package/dist/index-Ripple.js +1 -1
  69. package/dist/index-RtlProvider.js +1 -1
  70. package/dist/index-ScrollbarSize.js +1 -1
  71. package/dist/index-Select2.js +1 -1
  72. package/dist/index-SelectInput2.js +1 -1
  73. package/dist/index-Skeleton2.js +1 -1
  74. package/dist/index-Slide.js +1 -1
  75. package/dist/index-SlideCarousel.js +117 -138
  76. package/dist/index-SlideCarousel.module.scss.js +22 -14
  77. package/dist/index-Slider2.js +1 -1
  78. package/dist/index-SliderValueLabel.js +1 -1
  79. package/dist/index-Snackbar2.js +1 -1
  80. package/dist/index-SnackbarContent.js +1 -1
  81. package/dist/index-StyledEngineProvider.js +1 -1
  82. package/dist/index-SvgIcon.js +1 -1
  83. package/dist/index-Tab2.js +1 -1
  84. package/dist/index-TabScrollButton.js +1 -1
  85. package/dist/index-Tabs2.js +1 -1
  86. package/dist/index-Text.js +158 -131
  87. package/dist/index-TextField.js +1 -1
  88. package/dist/index-TextHighlighted.js +11 -136
  89. package/dist/index-TextareaAutosize.js +1 -1
  90. package/dist/index-ToggleButton2.js +1 -1
  91. package/dist/index-ToggleButtonGroup2.js +1 -1
  92. package/dist/index-Toolbar2.js +1 -1
  93. package/dist/index-Tooltip.js +1 -1
  94. package/dist/index-TouchRipple.js +1 -1
  95. package/dist/index-Transition.js +1 -1
  96. package/dist/index-TransitionGroup.js +1 -1
  97. package/dist/index-Typography.js +1 -1
  98. package/dist/index-YearPicker.js +1 -1
  99. package/dist/index-_virtual16.js +3 -5
  100. package/dist/index-_virtual17.js +5 -3
  101. package/dist/index-_virtual66.js +2 -2
  102. package/dist/index-_virtual67.js +4 -2
  103. package/dist/index-_virtual68.js +2 -4
  104. package/dist/index-_virtual69.js +4 -2
  105. package/dist/index-_virtual70.js +2 -2
  106. package/dist/index-_virtual71.js +1 -1
  107. package/dist/index-_virtual72.js +4 -2
  108. package/dist/index-_virtual73.js +1 -1
  109. package/dist/index-_virtual74.js +2 -4
  110. package/dist/index-_virtual75.js +2 -4
  111. package/dist/index-_virtual76.js +2 -2
  112. package/dist/index-accessibility.js +1 -1
  113. package/dist/index-elementAcceptingRef.js +1 -1
  114. package/dist/index-elementTypeAcceptingRef.js +1 -1
  115. package/dist/index-helpers3.js +1 -1
  116. package/dist/index-lib5.js +1 -1
  117. package/dist/index-refType.js +1 -1
  118. package/dist/index-regex.js +1 -1
  119. package/dist/index-responsivePropType.js +1 -1
  120. package/dist/index-use-carousel-movement.js +138 -0
  121. package/dist/index.js +57 -55
  122. package/dist/types/core/SlideCarousel/Bullets/Bullets.d.ts +2 -0
  123. package/dist/types/core/SlideCarousel/SlideCarousel.d.ts +6 -0
  124. package/dist/types/core/SlideCarousel/hooks/use-carousel-movement.d.ts +27 -0
  125. package/dist/types/core/SlideCarousel/index.d.ts +2 -0
  126. package/dist/types/core/SlideCarousel/stories/SlideCarouselAutoPlay.story.d.ts +2 -0
  127. package/dist/types/core/SlideCarousel/stories/SlideCarouselBasic.story.d.ts +2 -0
  128. package/dist/types/core/SlideCarousel/stories/SlideCarouselBulletsBelow.story.d.ts +2 -0
  129. package/dist/types/core/SlideCarousel/stories/SlideCarouselControlled.story.d.ts +2 -0
  130. package/dist/types/core/SlideCarousel/stories/SlideCarouselCustomArrows.story.d.ts +2 -0
  131. package/dist/types/core/SlideCarousel/stories/SlideCarouselCustomBullets.story.d.ts +2 -0
  132. package/dist/types/core/SlideCarousel/stories/SlideCarouselMultipleSlidesAtOnce.story.d.ts +2 -0
  133. package/dist/types/core/SlideCarousel/stories/SlideCarouselOutsideArrows.story.d.ts +2 -0
  134. package/dist/types/core/SlideCarousel/stories/SlideCarouselWithArrows.story.d.ts +2 -0
  135. package/dist/types/core/SlideCarousel/stories/SlideCarouselWithArrowsAndBullets.story.d.ts +2 -0
  136. package/dist/types/core/SlideCarousel/stories/SlideCarouselWithBullets.story.d.ts +2 -0
  137. package/dist/types/core/SlideCarousel/stories/_SlideCarousel.default.d.ts +13 -0
  138. package/dist/types/core/Text/Text.types.d.ts +4 -0
  139. package/dist/types/core/Text/stories/stories/HighlightCaseInsensitive.story.d.ts +3 -0
  140. package/dist/types/core/Text/stories/stories/HighlightDefault.story.d.ts +2 -0
  141. package/dist/types/core/Text/stories/stories/HighlightModeBackground.story.d.ts +2 -0
  142. package/dist/types/core/Text/stories/stories/HighlightModeBold.story.d.ts +2 -0
  143. package/dist/types/core/Text/stories/stories/HighlightModeText.story.d.ts +2 -0
  144. package/dist/types/core/Text/stories/stories/HighlightWithEmphasis.story.d.ts +2 -0
  145. package/dist/types/core/TextHighlighted/TextHighlighted.d.ts +4 -1
  146. package/dist/types/index.d.ts +2 -0
  147. package/dist/vanguard-asset-analysis.json +1 -1
  148. package/dist/vanguard.css +1 -1
  149. package/dist-wordpress/index.js +17750 -17722
  150. package/dist-wordpress/types/core/TextHighlighted/TextHighlighted.d.ts +4 -1
  151. package/dist-wordpress/vanguard.css +1 -1
  152. package/package.json +1 -1
  153. package/dist/types/core/TextHighlighted/stories/TextHighlightedWithXSSAttackStory.story.d.ts +0 -2
@@ -1,7 +1,5 @@
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);
1
+ import { __require as e } from "./index-exenv.js";
2
+ var o = e();
5
3
  export {
6
- s as default
4
+ o as e
7
5
  };
@@ -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,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
@@ -0,0 +1,138 @@
1
+ import { useGesture as K } from "./index-use-gesture-react.esm.js";
2
+ import { useState as N, useEffect as g, useMemo as O, useRef as P } from "react";
3
+ import "./index-react-spring_web.modern.js";
4
+ import { useSpring as Q } from "./index-react-spring_core.modern.js";
5
+ const I = (s, n, p) => Math.min(Math.max(s, n), p), U = (s, n) => Math.max(0, s - n), L = (s) => {
6
+ const n = P(s);
7
+ return n.current = s, n;
8
+ }, tt = ({
9
+ activeIndex: s,
10
+ auto: n,
11
+ initialIndex: p,
12
+ length: c,
13
+ onSlideChange: w,
14
+ setSlideCustom: M,
15
+ slideGap: h,
16
+ slidesAtOnce: u,
17
+ slidesToSlide: l,
18
+ viewportRef: x
19
+ }) => {
20
+ const o = U(c, u), k = () => {
21
+ var a;
22
+ const t = ((a = x.current) == null ? void 0 : a.getBoundingClientRect().width) ?? 0, r = h * Math.max(u - 1, 0);
23
+ return (t - r) / u;
24
+ }, v = (t) => {
25
+ const r = M ? M(t) : t;
26
+ return I(r, 0, o);
27
+ }, [e, B] = N(() => v(p)), f = L(e), E = L(w), [T, W] = Q(() => ({
28
+ x: 0,
29
+ config: {
30
+ tension: 280,
31
+ friction: 30,
32
+ mass: 1
33
+ }
34
+ })), i = (t) => {
35
+ B(v(t));
36
+ }, S = (t, r = !1) => {
37
+ const a = k(), d = a + h;
38
+ a <= 0 || W.start({
39
+ x: -t * d,
40
+ immediate: r
41
+ });
42
+ }, F = (t) => {
43
+ W.start({
44
+ x: t,
45
+ immediate: !0
46
+ });
47
+ }, X = (t, r) => I(t + (r > 0 ? -1 : 1), 0, o), $ = K({
48
+ onDrag: ({
49
+ down: t,
50
+ movement: [r],
51
+ direction: [a],
52
+ cancel: d,
53
+ active: y,
54
+ last: H
55
+ }) => {
56
+ const D = k(), z = D + h;
57
+ if (D <= 0) return;
58
+ const m = f.current, J = -m * z;
59
+ if (t && Math.abs(r) > z / 2) {
60
+ const C = X(m, a);
61
+ d == null || d(), y && (C === m ? S(m) : i(C));
62
+ return;
63
+ }
64
+ if (y && t) {
65
+ F(J + r);
66
+ return;
67
+ }
68
+ (H || !t) && S(m);
69
+ }
70
+ }, {
71
+ drag: {
72
+ delay: 200,
73
+ filterTaps: !0
74
+ }
75
+ });
76
+ g(() => {
77
+ S(e), E.current(e);
78
+ }, [e, u]), g(() => {
79
+ let t;
80
+ return n > 0 && c > 0 && (t = window.setInterval(() => {
81
+ const r = f.current >= o ? 0 : f.current + 1;
82
+ i(r);
83
+ }, n)), () => {
84
+ t && clearInterval(t);
85
+ };
86
+ }, [n, c, o]), g(() => {
87
+ const t = c > 0 ? v(s % c) : 0;
88
+ t !== f.current && i(t);
89
+ }, [s, c, o]), g(() => {
90
+ if (!x.current || typeof ResizeObserver > "u") return;
91
+ const t = new ResizeObserver(() => {
92
+ S(f.current, !0);
93
+ });
94
+ return t.observe(x.current), () => t.disconnect();
95
+ }, [u]);
96
+ const b = () => {
97
+ i(0);
98
+ }, R = () => {
99
+ i(o);
100
+ }, j = () => {
101
+ const t = e >= o, r = e + u - 1 + l < c - 1;
102
+ if (t) {
103
+ b();
104
+ return;
105
+ }
106
+ if (!r) {
107
+ R();
108
+ return;
109
+ }
110
+ i(e + l);
111
+ }, q = () => {
112
+ if (e === 0) {
113
+ R();
114
+ return;
115
+ }
116
+ if (e - l <= 0) {
117
+ b();
118
+ return;
119
+ }
120
+ i(e - l);
121
+ }, G = O(() => ({
122
+ transform: T.x.to((t) => `translate3d(${t}px, 0, 0)`),
123
+ willChange: "transform",
124
+ touchAction: "pan-y"
125
+ }), [T.x]);
126
+ return {
127
+ gestureBinds: $,
128
+ maxSlide: o,
129
+ nextSlide: j,
130
+ previousSlide: q,
131
+ slide: e,
132
+ trackStyle: G,
133
+ updateSlide: i
134
+ };
135
+ };
136
+ export {
137
+ tt as useCarouselMovement
138
+ };
package/dist/index.js CHANGED
@@ -182,33 +182,34 @@ import { RcNavLink as Sa } from "./index-RcNavLink.js";
182
182
  import { RichTextEditor as Pa } from "./index-RichTextEditor.js";
183
183
  import { SearchableSelect as Da } from "./index-SearchableSelect.js";
184
184
  import { Slider as Ba } from "./index-Slider.js";
185
- import { SmallLoader as Na } from "./index-SmallLoader.js";
186
- import { Snackbar as ha } from "./index-Snackbar.js";
187
- import { SnackbarRoot as ya } from "./index-SnackbarRoot.js";
188
- import { snackbarService as Ga } from "./index-SnackBarService.js";
189
- import { SocialMediaLink as va } from "./index-SocialMediaLink.js";
190
- import { AcceptModal as Fa } from "./index-AcceptModal.js";
191
- import { ConfirmModal as Ya } from "./index-ConfirmModal.js";
192
- import { DateRangeModal as Ha } from "./index-DateRangeModal.js";
193
- import { ErrorModal as Ua } from "./index-ErrorModal.js";
194
- import { LoadingModal as Ja } from "./index-LoadingModal.js";
195
- import { SuccessModal as Xa } from "./index-SuccessModal.js";
196
- import { Star as Ka } from "./index-Star.js";
197
- import { StarRating as Za } from "./index-StarRating.js";
198
- import { Table as of } from "./index-Table.js";
199
- import { TableBody as ef } from "./index-TableBody.js";
200
- import { TableCell as mf } from "./index-TableCell.js";
201
- import { TableFooter as af } from "./index-TableFooter.js";
202
- import { TableHeader as xf } from "./index-TableHeader.js";
203
- import { CtaWithIcon as lf } from "./index-CtaWithIcon.js";
204
- import { TimePicker as cf } from "./index-TimePicker.js";
205
- import { ToggleButton as Tf } from "./index-ToggleButton.js";
206
- import { ToggleButtonGroup as Cf } from "./index-ToggleButtonGroup.js";
207
- import { Toolbar as gf } from "./index-Toolbar.js";
208
- import { VideoPlayer as Af } from "./index-VideoPlayer.js";
209
- import { videoPlayerService as Mf } from "./index-VideoPlayer.service.js";
210
- import { isYouTubeUrl as Ef } from "./index-utils.js";
211
- import { Header as kf, HeaderTypes as Nf } from "./index-Header.js";
185
+ import { SlideCarousel as Na } from "./index-SlideCarousel.js";
186
+ import { SmallLoader as ha } from "./index-SmallLoader.js";
187
+ import { Snackbar as ya } from "./index-Snackbar.js";
188
+ import { SnackbarRoot as Ga } from "./index-SnackbarRoot.js";
189
+ import { snackbarService as va } from "./index-SnackBarService.js";
190
+ import { SocialMediaLink as Fa } from "./index-SocialMediaLink.js";
191
+ import { AcceptModal as Ya } from "./index-AcceptModal.js";
192
+ import { ConfirmModal as Ha } from "./index-ConfirmModal.js";
193
+ import { DateRangeModal as Ua } from "./index-DateRangeModal.js";
194
+ import { ErrorModal as Ja } from "./index-ErrorModal.js";
195
+ import { LoadingModal as Xa } from "./index-LoadingModal.js";
196
+ import { SuccessModal as Ka } from "./index-SuccessModal.js";
197
+ import { Star as Za } from "./index-Star.js";
198
+ import { StarRating as of } from "./index-StarRating.js";
199
+ import { Table as ef } from "./index-Table.js";
200
+ import { TableBody as mf } from "./index-TableBody.js";
201
+ import { TableCell as af } from "./index-TableCell.js";
202
+ import { TableFooter as xf } from "./index-TableFooter.js";
203
+ import { TableHeader as lf } from "./index-TableHeader.js";
204
+ import { CtaWithIcon as cf } from "./index-CtaWithIcon.js";
205
+ import { TimePicker as Tf } from "./index-TimePicker.js";
206
+ import { ToggleButton as Cf } from "./index-ToggleButton.js";
207
+ import { ToggleButtonGroup as gf } from "./index-ToggleButtonGroup.js";
208
+ import { Toolbar as Af } from "./index-Toolbar.js";
209
+ import { VideoPlayer as Mf } from "./index-VideoPlayer.js";
210
+ import { videoPlayerService as Ef } from "./index-VideoPlayer.service.js";
211
+ import { isYouTubeUrl as kf } from "./index-utils.js";
212
+ import { Header as Lf, HeaderTypes as hf } from "./index-Header.js";
212
213
  const r = "";
213
214
  export {
214
215
  Re as AIAssistant,
@@ -216,7 +217,7 @@ export {
216
217
  Fr as AIOrb,
217
218
  wr as AIOrbSize,
218
219
  Yr as AIOrbStatus,
219
- Fa as AcceptModal,
220
+ Ya as AcceptModal,
220
221
  No as Accordion,
221
222
  ge as ActionBar,
222
223
  Ae as ActionBarRoot,
@@ -265,15 +266,15 @@ export {
265
266
  At as Collapse,
266
267
  Mt as ColorPicker,
267
268
  m as ComponentContainer,
268
- Ya as ConfirmModal,
269
+ Ha as ConfirmModal,
269
270
  Hp as ContentPlaceholder,
270
271
  im as ContentType,
271
272
  Et as CreditCard,
272
273
  Bt as CreditCardType,
273
- lf as CtaWithIcon,
274
+ cf as CtaWithIcon,
274
275
  yt as DatePicker,
275
276
  Gt as DateRangeInput,
276
- Ha as DateRangeModal,
277
+ Ua as DateRangeModal,
277
278
  Vt as DateRangePicker,
278
279
  jt as DateTimePicker,
279
280
  $t as Divider,
@@ -290,7 +291,7 @@ export {
290
291
  fr as EditModal,
291
292
  u as EditableCard,
292
293
  ua as ErrorBoundary,
293
- Ua as ErrorModal,
294
+ Ja as ErrorModal,
294
295
  Em as ExportXLS,
295
296
  Nm as FadeCarouselAuto,
296
297
  hm as FadedCarousel,
@@ -311,8 +312,8 @@ export {
311
312
  cp as GoogleMapsMarker,
312
313
  Tp as GoogleMapsMarkerDefault,
313
314
  Tt as HSBChart,
314
- kf as Header,
315
- Nf as HeaderTypes,
315
+ Lf as Header,
316
+ hf as HeaderTypes,
316
317
  xo as IMaskInput,
317
318
  Mo as Icon,
318
319
  Sp as IconButton,
@@ -338,7 +339,7 @@ export {
338
339
  Fp as ListLoader,
339
340
  Cr as ListShowMore,
340
341
  Yp as Loader,
341
- Ja as LoadingModal,
342
+ Xa as LoadingModal,
342
343
  qr as LottieAnimationLoader,
343
344
  jr as LottieBase,
344
345
  lp as MarkerF,
@@ -387,25 +388,26 @@ export {
387
388
  G as SelectiveImportExample,
388
389
  Er as Skeleton,
389
390
  Br as SkeletonTypes,
391
+ Na as SlideCarousel,
390
392
  $r as SlideTransition,
391
393
  Ba as Slider,
392
- Na as SmallLoader,
393
- ha as Snackbar,
394
- ya as SnackbarRoot,
395
- va as SocialMediaLink,
396
- Ka as Star,
397
- Za as StarRating,
394
+ ha as SmallLoader,
395
+ ya as Snackbar,
396
+ Ga as SnackbarRoot,
397
+ Fa as SocialMediaLink,
398
+ Za as Star,
399
+ of as StarRating,
398
400
  hr as StatusBadge,
399
401
  yr as StatusBadgeIcon,
400
402
  te as StyledSVG,
401
- Xa as SuccessModal,
403
+ Ka as SuccessModal,
402
404
  vr as SvgImage,
403
405
  Mr as Switch,
404
- of as Table,
405
- ef as TableBody,
406
- mf as TableCell,
407
- af as TableFooter,
408
- xf as TableHeader,
406
+ ef as Table,
407
+ mf as TableBody,
408
+ af as TableCell,
409
+ xf as TableFooter,
410
+ lf as TableHeader,
409
411
  Ao as Tabs,
410
412
  ir as Tag,
411
413
  cr as TagList,
@@ -416,13 +418,13 @@ export {
416
418
  a as TextIcon,
417
419
  F as TextTypes,
418
420
  J as Textarea,
419
- cf as TimePicker,
420
- Tf as ToggleButton,
421
- Cf as ToggleButtonGroup,
421
+ Tf as TimePicker,
422
+ Cf as ToggleButton,
423
+ gf as ToggleButtonGroup,
422
424
  Nr as TogglerWithText,
423
- gf as Toolbar,
425
+ Af as Toolbar,
424
426
  o as VanguardStyle,
425
- Af as VideoPlayer,
427
+ Mf as VideoPlayer,
426
428
  Ce as actionBarService,
427
429
  vt as areDatesEqual,
428
430
  Y as childrenAsText,
@@ -439,7 +441,7 @@ export {
439
441
  zr as getContainerVisibility,
440
442
  Wt as isBackendDateAfterNow,
441
443
  Ut as isDateTimePickerAfterNow,
442
- Ef as isYouTubeUrl,
444
+ kf as isYouTubeUrl,
443
445
  r as lottieAnimation,
444
446
  zt as mapBackendDateToDateTimePicker,
445
447
  Jt as mapDateTimePickerToBackendDate,
@@ -449,7 +451,7 @@ export {
449
451
  P as maskInput,
450
452
  pp as panToOffset,
451
453
  D as sanitizeHtml,
452
- Ga as snackbarService,
454
+ va as snackbarService,
453
455
  B as useDynamicImport,
454
456
  Bm as useExportXLS,
455
457
  h as useFormConfig,
@@ -458,5 +460,5 @@ export {
458
460
  Qr as useLottieInteractivity,
459
461
  zo as useModalContext,
460
462
  N as useSelectiveDynamicImport,
461
- Mf as videoPlayerService
463
+ Ef as videoPlayerService
462
464
  };
@@ -1,6 +1,8 @@
1
1
  import { default as React } from 'react';
2
+ export type BulletsPlacement = 'overlayBottom' | 'below';
2
3
  export interface BulletsProps {
3
4
  children: React.ReactElement;
5
+ placement?: BulletsPlacement;
4
6
  }
5
7
  export type BulletsComponentType = (props: BulletsProps) => React.ReactElement;
6
8
  export declare const Bullets: (props: BulletsProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,8 @@ import { default as React } from 'react';
2
2
  import { ArrowComponentType, ArrowStyle } from './Arrow/Arrow';
3
3
  import { BulletComponentType, BulletStyle } from './Bullet/Bullet';
4
4
  import { BulletsComponentType } from './Bullets/Bullets';
5
+ export type SlideCarouselArrowPlacement = 'overlay' | 'outside';
6
+ export type SlideCarouselBulletPlacement = 'overlayBottom' | 'below';
5
7
  export interface SliderProps {
6
8
  activeIndex?: number;
7
9
  initialIndex?: number;
@@ -18,5 +20,9 @@ export interface SliderProps {
18
20
  setSlideCustom?: (slide: number) => number;
19
21
  slidesAtOnce?: number;
20
22
  slidesToSlide?: number;
23
+ /** Merged onto outer container; consumer-owned sizing escape hatch. */
24
+ className?: string;
25
+ arrowPlacement?: SlideCarouselArrowPlacement;
26
+ bulletPlacement?: SlideCarouselBulletPlacement;
21
27
  }
22
28
  export declare const SlideCarousel: React.FunctionComponent<SliderProps>;
@@ -0,0 +1,27 @@
1
+ import { RefObject } from 'react';
2
+ interface UseCarouselMovementArgs {
3
+ activeIndex: number;
4
+ auto: number;
5
+ initialIndex: number;
6
+ length: number;
7
+ onSlideChange: (slide: number) => void;
8
+ setSlideCustom?: (slide: number) => number;
9
+ slideGap: number;
10
+ slidesAtOnce: number;
11
+ slidesToSlide: number;
12
+ viewportRef: RefObject<HTMLDivElement>;
13
+ }
14
+ export declare const useCarouselMovement: ({ activeIndex, auto, initialIndex, length, onSlideChange, setSlideCustom, slideGap, slidesAtOnce, slidesToSlide, viewportRef, }: UseCarouselMovementArgs) => {
15
+ gestureBinds: (...args: any[]) => import('@use-gesture/react/dist/declarations/src/types').ReactDOMAttributes;
16
+ maxSlide: number;
17
+ nextSlide: () => void;
18
+ previousSlide: () => void;
19
+ slide: number;
20
+ trackStyle: {
21
+ transform: import('react-spring').Interpolation<number, string>;
22
+ willChange: string;
23
+ touchAction: string;
24
+ };
25
+ updateSlide: (index: number) => void;
26
+ };
27
+ export {};
@@ -0,0 +1,2 @@
1
+ export type { SliderProps as SlideCarouselProps } from './SlideCarousel';
2
+ export { SlideCarousel } from './SlideCarousel';
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselAutoPlay: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselBasic: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselBulletsBelow: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselControlled: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselCustomArrows: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselCustomBullets: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselMultipleSlidesAtOnce: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselOutsideArrows: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselWithArrows: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselWithArrowsAndBullets: SlideCarouselStory;
@@ -0,0 +1,2 @@
1
+ import { SlideCarouselStory } from './_SlideCarousel.default';
2
+ export declare const SlideCarouselWithBullets: SlideCarouselStory;
@@ -0,0 +1,13 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ import { default as React } from 'react';
3
+ import { SlideCarousel } from '../SlideCarousel';
4
+ export type SlideCarouselStory = StoryObj<typeof SlideCarousel>;
5
+ export declare const EXCLUDED_CONTROLS: string[];
6
+ export declare function Slide({ n, bg }: {
7
+ n: number;
8
+ bg: string;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export declare const SLIDES: import("react/jsx-runtime").JSX.Element[];
11
+ export declare function CarouselWrapper({ children }: {
12
+ children: React.ReactNode;
13
+ }): import("react/jsx-runtime").JSX.Element;