@wistia/ui 3.8.0-beta.ed130ec3.b2a2acf → 3.8.0-beta.f343ecf2.a0db4f3
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.js +32 -32
- package/dist/index.js.map +1 -1
- package/package.json +25 -29
- package/dist/css/schemes/blue.css +0 -70
- package/dist/css/schemes/error.css +0 -70
- package/dist/css/schemes/green.css +0 -70
- package/dist/css/schemes/info.css +0 -70
- package/dist/css/schemes/nav.css +0 -76
- package/dist/css/schemes/orange.css +0 -70
- package/dist/css/schemes/pink.css +0 -70
- package/dist/css/schemes/purple.css +0 -70
- package/dist/css/schemes/red.css +0 -70
- package/dist/css/schemes/remix-lime.css +0 -70
- package/dist/css/schemes/standard.css +0 -70
- package/dist/css/schemes/success.css +0 -70
- package/dist/css/schemes/vendor-hubspot.css +0 -70
- package/dist/css/schemes/vendor-marketo.css +0 -70
- package/dist/css/schemes/vendor-pardot.css +0 -70
- package/dist/css/schemes/warning.css +0 -70
- package/dist/css/schemes/yellow.css +0 -70
- package/dist/css/tokens.css +0 -2217
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v3.8.0-beta.
|
|
3
|
+
* @license @wistia/ui v3.8.0-beta.f343ecf2.a0db4f3
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -40,7 +40,7 @@ import { Dialog } from "@base-ui/react/dialog";
|
|
|
40
40
|
import { Progress } from "@base-ui/react/progress";
|
|
41
41
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
42
42
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
43
|
-
// src/components/ClickRegion/
|
|
43
|
+
// src/components/ClickRegion/clickRegionGlobalStyles.tsx
|
|
44
44
|
const clickRegionGlobalStyles = css`
|
|
45
45
|
[data-click-region] {
|
|
46
46
|
position: relative;
|
|
@@ -10848,7 +10848,7 @@ const HueSlider = (props) => {
|
|
|
10848
10848
|
});
|
|
10849
10849
|
};
|
|
10850
10850
|
HueSlider.displayName = "HueSlider_UI";
|
|
10851
|
-
// src/components/ColorPicker/
|
|
10851
|
+
// src/components/ColorPicker/drawSmoothCurve.ts
|
|
10852
10852
|
const drawSmoothCurve = (context, points) => {
|
|
10853
10853
|
const firstPoint = points[0];
|
|
10854
10854
|
const lastPoint = points.at(-1);
|
|
@@ -12478,33 +12478,7 @@ const DatePickerInput = ({ placeholder = "Select a date...", fullWidth, name, id
|
|
|
12478
12478
|
})] });
|
|
12479
12479
|
};
|
|
12480
12480
|
DatePickerInput.displayName = "DatePickerInput_UI";
|
|
12481
|
-
// src/private/components/Calendar/
|
|
12482
|
-
const StyledNav = styled.div`
|
|
12483
|
-
position: absolute;
|
|
12484
|
-
inset-block-start: 0;
|
|
12485
|
-
inset-inline-end: 0;
|
|
12486
|
-
display: flex;
|
|
12487
|
-
align-items: center;
|
|
12488
|
-
`;
|
|
12489
|
-
const CalendarNavigation = ({ onPreviousClick, onNextClick, previousMonth, nextMonth }) => {
|
|
12490
|
-
return /* @__PURE__ */ jsxs(StyledNav, { children: [/* @__PURE__ */ jsx(IconButton, {
|
|
12491
|
-
disabled: !previousMonth,
|
|
12492
|
-
label: "Go to previous month",
|
|
12493
|
-
onClick: onPreviousClick,
|
|
12494
|
-
size: "md",
|
|
12495
|
-
variant: "ghost",
|
|
12496
|
-
children: /* @__PURE__ */ jsx(Icon, { type: "caret-left" })
|
|
12497
|
-
}), /* @__PURE__ */ jsx(IconButton, {
|
|
12498
|
-
disabled: !nextMonth,
|
|
12499
|
-
label: "Go to next month",
|
|
12500
|
-
onClick: onNextClick,
|
|
12501
|
-
size: "md",
|
|
12502
|
-
variant: "ghost",
|
|
12503
|
-
children: /* @__PURE__ */ jsx(Icon, { type: "caret-right" })
|
|
12504
|
-
})] });
|
|
12505
|
-
};
|
|
12506
|
-
CalendarNavigation.displayName = "CalendarNavigation_UI";
|
|
12507
|
-
// src/private/components/Calendar/calendarStyles.ts
|
|
12481
|
+
// src/private/components/Calendar/calendarCss.ts
|
|
12508
12482
|
const calendarCss = css`
|
|
12509
12483
|
/* stylelint-disable selector-class-pattern, no-descending-specificity --
|
|
12510
12484
|
@daypicker/react ships class names with underscores (e.g. rdp-day_button, rdp-range_start).
|
|
@@ -12686,6 +12660,32 @@ const calendarCss = css`
|
|
|
12686
12660
|
visibility: hidden;
|
|
12687
12661
|
}
|
|
12688
12662
|
`;
|
|
12663
|
+
// src/private/components/Calendar/CalendarNavigation.tsx
|
|
12664
|
+
const StyledNav = styled.div`
|
|
12665
|
+
position: absolute;
|
|
12666
|
+
inset-block-start: 0;
|
|
12667
|
+
inset-inline-end: 0;
|
|
12668
|
+
display: flex;
|
|
12669
|
+
align-items: center;
|
|
12670
|
+
`;
|
|
12671
|
+
const CalendarNavigation = ({ onPreviousClick, onNextClick, previousMonth, nextMonth }) => {
|
|
12672
|
+
return /* @__PURE__ */ jsxs(StyledNav, { children: [/* @__PURE__ */ jsx(IconButton, {
|
|
12673
|
+
disabled: !previousMonth,
|
|
12674
|
+
label: "Go to previous month",
|
|
12675
|
+
onClick: onPreviousClick,
|
|
12676
|
+
size: "md",
|
|
12677
|
+
variant: "ghost",
|
|
12678
|
+
children: /* @__PURE__ */ jsx(Icon, { type: "caret-left" })
|
|
12679
|
+
}), /* @__PURE__ */ jsx(IconButton, {
|
|
12680
|
+
disabled: !nextMonth,
|
|
12681
|
+
label: "Go to next month",
|
|
12682
|
+
onClick: onNextClick,
|
|
12683
|
+
size: "md",
|
|
12684
|
+
variant: "ghost",
|
|
12685
|
+
children: /* @__PURE__ */ jsx(Icon, { type: "caret-right" })
|
|
12686
|
+
})] });
|
|
12687
|
+
};
|
|
12688
|
+
CalendarNavigation.displayName = "CalendarNavigation_UI";
|
|
12689
12689
|
// src/private/components/Calendar/Calendar.tsx
|
|
12690
12690
|
const StyledCalendarWrapper = styled.div`
|
|
12691
12691
|
${calendarCss}
|
|
@@ -14330,7 +14330,7 @@ const getDurationBounds = ({ decimalUnitLength, maxSeconds, minSeconds }) => {
|
|
|
14330
14330
|
minSeconds: roundedMinSeconds
|
|
14331
14331
|
};
|
|
14332
14332
|
};
|
|
14333
|
-
// src/components/InputDuration/
|
|
14333
|
+
// src/components/InputDuration/getSelectionRanges.ts
|
|
14334
14334
|
const getEmptySelectionRanges = () => ({
|
|
14335
14335
|
hours: {
|
|
14336
14336
|
start: null,
|
|
@@ -14446,7 +14446,7 @@ const getSelectionRanges = ({ inputValue, maxUnit }) => {
|
|
|
14446
14446
|
})
|
|
14447
14447
|
};
|
|
14448
14448
|
};
|
|
14449
|
-
// src/components/InputDuration/
|
|
14449
|
+
// src/components/InputDuration/isDurationUnit.ts
|
|
14450
14450
|
const DURATION_UNITS = /* @__PURE__ */ new Set([
|
|
14451
14451
|
"hours",
|
|
14452
14452
|
"hundredths-of-seconds",
|