@rankingcoach/vanguard 1.6.0 → 1.7.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 (237) hide show
  1. package/dist/index-AMPMMidnightParser.js +1 -1
  2. package/dist/index-AMPMParser.js +1 -1
  3. package/dist/index-Accordion2.js +1 -1
  4. package/dist/index-AccordionDetails.js +1 -1
  5. package/dist/index-AccordionSummary.js +1 -1
  6. package/dist/index-AppBar2.js +1 -1
  7. package/dist/index-Autocomplete2.js +1 -1
  8. package/dist/index-Axios4.js +1 -1
  9. package/dist/index-AxiosError.js +1 -1
  10. package/dist/index-Backdrop.js +1 -1
  11. package/dist/index-BasePopper.js +1 -1
  12. package/dist/index-BenchmarkGauge.js +119 -0
  13. package/dist/index-BenchmarkGauge.module.scss.js +35 -0
  14. package/dist/index-BenchmarkGaugeMarker.js +58 -0
  15. package/dist/index-BenchmarkGaugeMarker.module.scss.js +19 -0
  16. package/dist/index-BenchmarkGaugePin.js +40 -0
  17. package/dist/index-BenchmarkGaugePin.module.scss.js +15 -0
  18. package/dist/index-Box.js +1 -1
  19. package/dist/index-Button2.js +1 -1
  20. package/dist/index-ButtonBase.js +1 -1
  21. package/dist/index-CSSTransition.js +1 -1
  22. package/dist/index-Calendar.js +1 -1
  23. package/dist/index-CalendarPicker.js +1 -1
  24. package/dist/index-CanceledError.js +1 -1
  25. package/dist/index-Chip.js +1 -1
  26. package/dist/index-ClickAwayListener.js +1 -1
  27. package/dist/index-ClockPicker.js +1 -1
  28. package/dist/index-Collapse2.js +2 -2
  29. package/dist/index-DateParser.js +1 -1
  30. package/dist/index-DatePicker2.js +1 -1
  31. package/dist/index-DateRange2.js +1 -1
  32. package/dist/index-DateRangePicker2.js +1 -1
  33. package/dist/index-DayOfYearParser.js +1 -1
  34. package/dist/index-DayPeriodParser.js +1 -1
  35. package/dist/index-DefaultPropsProvider.js +1 -1
  36. package/dist/index-DefaultPropsProvider2.js +1 -1
  37. package/dist/index-DesktopDatePicker.js +1 -1
  38. package/dist/index-Dialog.js +1 -1
  39. package/dist/index-DialogActions.js +1 -1
  40. package/dist/index-DialogContent.js +1 -1
  41. package/dist/index-Drawer2.js +1 -1
  42. package/dist/index-ExtendedYearParser.js +1 -1
  43. package/dist/index-Fade.js +2 -2
  44. package/dist/index-FilledInput.js +1 -1
  45. package/dist/index-FocusTrap.js +1 -1
  46. package/dist/index-FormControl2.js +2 -2
  47. package/dist/index-FormHelperText.js +1 -1
  48. package/dist/index-FormLabel.js +1 -1
  49. package/dist/index-FractionOfSecondParser.js +1 -1
  50. package/dist/index-GlobalStyles.js +1 -1
  51. package/dist/index-GlobalStyles2.js +1 -1
  52. package/dist/index-GlobalStyles3.js +1 -1
  53. package/dist/index-Grid.js +1 -1
  54. package/dist/index-Grow.js +2 -2
  55. package/dist/index-Hour0To11Parser.js +1 -1
  56. package/dist/index-Hour0to23Parser.js +1 -1
  57. package/dist/index-Hour1To24Parser.js +1 -1
  58. package/dist/index-Hour1to12Parser.js +1 -1
  59. package/dist/index-ISODayParser.js +1 -1
  60. package/dist/index-ISOTimezoneParser.js +1 -1
  61. package/dist/index-ISOTimezoneWithZParser.js +1 -1
  62. package/dist/index-ISOWeekParser.js +1 -1
  63. package/dist/index-ISOWeekYearParser.js +1 -1
  64. package/dist/index-IconButton2.js +1 -1
  65. package/dist/index-Input2.js +1 -1
  66. package/dist/index-InputAdornment.js +1 -1
  67. package/dist/index-InputBase2.js +2 -2
  68. package/dist/index-InputLabel.js +1 -1
  69. package/dist/index-InterceptorManager.js +1 -1
  70. package/dist/index-LexicalToolkit2.js +1 -1
  71. package/dist/index-LinearProgress.js +1 -1
  72. package/dist/index-List2.js +1 -1
  73. package/dist/index-ListSubheader.js +1 -1
  74. package/dist/index-LocalDayParser.js +1 -1
  75. package/dist/index-LocalWeekParser.js +1 -1
  76. package/dist/index-LocalWeekYearParser.js +1 -1
  77. package/dist/index-LocalizationProvider.js +1 -1
  78. package/dist/index-Menu2.js +1 -1
  79. package/dist/index-MenuItem2.js +1 -1
  80. package/dist/index-MenuList.js +1 -1
  81. package/dist/index-MinuteParser.js +1 -1
  82. package/dist/index-MobileDatePicker.js +1 -1
  83. package/dist/index-Modal2.js +1 -1
  84. package/dist/index-Month.js +1 -1
  85. package/dist/index-MonthParser.js +1 -1
  86. package/dist/index-MonthPicker.js +1 -1
  87. package/dist/index-NativeSelectInput.js +1 -1
  88. package/dist/index-NotchedOutline.js +1 -1
  89. package/dist/index-OutlinedInput.js +1 -1
  90. package/dist/index-Paper.js +1 -1
  91. package/dist/index-Parser2.js +2 -3
  92. package/dist/index-PickersDay.js +1 -1
  93. package/dist/index-PickersMonth.js +1 -1
  94. package/dist/index-PickersPopper.js +1 -1
  95. package/dist/index-Popover2.js +1 -1
  96. package/dist/index-Popper.js +1 -1
  97. package/dist/index-Portal.js +1 -1
  98. package/dist/index-PropTypes.js +1 -1
  99. package/dist/index-PureDateInput.js +1 -1
  100. package/dist/index-QuarterParser.js +1 -1
  101. package/dist/index-Ripple.js +1 -1
  102. package/dist/index-RtlProvider.js +1 -1
  103. package/dist/index-ScrollbarSize.js +1 -1
  104. package/dist/index-SecondParser.js +1 -1
  105. package/dist/index-Select2.js +1 -1
  106. package/dist/index-SelectInput2.js +2 -2
  107. package/dist/index-Skeleton2.js +1 -1
  108. package/dist/index-Slide.js +2 -2
  109. package/dist/index-Slider2.js +1 -1
  110. package/dist/index-SliderValueLabel.js +1 -1
  111. package/dist/index-Snackbar2.js +1 -1
  112. package/dist/index-SnackbarContent.js +1 -1
  113. package/dist/index-SocialMediaLink.js +1 -1
  114. package/dist/index-StandAloneLocalDayParser.js +1 -1
  115. package/dist/index-StandAloneMonthParser.js +1 -1
  116. package/dist/index-StandAloneQuarterParser.js +1 -1
  117. package/dist/index-StyledEngineProvider.js +1 -1
  118. package/dist/index-SvgIcon.js +1 -1
  119. package/dist/index-Tab2.js +1 -1
  120. package/dist/index-TabScrollButton.js +1 -1
  121. package/dist/index-Tabs2.js +1 -1
  122. package/dist/index-TextField.js +1 -1
  123. package/dist/index-TextareaAutosize.js +1 -1
  124. package/dist/index-TimestampMillisecondsParser.js +1 -1
  125. package/dist/index-TimestampSecondsParser.js +1 -1
  126. package/dist/index-ToggleButton2.js +1 -1
  127. package/dist/index-ToggleButtonGroup2.js +1 -1
  128. package/dist/index-Toolbar2.js +1 -1
  129. package/dist/index-Tooltip.js +1 -1
  130. package/dist/index-TouchRipple.js +1 -1
  131. package/dist/index-Transition.js +1 -1
  132. package/dist/index-TransitionGroup.js +1 -1
  133. package/dist/index-Typography.js +1 -1
  134. package/dist/index-YearParser.js +1 -1
  135. package/dist/index-YearPicker.js +1 -1
  136. package/dist/index-_virtual16.js +5 -3
  137. package/dist/index-_virtual17.js +3 -5
  138. package/dist/index-_virtual6.js +1 -1
  139. package/dist/index-axios2.js +1 -1
  140. package/dist/index-buildURL.js +1 -1
  141. package/dist/index-cookies.js +1 -1
  142. package/dist/index-defaults.js +1 -1
  143. package/dist/index-dispatchRequest.js +1 -1
  144. package/dist/index-dist2.js +78 -20
  145. package/dist/index-dist3.js +20 -78
  146. package/dist/index-elementAcceptingRef.js +1 -1
  147. package/dist/index-elementTypeAcceptingRef.js +1 -1
  148. package/dist/index-es.js +1 -1
  149. package/dist/index-formDataToJSON.js +1 -1
  150. package/dist/index-helpers3.js +1 -1
  151. package/dist/index-isAxiosError.js +1 -1
  152. package/dist/index-isURLSameOrigin.js +1 -1
  153. package/dist/index-mergeConfig.js +1 -1
  154. package/dist/index-normalizeHeaderName.js +1 -1
  155. package/dist/index-parseHeaders.js +1 -1
  156. package/dist/index-position_high.svg.js +4 -0
  157. package/dist/index-position_low.svg.js +4 -0
  158. package/dist/index-position_mid.svg.js +4 -0
  159. package/dist/index-refType.js +1 -1
  160. package/dist/index-responsivePropType.js +1 -1
  161. package/dist/index-toFormData.js +1 -1
  162. package/dist/index-toURLEncodedForm.js +1 -1
  163. package/dist/index-transformData.js +1 -1
  164. package/dist/index-use-benchmark-gauge-render-state.js +61 -0
  165. package/dist/index-use-dynamic-import.js +3 -0
  166. package/dist/index-useIsLandscape.js +1 -1
  167. package/dist/index-useViews.js +1 -1
  168. package/dist/index-utils10.js +179 -11
  169. package/dist/index-utils11.js +12 -100
  170. package/dist/index-utils12.js +102 -0
  171. package/dist/index-utils3.js +48 -19
  172. package/dist/index-utils4.js +18 -63
  173. package/dist/index-utils5.js +63 -15
  174. package/dist/index-utils6.js +15 -66
  175. package/dist/index-utils7.js +66 -11
  176. package/dist/index-utils8.js +12 -2
  177. package/dist/index-utils9.js +2 -180
  178. package/dist/index-xhr.js +1 -1
  179. package/dist/index.js +290 -288
  180. package/dist/reputation/position_high.svg +5 -0
  181. package/dist/reputation/position_low.svg +12 -0
  182. package/dist/reputation/position_mid.svg +11 -0
  183. package/dist/types/core/BenchmarkGauge/BenchmarkGauge.d.ts +2 -0
  184. package/dist/types/core/BenchmarkGauge/BenchmarkGaugeMarker/BenchmarkGaugeMarker.d.ts +16 -0
  185. package/dist/types/core/BenchmarkGauge/BenchmarkGaugeMarker/BenchmarkGaugePin/BenchmarkGaugePin.d.ts +10 -0
  186. package/dist/types/core/BenchmarkGauge/hooks/use-benchmark-gauge-render-state.d.ts +19 -0
  187. package/dist/types/core/BenchmarkGauge/index.d.ts +2 -0
  188. package/dist/types/core/BenchmarkGauge/stories/AuditSimulation.story.d.ts +2 -0
  189. package/dist/types/core/BenchmarkGauge/stories/ColorByRankCustomPalette.story.d.ts +2 -0
  190. package/dist/types/core/BenchmarkGauge/stories/ColorByRankDefault.story.d.ts +2 -0
  191. package/dist/types/core/BenchmarkGauge/stories/ColorByRankMixedPrecedence.story.d.ts +2 -0
  192. package/dist/types/core/BenchmarkGauge/stories/ColorByRankTwoMarkersEndpoints.story.d.ts +2 -0
  193. package/dist/types/core/BenchmarkGauge/stories/EdgePins.story.d.ts +2 -0
  194. package/dist/types/core/BenchmarkGauge/stories/FullTrackNoProgress.story.d.ts +2 -0
  195. package/dist/types/core/BenchmarkGauge/stories/HorizontalDefault.story.d.ts +2 -0
  196. package/dist/types/core/BenchmarkGauge/stories/InsideEndLabelOnly.story.d.ts +2 -0
  197. package/dist/types/core/BenchmarkGauge/stories/InsideLabels.story.d.ts +2 -0
  198. package/dist/types/core/BenchmarkGauge/stories/InsideLabelsVertical.story.d.ts +2 -0
  199. package/dist/types/core/BenchmarkGauge/stories/InsideLabelsWithOverlap.story.d.ts +2 -0
  200. package/dist/types/core/BenchmarkGauge/stories/InsideLabelsWithProgress.story.d.ts +2 -0
  201. package/dist/types/core/BenchmarkGauge/stories/InsideStartLabelOnly.story.d.ts +2 -0
  202. package/dist/types/core/BenchmarkGauge/stories/InvalidRangeGuard.story.d.ts +2 -0
  203. package/dist/types/core/BenchmarkGauge/stories/LegendHorizontal.story.d.ts +2 -0
  204. package/dist/types/core/BenchmarkGauge/stories/LegendNone.story.d.ts +2 -0
  205. package/dist/types/core/BenchmarkGauge/stories/LegendPartial.story.d.ts +2 -0
  206. package/dist/types/core/BenchmarkGauge/stories/LegendVertical.story.d.ts +2 -0
  207. package/dist/types/core/BenchmarkGauge/stories/LegendWithCoreGrowEffect.story.d.ts +2 -0
  208. package/dist/types/core/BenchmarkGauge/stories/LegendWithHighlightedIcons.story.d.ts +2 -0
  209. package/dist/types/core/BenchmarkGauge/stories/LegendWithWrapperExtras.story.d.ts +2 -0
  210. package/dist/types/core/BenchmarkGauge/stories/ListingsSimulation.story.d.ts +2 -0
  211. package/dist/types/core/BenchmarkGauge/stories/NoMarkers.story.d.ts +2 -0
  212. package/dist/types/core/BenchmarkGauge/stories/OverlappingMarkers.story.d.ts +2 -0
  213. package/dist/types/core/BenchmarkGauge/stories/ProgressAtMax.story.d.ts +2 -0
  214. package/dist/types/core/BenchmarkGauge/stories/ProgressAtMin.story.d.ts +2 -0
  215. package/dist/types/core/BenchmarkGauge/stories/ProgressHorizontal.story.d.ts +2 -0
  216. package/dist/types/core/BenchmarkGauge/stories/ProgressInvalidId.story.d.ts +2 -0
  217. package/dist/types/core/BenchmarkGauge/stories/ProgressVertical.story.d.ts +2 -0
  218. package/dist/types/core/BenchmarkGauge/stories/ProgressVerticalAtMin.story.d.ts +2 -0
  219. package/dist/types/core/BenchmarkGauge/stories/ProgressWideTextPin.story.d.ts +2 -0
  220. package/dist/types/core/BenchmarkGauge/stories/ProgressWideTextPinVertical.story.d.ts +2 -0
  221. package/dist/types/core/BenchmarkGauge/stories/RankScenarioA.story.d.ts +2 -0
  222. package/dist/types/core/BenchmarkGauge/stories/RankScenarioB.story.d.ts +2 -0
  223. package/dist/types/core/BenchmarkGauge/stories/RankScenarioC.story.d.ts +2 -0
  224. package/dist/types/core/BenchmarkGauge/stories/RankWithContent.story.d.ts +2 -0
  225. package/dist/types/core/BenchmarkGauge/stories/ScoreSimulation.story.d.ts +2 -0
  226. package/dist/types/core/BenchmarkGauge/stories/StaticColorRegression.story.d.ts +2 -0
  227. package/dist/types/core/BenchmarkGauge/stories/VerticalDefault.story.d.ts +2 -0
  228. package/dist/types/core/BenchmarkGauge/stories/WithContentAutoFlip.story.d.ts +2 -0
  229. package/dist/types/core/BenchmarkGauge/stories/WithContentEnd.story.d.ts +2 -0
  230. package/dist/types/core/BenchmarkGauge/stories/WithContentStart.story.d.ts +2 -0
  231. package/dist/types/core/BenchmarkGauge/stories/_BenchmarkGauge.default.d.ts +44 -0
  232. package/dist/types/core/BenchmarkGauge/types.d.ts +136 -0
  233. package/dist/types/core/BenchmarkGauge/utils.d.ts +61 -0
  234. package/dist/types/index.d.ts +2 -0
  235. package/dist/vanguard-asset-analysis.json +1 -1
  236. package/dist/vanguard.css +1 -1
  237. package/package.json +1 -1
@@ -5,7 +5,7 @@ import b from "./index-inherits.js";
5
5
  import u from "./index-createSuper.js";
6
6
  import s from "./index-defineProperty.js";
7
7
  import { Parser as c } from "./index-Parser4.js";
8
- import { dayPeriodEnumToHours as p } from "./index-utils11.js";
8
+ import { dayPeriodEnumToHours as p } from "./index-utils12.js";
9
9
  var M = /* @__PURE__ */ (function(d) {
10
10
  b(o, d);
11
11
  var a = u(o);
@@ -5,7 +5,7 @@ import u from "./index-inherits.js";
5
5
  import c from "./index-createSuper.js";
6
6
  import s from "./index-defineProperty.js";
7
7
  import { Parser as p } from "./index-Parser4.js";
8
- import { dayPeriodEnumToHours as l } from "./index-utils11.js";
8
+ import { dayPeriodEnumToHours as l } from "./index-utils12.js";
9
9
  var _ = /* @__PURE__ */ (function(f) {
10
10
  u(e, f);
11
11
  var i = c(e);
@@ -2,7 +2,7 @@ import i from "./index-extends.js";
2
2
  import M from "./index-objectWithoutPropertiesLoose.js";
3
3
  import * as n from "react";
4
4
  import { isFragment as O } from "react-is";
5
- import o from "./index-_virtual17.js";
5
+ import o from "./index-_virtual16.js";
6
6
  import { clsx as L } from "./index-clsx.js";
7
7
  import U from "./index-AccordionContext.js";
8
8
  import _ from "./index-useSlot.js";
@@ -1,7 +1,7 @@
1
1
  import p from "./index-extends.js";
2
2
  import l from "./index-objectWithoutPropertiesLoose.js";
3
3
  import * as m from "react";
4
- import o from "./index-_virtual17.js";
4
+ import o from "./index-_virtual16.js";
5
5
  import { clsx as f } from "./index-clsx.js";
6
6
  import { getAccordionDetailsUtilityClass as d } from "./index-accordionDetailsClasses.js";
7
7
  import { jsx as u } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import y from "./index-extends.js";
2
2
  import R from "./index-objectWithoutPropertiesLoose.js";
3
3
  import * as g from "react";
4
- import s from "./index-_virtual17.js";
4
+ import s from "./index-_virtual16.js";
5
5
  import { clsx as C } from "./index-clsx.js";
6
6
  import V from "./index-AccordionContext.js";
7
7
  import t, { getAccordionSummaryUtilityClass as h } from "./index-accordionSummaryClasses.js";
@@ -1,7 +1,7 @@
1
1
  import g from "./index-objectWithoutPropertiesLoose.js";
2
2
  import p from "./index-extends.js";
3
3
  import * as k from "react";
4
- import a from "./index-_virtual17.js";
4
+ import a from "./index-_virtual16.js";
5
5
  import { clsx as x } from "./index-clsx.js";
6
6
  import v from "./index-styled.js";
7
7
  import { getAppBarUtilityClass as B } from "./index-appBarClasses.js";
@@ -1,7 +1,7 @@
1
1
  import S from "./index-objectWithoutPropertiesLoose.js";
2
2
  import r from "./index-extends.js";
3
3
  import * as lo from "react";
4
- import o from "./index-_virtual17.js";
4
+ import o from "./index-_virtual16.js";
5
5
  import { clsx as $ } from "./index-clsx.js";
6
6
  import { c as D } from "./index-colorManipulator2.js";
7
7
  import V from "./index-inputClasses.js";
@@ -1,4 +1,4 @@
1
- import { __require as I } from "./index-utils9.js";
1
+ import { __require as I } from "./index-utils10.js";
2
2
  import { __require as M } from "./index-buildURL.js";
3
3
  import { __require as z } from "./index-InterceptorManager.js";
4
4
  import { __require as S } from "./index-dispatchRequest.js";
@@ -1,4 +1,4 @@
1
- import { __require as m } from "./index-utils9.js";
1
+ import { __require as m } from "./index-utils10.js";
2
2
  var n, h;
3
3
  function f() {
4
4
  if (h) return n;
@@ -1,7 +1,7 @@
1
1
  import j from "./index-objectWithoutPropertiesLoose.js";
2
2
  import n from "./index-extends.js";
3
3
  import * as R from "react";
4
- import o from "./index-_virtual17.js";
4
+ import o from "./index-_virtual16.js";
5
5
  import { clsx as N } from "./index-clsx.js";
6
6
  import _ from "./index-styled.js";
7
7
  import { getBackdropUtilityClass as B } from "./index-backdropClasses.js";
@@ -1,7 +1,7 @@
1
1
  import x from "./index-extends.js";
2
2
  import W from "./index-objectWithoutPropertiesLoose.js";
3
3
  import * as n from "react";
4
- import e from "./index-_virtual17.js";
4
+ import e from "./index-_virtual16.js";
5
5
  import { getPopperUtilityClass as z } from "./index-popperClasses.js";
6
6
  import { jsx as C } from "react/jsx-runtime";
7
7
  import D from "./index-ownerDocument2.js";
@@ -0,0 +1,119 @@
1
+ import { jsxs as v, jsx as i } from "react/jsx-runtime";
2
+ import { classNames as n } from "./index-classNames.js";
3
+ import { useState as z } from "react";
4
+ import e from "./index-BenchmarkGauge.module.scss.js";
5
+ import { BenchmarkGaugeMarker as F } from "./index-BenchmarkGaugeMarker.js";
6
+ import { useBenchmarkGaugeRenderState as U } from "./index-use-benchmark-gauge-render-state.js";
7
+ import { resolveMarkerColor as W } from "./index-utils3.js";
8
+ import { Render as c } from "./index-Render.js";
9
+ import { Text as x, TextTypes as y } from "./index-Text.js";
10
+ const _ = (m) => {
11
+ const {
12
+ min: N,
13
+ max: C,
14
+ markers: I,
15
+ orientation: g = "horizontal",
16
+ colorByRank: M,
17
+ rankColors: B,
18
+ growHighlightedMarker: H,
19
+ testId: b,
20
+ className: S
21
+ } = m, [r, h] = z(void 0), {
22
+ isVertical: G,
23
+ rankCount: s,
24
+ isProgressMode: L,
25
+ hoverHighlights: f,
26
+ dimsItems: D,
27
+ dimsMarkers: T,
28
+ rankMap: u,
29
+ trackBarStyle: E,
30
+ ghostStyle: R,
31
+ shouldUseTrackGradient: j,
32
+ fillStyle: w,
33
+ effectiveStartLabel: p,
34
+ effectiveEndLabel: k,
35
+ hasLegend: P,
36
+ legendMarkers: V
37
+ } = U(m);
38
+ return v("div", {
39
+ "data-testid": b,
40
+ className: n(e.root, G && e.rootVertical, S),
41
+ children: [i(c, {
42
+ if: P,
43
+ children: i("div", {
44
+ className: e.legend,
45
+ children: V.map((t) => {
46
+ const d = r === t.id, o = r !== void 0 && r !== t.id, l = u.get(t.id) ?? 0, a = {
47
+ marker: t,
48
+ orientation: g,
49
+ rankIndex: l,
50
+ rankCount: s,
51
+ isHighlighted: d,
52
+ isDimmed: o
53
+ };
54
+ return i("div", {
55
+ className: n(e.legendItem, d && e.legendItemHighlighted, o && D && e.legendItemDimmed),
56
+ style: {
57
+ "--legend-item-bg": t.legendBackgroundColor ?? "var(--n000)"
58
+ },
59
+ onMouseEnter: f ? () => h(t.id) : void 0,
60
+ onMouseLeave: f ? () => h(void 0) : void 0,
61
+ children: t.renderLegend(a)
62
+ }, t.id);
63
+ })
64
+ })
65
+ }), i("div", {
66
+ className: e.trackWrapper,
67
+ children: v("div", {
68
+ className: n(L && e.trackBarProgress, e.trackBar),
69
+ style: E,
70
+ children: [i("div", {
71
+ className: e.trackGhost,
72
+ style: R
73
+ }), i("div", {
74
+ className: n(e.trackFill, j && e.trackGradient),
75
+ style: w
76
+ }), i(c, {
77
+ if: !!p,
78
+ children: i(x, {
79
+ className: n(e.label, e.labelStart),
80
+ color: "--n000",
81
+ type: y.textCaption,
82
+ children: p
83
+ })
84
+ }), i(c, {
85
+ if: !!k,
86
+ children: i(x, {
87
+ className: n(e.label, e.labelEnd),
88
+ color: "--n000",
89
+ type: y.textCaption,
90
+ children: k
91
+ })
92
+ }), I.map((t) => {
93
+ const d = u.get(t.id) ?? 0, o = r !== void 0 && r !== t.id && T, l = r === t.id, a = W({
94
+ markerColor: t.color,
95
+ rankIndex: d,
96
+ rankCount: s,
97
+ colorByRank: M,
98
+ rankColors: B
99
+ });
100
+ return i(F, {
101
+ marker: t,
102
+ min: N,
103
+ max: C,
104
+ orientation: g,
105
+ rankIndex: d,
106
+ rankCount: s,
107
+ isDimmed: o,
108
+ isHighlighted: l,
109
+ growHighlightedMarker: H,
110
+ resolvedColor: a
111
+ }, t.id);
112
+ })]
113
+ })
114
+ })]
115
+ });
116
+ };
117
+ export {
118
+ _ as BenchmarkGauge
119
+ };
@@ -0,0 +1,35 @@
1
+ const t = "root_oG", e = "rootVertical_WE", r = "trackWrapper_2x", a = "trackBar_yw", l = "trackBarProgress_hS", c = "trackGhost_mM", o = "trackGradient_KY", n = "trackFill_Xa", s = "legend_yu", d = "legendItem_n7", g = "legendItemHighlighted_UL", k = "legendItemDimmed_kG", i = "label_oc", m = "labelStart_2e", _ = "labelEnd_Fv", h = {
2
+ root: t,
3
+ rootVertical: e,
4
+ trackWrapper: r,
5
+ trackBar: a,
6
+ trackBarProgress: l,
7
+ trackGhost: c,
8
+ trackGradient: o,
9
+ trackFill: n,
10
+ legend: s,
11
+ legendItem: d,
12
+ legendItemHighlighted: g,
13
+ legendItemDimmed: k,
14
+ label: i,
15
+ labelStart: m,
16
+ labelEnd: _
17
+ };
18
+ export {
19
+ h as default,
20
+ i as label,
21
+ _ as labelEnd,
22
+ m as labelStart,
23
+ s as legend,
24
+ d as legendItem,
25
+ k as legendItemDimmed,
26
+ g as legendItemHighlighted,
27
+ t as root,
28
+ e as rootVertical,
29
+ a as trackBar,
30
+ l as trackBarProgress,
31
+ n as trackFill,
32
+ c as trackGhost,
33
+ o as trackGradient,
34
+ r as trackWrapper
35
+ };
@@ -0,0 +1,58 @@
1
+ import { jsxs as N, jsx as r } from "react/jsx-runtime";
2
+ import { classNames as m } from "./index-classNames.js";
3
+ import "react";
4
+ import { valueToPercent as y, markerPosition as d } from "./index-utils3.js";
5
+ import t from "./index-BenchmarkGaugeMarker.module.scss.js";
6
+ import { BenchmarkGaugePin as A } from "./index-BenchmarkGaugePin.js";
7
+ import { Render as M } from "./index-Render.js";
8
+ const E = (h) => {
9
+ var a;
10
+ const {
11
+ marker: e,
12
+ min: g,
13
+ max: p,
14
+ orientation: u,
15
+ rankIndex: v,
16
+ rankCount: f,
17
+ isDimmed: n,
18
+ isHighlighted: i,
19
+ growHighlightedMarker: k,
20
+ resolvedColor: x
21
+ } = h, s = u === "vertical", o = y(e.value, g, p), C = (H) => {
22
+ const l = H ?? "auto";
23
+ return l !== "auto" ? l : o >= 85 ? "start" : "end";
24
+ }, c = {
25
+ marker: e,
26
+ rankIndex: v,
27
+ rankCount: f,
28
+ isDimmed: n,
29
+ isHighlighted: i
30
+ }, S = s ? {
31
+ bottom: d(o)
32
+ } : {
33
+ left: d(o)
34
+ };
35
+ return N("div", {
36
+ className: m(t.marker, s && t.vertical, n && t.dimmed),
37
+ style: S,
38
+ children: [r(A, {
39
+ marker: e,
40
+ ctx: c,
41
+ resolvedColor: x,
42
+ isHighlighted: i,
43
+ growHighlightedMarker: k
44
+ }), r(M, {
45
+ if: !!e.renderContent,
46
+ children: r("div", {
47
+ className: m(t.contentAnchor, C(e.contentSide) === "start" ? t.contentAnchorStart : t.contentAnchorEnd),
48
+ children: r("div", {
49
+ className: t.contentShell,
50
+ children: (a = e.renderContent) == null ? void 0 : a.call(e, c)
51
+ })
52
+ })
53
+ })]
54
+ });
55
+ };
56
+ export {
57
+ E as BenchmarkGaugeMarker
58
+ };
@@ -0,0 +1,19 @@
1
+ const n = "marker_-n", t = "vertical_ah", c = "dimmed_TV", o = "contentAnchor_hZ", e = "contentAnchorEnd_0B", r = "contentAnchorStart_RD", h = "contentShell_L5", a = {
2
+ marker: n,
3
+ vertical: t,
4
+ dimmed: c,
5
+ contentAnchor: o,
6
+ contentAnchorEnd: e,
7
+ contentAnchorStart: r,
8
+ contentShell: h
9
+ };
10
+ export {
11
+ o as contentAnchor,
12
+ e as contentAnchorEnd,
13
+ r as contentAnchorStart,
14
+ h as contentShell,
15
+ a as default,
16
+ c as dimmed,
17
+ n as marker,
18
+ t as vertical
19
+ };
@@ -0,0 +1,40 @@
1
+ import { jsxs as a, jsx as i } from "react/jsx-runtime";
2
+ import { classNames as r } from "./index-classNames.js";
3
+ import "react";
4
+ import n from "./index-BenchmarkGaugePin.module.scss.js";
5
+ import { Render as t } from "./index-Render.js";
6
+ const C = (s) => {
7
+ var o, h;
8
+ const {
9
+ marker: e,
10
+ ctx: d,
11
+ resolvedColor: c,
12
+ isHighlighted: l,
13
+ growHighlightedMarker: g
14
+ } = s;
15
+ return a("div", {
16
+ className: r(n.pinWrapper),
17
+ children: [i(t, {
18
+ if: !!e.renderPin,
19
+ children: (o = e.renderPin) == null ? void 0 : o.call(e, d)
20
+ }), i(t, {
21
+ if: !e.renderPin,
22
+ children: i("div", {
23
+ className: r(n.defaultPin, g && l && n.defaultPinGrown),
24
+ style: {
25
+ background: c
26
+ },
27
+ children: i(t, {
28
+ if: !!e.renderHighlightedContent,
29
+ children: i("div", {
30
+ className: r(n.highlightedContent, l && n.highlightedContentVisible),
31
+ children: (h = e.renderHighlightedContent) == null ? void 0 : h.call(e, d)
32
+ })
33
+ })
34
+ })
35
+ })]
36
+ });
37
+ };
38
+ export {
39
+ C as BenchmarkGaugePin
40
+ };
@@ -0,0 +1,15 @@
1
+ const t = "pinWrapper_-f", n = "defaultPin_zj", e = "defaultPinGrown_Rr", i = "highlightedContent_S9", h = "highlightedContentVisible_Kw", l = {
2
+ pinWrapper: t,
3
+ defaultPin: n,
4
+ defaultPinGrown: e,
5
+ highlightedContent: i,
6
+ highlightedContentVisible: h
7
+ };
8
+ export {
9
+ l as default,
10
+ n as defaultPin,
11
+ e as defaultPinGrown,
12
+ i as highlightedContent,
13
+ h as highlightedContentVisible,
14
+ t as pinWrapper
15
+ };
package/dist/index-Box.js CHANGED
@@ -1,4 +1,4 @@
1
- import e from "./index-_virtual17.js";
1
+ import e from "./index-_virtual16.js";
2
2
  import o from "./index-identifier.js";
3
3
  import r from "./index-boxClasses.js";
4
4
  import t from "./index-createBox.js";
@@ -1,7 +1,7 @@
1
1
  import F from "./index-objectWithoutPropertiesLoose.js";
2
2
  import s from "./index-extends.js";
3
3
  import * as g from "react";
4
- import r from "./index-_virtual17.js";
4
+ import r from "./index-_virtual16.js";
5
5
  import { clsx as I } from "./index-clsx.js";
6
6
  import { c as u } from "./index-colorManipulator2.js";
7
7
  import x from "./index-styled.js";
@@ -1,7 +1,7 @@
1
1
  import w from "./index-extends.js";
2
2
  import Me from "./index-objectWithoutPropertiesLoose.js";
3
3
  import * as t from "react";
4
- import e from "./index-_virtual17.js";
4
+ import e from "./index-_virtual16.js";
5
5
  import { clsx as ge } from "./index-clsx.js";
6
6
  import Ce from "./index-styled.js";
7
7
  import Be from "./index-TouchRipple.js";
@@ -1,7 +1,7 @@
1
1
  import C from "./index-extends.js";
2
2
  import x from "./index-objectWithoutPropertiesLoose.js";
3
3
  import N from "./index-inheritsLoose.js";
4
- import v from "./index-_virtual17.js";
4
+ import v from "./index-_virtual16.js";
5
5
  import A from "./index-addClass.js";
6
6
  import _ from "./index-removeClass.js";
7
7
  import c from "react";
@@ -4,7 +4,7 @@ import { __require as Fe } from "./index-prop-types.js";
4
4
  import { __require as Ne } from "./index-DayCell.js";
5
5
  import { __require as Ie } from "./index-Month.js";
6
6
  import { __require as We } from "./index-DateInput.js";
7
- import { __require as He } from "./index-utils6.js";
7
+ import { __require as He } from "./index-utils7.js";
8
8
  import { __require as Le } from "./index-classnames2.js";
9
9
  import { __require as Ye } from "./index-react-list.js";
10
10
  import xe from "./index-index.esm2.js";
@@ -1,7 +1,7 @@
1
1
  import pe from "./index-objectWithoutPropertiesLoose.js";
2
2
  import F from "./index-extends.js";
3
3
  import * as f from "react";
4
- import e from "./index-_virtual17.js";
4
+ import e from "./index-_virtual16.js";
5
5
  import { clsx as Ce } from "./index-clsx.m.js";
6
6
  import { MonthPicker as be } from "./index-MonthPicker.js";
7
7
  import { useCalendarState as De } from "./index-useCalendarState.js";
@@ -1,5 +1,5 @@
1
1
  import { __require as l } from "./index-AxiosError.js";
2
- import { __require as _ } from "./index-utils9.js";
2
+ import { __require as _ } from "./index-utils10.js";
3
3
  var e, a;
4
4
  function s() {
5
5
  if (a) return e;
@@ -1,7 +1,7 @@
1
1
  import J from "./index-objectWithoutPropertiesLoose.js";
2
2
  import f from "./index-extends.js";
3
3
  import * as u from "react";
4
- import l from "./index-_virtual17.js";
4
+ import l from "./index-_virtual16.js";
5
5
  import { clsx as k } from "./index-clsx.js";
6
6
  import { c as d } from "./index-colorManipulator2.js";
7
7
  import Q from "./index-Cancel.js";
@@ -1,5 +1,5 @@
1
1
  import * as t from "react";
2
- import l from "./index-_virtual17.js";
2
+ import l from "./index-_virtual16.js";
3
3
  import { jsx as w } from "react/jsx-runtime";
4
4
  import C from "./index-useForkRef.js";
5
5
  import L from "./index-getReactElementRef.js";
@@ -1,7 +1,7 @@
1
1
  import pe from "./index-extends.js";
2
2
  import * as T from "react";
3
3
  import { clsx as he } from "./index-clsx.m.js";
4
- import e from "./index-_virtual17.js";
4
+ import e from "./index-_virtual16.js";
5
5
  import { Clock as ge } from "./index-Clock3.js";
6
6
  import { useLocaleText as Ce, useNow as fe, useUtils as be } from "./index-useUtils.js";
7
7
  import { buildDeprecatedPropsWarning as we } from "./index-warning.js";
@@ -2,10 +2,10 @@ import ee from "./index-objectWithoutPropertiesLoose.js";
2
2
  import r from "./index-extends.js";
3
3
  import * as z from "react";
4
4
  import { clsx as te } from "./index-clsx.js";
5
- import e from "./index-_virtual17.js";
5
+ import e from "./index-_virtual16.js";
6
6
  import b from "./index-styled.js";
7
7
  import { duration as ne } from "./index-createTransitions.js";
8
- import { getTransitionProps as H } from "./index-utils5.js";
8
+ import { getTransitionProps as H } from "./index-utils6.js";
9
9
  import oe from "./index-useTheme.js";
10
10
  import { getCollapseUtilityClass as ie } from "./index-collapseClasses.js";
11
11
  import { jsx as T } from "react/jsx-runtime";
@@ -4,7 +4,7 @@ import s from "./index-assertThisInitialized.js";
4
4
  import l from "./index-inherits.js";
5
5
  import h from "./index-createSuper.js";
6
6
  import o from "./index-defineProperty.js";
7
- import { parseNDigits as v, parseNumericPattern as _, isLeapYearIndex as T } from "./index-utils11.js";
7
+ import { parseNDigits as v, parseNumericPattern as _, isLeapYearIndex as T } from "./index-utils12.js";
8
8
  import { Parser as P } from "./index-Parser4.js";
9
9
  import { numericPatterns as C } from "./index-constants4.js";
10
10
  var D = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], N = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], H = /* @__PURE__ */ (function(u) {
@@ -1,7 +1,7 @@
1
1
  import r from "./index-extends.js";
2
2
  import u from "./index-objectWithoutPropertiesLoose.js";
3
3
  import * as d from "react";
4
- import o from "./index-_virtual17.js";
4
+ import o from "./index-_virtual16.js";
5
5
  import { jsx as i } from "react/jsx-runtime";
6
6
  import f from "./index-useThemeProps.js";
7
7
  import m from "./index-useMediaQuery.js";
@@ -3,7 +3,7 @@ import ce from "react";
3
3
  import { __require as le } from "./index-prop-types.js";
4
4
  import { __require as pe } from "./index-Calendar.js";
5
5
  import { __require as de } from "./index-DayCell.js";
6
- import { __require as ge } from "./index-utils6.js";
6
+ import { __require as ge } from "./index-utils7.js";
7
7
  import ve from "./index-_virtual36.js";
8
8
  import _e from "./index-_virtual37.js";
9
9
  import he from "./index-_virtual38.js";
@@ -3,7 +3,7 @@ import k from "react";
3
3
  import { __require as B } from "./index-prop-types.js";
4
4
  import { __require as F } from "./index-DateRange2.js";
5
5
  import { __require as z } from "./index-DefinedRange.js";
6
- import { __require as K } from "./index-utils6.js";
6
+ import { __require as K } from "./index-utils7.js";
7
7
  import { __require as U } from "./index-classnames2.js";
8
8
  import { __require as $ } from "./index-styles.js";
9
9
  var R;
@@ -6,7 +6,7 @@ import l from "./index-createSuper.js";
6
6
  import o from "./index-defineProperty.js";
7
7
  import { Parser as h } from "./index-Parser4.js";
8
8
  import { numericPatterns as y } from "./index-constants4.js";
9
- import { parseNDigits as v, parseNumericPattern as D, isLeapYearIndex as Y } from "./index-utils11.js";
9
+ import { parseNDigits as v, parseNumericPattern as D, isLeapYearIndex as Y } from "./index-utils12.js";
10
10
  var L = /* @__PURE__ */ (function(u) {
11
11
  c(i, u);
12
12
  var n = l(i);
@@ -5,7 +5,7 @@ import u from "./index-inherits.js";
5
5
  import c from "./index-createSuper.js";
6
6
  import s from "./index-defineProperty.js";
7
7
  import { Parser as p } from "./index-Parser4.js";
8
- import { dayPeriodEnumToHours as B } from "./index-utils11.js";
8
+ import { dayPeriodEnumToHours as B } from "./index-utils12.js";
9
9
  var T = /* @__PURE__ */ (function(d) {
10
10
  u(o, d);
11
11
  var a = c(o);
@@ -1,5 +1,5 @@
1
1
  import "react";
2
- import o from "./index-_virtual17.js";
2
+ import o from "./index-_virtual16.js";
3
3
  import "react/jsx-runtime";
4
4
  import { useDefaultProps as r } from "./index-DefaultPropsProvider2.js";
5
5
  process.env.NODE_ENV !== "production" && (o.node, o.object.isRequired);
@@ -1,5 +1,5 @@
1
1
  import * as c from "react";
2
- import s from "./index-_virtual17.js";
2
+ import s from "./index-_virtual16.js";
3
3
  import "react/jsx-runtime";
4
4
  import p from "./index-resolveProps.js";
5
5
  const i = /* @__PURE__ */ c.createContext(void 0);
@@ -1,7 +1,7 @@
1
1
  import r from "./index-extends.js";
2
2
  import D from "./index-objectWithoutPropertiesLoose.js";
3
3
  import * as g from "react";
4
- import o from "./index-_virtual17.js";
4
+ import o from "./index-_virtual16.js";
5
5
  import { useDatePickerDefaultizedProps as T, datePickerValueManager as y } from "./index-shared.js";
6
6
  import { DatePickerToolbar as k } from "./index-DatePickerToolbar.js";
7
7
  import { DesktopWrapper as C } from "./index-DesktopWrapper.js";
@@ -1,7 +1,7 @@
1
1
  import z from "./index-objectWithoutPropertiesLoose.js";
2
2
  import i from "./index-extends.js";
3
3
  import * as g from "react";
4
- import o from "./index-_virtual17.js";
4
+ import o from "./index-_virtual16.js";
5
5
  import { clsx as k } from "./index-clsx.js";
6
6
  import d from "./index-styled.js";
7
7
  import y, { getDialogUtilityClass as H } from "./index-dialogClasses.js";
@@ -1,7 +1,7 @@
1
1
  import m from "./index-objectWithoutPropertiesLoose.js";
2
2
  import r from "./index-extends.js";
3
3
  import * as f from "react";
4
- import o from "./index-_virtual17.js";
4
+ import o from "./index-_virtual16.js";
5
5
  import { clsx as d } from "./index-clsx.js";
6
6
  import g from "./index-styled.js";
7
7
  import { getDialogActionsUtilityClass as u } from "./index-dialogActionsClasses.js";
@@ -1,7 +1,7 @@
1
1
  import c from "./index-objectWithoutPropertiesLoose.js";
2
2
  import i from "./index-extends.js";
3
3
  import * as m from "react";
4
- import o from "./index-_virtual17.js";
4
+ import o from "./index-_virtual16.js";
5
5
  import { clsx as f } from "./index-clsx.js";
6
6
  import v from "./index-styled.js";
7
7
  import { getDialogContentUtilityClass as u } from "./index-dialogContentClasses.js";
@@ -1,7 +1,7 @@
1
1
  import B from "./index-objectWithoutPropertiesLoose.js";
2
2
  import n from "./index-extends.js";
3
3
  import * as v from "react";
4
- import r from "./index-_virtual17.js";
4
+ import r from "./index-_virtual16.js";
5
5
  import { clsx as m } from "./index-clsx.js";
6
6
  import { useRtl as H } from "./index-RtlProvider.js";
7
7
  import F from "./index-useTheme.js";
@@ -5,7 +5,7 @@ import l from "./index-inherits.js";
5
5
  import c from "./index-createSuper.js";
6
6
  import n from "./index-defineProperty.js";
7
7
  import { Parser as h } from "./index-Parser4.js";
8
- import { parseNDigitsSigned as m } from "./index-utils11.js";
8
+ import { parseNDigitsSigned as m } from "./index-utils12.js";
9
9
  var Y = /* @__PURE__ */ (function(p) {
10
10
  l(o, p);
11
11
  var s = c(o);