@wistia/ui 3.8.0-beta.0b79dc4e.b4f7964 → 3.8.0-beta.0efa6a2e.efb1833

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 CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v3.8.0-beta.0b79dc4e.b4f7964
3
+ * @license @wistia/ui v3.8.0-beta.0efa6a2e.efb1833
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/globalStyles.tsx
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/canvas-utils.ts
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/CalendarNavigation.tsx
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/durationSelection.ts
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/durationUnits.ts
14449
+ // src/components/InputDuration/isDurationUnit.ts
14450
14450
  const DURATION_UNITS = /* @__PURE__ */ new Set([
14451
14451
  "hours",
14452
14452
  "hundredths-of-seconds",