@wistia/ui 0.14.4 → 0.14.5-beta.48677c7d.55b649e
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.cjs +3 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.14.
|
|
3
|
+
* @license @wistia/ui v0.14.5-beta.48677c7d.55b649e
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -2015,7 +2015,7 @@ var timeAgoString = (date, { nowAnchor = /* @__PURE__ */ new Date(), includeTime
|
|
|
2015
2015
|
if (differenceInDays < daysInWeek && !includeTime) {
|
|
2016
2016
|
return `on ${dayOfWeekString(date)}`;
|
|
2017
2017
|
}
|
|
2018
|
-
return includeTime ? dateTimeString(date, { omitYear: isSameYear }) : dateOnlyString(date, { omitYear:
|
|
2018
|
+
return includeTime ? dateTimeString(date, { omitYear: isSameYear }) : dateOnlyString(date, { omitYear: false });
|
|
2019
2019
|
};
|
|
2020
2020
|
|
|
2021
2021
|
// src/helpers/dateTime/timeOnlyString.ts
|
|
@@ -10247,7 +10247,6 @@ var Container = import_styled_components48.default.div`
|
|
|
10247
10247
|
display: grid;
|
|
10248
10248
|
gap: var(--wui-space-01);
|
|
10249
10249
|
grid-template-columns: minmax(0, 1fr);
|
|
10250
|
-
padding: var(--wui-space-02);
|
|
10251
10250
|
`;
|
|
10252
10251
|
var LabelContainer = import_styled_components48.default.div`
|
|
10253
10252
|
padding-top: var(--wui-space-01);
|
|
@@ -10547,7 +10546,6 @@ var import_jsx_runtime231 = require("react/jsx-runtime");
|
|
|
10547
10546
|
var Container3 = (0, import_styled_components52.default)(import_react_toggle_group.Root)`
|
|
10548
10547
|
display: grid;
|
|
10549
10548
|
grid-template-columns: minmax(0, 1fr);
|
|
10550
|
-
padding: var(--wui-space-02);
|
|
10551
10549
|
`;
|
|
10552
10550
|
var ColorList = ({ children }) => {
|
|
10553
10551
|
const { valueAsHex, onChangeNonDerivedValueAsHsv } = useColorPickerState();
|
|
@@ -11097,7 +11095,7 @@ var ContrastPreview = () => {
|
|
|
11097
11095
|
// src/components/ColorPicker/ContrastControls.tsx
|
|
11098
11096
|
var import_jsx_runtime245 = require("react/jsx-runtime");
|
|
11099
11097
|
var ContrastControls = () => {
|
|
11100
|
-
return /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(
|
|
11098
|
+
return /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(Stack, { children: [
|
|
11101
11099
|
/* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(
|
|
11102
11100
|
Box,
|
|
11103
11101
|
{
|