@rankingcoach/vanguard 1.5.1 → 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.
- package/dist/index-AMPMMidnightParser.js +1 -1
- package/dist/index-AMPMParser.js +1 -1
- package/dist/index-Accordion2.js +1 -1
- package/dist/index-Axios4.js +1 -1
- package/dist/index-AxiosError.js +1 -1
- package/dist/index-BenchmarkGauge.js +119 -0
- package/dist/index-BenchmarkGauge.module.scss.js +35 -0
- package/dist/index-BenchmarkGaugeMarker.js +58 -0
- package/dist/index-BenchmarkGaugeMarker.module.scss.js +19 -0
- package/dist/index-BenchmarkGaugePin.js +40 -0
- package/dist/index-BenchmarkGaugePin.module.scss.js +15 -0
- package/dist/index-Calendar.js +1 -1
- package/dist/index-CalendarPicker.js +1 -1
- package/dist/index-CanceledError.js +1 -1
- package/dist/index-Collapse2.js +1 -1
- package/dist/index-DateParser.js +1 -1
- package/dist/index-DateRange.js +1 -1
- package/dist/index-DateRange2.js +1 -1
- package/dist/index-DateRangePicker2.js +1 -1
- package/dist/index-DayOfYearParser.js +1 -1
- package/dist/index-DayPeriodParser.js +1 -1
- package/dist/index-ExtendedYearParser.js +1 -1
- package/dist/index-Fade.js +1 -1
- package/dist/index-FormControl2.js +1 -1
- package/dist/index-FractionOfSecondParser.js +1 -1
- package/dist/index-Grow.js +1 -1
- package/dist/index-Hour0To11Parser.js +1 -1
- package/dist/index-Hour0to23Parser.js +1 -1
- package/dist/index-Hour1To24Parser.js +1 -1
- package/dist/index-Hour1to12Parser.js +1 -1
- package/dist/index-ISODayParser.js +1 -1
- package/dist/index-ISOTimezoneParser.js +1 -1
- package/dist/index-ISOTimezoneWithZParser.js +1 -1
- package/dist/index-ISOWeekParser.js +1 -1
- package/dist/index-ISOWeekYearParser.js +1 -1
- package/dist/index-InputBase2.js +1 -1
- package/dist/index-InterceptorManager.js +1 -1
- package/dist/index-LocalDayParser.js +1 -1
- package/dist/index-LocalWeekParser.js +1 -1
- package/dist/index-LocalWeekYearParser.js +1 -1
- package/dist/index-LoginButton.js +1 -1
- package/dist/index-MinuteParser.js +1 -1
- package/dist/index-Month.js +1 -1
- package/dist/index-MonthParser.js +1 -1
- package/dist/index-MonthPicker.js +1 -1
- package/dist/index-PickersMonth.js +1 -1
- package/dist/index-PickersPopper.js +1 -1
- package/dist/index-PureDateInput.js +1 -1
- package/dist/index-QuarterParser.js +1 -1
- package/dist/index-SecondParser.js +1 -1
- package/dist/index-SelectInput2.js +2 -2
- package/dist/index-Slide.js +1 -1
- package/dist/index-SocialMediaLink.js +1 -1
- package/dist/index-StandAloneLocalDayParser.js +1 -1
- package/dist/index-StandAloneMonthParser.js +1 -1
- package/dist/index-StandAloneQuarterParser.js +1 -1
- package/dist/index-TimestampMillisecondsParser.js +1 -1
- package/dist/index-TimestampSecondsParser.js +1 -1
- package/dist/index-Tooltip.js +1 -1
- package/dist/index-YearParser.js +1 -1
- package/dist/index-YearPicker.js +1 -1
- package/dist/index-_virtual10.js +3 -5
- package/dist/index-_virtual11.js +5 -5
- package/dist/index-_virtual12.js +5 -2
- package/dist/index-_virtual18.js +2 -7
- package/dist/index-_virtual19.js +7 -2
- package/dist/index-_virtual9.js +2 -3
- package/dist/index-axios2.js +1 -1
- package/dist/index-buildURL.js +1 -1
- package/dist/index-cookies.js +1 -1
- package/dist/index-defaults.js +1 -1
- package/dist/index-dispatchRequest.js +1 -1
- package/dist/index-dist3.js +1 -1
- package/dist/index-es.js +1 -1
- package/dist/index-formDataToJSON.js +1 -1
- package/dist/index-http.store.js +1 -1
- package/dist/index-isAxiosError.js +1 -1
- package/dist/index-isURLSameOrigin.js +1 -1
- package/dist/index-mergeConfig.js +1 -1
- package/dist/index-normalizeHeaderName.js +1 -1
- package/dist/index-parseHeaders.js +1 -1
- package/dist/index-position_high.svg.js +4 -0
- package/dist/index-position_low.svg.js +4 -0
- package/dist/index-position_mid.svg.js +4 -0
- package/dist/index-toFormData.js +1 -1
- package/dist/index-toURLEncodedForm.js +1 -1
- package/dist/index-transformData.js +1 -1
- package/dist/index-use-benchmark-gauge-render-state.js +61 -0
- package/dist/index-use-dynamic-import.js +3 -0
- package/dist/index-useAutocomplete.js +1 -1
- package/dist/index-useControlled.js +2 -26
- package/dist/index-useControlled2.js +26 -2
- package/dist/index-useIsLandscape.js +1 -1
- package/dist/index-useSlider.js +1 -1
- package/dist/index-useViews.js +2 -2
- package/dist/index-utils10.js +179 -11
- package/dist/index-utils11.js +12 -100
- package/dist/index-utils12.js +102 -0
- package/dist/index-utils3.js +48 -19
- package/dist/index-utils4.js +18 -63
- package/dist/index-utils5.js +63 -15
- package/dist/index-utils6.js +15 -66
- package/dist/index-utils7.js +66 -11
- package/dist/index-utils8.js +12 -2
- package/dist/index-utils9.js +2 -180
- package/dist/index-video.es.js +2 -2
- package/dist/index-xhr.js +1 -1
- package/dist/index.js +290 -288
- package/dist/reputation/position_high.svg +5 -0
- package/dist/reputation/position_low.svg +12 -0
- package/dist/reputation/position_mid.svg +11 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGauge.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGaugeMarker/BenchmarkGaugeMarker.d.ts +16 -0
- package/dist/types/core/BenchmarkGauge/BenchmarkGaugeMarker/BenchmarkGaugePin/BenchmarkGaugePin.d.ts +10 -0
- package/dist/types/core/BenchmarkGauge/hooks/use-benchmark-gauge-render-state.d.ts +19 -0
- package/dist/types/core/BenchmarkGauge/index.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/AuditSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankCustomPalette.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankMixedPrecedence.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ColorByRankTwoMarkersEndpoints.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/EdgePins.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/FullTrackNoProgress.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/HorizontalDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideEndLabelOnly.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabels.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsWithOverlap.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideLabelsWithProgress.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InsideStartLabelOnly.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/InvalidRangeGuard.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendHorizontal.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendNone.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendPartial.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithCoreGrowEffect.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithHighlightedIcons.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/LegendWithWrapperExtras.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ListingsSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/NoMarkers.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/OverlappingMarkers.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressAtMax.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressAtMin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressHorizontal.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressInvalidId.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressVerticalAtMin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressWideTextPin.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ProgressWideTextPinVertical.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioA.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioB.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankScenarioC.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/RankWithContent.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/ScoreSimulation.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/StaticColorRegression.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/VerticalDefault.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentAutoFlip.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentEnd.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/WithContentStart.story.d.ts +2 -0
- package/dist/types/core/BenchmarkGauge/stories/_BenchmarkGauge.default.d.ts +44 -0
- package/dist/types/core/BenchmarkGauge/types.d.ts +136 -0
- package/dist/types/core/BenchmarkGauge/utils.d.ts +61 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/vanguard-asset-analysis.json +1 -1
- package/dist/vanguard.css +1 -1
- package/dist-wordpress/vanguard.css +1 -1
- 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-
|
|
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);
|
package/dist/index-AMPMParser.js
CHANGED
|
@@ -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-
|
|
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);
|
package/dist/index-Accordion2.js
CHANGED
|
@@ -9,7 +9,7 @@ import _ from "./index-useSlot.js";
|
|
|
9
9
|
import d, { getAccordionUtilityClass as $ } from "./index-accordionClasses.js";
|
|
10
10
|
import { jsxs as F, jsx as g } from "react/jsx-runtime";
|
|
11
11
|
import { useDefaultProps as V } from "./index-DefaultPropsProvider.js";
|
|
12
|
-
import D from "./index-
|
|
12
|
+
import D from "./index-useControlled2.js";
|
|
13
13
|
import I from "./index-Collapse2.js";
|
|
14
14
|
import W from "./index-styled.js";
|
|
15
15
|
import z from "./index-composeClasses.js";
|
package/dist/index-Axios4.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __require as I } from "./index-
|
|
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";
|
package/dist/index-AxiosError.js
CHANGED
|
@@ -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-Calendar.js
CHANGED
|
@@ -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-
|
|
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";
|
|
@@ -16,7 +16,7 @@ import { defaultReduceAnimations as Ve } from "./index-defaultReduceAnimations.j
|
|
|
16
16
|
import { getCalendarPickerUtilityClass as ke } from "./index-calendarPickerClasses.js";
|
|
17
17
|
import { jsxs as K, jsx as b } from "react/jsx-runtime";
|
|
18
18
|
import xe from "./index-useId2.js";
|
|
19
|
-
import Oe from "./index-
|
|
19
|
+
import Oe from "./index-useControlled2.js";
|
|
20
20
|
import Te from "./index-useEventCallback2.js";
|
|
21
21
|
import J from "./index-styled.js";
|
|
22
22
|
import ve from "./index-useThemeProps.js";
|
package/dist/index-Collapse2.js
CHANGED
|
@@ -5,7 +5,7 @@ import { clsx as te } from "./index-clsx.js";
|
|
|
5
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-
|
|
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";
|
package/dist/index-DateParser.js
CHANGED
|
@@ -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-
|
|
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) {
|
package/dist/index-DateRange.js
CHANGED
|
@@ -6,7 +6,7 @@ import { classNames as f } from "./index-classNames.js";
|
|
|
6
6
|
import { datesAreDifferent as r } from "./index-date-helpers.js";
|
|
7
7
|
import c from "./index-moment.js";
|
|
8
8
|
import { useState as g, useEffect as d } from "react";
|
|
9
|
-
import { d as p } from "./index-
|
|
9
|
+
import { d as p } from "./index-_virtual10.js";
|
|
10
10
|
import { ComponentContainer as u } from "./index-ComponentContainer.js";
|
|
11
11
|
const w = (a) => {
|
|
12
12
|
const {
|
package/dist/index-DateRange2.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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);
|
|
@@ -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-
|
|
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);
|
package/dist/index-Fade.js
CHANGED
|
@@ -3,7 +3,7 @@ import S from "./index-objectWithoutPropertiesLoose.js";
|
|
|
3
3
|
import * as f from "react";
|
|
4
4
|
import n from "./index-_virtual16.js";
|
|
5
5
|
import q from "./index-useTheme.js";
|
|
6
|
-
import { getTransitionProps as y, reflow as z } from "./index-
|
|
6
|
+
import { getTransitionProps as y, reflow as z } from "./index-utils6.js";
|
|
7
7
|
import { jsx as D } from "react/jsx-runtime";
|
|
8
8
|
import V from "./index-Transition.js";
|
|
9
9
|
import W from "./index-useForkRef.js";
|
|
@@ -4,7 +4,7 @@ import * as n from "react";
|
|
|
4
4
|
import e from "./index-_virtual16.js";
|
|
5
5
|
import { clsx as q } from "./index-clsx.js";
|
|
6
6
|
import U from "./index-styled.js";
|
|
7
|
-
import { isAdornedStart as w, isFilled as I } from "./index-
|
|
7
|
+
import { isAdornedStart as w, isFilled as I } from "./index-utils8.js";
|
|
8
8
|
import V from "./index-FormControlContext.js";
|
|
9
9
|
import { getFormControlUtilityClasses as $ } from "./index-formControlClasses.js";
|
|
10
10
|
import { jsx as R } from "react/jsx-runtime";
|
|
@@ -5,7 +5,7 @@ import f 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 h } from "./index-Parser4.js";
|
|
8
|
-
import { mapValue as v, parseNDigits as g } from "./index-
|
|
8
|
+
import { mapValue as v, parseNDigits as g } from "./index-utils12.js";
|
|
9
9
|
var k = /* @__PURE__ */ (function(l) {
|
|
10
10
|
f(o, l);
|
|
11
11
|
var i = u(o);
|
package/dist/index-Grow.js
CHANGED
|
@@ -3,7 +3,7 @@ import V from "./index-objectWithoutPropertiesLoose.js";
|
|
|
3
3
|
import * as f from "react";
|
|
4
4
|
import n from "./index-_virtual16.js";
|
|
5
5
|
import k from "./index-useTheme.js";
|
|
6
|
-
import { getTransitionProps as v, reflow as B } from "./index-
|
|
6
|
+
import { getTransitionProps as v, reflow as B } from "./index-utils6.js";
|
|
7
7
|
import { jsx as J } from "react/jsx-runtime";
|
|
8
8
|
import M from "./index-Transition.js";
|
|
9
9
|
import Q from "./index-useTimeout.js";
|
|
@@ -6,7 +6,7 @@ import l from "./index-createSuper.js";
|
|
|
6
6
|
import n from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as h } from "./index-Parser4.js";
|
|
8
8
|
import { numericPatterns as T } from "./index-constants4.js";
|
|
9
|
-
import { parseNDigits as v, parseNumericPattern as P } from "./index-
|
|
9
|
+
import { parseNDigits as v, parseNumericPattern as P } from "./index-utils12.js";
|
|
10
10
|
var k = /* @__PURE__ */ (function(u) {
|
|
11
11
|
c(i, u);
|
|
12
12
|
var s = l(i);
|
|
@@ -6,7 +6,7 @@ import f from "./index-createSuper.js";
|
|
|
6
6
|
import n from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as l } from "./index-Parser4.js";
|
|
8
8
|
import { numericPatterns as h } from "./index-constants4.js";
|
|
9
|
-
import { parseNDigits as v, parseNumericPattern as P } from "./index-
|
|
9
|
+
import { parseNDigits as v, parseNumericPattern as P } from "./index-utils12.js";
|
|
10
10
|
var k = /* @__PURE__ */ (function(u) {
|
|
11
11
|
c(a, u);
|
|
12
12
|
var i = f(a);
|
|
@@ -6,7 +6,7 @@ import l from "./index-createSuper.js";
|
|
|
6
6
|
import n from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as h } from "./index-Parser4.js";
|
|
8
8
|
import { numericPatterns as v } from "./index-constants4.js";
|
|
9
|
-
import { parseNDigits as P, parseNumericPattern as T } from "./index-
|
|
9
|
+
import { parseNDigits as P, parseNumericPattern as T } from "./index-utils12.js";
|
|
10
10
|
var w = /* @__PURE__ */ (function(u) {
|
|
11
11
|
f(a, u);
|
|
12
12
|
var i = l(a);
|
|
@@ -6,7 +6,7 @@ import l from "./index-createSuper.js";
|
|
|
6
6
|
import u from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as h } from "./index-Parser4.js";
|
|
8
8
|
import { numericPatterns as C } from "./index-constants4.js";
|
|
9
|
-
import { parseNDigits as H, parseNumericPattern as P } from "./index-
|
|
9
|
+
import { parseNDigits as H, parseNumericPattern as P } from "./index-utils12.js";
|
|
10
10
|
var w = /* @__PURE__ */ (function(m) {
|
|
11
11
|
c(s, m);
|
|
12
12
|
var i = l(s);
|
|
@@ -5,7 +5,7 @@ import y from "./index-inherits.js";
|
|
|
5
5
|
import d from "./index-createSuper.js";
|
|
6
6
|
import c from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as w } from "./index-Parser4.js";
|
|
8
|
-
import { mapValue as n, parseNDigits as h } from "./index-
|
|
8
|
+
import { mapValue as n, parseNDigits as h } from "./index-utils12.js";
|
|
9
9
|
import v from "./index-setUTCISODay.js";
|
|
10
10
|
var O = /* @__PURE__ */ (function(l) {
|
|
11
11
|
y(e, l);
|
|
@@ -6,7 +6,7 @@ import l from "./index-createSuper.js";
|
|
|
6
6
|
import p from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as h } from "./index-Parser4.js";
|
|
8
8
|
import { timezonePatterns as n } from "./index-constants4.js";
|
|
9
|
-
import { parseTimezonePattern as s } from "./index-
|
|
9
|
+
import { parseTimezonePattern as s } from "./index-utils12.js";
|
|
10
10
|
var w = /* @__PURE__ */ (function(c) {
|
|
11
11
|
f(o, c);
|
|
12
12
|
var a = l(o);
|
|
@@ -6,7 +6,7 @@ import X from "./index-createSuper.js";
|
|
|
6
6
|
import p from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as h } from "./index-Parser4.js";
|
|
8
8
|
import { timezonePatterns as n } from "./index-constants4.js";
|
|
9
|
-
import { parseTimezonePattern as s } from "./index-
|
|
9
|
+
import { parseTimezonePattern as s } from "./index-utils12.js";
|
|
10
10
|
var _ = /* @__PURE__ */ (function(c) {
|
|
11
11
|
l(o, c);
|
|
12
12
|
var a = X(o);
|
|
@@ -6,7 +6,7 @@ import c from "./index-createSuper.js";
|
|
|
6
6
|
import n from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as l } from "./index-Parser4.js";
|
|
8
8
|
import { numericPatterns as h } from "./index-constants4.js";
|
|
9
|
-
import { parseNDigits as v, parseNumericPattern as k } from "./index-
|
|
9
|
+
import { parseNDigits as v, parseNumericPattern as k } from "./index-utils12.js";
|
|
10
10
|
import I from "./index-setUTCISOWeek.js";
|
|
11
11
|
import d from "./index-startOfUTCISOWeek.js";
|
|
12
12
|
var b = /* @__PURE__ */ (function(m) {
|
|
@@ -5,7 +5,7 @@ import c from "./index-inherits.js";
|
|
|
5
5
|
import h from "./index-createSuper.js";
|
|
6
6
|
import m from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as v } from "./index-Parser4.js";
|
|
8
|
-
import { parseNDigitsSigned as f } from "./index-
|
|
8
|
+
import { parseNDigitsSigned as f } from "./index-utils12.js";
|
|
9
9
|
import C from "./index-startOfUTCISOWeek.js";
|
|
10
10
|
var P = /* @__PURE__ */ (function(p) {
|
|
11
11
|
c(i, p);
|
package/dist/index-InputBase2.js
CHANGED
|
@@ -7,7 +7,7 @@ import Eo from "./index-formControlState.js";
|
|
|
7
7
|
import Io from "./index-FormControlContext.js";
|
|
8
8
|
import Oo from "./index-useFormControl.js";
|
|
9
9
|
import lo from "./index-styled.js";
|
|
10
|
-
import { isFilled as To } from "./index-
|
|
10
|
+
import { isFilled as To } from "./index-utils8.js";
|
|
11
11
|
import W, { getInputBaseUtilityClass as ko } from "./index-inputBaseClasses.js";
|
|
12
12
|
import { jsxs as ro, jsx as L } from "react/jsx-runtime";
|
|
13
13
|
import { useDefaultProps as Fo } from "./index-DefaultPropsProvider.js";
|
|
@@ -5,7 +5,7 @@ import d from "./index-inherits.js";
|
|
|
5
5
|
import h from "./index-createSuper.js";
|
|
6
6
|
import c from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as v } from "./index-Parser4.js";
|
|
8
|
-
import { mapValue as l, parseNDigits as x } from "./index-
|
|
8
|
+
import { mapValue as l, parseNDigits as x } from "./index-utils12.js";
|
|
9
9
|
import b from "./index-setUTCDay.js";
|
|
10
10
|
var N = /* @__PURE__ */ (function(m) {
|
|
11
11
|
d(a, m);
|
|
@@ -6,7 +6,7 @@ import l from "./index-createSuper.js";
|
|
|
6
6
|
import n from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as h } from "./index-Parser4.js";
|
|
8
8
|
import { numericPatterns as v } from "./index-constants4.js";
|
|
9
|
-
import { parseNDigits as k, parseNumericPattern as d } from "./index-
|
|
9
|
+
import { parseNDigits as k, parseNumericPattern as d } from "./index-utils12.js";
|
|
10
10
|
import w from "./index-setUTCWeek.js";
|
|
11
11
|
import P from "./index-startOfUTCWeek.js";
|
|
12
12
|
var U = /* @__PURE__ */ (function(u) {
|
|
@@ -5,7 +5,7 @@ import v from "./index-inherits.js";
|
|
|
5
5
|
import h from "./index-createSuper.js";
|
|
6
6
|
import c from "./index-defineProperty.js";
|
|
7
7
|
import { Parser as k } from "./index-Parser4.js";
|
|
8
|
-
import { mapValue as n, parseNDigits as f, normalizeTwoDigitYear as D } from "./index-
|
|
8
|
+
import { mapValue as n, parseNDigits as f, normalizeTwoDigitYear as D } from "./index-utils12.js";
|
|
9
9
|
import g from "./index-getUTCWeekYear.js";
|
|
10
10
|
import p from "./index-startOfUTCWeek.js";
|
|
11
11
|
var I = /* @__PURE__ */ (function(Y) {
|