@wistia/ui 0.15.2 → 0.15.3-beta.558b0844.88edfec
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 +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.15.
|
|
3
|
+
* @license @wistia/ui v0.15.3-beta.558b0844.88edfec
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -9780,12 +9780,12 @@ var Form = (0, import_react36.forwardRef)(
|
|
|
9780
9780
|
ref,
|
|
9781
9781
|
$fullWidth: fullWidth,
|
|
9782
9782
|
alignItems: fullWidth ? "stretch" : "flex-start",
|
|
9783
|
-
as: StyledForm,
|
|
9784
9783
|
gap: "space-05",
|
|
9785
9784
|
id,
|
|
9786
9785
|
onBlur: handleBlur2,
|
|
9787
9786
|
onReset: handleReset,
|
|
9788
9787
|
onSubmit: handleSubmit,
|
|
9788
|
+
renderAs: StyledForm,
|
|
9789
9789
|
children
|
|
9790
9790
|
}
|
|
9791
9791
|
) })
|
|
@@ -16498,7 +16498,7 @@ var Container10 = import_styled_components106.default.div`
|
|
|
16498
16498
|
flex: 1 1 auto;
|
|
16499
16499
|
`;
|
|
16500
16500
|
var ScrollContainer = import_styled_components106.default.div`
|
|
16501
|
-
overflow: auto;
|
|
16501
|
+
overflow: ${({ $locked }) => $locked ? "hidden" : "auto"};
|
|
16502
16502
|
height: 100%;
|
|
16503
16503
|
width: 100%;
|
|
16504
16504
|
`;
|
|
@@ -16538,7 +16538,7 @@ var ShadowAtRight = (0, import_styled_components106.default)(Shadow)`
|
|
|
16538
16538
|
width: 0;
|
|
16539
16539
|
`;
|
|
16540
16540
|
var ScrollArea = (0, import_react85.forwardRef)(
|
|
16541
|
-
({ children, onScroll, style, ...props }, forwardedRef) => {
|
|
16541
|
+
({ children, onScroll, style, locked = false, ...props }, forwardedRef) => {
|
|
16542
16542
|
const scrollContainerRefInternal = (0, import_react85.useRef)(null);
|
|
16543
16543
|
const [shadowState, setShadowState] = (0, import_react85.useState)({
|
|
16544
16544
|
canScrollUp: false,
|
|
@@ -16579,6 +16579,7 @@ var ScrollArea = (0, import_react85.forwardRef)(
|
|
|
16579
16579
|
ScrollContainer,
|
|
16580
16580
|
{
|
|
16581
16581
|
ref: scrollContainerRef,
|
|
16582
|
+
$locked: locked,
|
|
16582
16583
|
onScroll: onScrollScrollContainer,
|
|
16583
16584
|
...props,
|
|
16584
16585
|
children
|