@wistia/ui 0.15.0 → 0.15.1
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 +183 -144
- 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 +181 -144
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -11
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.15.
|
|
3
|
+
* @license @wistia/ui v0.15.1
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -15276,12 +15276,14 @@ import { jsx as jsx291, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
|
15276
15276
|
var Header = styled75.header`
|
|
15277
15277
|
display: flex;
|
|
15278
15278
|
order: 1;
|
|
15279
|
+
padding: 0 var(--wui-space-05);
|
|
15280
|
+
padding-bottom: 0;
|
|
15279
15281
|
gap: var(--wui-space-01);
|
|
15280
15282
|
justify-content: ${({ $hideTitle }) => $hideTitle ? "flex-end" : "space-between"}; /* ensure ModalCloseButton is right-aligned */
|
|
15281
15283
|
|
|
15282
15284
|
/* DialogTitle creates an h2 element which inherits some margin */
|
|
15283
15285
|
h2 {
|
|
15284
|
-
margin: 0
|
|
15286
|
+
margin: 0;
|
|
15285
15287
|
padding-right: ${({ $hideCloseButon }) => $hideCloseButon ? "0" : "var(--wui-space-03)"};
|
|
15286
15288
|
}
|
|
15287
15289
|
|
|
@@ -15443,15 +15445,15 @@ var StyledModalContent = styled76(DialogContent)`
|
|
|
15443
15445
|
position: fixed;
|
|
15444
15446
|
display: flex;
|
|
15445
15447
|
flex-direction: column;
|
|
15448
|
+
gap: var(--wui-space-03);
|
|
15446
15449
|
top: 0;
|
|
15447
15450
|
left: 0;
|
|
15448
15451
|
width: 100vw;
|
|
15449
15452
|
height: 100vh;
|
|
15450
15453
|
z-index: var(--wui-zindex-modal);
|
|
15451
15454
|
box-sizing: border-box;
|
|
15452
|
-
padding: var(--wui-space-05);
|
|
15455
|
+
padding: var(--wui-space-05) 0;
|
|
15453
15456
|
background-color: var(--wui-color-bg-app);
|
|
15454
|
-
overflow: auto;
|
|
15455
15457
|
|
|
15456
15458
|
${mq.smAndUp} {
|
|
15457
15459
|
position: fixed;
|
|
@@ -15524,11 +15526,21 @@ var ModalBody = styled78.div`
|
|
|
15524
15526
|
flex-direction: column;
|
|
15525
15527
|
display: flex;
|
|
15526
15528
|
flex: 1 0 0;
|
|
15529
|
+
padding: 0 var(--wui-space-05);
|
|
15530
|
+
`;
|
|
15531
|
+
var ModalScrollArea = styled78.div`
|
|
15527
15532
|
order: 2;
|
|
15533
|
+
max-height: 90vh;
|
|
15534
|
+
overflow-y: auto;
|
|
15535
|
+
`;
|
|
15536
|
+
var ModalFooter = styled78.footer`
|
|
15537
|
+
padding: 0 var(--wui-space-05);
|
|
15538
|
+
order: 3;
|
|
15528
15539
|
`;
|
|
15529
15540
|
var Modal = forwardRef26(
|
|
15530
15541
|
({
|
|
15531
15542
|
children,
|
|
15543
|
+
footer,
|
|
15532
15544
|
hideCloseButton = false,
|
|
15533
15545
|
hideTitle = false,
|
|
15534
15546
|
initialFocusRef,
|
|
@@ -15566,7 +15578,8 @@ var Modal = forwardRef26(
|
|
|
15566
15578
|
width,
|
|
15567
15579
|
...props,
|
|
15568
15580
|
children: [
|
|
15569
|
-
/* @__PURE__ */ jsx293(ModalBody, { children }),
|
|
15581
|
+
/* @__PURE__ */ jsx293(ModalScrollArea, { children: /* @__PURE__ */ jsx293(ModalBody, { children }) }),
|
|
15582
|
+
isNotNil32(footer) ? /* @__PURE__ */ jsx293(ModalFooter, { children: footer }) : null,
|
|
15570
15583
|
hideCloseButton && hideTitle ? null : /* @__PURE__ */ jsx293(
|
|
15571
15584
|
ModalHeader,
|
|
15572
15585
|
{
|
|
@@ -15585,6 +15598,28 @@ var Modal = forwardRef26(
|
|
|
15585
15598
|
);
|
|
15586
15599
|
Modal.displayName = "Modal_UI";
|
|
15587
15600
|
|
|
15601
|
+
// src/components/Modal/ModalCallouts.tsx
|
|
15602
|
+
import { jsx as jsx294, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
15603
|
+
var ModalCallouts = ({ children }) => {
|
|
15604
|
+
return /* @__PURE__ */ jsx294(
|
|
15605
|
+
Stack,
|
|
15606
|
+
{
|
|
15607
|
+
direction: "horizontal",
|
|
15608
|
+
gap: "space-08",
|
|
15609
|
+
children
|
|
15610
|
+
}
|
|
15611
|
+
);
|
|
15612
|
+
};
|
|
15613
|
+
ModalCallouts.displayName = "ModalCallouts_UI";
|
|
15614
|
+
var ModalCallout = ({ title, image, children }) => {
|
|
15615
|
+
return /* @__PURE__ */ jsxs51(Stack, { direction: "vertical", children: [
|
|
15616
|
+
image,
|
|
15617
|
+
/* @__PURE__ */ jsx294(Heading, { variant: "heading4", children: title }),
|
|
15618
|
+
children
|
|
15619
|
+
] });
|
|
15620
|
+
};
|
|
15621
|
+
ModalCallout.displayName = "ModalCallout_UI";
|
|
15622
|
+
|
|
15588
15623
|
// src/components/Popover/Popover.tsx
|
|
15589
15624
|
import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
|
|
15590
15625
|
import styled80, { css as css40 } from "styled-components";
|
|
@@ -15598,7 +15633,7 @@ var getControlProps = (isOpen, onOpenChange) => {
|
|
|
15598
15633
|
// src/components/Popover/PopoverArrow.tsx
|
|
15599
15634
|
import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
|
|
15600
15635
|
import styled79, { css as css39, keyframes as keyframes6 } from "styled-components";
|
|
15601
|
-
import { jsx as
|
|
15636
|
+
import { jsx as jsx295, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
15602
15637
|
var StyledPath = styled79.path`
|
|
15603
15638
|
fill: var(--wui-color-border-secondary);
|
|
15604
15639
|
`;
|
|
@@ -15637,7 +15672,7 @@ var StyledCircle = styled79.circle`
|
|
|
15637
15672
|
}
|
|
15638
15673
|
`;
|
|
15639
15674
|
var PopoverArrow = ({ isAnimated }) => {
|
|
15640
|
-
return /* @__PURE__ */
|
|
15675
|
+
return /* @__PURE__ */ jsx295(RadixPopoverArrow, { asChild: true, children: /* @__PURE__ */ jsxs52(
|
|
15641
15676
|
"svg",
|
|
15642
15677
|
{
|
|
15643
15678
|
fill: "none",
|
|
@@ -15646,8 +15681,8 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
15646
15681
|
width: "48",
|
|
15647
15682
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15648
15683
|
children: [
|
|
15649
|
-
/* @__PURE__ */
|
|
15650
|
-
/* @__PURE__ */
|
|
15684
|
+
/* @__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" }),
|
|
15685
|
+
/* @__PURE__ */ jsx295(
|
|
15651
15686
|
StyledCircle,
|
|
15652
15687
|
{
|
|
15653
15688
|
$isAnimated: isAnimated,
|
|
@@ -15658,7 +15693,7 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
15658
15693
|
strokeWidth: "4"
|
|
15659
15694
|
}
|
|
15660
15695
|
),
|
|
15661
|
-
/* @__PURE__ */
|
|
15696
|
+
/* @__PURE__ */ jsx295(
|
|
15662
15697
|
StyledCircle,
|
|
15663
15698
|
{
|
|
15664
15699
|
$isAnimated: isAnimated,
|
|
@@ -15676,7 +15711,7 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
15676
15711
|
PopoverArrow.displayName = "PopoverArrow_UI";
|
|
15677
15712
|
|
|
15678
15713
|
// src/components/Popover/Popover.tsx
|
|
15679
|
-
import { jsx as
|
|
15714
|
+
import { jsx as jsx296, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
15680
15715
|
var StyledContent2 = styled80(Content2)`
|
|
15681
15716
|
z-index: var(--wui-zindex-popover);
|
|
15682
15717
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -15716,9 +15751,9 @@ var Popover = ({
|
|
|
15716
15751
|
"--wui-popover-max-width": maxWidth,
|
|
15717
15752
|
"--wui-popover-max-height": maxHeight
|
|
15718
15753
|
};
|
|
15719
|
-
return /* @__PURE__ */
|
|
15720
|
-
/* @__PURE__ */
|
|
15721
|
-
/* @__PURE__ */
|
|
15754
|
+
return /* @__PURE__ */ jsxs53(Root2, { ...getControlProps(isOpen, onOpenChange), children: [
|
|
15755
|
+
/* @__PURE__ */ jsx296(Trigger2, { asChild: true, children: trigger }),
|
|
15756
|
+
/* @__PURE__ */ jsx296(Portal, { children: /* @__PURE__ */ jsxs53(
|
|
15722
15757
|
StyledContent2,
|
|
15723
15758
|
{
|
|
15724
15759
|
$colorScheme: colorScheme,
|
|
@@ -15727,17 +15762,17 @@ var Popover = ({
|
|
|
15727
15762
|
$unstyled: unstyled,
|
|
15728
15763
|
style,
|
|
15729
15764
|
children: [
|
|
15730
|
-
!hideCloseButton && /* @__PURE__ */
|
|
15765
|
+
!hideCloseButton && /* @__PURE__ */ jsx296(Close, { asChild: true, children: /* @__PURE__ */ jsx296(
|
|
15731
15766
|
IconButton,
|
|
15732
15767
|
{
|
|
15733
15768
|
"data-wui-popover-close": true,
|
|
15734
15769
|
label: "Close",
|
|
15735
15770
|
variant: "ghost",
|
|
15736
|
-
children: /* @__PURE__ */
|
|
15771
|
+
children: /* @__PURE__ */ jsx296(Icon, { type: "close" })
|
|
15737
15772
|
}
|
|
15738
15773
|
) }),
|
|
15739
|
-
withArrow ? /* @__PURE__ */
|
|
15740
|
-
/* @__PURE__ */
|
|
15774
|
+
withArrow ? /* @__PURE__ */ jsx296(PopoverArrow, { isAnimated }) : null,
|
|
15775
|
+
/* @__PURE__ */ jsx296("div", { children })
|
|
15741
15776
|
]
|
|
15742
15777
|
}
|
|
15743
15778
|
) })
|
|
@@ -15749,7 +15784,7 @@ Popover.displayName = "Popover_UI";
|
|
|
15749
15784
|
import styled81 from "styled-components";
|
|
15750
15785
|
import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
|
|
15751
15786
|
import { isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
15752
|
-
import { jsx as
|
|
15787
|
+
import { jsx as jsx297, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
15753
15788
|
var ProgressBarWrapper = styled81.div`
|
|
15754
15789
|
--progress-bar-height: 8px;
|
|
15755
15790
|
|
|
@@ -15803,16 +15838,16 @@ var ProgressBar = ({
|
|
|
15803
15838
|
colorScheme = "inherit",
|
|
15804
15839
|
...props
|
|
15805
15840
|
}) => {
|
|
15806
|
-
return /* @__PURE__ */
|
|
15807
|
-
isNotNil34(labelLeft) ? /* @__PURE__ */
|
|
15808
|
-
/* @__PURE__ */
|
|
15841
|
+
return /* @__PURE__ */ jsxs54(ProgressBarWrapper, { children: [
|
|
15842
|
+
isNotNil34(labelLeft) ? /* @__PURE__ */ jsx297(ProgressBarLabel, { children: labelLeft }) : null,
|
|
15843
|
+
/* @__PURE__ */ jsx297(
|
|
15809
15844
|
StyledProgressBar,
|
|
15810
15845
|
{
|
|
15811
15846
|
$colorScheme: colorScheme,
|
|
15812
15847
|
max,
|
|
15813
15848
|
value: progress,
|
|
15814
15849
|
...props,
|
|
15815
|
-
children: /* @__PURE__ */
|
|
15850
|
+
children: /* @__PURE__ */ jsx297(
|
|
15816
15851
|
StyledProgressIndicator,
|
|
15817
15852
|
{
|
|
15818
15853
|
$colorScheme: colorScheme,
|
|
@@ -15822,7 +15857,7 @@ var ProgressBar = ({
|
|
|
15822
15857
|
)
|
|
15823
15858
|
}
|
|
15824
15859
|
),
|
|
15825
|
-
isNotNil34(labelRight) ? /* @__PURE__ */
|
|
15860
|
+
isNotNil34(labelRight) ? /* @__PURE__ */ jsx297(ProgressBarLabel, { children: labelRight }) : null
|
|
15826
15861
|
] });
|
|
15827
15862
|
};
|
|
15828
15863
|
ProgressBar.displayName = "ProgressBar_UI";
|
|
@@ -15831,7 +15866,7 @@ ProgressBar.displayName = "ProgressBar_UI";
|
|
|
15831
15866
|
import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
15832
15867
|
import { forwardRef as forwardRef27, useId as useId5 } from "react";
|
|
15833
15868
|
import styled82, { css as css41 } from "styled-components";
|
|
15834
|
-
import { jsx as
|
|
15869
|
+
import { jsx as jsx298, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
15835
15870
|
var sizeSmall2 = css41`
|
|
15836
15871
|
--wui-radio-size: 14px;
|
|
15837
15872
|
--wui-radio-icon-size: 7px;
|
|
@@ -15936,14 +15971,14 @@ var Radio = forwardRef27(
|
|
|
15936
15971
|
const radioName = name ?? contextName;
|
|
15937
15972
|
const handleOnChange = onChange ?? contextOnChange;
|
|
15938
15973
|
const isChecked = isNotUndefined13(value) && isNotUndefined13(contextValue) ? contextValue === value : checked;
|
|
15939
|
-
return /* @__PURE__ */
|
|
15974
|
+
return /* @__PURE__ */ jsxs55(
|
|
15940
15975
|
StyledRadioWrapper,
|
|
15941
15976
|
{
|
|
15942
15977
|
$disabled: disabled,
|
|
15943
15978
|
$hideLabel: hideLabel,
|
|
15944
15979
|
"aria-invalid": props["aria-invalid"],
|
|
15945
15980
|
children: [
|
|
15946
|
-
/* @__PURE__ */
|
|
15981
|
+
/* @__PURE__ */ jsx298(
|
|
15947
15982
|
StyledHiddenRadioInput,
|
|
15948
15983
|
{
|
|
15949
15984
|
...props,
|
|
@@ -15958,10 +15993,10 @@ var Radio = forwardRef27(
|
|
|
15958
15993
|
value
|
|
15959
15994
|
}
|
|
15960
15995
|
),
|
|
15961
|
-
/* @__PURE__ */
|
|
15996
|
+
/* @__PURE__ */ jsx298(
|
|
15962
15997
|
FormControlLabel,
|
|
15963
15998
|
{
|
|
15964
|
-
controlSlot: /* @__PURE__ */
|
|
15999
|
+
controlSlot: /* @__PURE__ */ jsx298(StyledRadioInput, { $size: size }),
|
|
15965
16000
|
description,
|
|
15966
16001
|
disabled,
|
|
15967
16002
|
hideLabel,
|
|
@@ -15983,7 +16018,7 @@ import { forwardRef as forwardRef29 } from "react";
|
|
|
15983
16018
|
import { forwardRef as forwardRef28, useId as useId6 } from "react";
|
|
15984
16019
|
import styled83, { css as css42 } from "styled-components";
|
|
15985
16020
|
import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
|
|
15986
|
-
import { jsx as
|
|
16021
|
+
import { jsx as jsx299, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
15987
16022
|
var checkedStyles = css42`
|
|
15988
16023
|
--wui-radio-card-border-color: var(--wui-color-focus-ring);
|
|
15989
16024
|
--wui-color-icon: var(--wui-color-icon-selected);
|
|
@@ -16112,14 +16147,14 @@ var RadioCardRoot = forwardRef28(
|
|
|
16112
16147
|
const radioName = name ?? contextName;
|
|
16113
16148
|
const handleOnChange = onChange ?? contextOnChange;
|
|
16114
16149
|
const isChecked = isNotUndefined14(value) && isNotUndefined14(contextValue) ? contextValue === value : checked;
|
|
16115
|
-
return /* @__PURE__ */
|
|
16150
|
+
return /* @__PURE__ */ jsxs56(
|
|
16116
16151
|
StyledCard2,
|
|
16117
16152
|
{
|
|
16118
16153
|
$aspectRatio: aspectRatio,
|
|
16119
16154
|
$padding: padding,
|
|
16120
16155
|
htmlFor: computedId,
|
|
16121
16156
|
children: [
|
|
16122
|
-
/* @__PURE__ */
|
|
16157
|
+
/* @__PURE__ */ jsx299(
|
|
16123
16158
|
StyledHiddenInput,
|
|
16124
16159
|
{
|
|
16125
16160
|
...props,
|
|
@@ -16196,7 +16231,7 @@ var RadioCardIndicator = styled84.div`
|
|
|
16196
16231
|
RadioCardIndicator.displayName = "RadioCardIndicator_UI";
|
|
16197
16232
|
|
|
16198
16233
|
// src/components/RadioCard/RadioCardDefaultLayout.tsx
|
|
16199
|
-
import { jsx as
|
|
16234
|
+
import { jsx as jsx300, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
16200
16235
|
var StyledCardContent = styled85.div`
|
|
16201
16236
|
display: grid;
|
|
16202
16237
|
grid-auto-flow: column;
|
|
@@ -16216,18 +16251,18 @@ var RadioCardDefaultLayout = ({
|
|
|
16216
16251
|
description,
|
|
16217
16252
|
showIndicator = true
|
|
16218
16253
|
}) => {
|
|
16219
|
-
return /* @__PURE__ */
|
|
16220
|
-
showIndicator ? /* @__PURE__ */
|
|
16221
|
-
/* @__PURE__ */
|
|
16222
|
-
isNotNil35(icon) && /* @__PURE__ */
|
|
16223
|
-
/* @__PURE__ */
|
|
16254
|
+
return /* @__PURE__ */ jsxs57(StyledCardContent, { children: [
|
|
16255
|
+
showIndicator ? /* @__PURE__ */ jsx300(StyledIndicatorContainer, { $hasIcon: isNotNil35(icon), children: /* @__PURE__ */ jsx300(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
|
|
16256
|
+
/* @__PURE__ */ jsxs57(Stack, { gap: "space-02", children: [
|
|
16257
|
+
isNotNil35(icon) && /* @__PURE__ */ jsx300(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
|
|
16258
|
+
/* @__PURE__ */ jsxs57(
|
|
16224
16259
|
Stack,
|
|
16225
16260
|
{
|
|
16226
16261
|
gap: "space-01",
|
|
16227
16262
|
style: isNotNil35(icon) ? { paddingLeft: 2 } : void 0,
|
|
16228
16263
|
children: [
|
|
16229
|
-
isNotNil35(label) && /* @__PURE__ */
|
|
16230
|
-
isNotNil35(description) && /* @__PURE__ */
|
|
16264
|
+
isNotNil35(label) && /* @__PURE__ */ jsx300(Text, { variant: "label3", children: /* @__PURE__ */ jsx300("strong", { children: label }) }),
|
|
16265
|
+
isNotNil35(description) && /* @__PURE__ */ jsx300(
|
|
16231
16266
|
Text,
|
|
16232
16267
|
{
|
|
16233
16268
|
prominence: "secondary",
|
|
@@ -16250,16 +16285,16 @@ var RadioCardChildrenContainer = styled86.div`
|
|
|
16250
16285
|
`;
|
|
16251
16286
|
|
|
16252
16287
|
// src/components/RadioCard/RadioCard.tsx
|
|
16253
|
-
import { jsx as
|
|
16288
|
+
import { jsx as jsx301 } from "react/jsx-runtime";
|
|
16254
16289
|
var RadioCard = forwardRef29(
|
|
16255
16290
|
({ icon, label, description, showIndicator, children, ...rootProps }, ref) => {
|
|
16256
|
-
return /* @__PURE__ */
|
|
16291
|
+
return /* @__PURE__ */ jsx301(
|
|
16257
16292
|
RadioCardRoot,
|
|
16258
16293
|
{
|
|
16259
16294
|
ref,
|
|
16260
16295
|
padding: children != null ? "space-00" : "space-04",
|
|
16261
16296
|
...rootProps,
|
|
16262
|
-
children: children != null ? /* @__PURE__ */
|
|
16297
|
+
children: children != null ? /* @__PURE__ */ jsx301(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ jsx301(
|
|
16263
16298
|
RadioCardDefaultLayout,
|
|
16264
16299
|
{
|
|
16265
16300
|
description,
|
|
@@ -16276,17 +16311,17 @@ RadioCard.displayName = "RadioCard_UI";
|
|
|
16276
16311
|
|
|
16277
16312
|
// src/components/RadioCard/RadioCardImage.tsx
|
|
16278
16313
|
import { forwardRef as forwardRef30 } from "react";
|
|
16279
|
-
import { jsx as
|
|
16314
|
+
import { jsx as jsx302 } from "react/jsx-runtime";
|
|
16280
16315
|
var RadioCardImage = forwardRef30(
|
|
16281
16316
|
({ label, imageSrc, aspectRatio, padding = "space-04", ...rootProps }, ref) => {
|
|
16282
|
-
return /* @__PURE__ */
|
|
16317
|
+
return /* @__PURE__ */ jsx302(
|
|
16283
16318
|
RadioCardRoot,
|
|
16284
16319
|
{
|
|
16285
16320
|
ref,
|
|
16286
16321
|
...rootProps,
|
|
16287
16322
|
aspectRatio,
|
|
16288
16323
|
padding,
|
|
16289
|
-
children: /* @__PURE__ */
|
|
16324
|
+
children: /* @__PURE__ */ jsx302(
|
|
16290
16325
|
Image,
|
|
16291
16326
|
{
|
|
16292
16327
|
alt: label,
|
|
@@ -16306,7 +16341,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
|
|
|
16306
16341
|
import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
|
|
16307
16342
|
import styled87 from "styled-components";
|
|
16308
16343
|
import { throttle } from "throttle-debounce";
|
|
16309
|
-
import { jsx as
|
|
16344
|
+
import { jsx as jsx303, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
16310
16345
|
var SHADOW_SIZE_PX = 8;
|
|
16311
16346
|
var Container10 = styled87.div`
|
|
16312
16347
|
overflow: hidden;
|
|
@@ -16386,12 +16421,12 @@ var ScrollArea = forwardRef31(
|
|
|
16386
16421
|
useEffect20(() => {
|
|
16387
16422
|
updateShadows();
|
|
16388
16423
|
}, [updateShadows]);
|
|
16389
|
-
return /* @__PURE__ */
|
|
16390
|
-
/* @__PURE__ */
|
|
16391
|
-
/* @__PURE__ */
|
|
16392
|
-
/* @__PURE__ */
|
|
16393
|
-
/* @__PURE__ */
|
|
16394
|
-
/* @__PURE__ */
|
|
16424
|
+
return /* @__PURE__ */ jsxs58(Container10, { style, children: [
|
|
16425
|
+
/* @__PURE__ */ jsx303(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
|
|
16426
|
+
/* @__PURE__ */ jsx303(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
|
|
16427
|
+
/* @__PURE__ */ jsx303(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
|
|
16428
|
+
/* @__PURE__ */ jsx303(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
|
|
16429
|
+
/* @__PURE__ */ jsx303(
|
|
16395
16430
|
ScrollContainer,
|
|
16396
16431
|
{
|
|
16397
16432
|
ref: scrollContainerRef,
|
|
@@ -16413,7 +16448,7 @@ import { isNil as isNil17 } from "@wistia/type-guards";
|
|
|
16413
16448
|
|
|
16414
16449
|
// src/components/SegmentedControl/useSelectedItemStyle.tsx
|
|
16415
16450
|
import { createContext as createContext9, useContext as useContext15, useMemo as useMemo16, useState as useState24 } from "react";
|
|
16416
|
-
import { jsx as
|
|
16451
|
+
import { jsx as jsx304 } from "react/jsx-runtime";
|
|
16417
16452
|
var SelectedItemStyleContext = createContext9(null);
|
|
16418
16453
|
var SelectedItemStyleProvider = ({
|
|
16419
16454
|
children
|
|
@@ -16434,7 +16469,7 @@ var SelectedItemStyleProvider = ({
|
|
|
16434
16469
|
}),
|
|
16435
16470
|
[selectedItemIndicatorStyle]
|
|
16436
16471
|
);
|
|
16437
|
-
return /* @__PURE__ */
|
|
16472
|
+
return /* @__PURE__ */ jsx304(SelectedItemStyleContext.Provider, { value: contextValue, children });
|
|
16438
16473
|
};
|
|
16439
16474
|
var useSelectedItemStyle = () => {
|
|
16440
16475
|
const context = useContext15(SelectedItemStyleContext);
|
|
@@ -16461,7 +16496,7 @@ var useSegmentedControlValue = () => {
|
|
|
16461
16496
|
};
|
|
16462
16497
|
|
|
16463
16498
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
16464
|
-
import { jsx as
|
|
16499
|
+
import { jsx as jsx305 } from "react/jsx-runtime";
|
|
16465
16500
|
var selectedItemIndicatorStyles = css43`
|
|
16466
16501
|
background-color: var(--wui-color-bg-fill-white);
|
|
16467
16502
|
border-radius: var(--wui-border-radius-rounded);
|
|
@@ -16483,7 +16518,7 @@ var SelectedItemIndicator = () => {
|
|
|
16483
16518
|
if (!selectedValue || isUndefined5(selectedItemIndicatorStyle)) {
|
|
16484
16519
|
return null;
|
|
16485
16520
|
}
|
|
16486
|
-
return /* @__PURE__ */
|
|
16521
|
+
return /* @__PURE__ */ jsx305(
|
|
16487
16522
|
SelectedItemIndicatorDiv,
|
|
16488
16523
|
{
|
|
16489
16524
|
"data-wui-selected-item-indicator": true,
|
|
@@ -16493,7 +16528,7 @@ var SelectedItemIndicator = () => {
|
|
|
16493
16528
|
};
|
|
16494
16529
|
|
|
16495
16530
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
16496
|
-
import { jsx as
|
|
16531
|
+
import { jsx as jsx306, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
16497
16532
|
var segmentedControlStyles = css44`
|
|
16498
16533
|
display: inline-flex;
|
|
16499
16534
|
background-color: var(--wui-color-bg-surface-secondary);
|
|
@@ -16520,7 +16555,7 @@ var SegmentedControl = forwardRef32(
|
|
|
16520
16555
|
if (isNil17(children)) {
|
|
16521
16556
|
return null;
|
|
16522
16557
|
}
|
|
16523
|
-
return /* @__PURE__ */
|
|
16558
|
+
return /* @__PURE__ */ jsx306(
|
|
16524
16559
|
StyledSegmentedControl,
|
|
16525
16560
|
{
|
|
16526
16561
|
ref,
|
|
@@ -16532,9 +16567,9 @@ var SegmentedControl = forwardRef32(
|
|
|
16532
16567
|
type: "single",
|
|
16533
16568
|
value: selectedValue,
|
|
16534
16569
|
...props,
|
|
16535
|
-
children: /* @__PURE__ */
|
|
16570
|
+
children: /* @__PURE__ */ jsx306(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs59(SelectedItemStyleProvider, { children: [
|
|
16536
16571
|
children,
|
|
16537
|
-
/* @__PURE__ */
|
|
16572
|
+
/* @__PURE__ */ jsx306(SelectedItemIndicator, {})
|
|
16538
16573
|
] }) })
|
|
16539
16574
|
}
|
|
16540
16575
|
);
|
|
@@ -16547,7 +16582,7 @@ import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef2
|
|
|
16547
16582
|
import styled90, { css as css45 } from "styled-components";
|
|
16548
16583
|
import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
|
|
16549
16584
|
import { isNotNil as isNotNil36 } from "@wistia/type-guards";
|
|
16550
|
-
import { jsxs as
|
|
16585
|
+
import { jsxs as jsxs60 } from "react/jsx-runtime";
|
|
16551
16586
|
var segmentedControlItemStyles = css45`
|
|
16552
16587
|
all: unset; /* ToggleGroupItem is a button element */
|
|
16553
16588
|
align-items: center;
|
|
@@ -16657,7 +16692,7 @@ var SegmentedControlItem = forwardRef33(
|
|
|
16657
16692
|
resizeObserver.disconnect();
|
|
16658
16693
|
};
|
|
16659
16694
|
}, [selectedValue, setSelectedItemMeasurements, value]);
|
|
16660
|
-
return /* @__PURE__ */
|
|
16695
|
+
return /* @__PURE__ */ jsxs60(
|
|
16661
16696
|
StyledSegmentedControlItem,
|
|
16662
16697
|
{
|
|
16663
16698
|
ref: combinedRef,
|
|
@@ -16690,7 +16725,7 @@ import {
|
|
|
16690
16725
|
} from "@radix-ui/react-select";
|
|
16691
16726
|
import { forwardRef as forwardRef34 } from "react";
|
|
16692
16727
|
import styled91 from "styled-components";
|
|
16693
|
-
import { jsx as
|
|
16728
|
+
import { jsx as jsx307, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
16694
16729
|
var StyledTrigger2 = styled91(Trigger3)`
|
|
16695
16730
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
16696
16731
|
${inputCss};
|
|
@@ -16779,8 +16814,8 @@ var Select = forwardRef34(
|
|
|
16779
16814
|
if (forceOpen) {
|
|
16780
16815
|
rootProps["open"] = true;
|
|
16781
16816
|
}
|
|
16782
|
-
return /* @__PURE__ */
|
|
16783
|
-
/* @__PURE__ */
|
|
16817
|
+
return /* @__PURE__ */ jsxs61(Root3, { ...rootProps, children: [
|
|
16818
|
+
/* @__PURE__ */ jsxs61(
|
|
16784
16819
|
StyledTrigger2,
|
|
16785
16820
|
{
|
|
16786
16821
|
ref: forwardedRef,
|
|
@@ -16788,8 +16823,8 @@ var Select = forwardRef34(
|
|
|
16788
16823
|
$fullWidth: responsiveFullWidth,
|
|
16789
16824
|
...props,
|
|
16790
16825
|
children: [
|
|
16791
|
-
/* @__PURE__ */
|
|
16792
|
-
/* @__PURE__ */
|
|
16826
|
+
/* @__PURE__ */ jsx307(Value, { placeholder }),
|
|
16827
|
+
/* @__PURE__ */ jsx307(
|
|
16793
16828
|
Icon,
|
|
16794
16829
|
{
|
|
16795
16830
|
size: "md",
|
|
@@ -16799,10 +16834,10 @@ var Select = forwardRef34(
|
|
|
16799
16834
|
]
|
|
16800
16835
|
}
|
|
16801
16836
|
),
|
|
16802
|
-
/* @__PURE__ */
|
|
16803
|
-
/* @__PURE__ */
|
|
16804
|
-
/* @__PURE__ */
|
|
16805
|
-
/* @__PURE__ */
|
|
16837
|
+
/* @__PURE__ */ jsx307(Portal2, { children: /* @__PURE__ */ jsxs61(StyledContent3, { position: "popper", children: [
|
|
16838
|
+
/* @__PURE__ */ jsx307(ScrollUpButton, { children: /* @__PURE__ */ jsx307(Icon, { type: "caret-up" }) }),
|
|
16839
|
+
/* @__PURE__ */ jsx307(Viewport, { children }),
|
|
16840
|
+
/* @__PURE__ */ jsx307(ScrollDownButton, { children: /* @__PURE__ */ jsx307(Icon, { type: "caret-down" }) })
|
|
16806
16841
|
] }) })
|
|
16807
16842
|
] });
|
|
16808
16843
|
}
|
|
@@ -16814,7 +16849,7 @@ import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
|
|
|
16814
16849
|
import { forwardRef as forwardRef35 } from "react";
|
|
16815
16850
|
import styled92 from "styled-components";
|
|
16816
16851
|
import { isNotNil as isNotNil37 } from "@wistia/type-guards";
|
|
16817
|
-
import { jsx as
|
|
16852
|
+
import { jsx as jsx308, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
16818
16853
|
var StyledItem = styled92(Item)`
|
|
16819
16854
|
${getTypographicStyles("label3")}
|
|
16820
16855
|
display: flex;
|
|
@@ -16841,17 +16876,17 @@ var StyledItem = styled92(Item)`
|
|
|
16841
16876
|
`;
|
|
16842
16877
|
var SelectOption = forwardRef35(
|
|
16843
16878
|
({ children, selectedDisplayValue, ...props }, forwardedRef) => {
|
|
16844
|
-
return /* @__PURE__ */
|
|
16879
|
+
return /* @__PURE__ */ jsxs62(
|
|
16845
16880
|
StyledItem,
|
|
16846
16881
|
{
|
|
16847
16882
|
...props,
|
|
16848
16883
|
ref: forwardedRef,
|
|
16849
16884
|
children: [
|
|
16850
|
-
isNotNil37(selectedDisplayValue) ? /* @__PURE__ */
|
|
16885
|
+
isNotNil37(selectedDisplayValue) ? /* @__PURE__ */ jsxs62("div", { children: [
|
|
16851
16886
|
children,
|
|
16852
|
-
/* @__PURE__ */
|
|
16853
|
-
] }) : /* @__PURE__ */
|
|
16854
|
-
/* @__PURE__ */
|
|
16887
|
+
/* @__PURE__ */ jsx308("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx308(ItemText, { children: selectedDisplayValue }) })
|
|
16888
|
+
] }) : /* @__PURE__ */ jsx308(ItemText, { children }),
|
|
16889
|
+
/* @__PURE__ */ jsx308(ItemIndicator, { children: /* @__PURE__ */ jsx308(
|
|
16855
16890
|
Icon,
|
|
16856
16891
|
{
|
|
16857
16892
|
size: "md",
|
|
@@ -16868,13 +16903,13 @@ SelectOption.displayName = "SelectOption_UI";
|
|
|
16868
16903
|
// src/components/Select/SelectOptionGroup.tsx
|
|
16869
16904
|
import { Group, Label as Label3 } from "@radix-ui/react-select";
|
|
16870
16905
|
import styled93 from "styled-components";
|
|
16871
|
-
import { jsx as
|
|
16906
|
+
import { jsx as jsx309, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
16872
16907
|
var StyledLabel4 = styled93(Label3)`
|
|
16873
16908
|
padding: var(--wui-select-option-padding);
|
|
16874
16909
|
`;
|
|
16875
16910
|
var SelectOptionGroup = ({ children, label, ...props }) => {
|
|
16876
|
-
return /* @__PURE__ */
|
|
16877
|
-
/* @__PURE__ */
|
|
16911
|
+
return /* @__PURE__ */ jsxs63(Group, { ...props, children: [
|
|
16912
|
+
/* @__PURE__ */ jsx309(StyledLabel4, { children: /* @__PURE__ */ jsx309(
|
|
16878
16913
|
Heading,
|
|
16879
16914
|
{
|
|
16880
16915
|
renderAs: "span",
|
|
@@ -16895,7 +16930,7 @@ import {
|
|
|
16895
16930
|
} from "@radix-ui/react-slider";
|
|
16896
16931
|
import styled94 from "styled-components";
|
|
16897
16932
|
import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
|
|
16898
|
-
import { jsx as
|
|
16933
|
+
import { jsx as jsx310, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
16899
16934
|
var SliderContainer = styled94.div`
|
|
16900
16935
|
--wui-slider-track-color: var(--wui-gray-6);
|
|
16901
16936
|
--wui-slider-track-border-radius: var(--wui-border-radius-rounded);
|
|
@@ -16984,12 +17019,12 @@ var Slider = ({
|
|
|
16984
17019
|
onChange(newValue);
|
|
16985
17020
|
}
|
|
16986
17021
|
};
|
|
16987
|
-
return /* @__PURE__ */
|
|
17022
|
+
return /* @__PURE__ */ jsx310(
|
|
16988
17023
|
SliderContainer,
|
|
16989
17024
|
{
|
|
16990
17025
|
...otherProps,
|
|
16991
17026
|
"data-testid": dataTestId,
|
|
16992
|
-
children: /* @__PURE__ */
|
|
17027
|
+
children: /* @__PURE__ */ jsxs64(
|
|
16993
17028
|
StyledSliderRoot,
|
|
16994
17029
|
{
|
|
16995
17030
|
"aria-label": ariaLabel,
|
|
@@ -17002,8 +17037,8 @@ var Slider = ({
|
|
|
17002
17037
|
step,
|
|
17003
17038
|
...value ? { value } : {},
|
|
17004
17039
|
children: [
|
|
17005
|
-
/* @__PURE__ */
|
|
17006
|
-
values.map((_, index) => /* @__PURE__ */
|
|
17040
|
+
/* @__PURE__ */ jsx310(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ jsx310(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
|
|
17041
|
+
values.map((_, index) => /* @__PURE__ */ jsx310(
|
|
17007
17042
|
StyledSliderThumb,
|
|
17008
17043
|
{
|
|
17009
17044
|
"data-testid": `${dataTestId}-thumb-${index}`
|
|
@@ -17020,7 +17055,7 @@ Slider.displayName = "Slider_UI";
|
|
|
17020
17055
|
|
|
17021
17056
|
// src/components/Table/Table.tsx
|
|
17022
17057
|
import styled95, { css as css46 } from "styled-components";
|
|
17023
|
-
import { jsx as
|
|
17058
|
+
import { jsx as jsx311 } from "react/jsx-runtime";
|
|
17024
17059
|
var StyledTable = styled95.table`
|
|
17025
17060
|
width: 100%;
|
|
17026
17061
|
border-collapse: collapse;
|
|
@@ -17050,7 +17085,7 @@ var Table = ({
|
|
|
17050
17085
|
visuallyHiddenHeader = false,
|
|
17051
17086
|
...props
|
|
17052
17087
|
}) => {
|
|
17053
|
-
return /* @__PURE__ */
|
|
17088
|
+
return /* @__PURE__ */ jsx311(
|
|
17054
17089
|
StyledTable,
|
|
17055
17090
|
{
|
|
17056
17091
|
$divided: divided,
|
|
@@ -17071,16 +17106,16 @@ import { createContext as createContext11 } from "react";
|
|
|
17071
17106
|
var TableSectionContext = createContext11(null);
|
|
17072
17107
|
|
|
17073
17108
|
// src/components/Table/TableBody.tsx
|
|
17074
|
-
import { jsx as
|
|
17109
|
+
import { jsx as jsx312 } from "react/jsx-runtime";
|
|
17075
17110
|
var StyledTableBody = styled96.tbody``;
|
|
17076
17111
|
var TableBody = ({ children, ...props }) => {
|
|
17077
|
-
return /* @__PURE__ */
|
|
17112
|
+
return /* @__PURE__ */ jsx312(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx312(StyledTableBody, { ...props, children }) });
|
|
17078
17113
|
};
|
|
17079
17114
|
|
|
17080
17115
|
// src/components/Table/TableCell.tsx
|
|
17081
17116
|
import { useContext as useContext17 } from "react";
|
|
17082
17117
|
import styled97, { css as css47 } from "styled-components";
|
|
17083
|
-
import { jsx as
|
|
17118
|
+
import { jsx as jsx313 } from "react/jsx-runtime";
|
|
17084
17119
|
var sharedStyles = css47`
|
|
17085
17120
|
color: var(--wui-color-text);
|
|
17086
17121
|
padding: var(--wui-space-02);
|
|
@@ -17101,35 +17136,35 @@ var StyledTd = styled97.td`
|
|
|
17101
17136
|
var TableCell = ({ children, ...props }) => {
|
|
17102
17137
|
const section = useContext17(TableSectionContext);
|
|
17103
17138
|
if (section === "head") {
|
|
17104
|
-
return /* @__PURE__ */
|
|
17139
|
+
return /* @__PURE__ */ jsx313(StyledTh, { ...props, children });
|
|
17105
17140
|
}
|
|
17106
|
-
return /* @__PURE__ */
|
|
17141
|
+
return /* @__PURE__ */ jsx313(StyledTd, { ...props, children });
|
|
17107
17142
|
};
|
|
17108
17143
|
|
|
17109
17144
|
// src/components/Table/TableFoot.tsx
|
|
17110
17145
|
import "react";
|
|
17111
17146
|
import styled98 from "styled-components";
|
|
17112
|
-
import { jsx as
|
|
17147
|
+
import { jsx as jsx314 } from "react/jsx-runtime";
|
|
17113
17148
|
var StyledTableFoot = styled98.tfoot``;
|
|
17114
17149
|
var TableFoot = ({ children, ...props }) => {
|
|
17115
|
-
return /* @__PURE__ */
|
|
17150
|
+
return /* @__PURE__ */ jsx314(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx314(StyledTableFoot, { ...props, children }) });
|
|
17116
17151
|
};
|
|
17117
17152
|
|
|
17118
17153
|
// src/components/Table/TableHead.tsx
|
|
17119
17154
|
import "react";
|
|
17120
17155
|
import styled99 from "styled-components";
|
|
17121
|
-
import { jsx as
|
|
17156
|
+
import { jsx as jsx315 } from "react/jsx-runtime";
|
|
17122
17157
|
var StyledThead = styled99.thead``;
|
|
17123
17158
|
var TableHead = ({ children, ...props }) => {
|
|
17124
|
-
return /* @__PURE__ */
|
|
17159
|
+
return /* @__PURE__ */ jsx315(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx315(StyledThead, { ...props, children }) });
|
|
17125
17160
|
};
|
|
17126
17161
|
|
|
17127
17162
|
// src/components/Table/TableRow.tsx
|
|
17128
17163
|
import styled100 from "styled-components";
|
|
17129
|
-
import { jsx as
|
|
17164
|
+
import { jsx as jsx316 } from "react/jsx-runtime";
|
|
17130
17165
|
var StyledTableRow = styled100.tr``;
|
|
17131
17166
|
var TableRow = ({ children, ...props }) => {
|
|
17132
|
-
return /* @__PURE__ */
|
|
17167
|
+
return /* @__PURE__ */ jsx316(StyledTableRow, { ...props, children });
|
|
17133
17168
|
};
|
|
17134
17169
|
|
|
17135
17170
|
// src/components/Tabs/Tabs.tsx
|
|
@@ -17150,7 +17185,7 @@ var useTabsValue = () => {
|
|
|
17150
17185
|
};
|
|
17151
17186
|
|
|
17152
17187
|
// src/components/Tabs/Tabs.tsx
|
|
17153
|
-
import { jsx as
|
|
17188
|
+
import { jsx as jsx317 } from "react/jsx-runtime";
|
|
17154
17189
|
var Tabs = ({
|
|
17155
17190
|
children,
|
|
17156
17191
|
value: valueProp,
|
|
@@ -17178,15 +17213,15 @@ var Tabs = ({
|
|
|
17178
17213
|
if (isNotNil38(defaultValue)) {
|
|
17179
17214
|
rootProps.defaultValue = defaultValue;
|
|
17180
17215
|
}
|
|
17181
|
-
return /* @__PURE__ */
|
|
17216
|
+
return /* @__PURE__ */ jsx317(RadixTabsRoot, { ...rootProps, children: /* @__PURE__ */ jsx317(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ jsx317(SelectedItemStyleProvider, { children }) }) });
|
|
17182
17217
|
};
|
|
17183
17218
|
Tabs.displayName = "Tabs_UI";
|
|
17184
17219
|
|
|
17185
17220
|
// src/components/Tabs/TabsContent.tsx
|
|
17186
17221
|
import { Content as RadixTabsContent } from "@radix-ui/react-tabs";
|
|
17187
|
-
import { jsx as
|
|
17222
|
+
import { jsx as jsx318 } from "react/jsx-runtime";
|
|
17188
17223
|
var TabsContent = ({ children, value }) => {
|
|
17189
|
-
return /* @__PURE__ */
|
|
17224
|
+
return /* @__PURE__ */ jsx318(RadixTabsContent, { value, children });
|
|
17190
17225
|
};
|
|
17191
17226
|
TabsContent.displayName = "TabsContent_UI";
|
|
17192
17227
|
|
|
@@ -17206,14 +17241,14 @@ var TabsSelectedItemIndicatorDiv = styled101(SelectedItemIndicatorDiv)`
|
|
|
17206
17241
|
`;
|
|
17207
17242
|
|
|
17208
17243
|
// src/components/Tabs/SelectedTabIndicator.tsx
|
|
17209
|
-
import { jsx as
|
|
17244
|
+
import { jsx as jsx319 } from "react/jsx-runtime";
|
|
17210
17245
|
var SelectedTabIndicator = () => {
|
|
17211
17246
|
const { selectedItemIndicatorStyle } = useSelectedItemStyle();
|
|
17212
17247
|
const selectedValue = useTabsValue();
|
|
17213
17248
|
if (selectedValue == null || isUndefined6(selectedItemIndicatorStyle)) {
|
|
17214
17249
|
return null;
|
|
17215
17250
|
}
|
|
17216
|
-
return /* @__PURE__ */
|
|
17251
|
+
return /* @__PURE__ */ jsx319(
|
|
17217
17252
|
TabsSelectedItemIndicatorDiv,
|
|
17218
17253
|
{
|
|
17219
17254
|
"data-wui-selected-item-indicator": true,
|
|
@@ -17223,19 +17258,19 @@ var SelectedTabIndicator = () => {
|
|
|
17223
17258
|
};
|
|
17224
17259
|
|
|
17225
17260
|
// src/components/Tabs/TabsList.tsx
|
|
17226
|
-
import { jsx as
|
|
17261
|
+
import { jsx as jsx320, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
17227
17262
|
var StyledRadixTabsList = styled102(RadixTabList)`
|
|
17228
17263
|
${segmentedControlStyles}
|
|
17229
17264
|
`;
|
|
17230
17265
|
var TabsList = ({ children, fullWidth = true, ...props }) => {
|
|
17231
|
-
return /* @__PURE__ */
|
|
17266
|
+
return /* @__PURE__ */ jsxs65(
|
|
17232
17267
|
StyledRadixTabsList,
|
|
17233
17268
|
{
|
|
17234
17269
|
$fullWidth: fullWidth,
|
|
17235
17270
|
"aria-label": props["aria-label"],
|
|
17236
17271
|
children: [
|
|
17237
17272
|
children,
|
|
17238
|
-
/* @__PURE__ */
|
|
17273
|
+
/* @__PURE__ */ jsx320(SelectedTabIndicator, {})
|
|
17239
17274
|
]
|
|
17240
17275
|
}
|
|
17241
17276
|
);
|
|
@@ -17258,7 +17293,7 @@ var StyledRadixTabsTrigger = styled103(RadixTabsTrigger)`
|
|
|
17258
17293
|
`;
|
|
17259
17294
|
|
|
17260
17295
|
// src/components/Tabs/TabsTrigger.tsx
|
|
17261
|
-
import { jsxs as
|
|
17296
|
+
import { jsxs as jsxs66 } from "react/jsx-runtime";
|
|
17262
17297
|
var TabsTrigger = forwardRef36(
|
|
17263
17298
|
({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
|
|
17264
17299
|
const selectedValue = useTabsValue();
|
|
@@ -17290,7 +17325,7 @@ var TabsTrigger = forwardRef36(
|
|
|
17290
17325
|
resizeObserver.disconnect();
|
|
17291
17326
|
};
|
|
17292
17327
|
}, [selectedValue, setSelectedItemMeasurements, value]);
|
|
17293
|
-
return /* @__PURE__ */
|
|
17328
|
+
return /* @__PURE__ */ jsxs66(
|
|
17294
17329
|
StyledRadixTabsTrigger,
|
|
17295
17330
|
{
|
|
17296
17331
|
...otherProps,
|
|
@@ -17312,7 +17347,7 @@ TabsTrigger.displayName = "TabsTrigger_UI";
|
|
|
17312
17347
|
// src/components/Thumbnail/ThumbnailBadge.tsx
|
|
17313
17348
|
import styled104 from "styled-components";
|
|
17314
17349
|
import { isNotNil as isNotNil40 } from "@wistia/type-guards";
|
|
17315
|
-
import { jsx as
|
|
17350
|
+
import { jsx as jsx321, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
17316
17351
|
var StyledThumbnailBadge = styled104.div`
|
|
17317
17352
|
align-items: center;
|
|
17318
17353
|
background-color: rgb(0 0 0 / 50%);
|
|
@@ -17339,9 +17374,9 @@ var StyledThumbnailBadge = styled104.div`
|
|
|
17339
17374
|
}
|
|
17340
17375
|
`;
|
|
17341
17376
|
var ThumbnailBadge = ({ icon, label, ...props }) => {
|
|
17342
|
-
return /* @__PURE__ */
|
|
17377
|
+
return /* @__PURE__ */ jsxs67(StyledThumbnailBadge, { ...props, children: [
|
|
17343
17378
|
isNotNil40(icon) && icon,
|
|
17344
|
-
/* @__PURE__ */
|
|
17379
|
+
/* @__PURE__ */ jsx321("span", { children: label })
|
|
17345
17380
|
] });
|
|
17346
17381
|
};
|
|
17347
17382
|
ThumbnailBadge.displayName = "ThumbnailBadge_UI";
|
|
@@ -17486,7 +17521,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
|
|
|
17486
17521
|
// src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
|
|
17487
17522
|
import styled105 from "styled-components";
|
|
17488
17523
|
import { isNotNil as isNotNil42 } from "@wistia/type-guards";
|
|
17489
|
-
import { jsx as
|
|
17524
|
+
import { jsx as jsx322, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
17490
17525
|
var ScrubLine = styled105.div`
|
|
17491
17526
|
position: absolute;
|
|
17492
17527
|
top: 0;
|
|
@@ -17598,14 +17633,14 @@ var ThumbnailStoryboardViewer = ({
|
|
|
17598
17633
|
backgroundPosition,
|
|
17599
17634
|
backgroundSize
|
|
17600
17635
|
};
|
|
17601
|
-
return /* @__PURE__ */
|
|
17636
|
+
return /* @__PURE__ */ jsxs68(
|
|
17602
17637
|
"div",
|
|
17603
17638
|
{
|
|
17604
17639
|
...props,
|
|
17605
17640
|
style: viewerStyles,
|
|
17606
17641
|
children: [
|
|
17607
|
-
/* @__PURE__ */
|
|
17608
|
-
showScrubLine ? /* @__PURE__ */
|
|
17642
|
+
/* @__PURE__ */ jsx322("div", { style: storyboardStyles }),
|
|
17643
|
+
showScrubLine ? /* @__PURE__ */ jsx322(
|
|
17609
17644
|
ScrubLine,
|
|
17610
17645
|
{
|
|
17611
17646
|
style: {
|
|
@@ -17619,7 +17654,7 @@ var ThumbnailStoryboardViewer = ({
|
|
|
17619
17654
|
};
|
|
17620
17655
|
|
|
17621
17656
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
17622
|
-
import { jsx as
|
|
17657
|
+
import { jsx as jsx323, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
17623
17658
|
var WideThumbnailImage = styled106.img`
|
|
17624
17659
|
height: 100%;
|
|
17625
17660
|
object-fit: cover;
|
|
@@ -17632,7 +17667,7 @@ var SquareThumbnailImage = styled106.img`
|
|
|
17632
17667
|
`;
|
|
17633
17668
|
var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
|
|
17634
17669
|
if (thumbnailImageType === "wide") {
|
|
17635
|
-
return /* @__PURE__ */
|
|
17670
|
+
return /* @__PURE__ */ jsx323(
|
|
17636
17671
|
WideThumbnailImage,
|
|
17637
17672
|
{
|
|
17638
17673
|
alt: "",
|
|
@@ -17641,7 +17676,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
|
|
|
17641
17676
|
}
|
|
17642
17677
|
);
|
|
17643
17678
|
}
|
|
17644
|
-
return /* @__PURE__ */
|
|
17679
|
+
return /* @__PURE__ */ jsx323(
|
|
17645
17680
|
SquareThumbnailImage,
|
|
17646
17681
|
{
|
|
17647
17682
|
alt: "",
|
|
@@ -17688,7 +17723,7 @@ var StoryboardRenderer = ({
|
|
|
17688
17723
|
} = storyboard;
|
|
17689
17724
|
const targetWidth = isString3(width) ? parseInt(width, 10) : Number(width);
|
|
17690
17725
|
const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
|
|
17691
|
-
return /* @__PURE__ */
|
|
17726
|
+
return /* @__PURE__ */ jsx323(
|
|
17692
17727
|
ThumbnailStoryboardViewer,
|
|
17693
17728
|
{
|
|
17694
17729
|
cursorPosition: effectiveCursorPosition,
|
|
@@ -17770,7 +17805,7 @@ var Thumbnail = forwardRef37(
|
|
|
17770
17805
|
}, [isScrubbable, isMouseOver, isStoryboardReady, storyboard, height]);
|
|
17771
17806
|
let thumbnailContent = null;
|
|
17772
17807
|
if (storyboard && shouldRenderStoryboard) {
|
|
17773
|
-
thumbnailContent = /* @__PURE__ */
|
|
17808
|
+
thumbnailContent = /* @__PURE__ */ jsx323(
|
|
17774
17809
|
StoryboardRenderer,
|
|
17775
17810
|
{
|
|
17776
17811
|
cursorPosition,
|
|
@@ -17781,7 +17816,7 @@ var Thumbnail = forwardRef37(
|
|
|
17781
17816
|
}
|
|
17782
17817
|
);
|
|
17783
17818
|
} else if (isNotNil43(thumbnailUrl)) {
|
|
17784
|
-
thumbnailContent = /* @__PURE__ */
|
|
17819
|
+
thumbnailContent = /* @__PURE__ */ jsx323(
|
|
17785
17820
|
ThumbnailImage,
|
|
17786
17821
|
{
|
|
17787
17822
|
thumbnailImageType,
|
|
@@ -17791,7 +17826,7 @@ var Thumbnail = forwardRef37(
|
|
|
17791
17826
|
} else {
|
|
17792
17827
|
thumbnailContent = null;
|
|
17793
17828
|
}
|
|
17794
|
-
return /* @__PURE__ */
|
|
17829
|
+
return /* @__PURE__ */ jsxs69(
|
|
17795
17830
|
StyledThumbnail,
|
|
17796
17831
|
{
|
|
17797
17832
|
ref,
|
|
@@ -17818,7 +17853,7 @@ Thumbnail.displayName = "Thumbnail_UI";
|
|
|
17818
17853
|
import React5 from "react";
|
|
17819
17854
|
import styled107 from "styled-components";
|
|
17820
17855
|
import { isNonEmptyArray } from "@wistia/type-guards";
|
|
17821
|
-
import { jsx as
|
|
17856
|
+
import { jsx as jsx324 } from "react/jsx-runtime";
|
|
17822
17857
|
var StyledThumbnailCollage = styled107.div`
|
|
17823
17858
|
display: grid;
|
|
17824
17859
|
gap: var(--wui-space-01);
|
|
@@ -17901,7 +17936,7 @@ var ThumbnailCollage = ({
|
|
|
17901
17936
|
});
|
|
17902
17937
|
}) : [
|
|
17903
17938
|
// ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
|
|
17904
|
-
/* @__PURE__ */
|
|
17939
|
+
/* @__PURE__ */ jsx324(
|
|
17905
17940
|
Thumbnail,
|
|
17906
17941
|
{
|
|
17907
17942
|
gradientBackground,
|
|
@@ -17910,7 +17945,7 @@ var ThumbnailCollage = ({
|
|
|
17910
17945
|
"fallback"
|
|
17911
17946
|
)
|
|
17912
17947
|
];
|
|
17913
|
-
return /* @__PURE__ */
|
|
17948
|
+
return /* @__PURE__ */ jsx324(
|
|
17914
17949
|
StyledThumbnailCollage,
|
|
17915
17950
|
{
|
|
17916
17951
|
$gradientBackground: gradientBackground,
|
|
@@ -17924,24 +17959,24 @@ var ThumbnailCollage = ({
|
|
|
17924
17959
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
17925
17960
|
import styled108, { css as css49 } from "styled-components";
|
|
17926
17961
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
17927
|
-
import { jsx as
|
|
17962
|
+
import { jsx as jsx325, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
17928
17963
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
17929
17964
|
if (iconOnly) {
|
|
17930
|
-
return /* @__PURE__ */
|
|
17965
|
+
return /* @__PURE__ */ jsx325(
|
|
17931
17966
|
"g",
|
|
17932
17967
|
{
|
|
17933
17968
|
"data-testid": "ui-wistia-logo-brandmark",
|
|
17934
17969
|
fill: brandmarkColor,
|
|
17935
|
-
children: /* @__PURE__ */
|
|
17970
|
+
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" })
|
|
17936
17971
|
}
|
|
17937
17972
|
);
|
|
17938
17973
|
}
|
|
17939
|
-
return /* @__PURE__ */
|
|
17974
|
+
return /* @__PURE__ */ jsx325(
|
|
17940
17975
|
"g",
|
|
17941
17976
|
{
|
|
17942
17977
|
"data-testid": "ui-wistia-logo-brandmark",
|
|
17943
17978
|
fill: brandmarkColor,
|
|
17944
|
-
children: /* @__PURE__ */
|
|
17979
|
+
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" })
|
|
17945
17980
|
}
|
|
17946
17981
|
);
|
|
17947
17982
|
};
|
|
@@ -17949,12 +17984,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
|
|
|
17949
17984
|
if (iconOnly) {
|
|
17950
17985
|
return null;
|
|
17951
17986
|
}
|
|
17952
|
-
return /* @__PURE__ */
|
|
17987
|
+
return /* @__PURE__ */ jsx325(
|
|
17953
17988
|
"g",
|
|
17954
17989
|
{
|
|
17955
17990
|
"data-testid": "ui-wistia-logo-logotype",
|
|
17956
17991
|
fill: logotypeColor,
|
|
17957
|
-
children: /* @__PURE__ */
|
|
17992
|
+
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" })
|
|
17958
17993
|
}
|
|
17959
17994
|
);
|
|
17960
17995
|
};
|
|
@@ -18022,7 +18057,7 @@ var WistiaLogo = ({
|
|
|
18022
18057
|
};
|
|
18023
18058
|
const brandmarkColor = VARIANT_COLORS[variant].brandmark;
|
|
18024
18059
|
const logotypeColor = VARIANT_COLORS[variant].logotype;
|
|
18025
|
-
const Logo = /* @__PURE__ */
|
|
18060
|
+
const Logo = /* @__PURE__ */ jsxs70(
|
|
18026
18061
|
WistiaLogoComponent,
|
|
18027
18062
|
{
|
|
18028
18063
|
$hoverColor: hoverColor,
|
|
@@ -18035,21 +18070,21 @@ var WistiaLogo = ({
|
|
|
18035
18070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18036
18071
|
...props,
|
|
18037
18072
|
children: [
|
|
18038
|
-
/* @__PURE__ */
|
|
18039
|
-
isNotNil44(description) ? /* @__PURE__ */
|
|
18073
|
+
/* @__PURE__ */ jsx325("title", { children: title }),
|
|
18074
|
+
isNotNil44(description) ? /* @__PURE__ */ jsx325("desc", { children: description }) : null,
|
|
18040
18075
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
18041
18076
|
renderLogotype(logotypeColor, iconOnly)
|
|
18042
18077
|
]
|
|
18043
18078
|
}
|
|
18044
18079
|
);
|
|
18045
|
-
return href !== void 0 ? /* @__PURE__ */
|
|
18080
|
+
return href !== void 0 ? /* @__PURE__ */ jsx325("a", { href, children: Logo }) : Logo;
|
|
18046
18081
|
};
|
|
18047
18082
|
WistiaLogo.displayName = "WistiaLogo_UI";
|
|
18048
18083
|
|
|
18049
18084
|
// src/components/SplitButton/SplitButton.tsx
|
|
18050
18085
|
import styled109 from "styled-components";
|
|
18051
18086
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
18052
|
-
import { jsx as
|
|
18087
|
+
import { jsx as jsx326, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
18053
18088
|
var StyledSplitButton = styled109.span`
|
|
18054
18089
|
white-space: nowrap;
|
|
18055
18090
|
|
|
@@ -18067,7 +18102,7 @@ var StyledSplitButton = styled109.span`
|
|
|
18067
18102
|
var SplitButton = ({
|
|
18068
18103
|
children,
|
|
18069
18104
|
menuLabel = "Select an option",
|
|
18070
|
-
menuIcon = /* @__PURE__ */
|
|
18105
|
+
menuIcon = /* @__PURE__ */ jsx326(Icon, { type: "caret-down" }),
|
|
18071
18106
|
menuItems,
|
|
18072
18107
|
disabled = false,
|
|
18073
18108
|
colorScheme = "default",
|
|
@@ -18078,8 +18113,8 @@ var SplitButton = ({
|
|
|
18078
18113
|
menuProps = {},
|
|
18079
18114
|
...props
|
|
18080
18115
|
}) => {
|
|
18081
|
-
return /* @__PURE__ */
|
|
18082
|
-
/* @__PURE__ */
|
|
18116
|
+
return /* @__PURE__ */ jsxs71(StyledSplitButton, { children: [
|
|
18117
|
+
/* @__PURE__ */ jsx326(
|
|
18083
18118
|
Button,
|
|
18084
18119
|
{
|
|
18085
18120
|
colorScheme,
|
|
@@ -18091,12 +18126,12 @@ var SplitButton = ({
|
|
|
18091
18126
|
children
|
|
18092
18127
|
}
|
|
18093
18128
|
),
|
|
18094
|
-
isNotNil45(menuItems) && /* @__PURE__ */
|
|
18129
|
+
isNotNil45(menuItems) && /* @__PURE__ */ jsx326(
|
|
18095
18130
|
Menu,
|
|
18096
18131
|
{
|
|
18097
18132
|
...menuProps,
|
|
18098
18133
|
disabled,
|
|
18099
|
-
trigger: /* @__PURE__ */
|
|
18134
|
+
trigger: /* @__PURE__ */ jsx326(
|
|
18100
18135
|
IconButton,
|
|
18101
18136
|
{
|
|
18102
18137
|
colorScheme,
|
|
@@ -18202,6 +18237,8 @@ export {
|
|
|
18202
18237
|
MenuLabel,
|
|
18203
18238
|
MenuRadioGroup,
|
|
18204
18239
|
Modal,
|
|
18240
|
+
ModalCallout,
|
|
18241
|
+
ModalCallouts,
|
|
18205
18242
|
PersistentFileAmountLimitValidator,
|
|
18206
18243
|
Popover,
|
|
18207
18244
|
ProgressBar,
|