@wistia/ui 0.14.40 → 0.14.41-beta.877dad2b.ea24cff
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 +185 -146
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +32 -1
- package/dist/index.d.ts +32 -1
- package/dist/index.mjs +183 -146
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.14.
|
|
3
|
+
* @license @wistia/ui v0.14.41-beta.877dad2b.ea24cff
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -14388,11 +14388,11 @@ var EditableTextLabel = ({ ...props }) => {
|
|
|
14388
14388
|
if (!context) {
|
|
14389
14389
|
throw new Error("EditableTextLabel must be used within an EditableTextRoot context");
|
|
14390
14390
|
}
|
|
14391
|
-
const { id, label } = context;
|
|
14391
|
+
const { id, label, isEditing } = context;
|
|
14392
14392
|
return /* @__PURE__ */ jsx278(
|
|
14393
14393
|
Label,
|
|
14394
14394
|
{
|
|
14395
|
-
htmlFor: id,
|
|
14395
|
+
...isEditing && { htmlFor: id },
|
|
14396
14396
|
...props,
|
|
14397
14397
|
children: label
|
|
14398
14398
|
}
|
|
@@ -15270,12 +15270,14 @@ import { jsx as jsx291, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
|
15270
15270
|
var Header = styled75.header`
|
|
15271
15271
|
display: flex;
|
|
15272
15272
|
order: 1;
|
|
15273
|
+
padding: 0 var(--wui-space-05);
|
|
15274
|
+
padding-bottom: 0;
|
|
15273
15275
|
gap: var(--wui-space-01);
|
|
15274
15276
|
justify-content: ${({ $hideTitle }) => $hideTitle ? "flex-end" : "space-between"}; /* ensure ModalCloseButton is right-aligned */
|
|
15275
15277
|
|
|
15276
15278
|
/* DialogTitle creates an h2 element which inherits some margin */
|
|
15277
15279
|
h2 {
|
|
15278
|
-
margin: 0
|
|
15280
|
+
margin: 0;
|
|
15279
15281
|
padding-right: ${({ $hideCloseButon }) => $hideCloseButon ? "0" : "var(--wui-space-03)"};
|
|
15280
15282
|
}
|
|
15281
15283
|
|
|
@@ -15437,15 +15439,15 @@ var StyledModalContent = styled76(DialogContent)`
|
|
|
15437
15439
|
position: fixed;
|
|
15438
15440
|
display: flex;
|
|
15439
15441
|
flex-direction: column;
|
|
15442
|
+
gap: var(--wui-space-03);
|
|
15440
15443
|
top: 0;
|
|
15441
15444
|
left: 0;
|
|
15442
15445
|
width: 100vw;
|
|
15443
15446
|
height: 100vh;
|
|
15444
15447
|
z-index: var(--wui-zindex-modal);
|
|
15445
15448
|
box-sizing: border-box;
|
|
15446
|
-
padding: var(--wui-space-05);
|
|
15449
|
+
padding: var(--wui-space-05) 0;
|
|
15447
15450
|
background-color: var(--wui-color-bg-app);
|
|
15448
|
-
overflow: auto;
|
|
15449
15451
|
|
|
15450
15452
|
${mq.smAndUp} {
|
|
15451
15453
|
position: fixed;
|
|
@@ -15518,11 +15520,21 @@ var ModalBody = styled78.div`
|
|
|
15518
15520
|
flex-direction: column;
|
|
15519
15521
|
display: flex;
|
|
15520
15522
|
flex: 1 0 0;
|
|
15523
|
+
padding: 0 var(--wui-space-05);
|
|
15524
|
+
`;
|
|
15525
|
+
var ModalScrollArea = styled78.div`
|
|
15521
15526
|
order: 2;
|
|
15527
|
+
max-height: 90vh;
|
|
15528
|
+
overflow-y: auto;
|
|
15529
|
+
`;
|
|
15530
|
+
var ModalFooter = styled78.footer`
|
|
15531
|
+
padding: 0 var(--wui-space-05);
|
|
15532
|
+
order: 3;
|
|
15522
15533
|
`;
|
|
15523
15534
|
var Modal = forwardRef26(
|
|
15524
15535
|
({
|
|
15525
15536
|
children,
|
|
15537
|
+
footer,
|
|
15526
15538
|
hideCloseButton = false,
|
|
15527
15539
|
hideTitle = false,
|
|
15528
15540
|
initialFocusRef,
|
|
@@ -15560,7 +15572,7 @@ var Modal = forwardRef26(
|
|
|
15560
15572
|
width,
|
|
15561
15573
|
...props,
|
|
15562
15574
|
children: [
|
|
15563
|
-
/* @__PURE__ */ jsx293(ModalBody, { children }),
|
|
15575
|
+
/* @__PURE__ */ jsx293(ModalScrollArea, { children: /* @__PURE__ */ jsx293(ModalBody, { children }) }),
|
|
15564
15576
|
hideCloseButton && hideTitle ? null : /* @__PURE__ */ jsx293(
|
|
15565
15577
|
ModalHeader,
|
|
15566
15578
|
{
|
|
@@ -15568,7 +15580,8 @@ var Modal = forwardRef26(
|
|
|
15568
15580
|
hideTitle,
|
|
15569
15581
|
title
|
|
15570
15582
|
}
|
|
15571
|
-
)
|
|
15583
|
+
),
|
|
15584
|
+
isNotNil32(footer) ? /* @__PURE__ */ jsx293(ModalFooter, { children: footer }) : null
|
|
15572
15585
|
]
|
|
15573
15586
|
}
|
|
15574
15587
|
)
|
|
@@ -15579,6 +15592,28 @@ var Modal = forwardRef26(
|
|
|
15579
15592
|
);
|
|
15580
15593
|
Modal.displayName = "Modal_UI";
|
|
15581
15594
|
|
|
15595
|
+
// src/components/Modal/ModalValueProps.tsx
|
|
15596
|
+
import { jsx as jsx294, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
15597
|
+
var ModalValueProps = ({ children }) => {
|
|
15598
|
+
return /* @__PURE__ */ jsx294(
|
|
15599
|
+
Stack,
|
|
15600
|
+
{
|
|
15601
|
+
direction: "horizontal",
|
|
15602
|
+
gap: "space-08",
|
|
15603
|
+
children
|
|
15604
|
+
}
|
|
15605
|
+
);
|
|
15606
|
+
};
|
|
15607
|
+
ModalValueProps.displayName = "ModalValueProps_UI";
|
|
15608
|
+
var ModalValueProp = ({ title, image, children }) => {
|
|
15609
|
+
return /* @__PURE__ */ jsxs51(Stack, { direction: "vertical", children: [
|
|
15610
|
+
image,
|
|
15611
|
+
/* @__PURE__ */ jsx294(Heading, { variant: "heading4", children: title }),
|
|
15612
|
+
children
|
|
15613
|
+
] });
|
|
15614
|
+
};
|
|
15615
|
+
ModalValueProp.displayName = "ModalValueProp_UI";
|
|
15616
|
+
|
|
15582
15617
|
// src/components/Popover/Popover.tsx
|
|
15583
15618
|
import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
|
|
15584
15619
|
import styled80, { css as css40 } from "styled-components";
|
|
@@ -15592,7 +15627,7 @@ var getControlProps = (isOpen, onOpenChange) => {
|
|
|
15592
15627
|
// src/components/Popover/PopoverArrow.tsx
|
|
15593
15628
|
import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
|
|
15594
15629
|
import styled79, { css as css39, keyframes as keyframes6 } from "styled-components";
|
|
15595
|
-
import { jsx as
|
|
15630
|
+
import { jsx as jsx295, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
15596
15631
|
var StyledPath = styled79.path`
|
|
15597
15632
|
fill: var(--wui-color-border-secondary);
|
|
15598
15633
|
`;
|
|
@@ -15631,7 +15666,7 @@ var StyledCircle = styled79.circle`
|
|
|
15631
15666
|
}
|
|
15632
15667
|
`;
|
|
15633
15668
|
var PopoverArrow = ({ isAnimated }) => {
|
|
15634
|
-
return /* @__PURE__ */
|
|
15669
|
+
return /* @__PURE__ */ jsx295(RadixPopoverArrow, { asChild: true, children: /* @__PURE__ */ jsxs52(
|
|
15635
15670
|
"svg",
|
|
15636
15671
|
{
|
|
15637
15672
|
fill: "none",
|
|
@@ -15640,8 +15675,8 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
15640
15675
|
width: "48",
|
|
15641
15676
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15642
15677
|
children: [
|
|
15643
|
-
/* @__PURE__ */
|
|
15644
|
-
/* @__PURE__ */
|
|
15678
|
+
/* @__PURE__ */ jsx295(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
|
|
15679
|
+
/* @__PURE__ */ jsx295(
|
|
15645
15680
|
StyledCircle,
|
|
15646
15681
|
{
|
|
15647
15682
|
$isAnimated: isAnimated,
|
|
@@ -15652,7 +15687,7 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
15652
15687
|
strokeWidth: "4"
|
|
15653
15688
|
}
|
|
15654
15689
|
),
|
|
15655
|
-
/* @__PURE__ */
|
|
15690
|
+
/* @__PURE__ */ jsx295(
|
|
15656
15691
|
StyledCircle,
|
|
15657
15692
|
{
|
|
15658
15693
|
$isAnimated: isAnimated,
|
|
@@ -15670,7 +15705,7 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
15670
15705
|
PopoverArrow.displayName = "PopoverArrow_UI";
|
|
15671
15706
|
|
|
15672
15707
|
// src/components/Popover/Popover.tsx
|
|
15673
|
-
import { jsx as
|
|
15708
|
+
import { jsx as jsx296, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
15674
15709
|
var StyledContent2 = styled80(Content2)`
|
|
15675
15710
|
z-index: var(--wui-zindex-popover);
|
|
15676
15711
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -15710,9 +15745,9 @@ var Popover = ({
|
|
|
15710
15745
|
"--wui-popover-max-width": maxWidth,
|
|
15711
15746
|
"--wui-popover-max-height": maxHeight
|
|
15712
15747
|
};
|
|
15713
|
-
return /* @__PURE__ */
|
|
15714
|
-
/* @__PURE__ */
|
|
15715
|
-
/* @__PURE__ */
|
|
15748
|
+
return /* @__PURE__ */ jsxs53(Root2, { ...getControlProps(isOpen, onOpenChange), children: [
|
|
15749
|
+
/* @__PURE__ */ jsx296(Trigger2, { asChild: true, children: trigger }),
|
|
15750
|
+
/* @__PURE__ */ jsx296(Portal, { children: /* @__PURE__ */ jsxs53(
|
|
15716
15751
|
StyledContent2,
|
|
15717
15752
|
{
|
|
15718
15753
|
$colorScheme: colorScheme,
|
|
@@ -15721,17 +15756,17 @@ var Popover = ({
|
|
|
15721
15756
|
$unstyled: unstyled,
|
|
15722
15757
|
style,
|
|
15723
15758
|
children: [
|
|
15724
|
-
!hideCloseButton && /* @__PURE__ */
|
|
15759
|
+
!hideCloseButton && /* @__PURE__ */ jsx296(Close, { asChild: true, children: /* @__PURE__ */ jsx296(
|
|
15725
15760
|
IconButton,
|
|
15726
15761
|
{
|
|
15727
15762
|
"data-wui-popover-close": true,
|
|
15728
15763
|
label: "Close",
|
|
15729
15764
|
variant: "ghost",
|
|
15730
|
-
children: /* @__PURE__ */
|
|
15765
|
+
children: /* @__PURE__ */ jsx296(Icon, { type: "close" })
|
|
15731
15766
|
}
|
|
15732
15767
|
) }),
|
|
15733
|
-
withArrow ? /* @__PURE__ */
|
|
15734
|
-
/* @__PURE__ */
|
|
15768
|
+
withArrow ? /* @__PURE__ */ jsx296(PopoverArrow, { isAnimated }) : null,
|
|
15769
|
+
/* @__PURE__ */ jsx296("div", { children })
|
|
15735
15770
|
]
|
|
15736
15771
|
}
|
|
15737
15772
|
) })
|
|
@@ -15743,7 +15778,7 @@ Popover.displayName = "Popover_UI";
|
|
|
15743
15778
|
import styled81 from "styled-components";
|
|
15744
15779
|
import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
|
|
15745
15780
|
import { isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
15746
|
-
import { jsx as
|
|
15781
|
+
import { jsx as jsx297, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
15747
15782
|
var ProgressBarWrapper = styled81.div`
|
|
15748
15783
|
--progress-bar-height: 8px;
|
|
15749
15784
|
|
|
@@ -15797,16 +15832,16 @@ var ProgressBar = ({
|
|
|
15797
15832
|
colorScheme = "inherit",
|
|
15798
15833
|
...props
|
|
15799
15834
|
}) => {
|
|
15800
|
-
return /* @__PURE__ */
|
|
15801
|
-
isNotNil34(labelLeft) ? /* @__PURE__ */
|
|
15802
|
-
/* @__PURE__ */
|
|
15835
|
+
return /* @__PURE__ */ jsxs54(ProgressBarWrapper, { children: [
|
|
15836
|
+
isNotNil34(labelLeft) ? /* @__PURE__ */ jsx297(ProgressBarLabel, { children: labelLeft }) : null,
|
|
15837
|
+
/* @__PURE__ */ jsx297(
|
|
15803
15838
|
StyledProgressBar,
|
|
15804
15839
|
{
|
|
15805
15840
|
$colorScheme: colorScheme,
|
|
15806
15841
|
max,
|
|
15807
15842
|
value: progress,
|
|
15808
15843
|
...props,
|
|
15809
|
-
children: /* @__PURE__ */
|
|
15844
|
+
children: /* @__PURE__ */ jsx297(
|
|
15810
15845
|
StyledProgressIndicator,
|
|
15811
15846
|
{
|
|
15812
15847
|
$colorScheme: colorScheme,
|
|
@@ -15816,7 +15851,7 @@ var ProgressBar = ({
|
|
|
15816
15851
|
)
|
|
15817
15852
|
}
|
|
15818
15853
|
),
|
|
15819
|
-
isNotNil34(labelRight) ? /* @__PURE__ */
|
|
15854
|
+
isNotNil34(labelRight) ? /* @__PURE__ */ jsx297(ProgressBarLabel, { children: labelRight }) : null
|
|
15820
15855
|
] });
|
|
15821
15856
|
};
|
|
15822
15857
|
ProgressBar.displayName = "ProgressBar_UI";
|
|
@@ -15825,7 +15860,7 @@ ProgressBar.displayName = "ProgressBar_UI";
|
|
|
15825
15860
|
import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
15826
15861
|
import { forwardRef as forwardRef27, useId as useId5 } from "react";
|
|
15827
15862
|
import styled82, { css as css41 } from "styled-components";
|
|
15828
|
-
import { jsx as
|
|
15863
|
+
import { jsx as jsx298, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
15829
15864
|
var sizeSmall2 = css41`
|
|
15830
15865
|
--wui-radio-size: 14px;
|
|
15831
15866
|
--wui-radio-icon-size: 7px;
|
|
@@ -15930,14 +15965,14 @@ var Radio = forwardRef27(
|
|
|
15930
15965
|
const radioName = name ?? contextName;
|
|
15931
15966
|
const handleOnChange = onChange ?? contextOnChange;
|
|
15932
15967
|
const isChecked = isNotUndefined13(value) && isNotUndefined13(contextValue) ? contextValue === value : checked;
|
|
15933
|
-
return /* @__PURE__ */
|
|
15968
|
+
return /* @__PURE__ */ jsxs55(
|
|
15934
15969
|
StyledRadioWrapper,
|
|
15935
15970
|
{
|
|
15936
15971
|
$disabled: disabled,
|
|
15937
15972
|
$hideLabel: hideLabel,
|
|
15938
15973
|
"aria-invalid": props["aria-invalid"],
|
|
15939
15974
|
children: [
|
|
15940
|
-
/* @__PURE__ */
|
|
15975
|
+
/* @__PURE__ */ jsx298(
|
|
15941
15976
|
StyledHiddenRadioInput,
|
|
15942
15977
|
{
|
|
15943
15978
|
...props,
|
|
@@ -15952,10 +15987,10 @@ var Radio = forwardRef27(
|
|
|
15952
15987
|
value
|
|
15953
15988
|
}
|
|
15954
15989
|
),
|
|
15955
|
-
/* @__PURE__ */
|
|
15990
|
+
/* @__PURE__ */ jsx298(
|
|
15956
15991
|
FormControlLabel,
|
|
15957
15992
|
{
|
|
15958
|
-
controlSlot: /* @__PURE__ */
|
|
15993
|
+
controlSlot: /* @__PURE__ */ jsx298(StyledRadioInput, { $size: size }),
|
|
15959
15994
|
description,
|
|
15960
15995
|
disabled,
|
|
15961
15996
|
hideLabel,
|
|
@@ -15977,7 +16012,7 @@ import { forwardRef as forwardRef29 } from "react";
|
|
|
15977
16012
|
import { forwardRef as forwardRef28, useId as useId6 } from "react";
|
|
15978
16013
|
import styled83, { css as css42 } from "styled-components";
|
|
15979
16014
|
import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
|
|
15980
|
-
import { jsx as
|
|
16015
|
+
import { jsx as jsx299, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
15981
16016
|
var checkedStyles = css42`
|
|
15982
16017
|
--wui-radio-card-border-color: var(--wui-color-focus-ring);
|
|
15983
16018
|
--wui-color-icon: var(--wui-color-icon-selected);
|
|
@@ -16106,14 +16141,14 @@ var RadioCardRoot = forwardRef28(
|
|
|
16106
16141
|
const radioName = name ?? contextName;
|
|
16107
16142
|
const handleOnChange = onChange ?? contextOnChange;
|
|
16108
16143
|
const isChecked = isNotUndefined14(value) && isNotUndefined14(contextValue) ? contextValue === value : checked;
|
|
16109
|
-
return /* @__PURE__ */
|
|
16144
|
+
return /* @__PURE__ */ jsxs56(
|
|
16110
16145
|
StyledCard2,
|
|
16111
16146
|
{
|
|
16112
16147
|
$aspectRatio: aspectRatio,
|
|
16113
16148
|
$padding: padding,
|
|
16114
16149
|
htmlFor: computedId,
|
|
16115
16150
|
children: [
|
|
16116
|
-
/* @__PURE__ */
|
|
16151
|
+
/* @__PURE__ */ jsx299(
|
|
16117
16152
|
StyledHiddenInput,
|
|
16118
16153
|
{
|
|
16119
16154
|
...props,
|
|
@@ -16190,7 +16225,7 @@ var RadioCardIndicator = styled84.div`
|
|
|
16190
16225
|
RadioCardIndicator.displayName = "RadioCardIndicator_UI";
|
|
16191
16226
|
|
|
16192
16227
|
// src/components/RadioCard/RadioCardDefaultLayout.tsx
|
|
16193
|
-
import { jsx as
|
|
16228
|
+
import { jsx as jsx300, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
16194
16229
|
var StyledCardContent = styled85.div`
|
|
16195
16230
|
display: grid;
|
|
16196
16231
|
grid-auto-flow: column;
|
|
@@ -16210,18 +16245,18 @@ var RadioCardDefaultLayout = ({
|
|
|
16210
16245
|
description,
|
|
16211
16246
|
showIndicator = true
|
|
16212
16247
|
}) => {
|
|
16213
|
-
return /* @__PURE__ */
|
|
16214
|
-
showIndicator ? /* @__PURE__ */
|
|
16215
|
-
/* @__PURE__ */
|
|
16216
|
-
isNotNil35(icon) && /* @__PURE__ */
|
|
16217
|
-
/* @__PURE__ */
|
|
16248
|
+
return /* @__PURE__ */ jsxs57(StyledCardContent, { children: [
|
|
16249
|
+
showIndicator ? /* @__PURE__ */ jsx300(StyledIndicatorContainer, { $hasIcon: isNotNil35(icon), children: /* @__PURE__ */ jsx300(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
|
|
16250
|
+
/* @__PURE__ */ jsxs57(Stack, { gap: "space-02", children: [
|
|
16251
|
+
isNotNil35(icon) && /* @__PURE__ */ jsx300(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
|
|
16252
|
+
/* @__PURE__ */ jsxs57(
|
|
16218
16253
|
Stack,
|
|
16219
16254
|
{
|
|
16220
16255
|
gap: "space-01",
|
|
16221
16256
|
style: isNotNil35(icon) ? { paddingLeft: 2 } : void 0,
|
|
16222
16257
|
children: [
|
|
16223
|
-
isNotNil35(label) && /* @__PURE__ */
|
|
16224
|
-
isNotNil35(description) && /* @__PURE__ */
|
|
16258
|
+
isNotNil35(label) && /* @__PURE__ */ jsx300(Text, { variant: "label3", children: /* @__PURE__ */ jsx300("strong", { children: label }) }),
|
|
16259
|
+
isNotNil35(description) && /* @__PURE__ */ jsx300(
|
|
16225
16260
|
Text,
|
|
16226
16261
|
{
|
|
16227
16262
|
prominence: "secondary",
|
|
@@ -16244,16 +16279,16 @@ var RadioCardChildrenContainer = styled86.div`
|
|
|
16244
16279
|
`;
|
|
16245
16280
|
|
|
16246
16281
|
// src/components/RadioCard/RadioCard.tsx
|
|
16247
|
-
import { jsx as
|
|
16282
|
+
import { jsx as jsx301 } from "react/jsx-runtime";
|
|
16248
16283
|
var RadioCard = forwardRef29(
|
|
16249
16284
|
({ icon, label, description, showIndicator, children, ...rootProps }, ref) => {
|
|
16250
|
-
return /* @__PURE__ */
|
|
16285
|
+
return /* @__PURE__ */ jsx301(
|
|
16251
16286
|
RadioCardRoot,
|
|
16252
16287
|
{
|
|
16253
16288
|
ref,
|
|
16254
16289
|
padding: children != null ? "space-00" : "space-04",
|
|
16255
16290
|
...rootProps,
|
|
16256
|
-
children: children != null ? /* @__PURE__ */
|
|
16291
|
+
children: children != null ? /* @__PURE__ */ jsx301(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ jsx301(
|
|
16257
16292
|
RadioCardDefaultLayout,
|
|
16258
16293
|
{
|
|
16259
16294
|
description,
|
|
@@ -16270,17 +16305,17 @@ RadioCard.displayName = "RadioCard_UI";
|
|
|
16270
16305
|
|
|
16271
16306
|
// src/components/RadioCard/RadioCardImage.tsx
|
|
16272
16307
|
import { forwardRef as forwardRef30 } from "react";
|
|
16273
|
-
import { jsx as
|
|
16308
|
+
import { jsx as jsx302 } from "react/jsx-runtime";
|
|
16274
16309
|
var RadioCardImage = forwardRef30(
|
|
16275
16310
|
({ label, imageSrc, aspectRatio, padding = "space-04", ...rootProps }, ref) => {
|
|
16276
|
-
return /* @__PURE__ */
|
|
16311
|
+
return /* @__PURE__ */ jsx302(
|
|
16277
16312
|
RadioCardRoot,
|
|
16278
16313
|
{
|
|
16279
16314
|
ref,
|
|
16280
16315
|
...rootProps,
|
|
16281
16316
|
aspectRatio,
|
|
16282
16317
|
padding,
|
|
16283
|
-
children: /* @__PURE__ */
|
|
16318
|
+
children: /* @__PURE__ */ jsx302(
|
|
16284
16319
|
Image,
|
|
16285
16320
|
{
|
|
16286
16321
|
alt: label,
|
|
@@ -16300,7 +16335,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
|
|
|
16300
16335
|
import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
|
|
16301
16336
|
import styled87 from "styled-components";
|
|
16302
16337
|
import { throttle } from "throttle-debounce";
|
|
16303
|
-
import { jsx as
|
|
16338
|
+
import { jsx as jsx303, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
16304
16339
|
var SHADOW_SIZE_PX = 8;
|
|
16305
16340
|
var Container10 = styled87.div`
|
|
16306
16341
|
overflow: hidden;
|
|
@@ -16380,12 +16415,12 @@ var ScrollArea = forwardRef31(
|
|
|
16380
16415
|
useEffect20(() => {
|
|
16381
16416
|
updateShadows();
|
|
16382
16417
|
}, [updateShadows]);
|
|
16383
|
-
return /* @__PURE__ */
|
|
16384
|
-
/* @__PURE__ */
|
|
16385
|
-
/* @__PURE__ */
|
|
16386
|
-
/* @__PURE__ */
|
|
16387
|
-
/* @__PURE__ */
|
|
16388
|
-
/* @__PURE__ */
|
|
16418
|
+
return /* @__PURE__ */ jsxs58(Container10, { style, children: [
|
|
16419
|
+
/* @__PURE__ */ jsx303(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
|
|
16420
|
+
/* @__PURE__ */ jsx303(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
|
|
16421
|
+
/* @__PURE__ */ jsx303(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
|
|
16422
|
+
/* @__PURE__ */ jsx303(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
|
|
16423
|
+
/* @__PURE__ */ jsx303(
|
|
16389
16424
|
ScrollContainer,
|
|
16390
16425
|
{
|
|
16391
16426
|
ref: scrollContainerRef,
|
|
@@ -16407,7 +16442,7 @@ import { isNil as isNil17 } from "@wistia/type-guards";
|
|
|
16407
16442
|
|
|
16408
16443
|
// src/components/SegmentedControl/useSelectedItemStyle.tsx
|
|
16409
16444
|
import { createContext as createContext9, useContext as useContext15, useMemo as useMemo16, useState as useState24 } from "react";
|
|
16410
|
-
import { jsx as
|
|
16445
|
+
import { jsx as jsx304 } from "react/jsx-runtime";
|
|
16411
16446
|
var SelectedItemStyleContext = createContext9(null);
|
|
16412
16447
|
var SelectedItemStyleProvider = ({
|
|
16413
16448
|
children
|
|
@@ -16428,7 +16463,7 @@ var SelectedItemStyleProvider = ({
|
|
|
16428
16463
|
}),
|
|
16429
16464
|
[selectedItemIndicatorStyle]
|
|
16430
16465
|
);
|
|
16431
|
-
return /* @__PURE__ */
|
|
16466
|
+
return /* @__PURE__ */ jsx304(SelectedItemStyleContext.Provider, { value: contextValue, children });
|
|
16432
16467
|
};
|
|
16433
16468
|
var useSelectedItemStyle = () => {
|
|
16434
16469
|
const context = useContext15(SelectedItemStyleContext);
|
|
@@ -16455,7 +16490,7 @@ var useSegmentedControlValue = () => {
|
|
|
16455
16490
|
};
|
|
16456
16491
|
|
|
16457
16492
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
16458
|
-
import { jsx as
|
|
16493
|
+
import { jsx as jsx305 } from "react/jsx-runtime";
|
|
16459
16494
|
var selectedItemIndicatorStyles = css43`
|
|
16460
16495
|
background-color: var(--wui-color-bg-fill-white);
|
|
16461
16496
|
border-radius: var(--wui-border-radius-rounded);
|
|
@@ -16477,7 +16512,7 @@ var SelectedItemIndicator = () => {
|
|
|
16477
16512
|
if (!selectedValue || isUndefined5(selectedItemIndicatorStyle)) {
|
|
16478
16513
|
return null;
|
|
16479
16514
|
}
|
|
16480
|
-
return /* @__PURE__ */
|
|
16515
|
+
return /* @__PURE__ */ jsx305(
|
|
16481
16516
|
SelectedItemIndicatorDiv,
|
|
16482
16517
|
{
|
|
16483
16518
|
"data-wui-selected-item-indicator": true,
|
|
@@ -16487,7 +16522,7 @@ var SelectedItemIndicator = () => {
|
|
|
16487
16522
|
};
|
|
16488
16523
|
|
|
16489
16524
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
16490
|
-
import { jsx as
|
|
16525
|
+
import { jsx as jsx306, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
16491
16526
|
var segmentedControlStyles = css44`
|
|
16492
16527
|
display: inline-flex;
|
|
16493
16528
|
background-color: var(--wui-color-bg-surface-secondary);
|
|
@@ -16514,7 +16549,7 @@ var SegmentedControl = forwardRef32(
|
|
|
16514
16549
|
if (isNil17(children)) {
|
|
16515
16550
|
return null;
|
|
16516
16551
|
}
|
|
16517
|
-
return /* @__PURE__ */
|
|
16552
|
+
return /* @__PURE__ */ jsx306(
|
|
16518
16553
|
StyledSegmentedControl,
|
|
16519
16554
|
{
|
|
16520
16555
|
ref,
|
|
@@ -16526,9 +16561,9 @@ var SegmentedControl = forwardRef32(
|
|
|
16526
16561
|
type: "single",
|
|
16527
16562
|
value: selectedValue,
|
|
16528
16563
|
...props,
|
|
16529
|
-
children: /* @__PURE__ */
|
|
16564
|
+
children: /* @__PURE__ */ jsx306(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs59(SelectedItemStyleProvider, { children: [
|
|
16530
16565
|
children,
|
|
16531
|
-
/* @__PURE__ */
|
|
16566
|
+
/* @__PURE__ */ jsx306(SelectedItemIndicator, {})
|
|
16532
16567
|
] }) })
|
|
16533
16568
|
}
|
|
16534
16569
|
);
|
|
@@ -16541,7 +16576,7 @@ import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef2
|
|
|
16541
16576
|
import styled90, { css as css45 } from "styled-components";
|
|
16542
16577
|
import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
|
|
16543
16578
|
import { isNotNil as isNotNil36 } from "@wistia/type-guards";
|
|
16544
|
-
import { jsxs as
|
|
16579
|
+
import { jsxs as jsxs60 } from "react/jsx-runtime";
|
|
16545
16580
|
var segmentedControlItemStyles = css45`
|
|
16546
16581
|
all: unset; /* ToggleGroupItem is a button element */
|
|
16547
16582
|
align-items: center;
|
|
@@ -16651,7 +16686,7 @@ var SegmentedControlItem = forwardRef33(
|
|
|
16651
16686
|
resizeObserver.disconnect();
|
|
16652
16687
|
};
|
|
16653
16688
|
}, [selectedValue, setSelectedItemMeasurements, value]);
|
|
16654
|
-
return /* @__PURE__ */
|
|
16689
|
+
return /* @__PURE__ */ jsxs60(
|
|
16655
16690
|
StyledSegmentedControlItem,
|
|
16656
16691
|
{
|
|
16657
16692
|
ref: combinedRef,
|
|
@@ -16684,7 +16719,7 @@ import {
|
|
|
16684
16719
|
} from "@radix-ui/react-select";
|
|
16685
16720
|
import { forwardRef as forwardRef34 } from "react";
|
|
16686
16721
|
import styled91 from "styled-components";
|
|
16687
|
-
import { jsx as
|
|
16722
|
+
import { jsx as jsx307, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
16688
16723
|
var StyledTrigger2 = styled91(Trigger3)`
|
|
16689
16724
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
16690
16725
|
${inputCss};
|
|
@@ -16773,8 +16808,8 @@ var Select = forwardRef34(
|
|
|
16773
16808
|
if (forceOpen) {
|
|
16774
16809
|
rootProps["open"] = true;
|
|
16775
16810
|
}
|
|
16776
|
-
return /* @__PURE__ */
|
|
16777
|
-
/* @__PURE__ */
|
|
16811
|
+
return /* @__PURE__ */ jsxs61(Root3, { ...rootProps, children: [
|
|
16812
|
+
/* @__PURE__ */ jsxs61(
|
|
16778
16813
|
StyledTrigger2,
|
|
16779
16814
|
{
|
|
16780
16815
|
ref: forwardedRef,
|
|
@@ -16782,8 +16817,8 @@ var Select = forwardRef34(
|
|
|
16782
16817
|
$fullWidth: responsiveFullWidth,
|
|
16783
16818
|
...props,
|
|
16784
16819
|
children: [
|
|
16785
|
-
/* @__PURE__ */
|
|
16786
|
-
/* @__PURE__ */
|
|
16820
|
+
/* @__PURE__ */ jsx307(Value, { placeholder }),
|
|
16821
|
+
/* @__PURE__ */ jsx307(
|
|
16787
16822
|
Icon,
|
|
16788
16823
|
{
|
|
16789
16824
|
size: "md",
|
|
@@ -16793,10 +16828,10 @@ var Select = forwardRef34(
|
|
|
16793
16828
|
]
|
|
16794
16829
|
}
|
|
16795
16830
|
),
|
|
16796
|
-
/* @__PURE__ */
|
|
16797
|
-
/* @__PURE__ */
|
|
16798
|
-
/* @__PURE__ */
|
|
16799
|
-
/* @__PURE__ */
|
|
16831
|
+
/* @__PURE__ */ jsx307(Portal2, { children: /* @__PURE__ */ jsxs61(StyledContent3, { position: "popper", children: [
|
|
16832
|
+
/* @__PURE__ */ jsx307(ScrollUpButton, { children: /* @__PURE__ */ jsx307(Icon, { type: "caret-up" }) }),
|
|
16833
|
+
/* @__PURE__ */ jsx307(Viewport, { children }),
|
|
16834
|
+
/* @__PURE__ */ jsx307(ScrollDownButton, { children: /* @__PURE__ */ jsx307(Icon, { type: "caret-down" }) })
|
|
16800
16835
|
] }) })
|
|
16801
16836
|
] });
|
|
16802
16837
|
}
|
|
@@ -16808,7 +16843,7 @@ import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
|
|
|
16808
16843
|
import { forwardRef as forwardRef35 } from "react";
|
|
16809
16844
|
import styled92 from "styled-components";
|
|
16810
16845
|
import { isNotNil as isNotNil37 } from "@wistia/type-guards";
|
|
16811
|
-
import { jsx as
|
|
16846
|
+
import { jsx as jsx308, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
16812
16847
|
var StyledItem = styled92(Item)`
|
|
16813
16848
|
${getTypographicStyles("label3")}
|
|
16814
16849
|
display: flex;
|
|
@@ -16835,17 +16870,17 @@ var StyledItem = styled92(Item)`
|
|
|
16835
16870
|
`;
|
|
16836
16871
|
var SelectOption = forwardRef35(
|
|
16837
16872
|
({ children, selectedDisplayValue, ...props }, forwardedRef) => {
|
|
16838
|
-
return /* @__PURE__ */
|
|
16873
|
+
return /* @__PURE__ */ jsxs62(
|
|
16839
16874
|
StyledItem,
|
|
16840
16875
|
{
|
|
16841
16876
|
...props,
|
|
16842
16877
|
ref: forwardedRef,
|
|
16843
16878
|
children: [
|
|
16844
|
-
isNotNil37(selectedDisplayValue) ? /* @__PURE__ */
|
|
16879
|
+
isNotNil37(selectedDisplayValue) ? /* @__PURE__ */ jsxs62("div", { children: [
|
|
16845
16880
|
children,
|
|
16846
|
-
/* @__PURE__ */
|
|
16847
|
-
] }) : /* @__PURE__ */
|
|
16848
|
-
/* @__PURE__ */
|
|
16881
|
+
/* @__PURE__ */ jsx308("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx308(ItemText, { children: selectedDisplayValue }) })
|
|
16882
|
+
] }) : /* @__PURE__ */ jsx308(ItemText, { children }),
|
|
16883
|
+
/* @__PURE__ */ jsx308(ItemIndicator, { children: /* @__PURE__ */ jsx308(
|
|
16849
16884
|
Icon,
|
|
16850
16885
|
{
|
|
16851
16886
|
size: "md",
|
|
@@ -16862,13 +16897,13 @@ SelectOption.displayName = "SelectOption_UI";
|
|
|
16862
16897
|
// src/components/Select/SelectOptionGroup.tsx
|
|
16863
16898
|
import { Group, Label as Label3 } from "@radix-ui/react-select";
|
|
16864
16899
|
import styled93 from "styled-components";
|
|
16865
|
-
import { jsx as
|
|
16900
|
+
import { jsx as jsx309, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
16866
16901
|
var StyledLabel4 = styled93(Label3)`
|
|
16867
16902
|
padding: var(--wui-select-option-padding);
|
|
16868
16903
|
`;
|
|
16869
16904
|
var SelectOptionGroup = ({ children, label, ...props }) => {
|
|
16870
|
-
return /* @__PURE__ */
|
|
16871
|
-
/* @__PURE__ */
|
|
16905
|
+
return /* @__PURE__ */ jsxs63(Group, { ...props, children: [
|
|
16906
|
+
/* @__PURE__ */ jsx309(StyledLabel4, { children: /* @__PURE__ */ jsx309(
|
|
16872
16907
|
Heading,
|
|
16873
16908
|
{
|
|
16874
16909
|
renderAs: "span",
|
|
@@ -16889,7 +16924,7 @@ import {
|
|
|
16889
16924
|
} from "@radix-ui/react-slider";
|
|
16890
16925
|
import styled94 from "styled-components";
|
|
16891
16926
|
import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
|
|
16892
|
-
import { jsx as
|
|
16927
|
+
import { jsx as jsx310, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
16893
16928
|
var SliderContainer = styled94.div`
|
|
16894
16929
|
--wui-slider-track-color: var(--wui-gray-6);
|
|
16895
16930
|
--wui-slider-track-border-radius: var(--wui-border-radius-rounded);
|
|
@@ -16978,12 +17013,12 @@ var Slider = ({
|
|
|
16978
17013
|
onChange(newValue);
|
|
16979
17014
|
}
|
|
16980
17015
|
};
|
|
16981
|
-
return /* @__PURE__ */
|
|
17016
|
+
return /* @__PURE__ */ jsx310(
|
|
16982
17017
|
SliderContainer,
|
|
16983
17018
|
{
|
|
16984
17019
|
...otherProps,
|
|
16985
17020
|
"data-testid": dataTestId,
|
|
16986
|
-
children: /* @__PURE__ */
|
|
17021
|
+
children: /* @__PURE__ */ jsxs64(
|
|
16987
17022
|
StyledSliderRoot,
|
|
16988
17023
|
{
|
|
16989
17024
|
"aria-label": ariaLabel,
|
|
@@ -16996,8 +17031,8 @@ var Slider = ({
|
|
|
16996
17031
|
step,
|
|
16997
17032
|
...value ? { value } : {},
|
|
16998
17033
|
children: [
|
|
16999
|
-
/* @__PURE__ */
|
|
17000
|
-
values.map((_, index) => /* @__PURE__ */
|
|
17034
|
+
/* @__PURE__ */ jsx310(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ jsx310(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
|
|
17035
|
+
values.map((_, index) => /* @__PURE__ */ jsx310(
|
|
17001
17036
|
StyledSliderThumb,
|
|
17002
17037
|
{
|
|
17003
17038
|
"data-testid": `${dataTestId}-thumb-${index}`
|
|
@@ -17014,7 +17049,7 @@ Slider.displayName = "Slider_UI";
|
|
|
17014
17049
|
|
|
17015
17050
|
// src/components/Table/Table.tsx
|
|
17016
17051
|
import styled95, { css as css46 } from "styled-components";
|
|
17017
|
-
import { jsx as
|
|
17052
|
+
import { jsx as jsx311 } from "react/jsx-runtime";
|
|
17018
17053
|
var StyledTable = styled95.table`
|
|
17019
17054
|
width: 100%;
|
|
17020
17055
|
border-collapse: collapse;
|
|
@@ -17044,7 +17079,7 @@ var Table = ({
|
|
|
17044
17079
|
visuallyHiddenHeader = false,
|
|
17045
17080
|
...props
|
|
17046
17081
|
}) => {
|
|
17047
|
-
return /* @__PURE__ */
|
|
17082
|
+
return /* @__PURE__ */ jsx311(
|
|
17048
17083
|
StyledTable,
|
|
17049
17084
|
{
|
|
17050
17085
|
$divided: divided,
|
|
@@ -17065,16 +17100,16 @@ import { createContext as createContext11 } from "react";
|
|
|
17065
17100
|
var TableSectionContext = createContext11(null);
|
|
17066
17101
|
|
|
17067
17102
|
// src/components/Table/TableBody.tsx
|
|
17068
|
-
import { jsx as
|
|
17103
|
+
import { jsx as jsx312 } from "react/jsx-runtime";
|
|
17069
17104
|
var StyledTableBody = styled96.tbody``;
|
|
17070
17105
|
var TableBody = ({ children, ...props }) => {
|
|
17071
|
-
return /* @__PURE__ */
|
|
17106
|
+
return /* @__PURE__ */ jsx312(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx312(StyledTableBody, { ...props, children }) });
|
|
17072
17107
|
};
|
|
17073
17108
|
|
|
17074
17109
|
// src/components/Table/TableCell.tsx
|
|
17075
17110
|
import { useContext as useContext17 } from "react";
|
|
17076
17111
|
import styled97, { css as css47 } from "styled-components";
|
|
17077
|
-
import { jsx as
|
|
17112
|
+
import { jsx as jsx313 } from "react/jsx-runtime";
|
|
17078
17113
|
var sharedStyles = css47`
|
|
17079
17114
|
color: var(--wui-color-text);
|
|
17080
17115
|
padding: var(--wui-space-02);
|
|
@@ -17095,35 +17130,35 @@ var StyledTd = styled97.td`
|
|
|
17095
17130
|
var TableCell = ({ children, ...props }) => {
|
|
17096
17131
|
const section = useContext17(TableSectionContext);
|
|
17097
17132
|
if (section === "head") {
|
|
17098
|
-
return /* @__PURE__ */
|
|
17133
|
+
return /* @__PURE__ */ jsx313(StyledTh, { ...props, children });
|
|
17099
17134
|
}
|
|
17100
|
-
return /* @__PURE__ */
|
|
17135
|
+
return /* @__PURE__ */ jsx313(StyledTd, { ...props, children });
|
|
17101
17136
|
};
|
|
17102
17137
|
|
|
17103
17138
|
// src/components/Table/TableFoot.tsx
|
|
17104
17139
|
import "react";
|
|
17105
17140
|
import styled98 from "styled-components";
|
|
17106
|
-
import { jsx as
|
|
17141
|
+
import { jsx as jsx314 } from "react/jsx-runtime";
|
|
17107
17142
|
var StyledTableFoot = styled98.tfoot``;
|
|
17108
17143
|
var TableFoot = ({ children, ...props }) => {
|
|
17109
|
-
return /* @__PURE__ */
|
|
17144
|
+
return /* @__PURE__ */ jsx314(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx314(StyledTableFoot, { ...props, children }) });
|
|
17110
17145
|
};
|
|
17111
17146
|
|
|
17112
17147
|
// src/components/Table/TableHead.tsx
|
|
17113
17148
|
import "react";
|
|
17114
17149
|
import styled99 from "styled-components";
|
|
17115
|
-
import { jsx as
|
|
17150
|
+
import { jsx as jsx315 } from "react/jsx-runtime";
|
|
17116
17151
|
var StyledThead = styled99.thead``;
|
|
17117
17152
|
var TableHead = ({ children, ...props }) => {
|
|
17118
|
-
return /* @__PURE__ */
|
|
17153
|
+
return /* @__PURE__ */ jsx315(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx315(StyledThead, { ...props, children }) });
|
|
17119
17154
|
};
|
|
17120
17155
|
|
|
17121
17156
|
// src/components/Table/TableRow.tsx
|
|
17122
17157
|
import styled100 from "styled-components";
|
|
17123
|
-
import { jsx as
|
|
17158
|
+
import { jsx as jsx316 } from "react/jsx-runtime";
|
|
17124
17159
|
var StyledTableRow = styled100.tr``;
|
|
17125
17160
|
var TableRow = ({ children, ...props }) => {
|
|
17126
|
-
return /* @__PURE__ */
|
|
17161
|
+
return /* @__PURE__ */ jsx316(StyledTableRow, { ...props, children });
|
|
17127
17162
|
};
|
|
17128
17163
|
|
|
17129
17164
|
// src/components/Tabs/Tabs.tsx
|
|
@@ -17144,7 +17179,7 @@ var useTabsValue = () => {
|
|
|
17144
17179
|
};
|
|
17145
17180
|
|
|
17146
17181
|
// src/components/Tabs/Tabs.tsx
|
|
17147
|
-
import { jsx as
|
|
17182
|
+
import { jsx as jsx317 } from "react/jsx-runtime";
|
|
17148
17183
|
var Tabs = ({
|
|
17149
17184
|
children,
|
|
17150
17185
|
value: valueProp,
|
|
@@ -17172,15 +17207,15 @@ var Tabs = ({
|
|
|
17172
17207
|
if (isNotNil38(defaultValue)) {
|
|
17173
17208
|
rootProps.defaultValue = defaultValue;
|
|
17174
17209
|
}
|
|
17175
|
-
return /* @__PURE__ */
|
|
17210
|
+
return /* @__PURE__ */ jsx317(RadixTabsRoot, { ...rootProps, children: /* @__PURE__ */ jsx317(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ jsx317(SelectedItemStyleProvider, { children }) }) });
|
|
17176
17211
|
};
|
|
17177
17212
|
Tabs.displayName = "Tabs_UI";
|
|
17178
17213
|
|
|
17179
17214
|
// src/components/Tabs/TabsContent.tsx
|
|
17180
17215
|
import { Content as RadixTabsContent } from "@radix-ui/react-tabs";
|
|
17181
|
-
import { jsx as
|
|
17216
|
+
import { jsx as jsx318 } from "react/jsx-runtime";
|
|
17182
17217
|
var TabsContent = ({ children, value }) => {
|
|
17183
|
-
return /* @__PURE__ */
|
|
17218
|
+
return /* @__PURE__ */ jsx318(RadixTabsContent, { value, children });
|
|
17184
17219
|
};
|
|
17185
17220
|
TabsContent.displayName = "TabsContent_UI";
|
|
17186
17221
|
|
|
@@ -17200,14 +17235,14 @@ var TabsSelectedItemIndicatorDiv = styled101(SelectedItemIndicatorDiv)`
|
|
|
17200
17235
|
`;
|
|
17201
17236
|
|
|
17202
17237
|
// src/components/Tabs/SelectedTabIndicator.tsx
|
|
17203
|
-
import { jsx as
|
|
17238
|
+
import { jsx as jsx319 } from "react/jsx-runtime";
|
|
17204
17239
|
var SelectedTabIndicator = () => {
|
|
17205
17240
|
const { selectedItemIndicatorStyle } = useSelectedItemStyle();
|
|
17206
17241
|
const selectedValue = useTabsValue();
|
|
17207
17242
|
if (selectedValue == null || isUndefined6(selectedItemIndicatorStyle)) {
|
|
17208
17243
|
return null;
|
|
17209
17244
|
}
|
|
17210
|
-
return /* @__PURE__ */
|
|
17245
|
+
return /* @__PURE__ */ jsx319(
|
|
17211
17246
|
TabsSelectedItemIndicatorDiv,
|
|
17212
17247
|
{
|
|
17213
17248
|
"data-wui-selected-item-indicator": true,
|
|
@@ -17217,19 +17252,19 @@ var SelectedTabIndicator = () => {
|
|
|
17217
17252
|
};
|
|
17218
17253
|
|
|
17219
17254
|
// src/components/Tabs/TabsList.tsx
|
|
17220
|
-
import { jsx as
|
|
17255
|
+
import { jsx as jsx320, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
17221
17256
|
var StyledRadixTabsList = styled102(RadixTabList)`
|
|
17222
17257
|
${segmentedControlStyles}
|
|
17223
17258
|
`;
|
|
17224
17259
|
var TabsList = ({ children, fullWidth = true, ...props }) => {
|
|
17225
|
-
return /* @__PURE__ */
|
|
17260
|
+
return /* @__PURE__ */ jsxs65(
|
|
17226
17261
|
StyledRadixTabsList,
|
|
17227
17262
|
{
|
|
17228
17263
|
$fullWidth: fullWidth,
|
|
17229
17264
|
"aria-label": props["aria-label"],
|
|
17230
17265
|
children: [
|
|
17231
17266
|
children,
|
|
17232
|
-
/* @__PURE__ */
|
|
17267
|
+
/* @__PURE__ */ jsx320(SelectedTabIndicator, {})
|
|
17233
17268
|
]
|
|
17234
17269
|
}
|
|
17235
17270
|
);
|
|
@@ -17252,7 +17287,7 @@ var StyledRadixTabsTrigger = styled103(RadixTabsTrigger)`
|
|
|
17252
17287
|
`;
|
|
17253
17288
|
|
|
17254
17289
|
// src/components/Tabs/TabsTrigger.tsx
|
|
17255
|
-
import { jsxs as
|
|
17290
|
+
import { jsxs as jsxs66 } from "react/jsx-runtime";
|
|
17256
17291
|
var TabsTrigger = forwardRef36(
|
|
17257
17292
|
({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
|
|
17258
17293
|
const selectedValue = useTabsValue();
|
|
@@ -17284,7 +17319,7 @@ var TabsTrigger = forwardRef36(
|
|
|
17284
17319
|
resizeObserver.disconnect();
|
|
17285
17320
|
};
|
|
17286
17321
|
}, [selectedValue, setSelectedItemMeasurements, value]);
|
|
17287
|
-
return /* @__PURE__ */
|
|
17322
|
+
return /* @__PURE__ */ jsxs66(
|
|
17288
17323
|
StyledRadixTabsTrigger,
|
|
17289
17324
|
{
|
|
17290
17325
|
...otherProps,
|
|
@@ -17306,7 +17341,7 @@ TabsTrigger.displayName = "TabsTrigger_UI";
|
|
|
17306
17341
|
// src/components/Thumbnail/ThumbnailBadge.tsx
|
|
17307
17342
|
import styled104 from "styled-components";
|
|
17308
17343
|
import { isNotNil as isNotNil40 } from "@wistia/type-guards";
|
|
17309
|
-
import { jsx as
|
|
17344
|
+
import { jsx as jsx321, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
17310
17345
|
var StyledThumbnailBadge = styled104.div`
|
|
17311
17346
|
align-items: center;
|
|
17312
17347
|
background-color: rgb(0 0 0 / 50%);
|
|
@@ -17333,9 +17368,9 @@ var StyledThumbnailBadge = styled104.div`
|
|
|
17333
17368
|
}
|
|
17334
17369
|
`;
|
|
17335
17370
|
var ThumbnailBadge = ({ icon, label, ...props }) => {
|
|
17336
|
-
return /* @__PURE__ */
|
|
17371
|
+
return /* @__PURE__ */ jsxs67(StyledThumbnailBadge, { ...props, children: [
|
|
17337
17372
|
isNotNil40(icon) && icon,
|
|
17338
|
-
/* @__PURE__ */
|
|
17373
|
+
/* @__PURE__ */ jsx321("span", { children: label })
|
|
17339
17374
|
] });
|
|
17340
17375
|
};
|
|
17341
17376
|
ThumbnailBadge.displayName = "ThumbnailBadge_UI";
|
|
@@ -17480,7 +17515,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
|
|
|
17480
17515
|
// src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
|
|
17481
17516
|
import styled105 from "styled-components";
|
|
17482
17517
|
import { isNotNil as isNotNil42 } from "@wistia/type-guards";
|
|
17483
|
-
import { jsx as
|
|
17518
|
+
import { jsx as jsx322, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
17484
17519
|
var ScrubLine = styled105.div`
|
|
17485
17520
|
position: absolute;
|
|
17486
17521
|
top: 0;
|
|
@@ -17592,14 +17627,14 @@ var ThumbnailStoryboardViewer = ({
|
|
|
17592
17627
|
backgroundPosition,
|
|
17593
17628
|
backgroundSize
|
|
17594
17629
|
};
|
|
17595
|
-
return /* @__PURE__ */
|
|
17630
|
+
return /* @__PURE__ */ jsxs68(
|
|
17596
17631
|
"div",
|
|
17597
17632
|
{
|
|
17598
17633
|
...props,
|
|
17599
17634
|
style: viewerStyles,
|
|
17600
17635
|
children: [
|
|
17601
|
-
/* @__PURE__ */
|
|
17602
|
-
showScrubLine ? /* @__PURE__ */
|
|
17636
|
+
/* @__PURE__ */ jsx322("div", { style: storyboardStyles }),
|
|
17637
|
+
showScrubLine ? /* @__PURE__ */ jsx322(
|
|
17603
17638
|
ScrubLine,
|
|
17604
17639
|
{
|
|
17605
17640
|
style: {
|
|
@@ -17613,7 +17648,7 @@ var ThumbnailStoryboardViewer = ({
|
|
|
17613
17648
|
};
|
|
17614
17649
|
|
|
17615
17650
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
17616
|
-
import { jsx as
|
|
17651
|
+
import { jsx as jsx323, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
17617
17652
|
var WideThumbnailImage = styled106.img`
|
|
17618
17653
|
height: 100%;
|
|
17619
17654
|
object-fit: cover;
|
|
@@ -17626,7 +17661,7 @@ var SquareThumbnailImage = styled106.img`
|
|
|
17626
17661
|
`;
|
|
17627
17662
|
var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
|
|
17628
17663
|
if (thumbnailImageType === "wide") {
|
|
17629
|
-
return /* @__PURE__ */
|
|
17664
|
+
return /* @__PURE__ */ jsx323(
|
|
17630
17665
|
WideThumbnailImage,
|
|
17631
17666
|
{
|
|
17632
17667
|
alt: "",
|
|
@@ -17635,7 +17670,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
|
|
|
17635
17670
|
}
|
|
17636
17671
|
);
|
|
17637
17672
|
}
|
|
17638
|
-
return /* @__PURE__ */
|
|
17673
|
+
return /* @__PURE__ */ jsx323(
|
|
17639
17674
|
SquareThumbnailImage,
|
|
17640
17675
|
{
|
|
17641
17676
|
alt: "",
|
|
@@ -17738,7 +17773,7 @@ var Thumbnail = forwardRef37(
|
|
|
17738
17773
|
} = storyboard;
|
|
17739
17774
|
const targetWidth = isString2(width) ? parseInt(width, 10) : Number(width);
|
|
17740
17775
|
const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
|
|
17741
|
-
return /* @__PURE__ */
|
|
17776
|
+
return /* @__PURE__ */ jsx323(
|
|
17742
17777
|
ThumbnailStoryboardViewer,
|
|
17743
17778
|
{
|
|
17744
17779
|
cursorPosition: effectiveCursorPosition,
|
|
@@ -17758,7 +17793,7 @@ var Thumbnail = forwardRef37(
|
|
|
17758
17793
|
if (shouldRenderStoryboard) {
|
|
17759
17794
|
thumbnailContent = renderStoryboard();
|
|
17760
17795
|
} else if (isNotNil43(thumbnailUrl)) {
|
|
17761
|
-
thumbnailContent = /* @__PURE__ */
|
|
17796
|
+
thumbnailContent = /* @__PURE__ */ jsx323(
|
|
17762
17797
|
ThumbnailImage,
|
|
17763
17798
|
{
|
|
17764
17799
|
thumbnailImageType,
|
|
@@ -17768,7 +17803,7 @@ var Thumbnail = forwardRef37(
|
|
|
17768
17803
|
} else {
|
|
17769
17804
|
thumbnailContent = null;
|
|
17770
17805
|
}
|
|
17771
|
-
return /* @__PURE__ */
|
|
17806
|
+
return /* @__PURE__ */ jsxs69(
|
|
17772
17807
|
StyledThumbnail,
|
|
17773
17808
|
{
|
|
17774
17809
|
ref,
|
|
@@ -17795,7 +17830,7 @@ Thumbnail.displayName = "Thumbnail_UI";
|
|
|
17795
17830
|
import React5 from "react";
|
|
17796
17831
|
import styled107 from "styled-components";
|
|
17797
17832
|
import { isNonEmptyArray } from "@wistia/type-guards";
|
|
17798
|
-
import { jsx as
|
|
17833
|
+
import { jsx as jsx324 } from "react/jsx-runtime";
|
|
17799
17834
|
var StyledThumbnailCollage = styled107.div`
|
|
17800
17835
|
display: grid;
|
|
17801
17836
|
gap: var(--wui-space-01);
|
|
@@ -17878,7 +17913,7 @@ var ThumbnailCollage = ({
|
|
|
17878
17913
|
});
|
|
17879
17914
|
}) : [
|
|
17880
17915
|
// ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
|
|
17881
|
-
/* @__PURE__ */
|
|
17916
|
+
/* @__PURE__ */ jsx324(
|
|
17882
17917
|
Thumbnail,
|
|
17883
17918
|
{
|
|
17884
17919
|
gradientBackground,
|
|
@@ -17887,7 +17922,7 @@ var ThumbnailCollage = ({
|
|
|
17887
17922
|
"fallback"
|
|
17888
17923
|
)
|
|
17889
17924
|
];
|
|
17890
|
-
return /* @__PURE__ */
|
|
17925
|
+
return /* @__PURE__ */ jsx324(
|
|
17891
17926
|
StyledThumbnailCollage,
|
|
17892
17927
|
{
|
|
17893
17928
|
$gradientBackground: gradientBackground,
|
|
@@ -17901,24 +17936,24 @@ var ThumbnailCollage = ({
|
|
|
17901
17936
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
17902
17937
|
import styled108, { css as css49 } from "styled-components";
|
|
17903
17938
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
17904
|
-
import { jsx as
|
|
17939
|
+
import { jsx as jsx325, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
17905
17940
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
17906
17941
|
if (iconOnly) {
|
|
17907
|
-
return /* @__PURE__ */
|
|
17942
|
+
return /* @__PURE__ */ jsx325(
|
|
17908
17943
|
"g",
|
|
17909
17944
|
{
|
|
17910
17945
|
"data-testid": "ui-wistia-logo-brandmark",
|
|
17911
17946
|
fill: brandmarkColor,
|
|
17912
|
-
children: /* @__PURE__ */
|
|
17947
|
+
children: /* @__PURE__ */ jsx325("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
|
|
17913
17948
|
}
|
|
17914
17949
|
);
|
|
17915
17950
|
}
|
|
17916
|
-
return /* @__PURE__ */
|
|
17951
|
+
return /* @__PURE__ */ jsx325(
|
|
17917
17952
|
"g",
|
|
17918
17953
|
{
|
|
17919
17954
|
"data-testid": "ui-wistia-logo-brandmark",
|
|
17920
17955
|
fill: brandmarkColor,
|
|
17921
|
-
children: /* @__PURE__ */
|
|
17956
|
+
children: /* @__PURE__ */ jsx325("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
|
|
17922
17957
|
}
|
|
17923
17958
|
);
|
|
17924
17959
|
};
|
|
@@ -17926,12 +17961,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
|
|
|
17926
17961
|
if (iconOnly) {
|
|
17927
17962
|
return null;
|
|
17928
17963
|
}
|
|
17929
|
-
return /* @__PURE__ */
|
|
17964
|
+
return /* @__PURE__ */ jsx325(
|
|
17930
17965
|
"g",
|
|
17931
17966
|
{
|
|
17932
17967
|
"data-testid": "ui-wistia-logo-logotype",
|
|
17933
17968
|
fill: logotypeColor,
|
|
17934
|
-
children: /* @__PURE__ */
|
|
17969
|
+
children: /* @__PURE__ */ jsx325("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
|
|
17935
17970
|
}
|
|
17936
17971
|
);
|
|
17937
17972
|
};
|
|
@@ -17999,7 +18034,7 @@ var WistiaLogo = ({
|
|
|
17999
18034
|
};
|
|
18000
18035
|
const brandmarkColor = VARIANT_COLORS[variant].brandmark;
|
|
18001
18036
|
const logotypeColor = VARIANT_COLORS[variant].logotype;
|
|
18002
|
-
const Logo = /* @__PURE__ */
|
|
18037
|
+
const Logo = /* @__PURE__ */ jsxs70(
|
|
18003
18038
|
WistiaLogoComponent,
|
|
18004
18039
|
{
|
|
18005
18040
|
$hoverColor: hoverColor,
|
|
@@ -18012,21 +18047,21 @@ var WistiaLogo = ({
|
|
|
18012
18047
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18013
18048
|
...props,
|
|
18014
18049
|
children: [
|
|
18015
|
-
/* @__PURE__ */
|
|
18016
|
-
isNotNil44(description) ? /* @__PURE__ */
|
|
18050
|
+
/* @__PURE__ */ jsx325("title", { children: title }),
|
|
18051
|
+
isNotNil44(description) ? /* @__PURE__ */ jsx325("desc", { children: description }) : null,
|
|
18017
18052
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
18018
18053
|
renderLogotype(logotypeColor, iconOnly)
|
|
18019
18054
|
]
|
|
18020
18055
|
}
|
|
18021
18056
|
);
|
|
18022
|
-
return href !== void 0 ? /* @__PURE__ */
|
|
18057
|
+
return href !== void 0 ? /* @__PURE__ */ jsx325("a", { href, children: Logo }) : Logo;
|
|
18023
18058
|
};
|
|
18024
18059
|
WistiaLogo.displayName = "WistiaLogo_UI";
|
|
18025
18060
|
|
|
18026
18061
|
// src/components/SplitButton/SplitButton.tsx
|
|
18027
18062
|
import styled109 from "styled-components";
|
|
18028
18063
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
18029
|
-
import { jsx as
|
|
18064
|
+
import { jsx as jsx326, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
18030
18065
|
var StyledSplitButton = styled109.span`
|
|
18031
18066
|
white-space: nowrap;
|
|
18032
18067
|
|
|
@@ -18044,7 +18079,7 @@ var StyledSplitButton = styled109.span`
|
|
|
18044
18079
|
var SplitButton = ({
|
|
18045
18080
|
children,
|
|
18046
18081
|
menuLabel = "Select an option",
|
|
18047
|
-
menuIcon = /* @__PURE__ */
|
|
18082
|
+
menuIcon = /* @__PURE__ */ jsx326(Icon, { type: "caret-down" }),
|
|
18048
18083
|
menuItems,
|
|
18049
18084
|
disabled = false,
|
|
18050
18085
|
colorScheme = "default",
|
|
@@ -18055,8 +18090,8 @@ var SplitButton = ({
|
|
|
18055
18090
|
menuProps = {},
|
|
18056
18091
|
...props
|
|
18057
18092
|
}) => {
|
|
18058
|
-
return /* @__PURE__ */
|
|
18059
|
-
/* @__PURE__ */
|
|
18093
|
+
return /* @__PURE__ */ jsxs71(StyledSplitButton, { children: [
|
|
18094
|
+
/* @__PURE__ */ jsx326(
|
|
18060
18095
|
Button,
|
|
18061
18096
|
{
|
|
18062
18097
|
colorScheme,
|
|
@@ -18068,12 +18103,12 @@ var SplitButton = ({
|
|
|
18068
18103
|
children
|
|
18069
18104
|
}
|
|
18070
18105
|
),
|
|
18071
|
-
isNotNil45(menuItems) && /* @__PURE__ */
|
|
18106
|
+
isNotNil45(menuItems) && /* @__PURE__ */ jsx326(
|
|
18072
18107
|
Menu,
|
|
18073
18108
|
{
|
|
18074
18109
|
...menuProps,
|
|
18075
18110
|
disabled,
|
|
18076
|
-
trigger: /* @__PURE__ */
|
|
18111
|
+
trigger: /* @__PURE__ */ jsx326(
|
|
18077
18112
|
IconButton,
|
|
18078
18113
|
{
|
|
18079
18114
|
colorScheme,
|
|
@@ -18179,6 +18214,8 @@ export {
|
|
|
18179
18214
|
MenuLabel,
|
|
18180
18215
|
MenuRadioGroup,
|
|
18181
18216
|
Modal,
|
|
18217
|
+
ModalValueProp,
|
|
18218
|
+
ModalValueProps,
|
|
18182
18219
|
PersistentFileAmountLimitValidator,
|
|
18183
18220
|
Popover,
|
|
18184
18221
|
ProgressBar,
|