@wistia/ui 0.20.0 → 0.20.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.d.ts +1 -0
- package/dist/index.js +623 -604
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.20.
|
|
3
|
+
* @license @wistia/ui v0.20.1
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -6487,15 +6487,33 @@ var RefreshIcon = (props) => /* @__PURE__ */ jsx155(
|
|
|
6487
6487
|
}
|
|
6488
6488
|
);
|
|
6489
6489
|
|
|
6490
|
-
// src/components/Icon/icons/
|
|
6490
|
+
// src/components/Icon/icons/RemixIcon.tsx
|
|
6491
6491
|
import { jsx as jsx156 } from "react/jsx-runtime";
|
|
6492
|
-
var
|
|
6492
|
+
var RemixIcon = (props) => /* @__PURE__ */ jsx156(
|
|
6493
6493
|
"svg",
|
|
6494
6494
|
{
|
|
6495
6495
|
...props,
|
|
6496
6496
|
viewBox: "0 0 24 24",
|
|
6497
6497
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6498
6498
|
children: /* @__PURE__ */ jsx156(
|
|
6499
|
+
"path",
|
|
6500
|
+
{
|
|
6501
|
+
d: "M2.30971 11.2705C2.86171 11.2093 3.32278 11.691 3.33705 12.2432C3.46757 16.9662 7.27243 20.667 12.0001 20.667C14.8872 20.667 17.5063 19.2363 19.1037 16.9316L17.1613 17.2002C16.6171 17.2672 16.1091 16.8934 16.0333 16.3467C15.9577 15.7997 16.3404 15.2949 16.8878 15.2188L20.8126 14.6758C21.351 14.6048 21.8635 14.9824 21.9396 15.5293L22.4835 19.4561C22.5595 20.0028 22.1777 20.5075 21.631 20.583C21.5841 20.5895 21.5379 20.5928 21.4923 20.5928C21.0008 20.5928 20.5722 20.231 20.5031 19.7305L20.3497 18.623C18.3603 21.1364 15.3202 22.667 12.0001 22.667C6.18107 22.667 1.49749 18.1113 1.33803 12.2969C1.32269 11.7452 1.75785 11.2856 2.30971 11.2705ZM12.0001 8.33301C14.0252 8.33301 15.6671 9.97496 15.6671 12C15.6671 14.0251 14.0252 15.667 12.0001 15.667C9.97511 15.667 8.33315 14.0251 8.33315 12C8.33315 9.97497 9.97511 8.33302 12.0001 8.33301ZM12.0001 1.33301C17.8184 1.33311 22.5019 5.88662 22.6622 11.7002C22.6778 12.2522 22.2417 12.7126 21.6896 12.7275C21.6807 12.7282 21.6711 12.7275 21.6622 12.7275C21.1225 12.7275 20.6782 12.2978 20.6632 11.7549C20.5321 7.03254 16.7271 3.33318 12.0001 3.33301C9.11427 3.33301 6.49396 4.76369 4.89662 7.06836L6.839 6.7998C7.37795 6.72489 7.88996 7.10605 7.96693 7.65332C8.04253 8.20025 7.65991 8.70512 7.11244 8.78125L3.18764 9.32422C3.14137 9.33009 3.09457 9.33301 3.04897 9.33301C2.55757 9.33279 2.12976 8.97119 2.06068 8.4707L1.51576 4.54395C1.43972 3.99716 1.82247 3.49244 2.36928 3.41699C2.92066 3.34152 3.42077 3.72214 3.49623 4.26953L3.65053 5.37891C5.64026 2.86531 8.68134 1.33301 12.0001 1.33301Z",
|
|
6502
|
+
fill: "currentColor"
|
|
6503
|
+
}
|
|
6504
|
+
)
|
|
6505
|
+
}
|
|
6506
|
+
);
|
|
6507
|
+
|
|
6508
|
+
// src/components/Icon/icons/ReplaceIcon.tsx
|
|
6509
|
+
import { jsx as jsx157 } from "react/jsx-runtime";
|
|
6510
|
+
var ReplaceIcon = (props) => /* @__PURE__ */ jsx157(
|
|
6511
|
+
"svg",
|
|
6512
|
+
{
|
|
6513
|
+
...props,
|
|
6514
|
+
viewBox: "0 0 24 24",
|
|
6515
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6516
|
+
children: /* @__PURE__ */ jsx157(
|
|
6499
6517
|
"path",
|
|
6500
6518
|
{
|
|
6501
6519
|
clipRule: "evenodd",
|
|
@@ -6508,14 +6526,14 @@ var ReplaceIcon = (props) => /* @__PURE__ */ jsx156(
|
|
|
6508
6526
|
);
|
|
6509
6527
|
|
|
6510
6528
|
// src/components/Icon/icons/ReplyIcon.tsx
|
|
6511
|
-
import { jsx as
|
|
6512
|
-
var ReplyIcon = (props) => /* @__PURE__ */
|
|
6529
|
+
import { jsx as jsx158 } from "react/jsx-runtime";
|
|
6530
|
+
var ReplyIcon = (props) => /* @__PURE__ */ jsx158(
|
|
6513
6531
|
"svg",
|
|
6514
6532
|
{
|
|
6515
6533
|
...props,
|
|
6516
6534
|
viewBox: "0 0 24 24",
|
|
6517
6535
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6518
|
-
children: /* @__PURE__ */
|
|
6536
|
+
children: /* @__PURE__ */ jsx158(
|
|
6519
6537
|
"path",
|
|
6520
6538
|
{
|
|
6521
6539
|
clipRule: "evenodd",
|
|
@@ -6528,14 +6546,14 @@ var ReplyIcon = (props) => /* @__PURE__ */ jsx157(
|
|
|
6528
6546
|
);
|
|
6529
6547
|
|
|
6530
6548
|
// src/components/Icon/icons/RequestVideoIcon.tsx
|
|
6531
|
-
import { jsx as
|
|
6532
|
-
var RequestVideoIcon = (props) => /* @__PURE__ */
|
|
6549
|
+
import { jsx as jsx159 } from "react/jsx-runtime";
|
|
6550
|
+
var RequestVideoIcon = (props) => /* @__PURE__ */ jsx159(
|
|
6533
6551
|
"svg",
|
|
6534
6552
|
{
|
|
6535
6553
|
...props,
|
|
6536
6554
|
viewBox: "0 0 24 24",
|
|
6537
6555
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6538
|
-
children: /* @__PURE__ */
|
|
6556
|
+
children: /* @__PURE__ */ jsx159(
|
|
6539
6557
|
"path",
|
|
6540
6558
|
{
|
|
6541
6559
|
clipRule: "evenodd",
|
|
@@ -6548,14 +6566,14 @@ var RequestVideoIcon = (props) => /* @__PURE__ */ jsx158(
|
|
|
6548
6566
|
);
|
|
6549
6567
|
|
|
6550
6568
|
// src/components/Icon/icons/RevertToOriginalIcon.tsx
|
|
6551
|
-
import { jsx as
|
|
6552
|
-
var RevertToOriginalIcon = (props) => /* @__PURE__ */
|
|
6569
|
+
import { jsx as jsx160 } from "react/jsx-runtime";
|
|
6570
|
+
var RevertToOriginalIcon = (props) => /* @__PURE__ */ jsx160(
|
|
6553
6571
|
"svg",
|
|
6554
6572
|
{
|
|
6555
6573
|
...props,
|
|
6556
6574
|
viewBox: "0 0 24 24",
|
|
6557
6575
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6558
|
-
children: /* @__PURE__ */
|
|
6576
|
+
children: /* @__PURE__ */ jsx160(
|
|
6559
6577
|
"path",
|
|
6560
6578
|
{
|
|
6561
6579
|
clipRule: "evenodd",
|
|
@@ -6568,14 +6586,14 @@ var RevertToOriginalIcon = (props) => /* @__PURE__ */ jsx159(
|
|
|
6568
6586
|
);
|
|
6569
6587
|
|
|
6570
6588
|
// src/components/Icon/icons/RewindIcon.tsx
|
|
6571
|
-
import { jsx as
|
|
6572
|
-
var RewindIcon = (props) => /* @__PURE__ */
|
|
6589
|
+
import { jsx as jsx161 } from "react/jsx-runtime";
|
|
6590
|
+
var RewindIcon = (props) => /* @__PURE__ */ jsx161(
|
|
6573
6591
|
"svg",
|
|
6574
6592
|
{
|
|
6575
6593
|
...props,
|
|
6576
6594
|
viewBox: "0 0 24 24",
|
|
6577
6595
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6578
|
-
children: /* @__PURE__ */
|
|
6596
|
+
children: /* @__PURE__ */ jsx161(
|
|
6579
6597
|
"path",
|
|
6580
6598
|
{
|
|
6581
6599
|
d: "M23.1796 5.02255C22.6636 4.71988 22.0489 4.71188 21.5262 4.99988L13.3329 9.53988V6.45855C13.3329 5.86255 13.0262 5.32521 12.5129 5.02255C11.9982 4.71988 11.3809 4.71055 10.8596 5.00121L0.859573 10.5412C0.330239 10.8345 -0.000427246 11.3932 -0.000427246 11.9999C-0.000427246 12.6065 0.328906 13.1652 0.859573 13.4585L10.8596 18.9985C11.1129 19.1399 11.3902 19.2105 11.6662 19.2105C11.9582 19.2105 12.2489 19.1319 12.5129 18.9772C13.0262 18.6745 13.3329 18.1372 13.3329 17.5412V14.4599L21.5262 18.9985C21.7796 19.1399 22.0569 19.2105 22.3329 19.2105C22.6249 19.2105 22.9156 19.1319 23.1796 18.9772C23.6929 18.6745 23.9996 18.1372 23.9996 17.5412V6.45855C23.9996 5.86255 23.6929 5.32521 23.1796 5.02255Z",
|
|
@@ -6586,14 +6604,14 @@ var RewindIcon = (props) => /* @__PURE__ */ jsx160(
|
|
|
6586
6604
|
);
|
|
6587
6605
|
|
|
6588
6606
|
// src/components/Icon/icons/SaveIcon.tsx
|
|
6589
|
-
import { jsx as
|
|
6590
|
-
var SaveIcon = (props) => /* @__PURE__ */
|
|
6607
|
+
import { jsx as jsx162 } from "react/jsx-runtime";
|
|
6608
|
+
var SaveIcon = (props) => /* @__PURE__ */ jsx162(
|
|
6591
6609
|
"svg",
|
|
6592
6610
|
{
|
|
6593
6611
|
...props,
|
|
6594
6612
|
viewBox: "0 0 24 24",
|
|
6595
6613
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6596
|
-
children: /* @__PURE__ */
|
|
6614
|
+
children: /* @__PURE__ */ jsx162(
|
|
6597
6615
|
"path",
|
|
6598
6616
|
{
|
|
6599
6617
|
d: "M21.3155 6.5692L17.4301 2.68387C16.9888 2.24254 16.4035 1.99987 15.7808 1.99987H5.87949C3.74083 1.99987 1.9995 3.7412 1.9995 5.87986V18.1198C1.9995 20.2585 3.74083 21.9998 5.87949 21.9998H18.1195C20.2581 21.9998 21.9995 20.2585 21.9995 18.1198V8.21852C21.9995 7.59586 21.7568 7.00919 21.3155 6.5692ZM6.66616 3.99987H14.6661V6.66653C14.6661 7.39986 14.0661 7.99986 13.3328 7.99986H7.99949C7.26616 7.99986 6.66616 7.39986 6.66616 6.66653V3.99987ZM17.3328 19.9998H6.66616V14.6665C6.66616 13.9332 7.26616 13.3332 7.99949 13.3332H15.9995C16.7328 13.3332 17.3328 13.9332 17.3328 14.6665V19.9998Z",
|
|
@@ -6604,14 +6622,14 @@ var SaveIcon = (props) => /* @__PURE__ */ jsx161(
|
|
|
6604
6622
|
);
|
|
6605
6623
|
|
|
6606
6624
|
// src/components/Icon/icons/SaveAsCopyIcon.tsx
|
|
6607
|
-
import { jsx as
|
|
6608
|
-
var SaveAsCopyIcon = (props) => /* @__PURE__ */
|
|
6625
|
+
import { jsx as jsx163 } from "react/jsx-runtime";
|
|
6626
|
+
var SaveAsCopyIcon = (props) => /* @__PURE__ */ jsx163(
|
|
6609
6627
|
"svg",
|
|
6610
6628
|
{
|
|
6611
6629
|
...props,
|
|
6612
6630
|
viewBox: "0 0 24 24",
|
|
6613
6631
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6614
|
-
children: /* @__PURE__ */
|
|
6632
|
+
children: /* @__PURE__ */ jsx163(
|
|
6615
6633
|
"path",
|
|
6616
6634
|
{
|
|
6617
6635
|
clipRule: "evenodd",
|
|
@@ -6624,14 +6642,14 @@ var SaveAsCopyIcon = (props) => /* @__PURE__ */ jsx162(
|
|
|
6624
6642
|
);
|
|
6625
6643
|
|
|
6626
6644
|
// src/components/Icon/icons/ScissorsIcon.tsx
|
|
6627
|
-
import { jsx as
|
|
6628
|
-
var ScissorsIcon = (props) => /* @__PURE__ */
|
|
6645
|
+
import { jsx as jsx164 } from "react/jsx-runtime";
|
|
6646
|
+
var ScissorsIcon = (props) => /* @__PURE__ */ jsx164(
|
|
6629
6647
|
"svg",
|
|
6630
6648
|
{
|
|
6631
6649
|
...props,
|
|
6632
6650
|
viewBox: "0 0 24 24",
|
|
6633
6651
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6634
|
-
children: /* @__PURE__ */
|
|
6652
|
+
children: /* @__PURE__ */ jsx164(
|
|
6635
6653
|
"path",
|
|
6636
6654
|
{
|
|
6637
6655
|
d: "M8.03042 13.6605C7.73535 14.0006 7.25074 14.0917 6.8028 14.0461C6.54217 14.0195 6.27019 14.0236 5.96972 14.0236C3.76414 14.0236 2.01959 16.1038 1.97773 18.0156C1.93586 19.9273 3.23259 22.2035 5.96972 22.0076C8.70686 21.8116 9.96172 20.2211 9.96172 18.0156C9.96172 17.6742 9.91811 17.3462 9.83672 17.0336C9.73128 16.6286 9.79891 16.1824 10.0948 15.8865L11.2506 14.7307C11.6411 14.3401 12.2743 14.3401 12.6648 14.7307L13.8206 15.8865C14.1165 16.1824 14.1841 16.6286 14.0787 17.0336C13.9973 17.3462 13.9537 17.6742 13.9537 18.0156C13.9537 20.2211 15.1616 22.1277 17.9457 22.0076C20.1138 22.0076 21.8769 20.2813 21.9362 18.1275C21.9382 18.0533 21.9472 17.9794 21.9583 17.906C22.2072 16.2536 19.8847 13.8188 17.9457 14.0236C17.606 14.0236 17.2796 14.0667 16.9684 14.1474C16.561 14.2529 16.1121 14.1834 15.8164 13.8839L15.5341 13.5979C15.1988 13.2583 15.1485 12.7314 15.4153 12.3357C16.7051 10.4232 20.3129 5.04458 20.9214 3.82741C21.5171 2.63608 20.8216 2.27428 20.5213 2.17749C20.4397 2.15115 20.3538 2.15005 20.2692 2.16438C19.9626 2.21628 19.1552 2.39484 18.4294 2.91739C17.5596 3.54369 11.1772 10.0335 8.03042 13.6605ZM7.96572 18.0156C7.96572 19.1134 7.62753 20.2005 5.93739 20.2918C4.24725 20.3831 4.00273 19.3194 3.97372 18.0156C3.94472 16.7117 4.78907 16.3065 5.90361 16.2727C7.01816 16.2389 7.96572 16.9178 7.96572 18.0156ZM19.5954 17.9155C19.5954 19.0133 18.9851 19.6891 17.8773 19.6891C16.7695 19.6891 16.2146 19.1796 16.2146 18.0818C16.2146 16.984 16.7141 16.3637 17.8219 16.3637C18.9297 16.3637 19.5954 16.8177 19.5954 17.9155ZM3.59453 4.26526C3.95765 4.87977 7.97772 9.95022 8.7319 10.3133C9.48608 10.6765 11.7442 7.95976 11.3532 7.17765C10.9621 6.39553 4.78187 2.23266 3.97372 2.04758C3.45763 1.92939 3.19544 2.20587 3.07334 2.42113C2.99439 2.56032 2.99979 2.7259 3.0443 2.87961C3.14116 3.21412 3.3405 3.83537 3.59453 4.26526Z",
|
|
@@ -6642,14 +6660,14 @@ var ScissorsIcon = (props) => /* @__PURE__ */ jsx163(
|
|
|
6642
6660
|
);
|
|
6643
6661
|
|
|
6644
6662
|
// src/components/Icon/icons/ScreenshareOffIcon.tsx
|
|
6645
|
-
import { jsx as
|
|
6646
|
-
var ScreenshareOffIcon = (props) => /* @__PURE__ */
|
|
6663
|
+
import { jsx as jsx165 } from "react/jsx-runtime";
|
|
6664
|
+
var ScreenshareOffIcon = (props) => /* @__PURE__ */ jsx165(
|
|
6647
6665
|
"svg",
|
|
6648
6666
|
{
|
|
6649
6667
|
...props,
|
|
6650
6668
|
viewBox: "0 0 24 24",
|
|
6651
6669
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6652
|
-
children: /* @__PURE__ */
|
|
6670
|
+
children: /* @__PURE__ */ jsx165(
|
|
6653
6671
|
"path",
|
|
6654
6672
|
{
|
|
6655
6673
|
clipRule: "evenodd",
|
|
@@ -6662,14 +6680,14 @@ var ScreenshareOffIcon = (props) => /* @__PURE__ */ jsx164(
|
|
|
6662
6680
|
);
|
|
6663
6681
|
|
|
6664
6682
|
// src/components/Icon/icons/ScreenshareOnIcon.tsx
|
|
6665
|
-
import { jsx as
|
|
6666
|
-
var ScreenshareOnIcon = (props) => /* @__PURE__ */
|
|
6683
|
+
import { jsx as jsx166 } from "react/jsx-runtime";
|
|
6684
|
+
var ScreenshareOnIcon = (props) => /* @__PURE__ */ jsx166(
|
|
6667
6685
|
"svg",
|
|
6668
6686
|
{
|
|
6669
6687
|
...props,
|
|
6670
6688
|
viewBox: "0 0 24 24",
|
|
6671
6689
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6672
|
-
children: /* @__PURE__ */
|
|
6690
|
+
children: /* @__PURE__ */ jsx166(
|
|
6673
6691
|
"path",
|
|
6674
6692
|
{
|
|
6675
6693
|
clipRule: "evenodd",
|
|
@@ -6682,14 +6700,14 @@ var ScreenshareOnIcon = (props) => /* @__PURE__ */ jsx165(
|
|
|
6682
6700
|
);
|
|
6683
6701
|
|
|
6684
6702
|
// src/components/Icon/icons/SearchIcon.tsx
|
|
6685
|
-
import { jsx as
|
|
6686
|
-
var SearchIcon = (props) => /* @__PURE__ */
|
|
6703
|
+
import { jsx as jsx167 } from "react/jsx-runtime";
|
|
6704
|
+
var SearchIcon = (props) => /* @__PURE__ */ jsx167(
|
|
6687
6705
|
"svg",
|
|
6688
6706
|
{
|
|
6689
6707
|
...props,
|
|
6690
6708
|
viewBox: "0 0 24 24",
|
|
6691
6709
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6692
|
-
children: /* @__PURE__ */
|
|
6710
|
+
children: /* @__PURE__ */ jsx167(
|
|
6693
6711
|
"path",
|
|
6694
6712
|
{
|
|
6695
6713
|
clipRule: "evenodd",
|
|
@@ -6702,14 +6720,14 @@ var SearchIcon = (props) => /* @__PURE__ */ jsx166(
|
|
|
6702
6720
|
);
|
|
6703
6721
|
|
|
6704
6722
|
// src/components/Icon/icons/SendIcon.tsx
|
|
6705
|
-
import { jsx as
|
|
6706
|
-
var SendIcon = (props) => /* @__PURE__ */
|
|
6723
|
+
import { jsx as jsx168 } from "react/jsx-runtime";
|
|
6724
|
+
var SendIcon = (props) => /* @__PURE__ */ jsx168(
|
|
6707
6725
|
"svg",
|
|
6708
6726
|
{
|
|
6709
6727
|
...props,
|
|
6710
6728
|
viewBox: "0 0 24 24",
|
|
6711
6729
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6712
|
-
children: /* @__PURE__ */
|
|
6730
|
+
children: /* @__PURE__ */ jsx168(
|
|
6713
6731
|
"path",
|
|
6714
6732
|
{
|
|
6715
6733
|
d: "M21.0892 10.5011L5.8012 2.56248C5.1972 2.25048 4.47187 2.32915 3.94787 2.75981C3.4252 3.19181 3.21187 3.89181 3.40387 4.54114L5.3172 10.9998H11.8478C12.3998 10.9998 12.8478 11.4478 12.8478 11.9998C12.8478 12.5518 12.3998 12.9998 11.8478 12.9998H5.3172L3.40387 19.4584C3.21054 20.1091 3.4252 20.8078 3.94787 21.2398C4.2572 21.4944 4.63853 21.6264 5.02253 21.6264C5.28787 21.6264 5.55453 21.5638 5.8012 21.4358L21.0892 13.4971C21.6505 13.2051 21.9998 12.6318 21.9998 11.9985C21.9998 11.3651 21.6505 10.7931 21.0892 10.5011Z",
|
|
@@ -6720,14 +6738,14 @@ var SendIcon = (props) => /* @__PURE__ */ jsx167(
|
|
|
6720
6738
|
);
|
|
6721
6739
|
|
|
6722
6740
|
// src/components/Icon/icons/ShapesIcon.tsx
|
|
6723
|
-
import { jsx as
|
|
6724
|
-
var ShapesIcon = (props) => /* @__PURE__ */
|
|
6741
|
+
import { jsx as jsx169 } from "react/jsx-runtime";
|
|
6742
|
+
var ShapesIcon = (props) => /* @__PURE__ */ jsx169(
|
|
6725
6743
|
"svg",
|
|
6726
6744
|
{
|
|
6727
6745
|
...props,
|
|
6728
6746
|
viewBox: "0 0 24 24",
|
|
6729
6747
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6730
|
-
children: /* @__PURE__ */
|
|
6748
|
+
children: /* @__PURE__ */ jsx169(
|
|
6731
6749
|
"path",
|
|
6732
6750
|
{
|
|
6733
6751
|
clipRule: "evenodd",
|
|
@@ -6740,14 +6758,14 @@ var ShapesIcon = (props) => /* @__PURE__ */ jsx168(
|
|
|
6740
6758
|
);
|
|
6741
6759
|
|
|
6742
6760
|
// src/components/Icon/icons/ShareIcon.tsx
|
|
6743
|
-
import { jsx as
|
|
6744
|
-
var ShareIcon = (props) => /* @__PURE__ */
|
|
6761
|
+
import { jsx as jsx170 } from "react/jsx-runtime";
|
|
6762
|
+
var ShareIcon = (props) => /* @__PURE__ */ jsx170(
|
|
6745
6763
|
"svg",
|
|
6746
6764
|
{
|
|
6747
6765
|
...props,
|
|
6748
6766
|
viewBox: "0 0 24 24",
|
|
6749
6767
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6750
|
-
children: /* @__PURE__ */
|
|
6768
|
+
children: /* @__PURE__ */ jsx170(
|
|
6751
6769
|
"path",
|
|
6752
6770
|
{
|
|
6753
6771
|
clipRule: "evenodd",
|
|
@@ -6760,14 +6778,14 @@ var ShareIcon = (props) => /* @__PURE__ */ jsx169(
|
|
|
6760
6778
|
);
|
|
6761
6779
|
|
|
6762
6780
|
// src/components/Icon/icons/SharingPermissionsIcon.tsx
|
|
6763
|
-
import { jsx as
|
|
6764
|
-
var SharingPermissionsIcon = (props) => /* @__PURE__ */
|
|
6781
|
+
import { jsx as jsx171 } from "react/jsx-runtime";
|
|
6782
|
+
var SharingPermissionsIcon = (props) => /* @__PURE__ */ jsx171(
|
|
6765
6783
|
"svg",
|
|
6766
6784
|
{
|
|
6767
6785
|
...props,
|
|
6768
6786
|
viewBox: "0 0 24 24",
|
|
6769
6787
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6770
|
-
children: /* @__PURE__ */
|
|
6788
|
+
children: /* @__PURE__ */ jsx171(
|
|
6771
6789
|
"path",
|
|
6772
6790
|
{
|
|
6773
6791
|
clipRule: "evenodd",
|
|
@@ -6780,14 +6798,14 @@ var SharingPermissionsIcon = (props) => /* @__PURE__ */ jsx170(
|
|
|
6780
6798
|
);
|
|
6781
6799
|
|
|
6782
6800
|
// src/components/Icon/icons/SimulcastIcon.tsx
|
|
6783
|
-
import { jsx as
|
|
6784
|
-
var SimulcastIcon = (props) => /* @__PURE__ */
|
|
6801
|
+
import { jsx as jsx172 } from "react/jsx-runtime";
|
|
6802
|
+
var SimulcastIcon = (props) => /* @__PURE__ */ jsx172(
|
|
6785
6803
|
"svg",
|
|
6786
6804
|
{
|
|
6787
6805
|
...props,
|
|
6788
6806
|
viewBox: "0 0 24 24",
|
|
6789
6807
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6790
|
-
children: /* @__PURE__ */
|
|
6808
|
+
children: /* @__PURE__ */ jsx172(
|
|
6791
6809
|
"path",
|
|
6792
6810
|
{
|
|
6793
6811
|
clipRule: "evenodd",
|
|
@@ -6800,14 +6818,14 @@ var SimulcastIcon = (props) => /* @__PURE__ */ jsx171(
|
|
|
6800
6818
|
);
|
|
6801
6819
|
|
|
6802
6820
|
// src/components/Icon/icons/SortIcon.tsx
|
|
6803
|
-
import { jsx as
|
|
6804
|
-
var SortIcon = (props) => /* @__PURE__ */
|
|
6821
|
+
import { jsx as jsx173 } from "react/jsx-runtime";
|
|
6822
|
+
var SortIcon = (props) => /* @__PURE__ */ jsx173(
|
|
6805
6823
|
"svg",
|
|
6806
6824
|
{
|
|
6807
6825
|
...props,
|
|
6808
6826
|
viewBox: "0 0 24 24",
|
|
6809
6827
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6810
|
-
children: /* @__PURE__ */
|
|
6828
|
+
children: /* @__PURE__ */ jsx173(
|
|
6811
6829
|
"path",
|
|
6812
6830
|
{
|
|
6813
6831
|
clipRule: "evenodd",
|
|
@@ -6820,14 +6838,14 @@ var SortIcon = (props) => /* @__PURE__ */ jsx172(
|
|
|
6820
6838
|
);
|
|
6821
6839
|
|
|
6822
6840
|
// src/components/Icon/icons/SparkleIcon.tsx
|
|
6823
|
-
import { jsx as
|
|
6824
|
-
var SparkleIcon = (props) => /* @__PURE__ */
|
|
6841
|
+
import { jsx as jsx174 } from "react/jsx-runtime";
|
|
6842
|
+
var SparkleIcon = (props) => /* @__PURE__ */ jsx174(
|
|
6825
6843
|
"svg",
|
|
6826
6844
|
{
|
|
6827
6845
|
...props,
|
|
6828
6846
|
viewBox: "0 0 24 24",
|
|
6829
6847
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6830
|
-
children: /* @__PURE__ */
|
|
6848
|
+
children: /* @__PURE__ */ jsx174(
|
|
6831
6849
|
"path",
|
|
6832
6850
|
{
|
|
6833
6851
|
clipRule: "evenodd",
|
|
@@ -6840,14 +6858,14 @@ var SparkleIcon = (props) => /* @__PURE__ */ jsx173(
|
|
|
6840
6858
|
);
|
|
6841
6859
|
|
|
6842
6860
|
// src/components/Icon/icons/SpeedIcon.tsx
|
|
6843
|
-
import { jsx as
|
|
6844
|
-
var SpeedIcon = (props) => /* @__PURE__ */
|
|
6861
|
+
import { jsx as jsx175 } from "react/jsx-runtime";
|
|
6862
|
+
var SpeedIcon = (props) => /* @__PURE__ */ jsx175(
|
|
6845
6863
|
"svg",
|
|
6846
6864
|
{
|
|
6847
6865
|
...props,
|
|
6848
6866
|
viewBox: "0 0 24 24",
|
|
6849
6867
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6850
|
-
children: /* @__PURE__ */
|
|
6868
|
+
children: /* @__PURE__ */ jsx175(
|
|
6851
6869
|
"path",
|
|
6852
6870
|
{
|
|
6853
6871
|
clipRule: "evenodd",
|
|
@@ -6861,7 +6879,7 @@ var SpeedIcon = (props) => /* @__PURE__ */ jsx174(
|
|
|
6861
6879
|
|
|
6862
6880
|
// src/components/Icon/icons/SpinnerIcon.tsx
|
|
6863
6881
|
import { styled as styled3, keyframes } from "styled-components";
|
|
6864
|
-
import { jsx as
|
|
6882
|
+
import { jsx as jsx176 } from "react/jsx-runtime";
|
|
6865
6883
|
var spin = keyframes`
|
|
6866
6884
|
from {
|
|
6867
6885
|
transform: rotate(0deg);
|
|
@@ -6874,13 +6892,13 @@ var SpinnerGroup = styled3.g`
|
|
|
6874
6892
|
animation: ${spin} 1.5s linear infinite;
|
|
6875
6893
|
transform-origin: 50% 50%;
|
|
6876
6894
|
`;
|
|
6877
|
-
var SpinnerIcon = (props) => /* @__PURE__ */
|
|
6895
|
+
var SpinnerIcon = (props) => /* @__PURE__ */ jsx176(
|
|
6878
6896
|
"svg",
|
|
6879
6897
|
{
|
|
6880
6898
|
...props,
|
|
6881
6899
|
viewBox: "0 0 24 24",
|
|
6882
6900
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6883
|
-
children: /* @__PURE__ */
|
|
6901
|
+
children: /* @__PURE__ */ jsx176(SpinnerGroup, { children: /* @__PURE__ */ jsx176(
|
|
6884
6902
|
"path",
|
|
6885
6903
|
{
|
|
6886
6904
|
clipRule: "evenodd",
|
|
@@ -6893,14 +6911,14 @@ var SpinnerIcon = (props) => /* @__PURE__ */ jsx175(
|
|
|
6893
6911
|
);
|
|
6894
6912
|
|
|
6895
6913
|
// src/components/Icon/icons/StatsIcon.tsx
|
|
6896
|
-
import { jsx as
|
|
6897
|
-
var StatsIcon = (props) => /* @__PURE__ */
|
|
6914
|
+
import { jsx as jsx177 } from "react/jsx-runtime";
|
|
6915
|
+
var StatsIcon = (props) => /* @__PURE__ */ jsx177(
|
|
6898
6916
|
"svg",
|
|
6899
6917
|
{
|
|
6900
6918
|
...props,
|
|
6901
6919
|
viewBox: "0 0 24 24",
|
|
6902
6920
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6903
|
-
children: /* @__PURE__ */
|
|
6921
|
+
children: /* @__PURE__ */ jsx177(
|
|
6904
6922
|
"path",
|
|
6905
6923
|
{
|
|
6906
6924
|
clipRule: "evenodd",
|
|
@@ -6913,14 +6931,14 @@ var StatsIcon = (props) => /* @__PURE__ */ jsx176(
|
|
|
6913
6931
|
);
|
|
6914
6932
|
|
|
6915
6933
|
// src/components/Icon/icons/SwitchAccountsIcon.tsx
|
|
6916
|
-
import { jsx as
|
|
6917
|
-
var SwitchAccountsIcon = (props) => /* @__PURE__ */
|
|
6934
|
+
import { jsx as jsx178 } from "react/jsx-runtime";
|
|
6935
|
+
var SwitchAccountsIcon = (props) => /* @__PURE__ */ jsx178(
|
|
6918
6936
|
"svg",
|
|
6919
6937
|
{
|
|
6920
6938
|
...props,
|
|
6921
6939
|
viewBox: "0 0 24 24",
|
|
6922
6940
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6923
|
-
children: /* @__PURE__ */
|
|
6941
|
+
children: /* @__PURE__ */ jsx178(
|
|
6924
6942
|
"path",
|
|
6925
6943
|
{
|
|
6926
6944
|
clipRule: "evenodd",
|
|
@@ -6933,14 +6951,14 @@ var SwitchAccountsIcon = (props) => /* @__PURE__ */ jsx177(
|
|
|
6933
6951
|
);
|
|
6934
6952
|
|
|
6935
6953
|
// src/components/Icon/icons/TagIcon.tsx
|
|
6936
|
-
import { jsx as
|
|
6937
|
-
var TagIcon = (props) => /* @__PURE__ */
|
|
6954
|
+
import { jsx as jsx179 } from "react/jsx-runtime";
|
|
6955
|
+
var TagIcon = (props) => /* @__PURE__ */ jsx179(
|
|
6938
6956
|
"svg",
|
|
6939
6957
|
{
|
|
6940
6958
|
...props,
|
|
6941
6959
|
viewBox: "0 0 24 24",
|
|
6942
6960
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6943
|
-
children: /* @__PURE__ */
|
|
6961
|
+
children: /* @__PURE__ */ jsx179(
|
|
6944
6962
|
"path",
|
|
6945
6963
|
{
|
|
6946
6964
|
d: "M16.3331 1.33315H7.66641C5.64374 1.33315 3.99975 2.97714 3.99975 4.9998V21.6664C3.99975 22.0344 4.20241 22.3744 4.52775 22.5478C4.85308 22.7224 5.24775 22.7038 5.55441 22.4984L11.9997 18.2011L18.445 22.4984C18.6117 22.6091 18.8064 22.6664 18.9997 22.6664C19.1624 22.6664 19.3237 22.6278 19.4717 22.5478C19.797 22.3744 19.9997 22.0344 19.9997 21.6664V4.9998C19.9997 2.97714 18.3557 1.33315 16.3331 1.33315Z",
|
|
@@ -6951,14 +6969,14 @@ var TagIcon = (props) => /* @__PURE__ */ jsx178(
|
|
|
6951
6969
|
);
|
|
6952
6970
|
|
|
6953
6971
|
// src/components/Icon/icons/TeleprompterIcon.tsx
|
|
6954
|
-
import { jsx as
|
|
6955
|
-
var TeleprompterIcon = (props) => /* @__PURE__ */
|
|
6972
|
+
import { jsx as jsx180 } from "react/jsx-runtime";
|
|
6973
|
+
var TeleprompterIcon = (props) => /* @__PURE__ */ jsx180(
|
|
6956
6974
|
"svg",
|
|
6957
6975
|
{
|
|
6958
6976
|
...props,
|
|
6959
6977
|
viewBox: "0 0 24 24",
|
|
6960
6978
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6961
|
-
children: /* @__PURE__ */
|
|
6979
|
+
children: /* @__PURE__ */ jsx180(
|
|
6962
6980
|
"path",
|
|
6963
6981
|
{
|
|
6964
6982
|
clipRule: "evenodd",
|
|
@@ -6971,14 +6989,14 @@ var TeleprompterIcon = (props) => /* @__PURE__ */ jsx179(
|
|
|
6971
6989
|
);
|
|
6972
6990
|
|
|
6973
6991
|
// src/components/Icon/icons/TextSizeIcon.tsx
|
|
6974
|
-
import { jsx as
|
|
6975
|
-
var TextSizeIcon = (props) => /* @__PURE__ */
|
|
6992
|
+
import { jsx as jsx181 } from "react/jsx-runtime";
|
|
6993
|
+
var TextSizeIcon = (props) => /* @__PURE__ */ jsx181(
|
|
6976
6994
|
"svg",
|
|
6977
6995
|
{
|
|
6978
6996
|
...props,
|
|
6979
6997
|
viewBox: "0 0 24 24",
|
|
6980
6998
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6981
|
-
children: /* @__PURE__ */
|
|
6999
|
+
children: /* @__PURE__ */ jsx181(
|
|
6982
7000
|
"path",
|
|
6983
7001
|
{
|
|
6984
7002
|
clipRule: "evenodd",
|
|
@@ -6991,14 +7009,14 @@ var TextSizeIcon = (props) => /* @__PURE__ */ jsx180(
|
|
|
6991
7009
|
);
|
|
6992
7010
|
|
|
6993
7011
|
// src/components/Icon/icons/ThumbnailIcon.tsx
|
|
6994
|
-
import { jsx as
|
|
6995
|
-
var ThumbnailIcon = (props) => /* @__PURE__ */
|
|
7012
|
+
import { jsx as jsx182 } from "react/jsx-runtime";
|
|
7013
|
+
var ThumbnailIcon = (props) => /* @__PURE__ */ jsx182(
|
|
6996
7014
|
"svg",
|
|
6997
7015
|
{
|
|
6998
7016
|
...props,
|
|
6999
7017
|
viewBox: "0 0 24 24",
|
|
7000
7018
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7001
|
-
children: /* @__PURE__ */
|
|
7019
|
+
children: /* @__PURE__ */ jsx182(
|
|
7002
7020
|
"path",
|
|
7003
7021
|
{
|
|
7004
7022
|
clipRule: "evenodd",
|
|
@@ -7011,14 +7029,14 @@ var ThumbnailIcon = (props) => /* @__PURE__ */ jsx181(
|
|
|
7011
7029
|
);
|
|
7012
7030
|
|
|
7013
7031
|
// src/components/Icon/icons/ThumbsDownIcon.tsx
|
|
7014
|
-
import { jsx as
|
|
7015
|
-
var ThumbsDownIcon = (props) => /* @__PURE__ */
|
|
7032
|
+
import { jsx as jsx183 } from "react/jsx-runtime";
|
|
7033
|
+
var ThumbsDownIcon = (props) => /* @__PURE__ */ jsx183(
|
|
7016
7034
|
"svg",
|
|
7017
7035
|
{
|
|
7018
7036
|
...props,
|
|
7019
7037
|
viewBox: "0 0 24 24",
|
|
7020
7038
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7021
|
-
children: /* @__PURE__ */
|
|
7039
|
+
children: /* @__PURE__ */ jsx183(
|
|
7022
7040
|
"path",
|
|
7023
7041
|
{
|
|
7024
7042
|
clipRule: "evenodd",
|
|
@@ -7031,14 +7049,14 @@ var ThumbsDownIcon = (props) => /* @__PURE__ */ jsx182(
|
|
|
7031
7049
|
);
|
|
7032
7050
|
|
|
7033
7051
|
// src/components/Icon/icons/ThumbsUpIcon.tsx
|
|
7034
|
-
import { jsx as
|
|
7035
|
-
var ThumbsUpIcon = (props) => /* @__PURE__ */
|
|
7052
|
+
import { jsx as jsx184 } from "react/jsx-runtime";
|
|
7053
|
+
var ThumbsUpIcon = (props) => /* @__PURE__ */ jsx184(
|
|
7036
7054
|
"svg",
|
|
7037
7055
|
{
|
|
7038
7056
|
...props,
|
|
7039
7057
|
viewBox: "0 0 24 24",
|
|
7040
7058
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7041
|
-
children: /* @__PURE__ */
|
|
7059
|
+
children: /* @__PURE__ */ jsx184(
|
|
7042
7060
|
"path",
|
|
7043
7061
|
{
|
|
7044
7062
|
clipRule: "evenodd",
|
|
@@ -7051,14 +7069,14 @@ var ThumbsUpIcon = (props) => /* @__PURE__ */ jsx183(
|
|
|
7051
7069
|
);
|
|
7052
7070
|
|
|
7053
7071
|
// src/components/Icon/icons/TimelineVerticalIcon.tsx
|
|
7054
|
-
import { jsx as
|
|
7055
|
-
var TimelineVerticalIcon = (props) => /* @__PURE__ */
|
|
7072
|
+
import { jsx as jsx185 } from "react/jsx-runtime";
|
|
7073
|
+
var TimelineVerticalIcon = (props) => /* @__PURE__ */ jsx185(
|
|
7056
7074
|
"svg",
|
|
7057
7075
|
{
|
|
7058
7076
|
...props,
|
|
7059
7077
|
viewBox: "0 0 24 24",
|
|
7060
7078
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7061
|
-
children: /* @__PURE__ */
|
|
7079
|
+
children: /* @__PURE__ */ jsx185(
|
|
7062
7080
|
"path",
|
|
7063
7081
|
{
|
|
7064
7082
|
d: "M5 1.33301C5.55202 1.33301 5.99982 1.78102 6 2.33301V8.83691C7.34747 9.26465 8.33301 10.5129 8.33301 12C8.33301 13.4871 7.34747 14.7354 6 15.1631V21.667C5.99982 22.219 5.55202 22.667 5 22.667C4.44798 22.667 4.00018 22.219 4 21.667V15.1631C2.65253 14.7354 1.66699 13.4871 1.66699 12C1.66699 10.5129 2.65253 9.26465 4 8.83691V2.33301C4.00018 1.78102 4.44798 1.33301 5 1.33301ZM19 13.333C20.2887 13.333 21.333 14.3783 21.333 15.667V19C21.333 20.2887 20.2887 21.333 19 21.333H11.667C10.3783 21.333 9.33301 20.2887 9.33301 19V15.667C9.33301 14.3783 10.3783 13.333 11.667 13.333H19ZM5 10.667C4.26493 10.667 3.66699 11.2649 3.66699 12C3.66699 12.7351 4.26493 13.333 5 13.333C5.73507 13.333 6.33301 12.7351 6.33301 12C6.33301 11.2649 5.73507 10.667 5 10.667ZM19 2.66699C20.2887 2.66699 21.333 3.71133 21.333 5V8.33301C21.333 9.62167 20.2887 10.667 19 10.667H11.667C10.3783 10.667 9.33301 9.62167 9.33301 8.33301V5C9.33301 3.71133 10.3783 2.66699 11.667 2.66699H19Z",
|
|
@@ -7069,14 +7087,14 @@ var TimelineVerticalIcon = (props) => /* @__PURE__ */ jsx184(
|
|
|
7069
7087
|
);
|
|
7070
7088
|
|
|
7071
7089
|
// src/components/Icon/icons/TokenIcon.tsx
|
|
7072
|
-
import { jsx as
|
|
7073
|
-
var TokenIcon = (props) => /* @__PURE__ */
|
|
7090
|
+
import { jsx as jsx186 } from "react/jsx-runtime";
|
|
7091
|
+
var TokenIcon = (props) => /* @__PURE__ */ jsx186(
|
|
7074
7092
|
"svg",
|
|
7075
7093
|
{
|
|
7076
7094
|
...props,
|
|
7077
7095
|
viewBox: "0 0 24 24",
|
|
7078
7096
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7079
|
-
children: /* @__PURE__ */
|
|
7097
|
+
children: /* @__PURE__ */ jsx186(
|
|
7080
7098
|
"path",
|
|
7081
7099
|
{
|
|
7082
7100
|
d: "M6.38086 19.0273C7.92121 20.2612 9.87483 21.001 12.002 21.001C14.1268 21.0009 16.0776 20.2618 17.6172 19.0303L19.04 20.4531C17.1326 22.0432 14.6794 23.0009 12.002 23.001C9.3223 23.001 6.86712 22.0416 4.95898 20.4492L6.38086 19.0273ZM20.4502 4.95801C22.0426 6.86614 23.0019 9.32133 23.002 12.001C23.0019 14.6784 22.0442 17.1316 20.4541 19.0391L19.0312 17.6162C20.2627 16.0766 21.0019 14.1258 21.002 12.001C21.0019 9.87386 20.2621 7.92025 19.0283 6.37988L20.4502 4.95801ZM4.9707 6.38379C3.7391 7.92345 3.00196 9.87597 3.00195 12.001C3.002 14.1237 3.73848 16.0734 4.96777 17.6123L3.54492 19.0352C1.95713 17.1284 1.002 14.6763 1.00195 12.001C1.00196 9.32345 1.9587 6.86941 3.54883 4.96191L4.9707 6.38379ZM12 5C15.866 5 19 8.13401 19 12C19 15.866 15.866 19 12 19C8.13401 19 5 15.866 5 12C5 8.13401 8.13401 5 12 5ZM9 12L12 15L15 12L12 9L9 12ZM12.002 1.00098C14.6773 1.00102 17.1293 1.95613 19.0361 3.54395L17.6133 4.9668C16.0744 3.7375 14.1246 3.00102 12.002 3.00098C9.87718 3.00099 7.92531 3.73839 6.38574 4.96973L4.96289 3.54785C6.87038 1.95772 9.32439 1.00099 12.002 1.00098Z",
|
|
@@ -7087,14 +7105,14 @@ var TokenIcon = (props) => /* @__PURE__ */ jsx185(
|
|
|
7087
7105
|
);
|
|
7088
7106
|
|
|
7089
7107
|
// src/components/Icon/icons/TranscriptIcon.tsx
|
|
7090
|
-
import { jsx as
|
|
7091
|
-
var TranscriptIcon = (props) => /* @__PURE__ */
|
|
7108
|
+
import { jsx as jsx187 } from "react/jsx-runtime";
|
|
7109
|
+
var TranscriptIcon = (props) => /* @__PURE__ */ jsx187(
|
|
7092
7110
|
"svg",
|
|
7093
7111
|
{
|
|
7094
7112
|
...props,
|
|
7095
7113
|
viewBox: "0 0 24 24",
|
|
7096
7114
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7097
|
-
children: /* @__PURE__ */
|
|
7115
|
+
children: /* @__PURE__ */ jsx187(
|
|
7098
7116
|
"path",
|
|
7099
7117
|
{
|
|
7100
7118
|
d: "M19.4132 7.98019L14.9401 3.57694C14.5618 3.20457 14.0601 2.99982 13.5264 2.99982H7.14237C5.40865 2.99982 3.99951 4.38694 3.99951 6.09357V17.9061C3.99951 19.6127 5.40865 20.9998 7.14237 20.9998H16.8567C18.5904 20.9998 19.9995 19.6127 19.9995 17.9061V9.37182C19.9995 8.84644 19.7915 8.35144 19.4132 7.98019ZM8.28523 8.62482H10.5709C11.0441 8.62482 11.4281 9.00282 11.4281 9.46857C11.4281 9.93432 11.0441 10.3123 10.5709 10.3123H8.28523C7.81208 10.3123 7.42808 9.93432 7.42808 9.46857C7.42808 9.00282 7.81208 8.62482 8.28523 8.62482ZM15.7138 17.0623H8.28523C7.81208 17.0623 7.42808 16.6843 7.42808 16.2186C7.42808 15.7528 7.81208 15.3748 8.28523 15.3748H15.7138C16.1869 15.3748 16.5709 15.7528 16.5709 16.2186C16.5709 16.6843 16.1869 17.0623 15.7138 17.0623ZM15.7138 13.6873H8.28523C7.81208 13.6873 7.42808 13.3093 7.42808 12.8436C7.42808 12.3778 7.81208 11.9998 8.28523 11.9998H15.7138C16.1869 11.9998 16.5709 12.3778 16.5709 12.8436C16.5709 13.3093 16.1869 13.6873 15.7138 13.6873ZM18.2075 9.18732H14.8567C14.2281 9.18732 13.7138 8.68107 13.7138 8.06232V4.77619L13.7287 4.77057L18.2109 9.18169L18.2075 9.18732Z",
|
|
@@ -7105,14 +7123,14 @@ var TranscriptIcon = (props) => /* @__PURE__ */ jsx186(
|
|
|
7105
7123
|
);
|
|
7106
7124
|
|
|
7107
7125
|
// src/components/Icon/icons/TransitionsIcon.tsx
|
|
7108
|
-
import { jsx as
|
|
7109
|
-
var TransitionsIcon = (props) => /* @__PURE__ */
|
|
7126
|
+
import { jsx as jsx188 } from "react/jsx-runtime";
|
|
7127
|
+
var TransitionsIcon = (props) => /* @__PURE__ */ jsx188(
|
|
7110
7128
|
"svg",
|
|
7111
7129
|
{
|
|
7112
7130
|
...props,
|
|
7113
7131
|
viewBox: "0 0 24 24",
|
|
7114
7132
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7115
|
-
children: /* @__PURE__ */
|
|
7133
|
+
children: /* @__PURE__ */ jsx188(
|
|
7116
7134
|
"path",
|
|
7117
7135
|
{
|
|
7118
7136
|
clipRule: "evenodd",
|
|
@@ -7125,14 +7143,14 @@ var TransitionsIcon = (props) => /* @__PURE__ */ jsx187(
|
|
|
7125
7143
|
);
|
|
7126
7144
|
|
|
7127
7145
|
// src/components/Icon/icons/TransparencyIcon.tsx
|
|
7128
|
-
import { jsx as
|
|
7129
|
-
var TransparencyIcon = (props) => /* @__PURE__ */
|
|
7146
|
+
import { jsx as jsx189 } from "react/jsx-runtime";
|
|
7147
|
+
var TransparencyIcon = (props) => /* @__PURE__ */ jsx189(
|
|
7130
7148
|
"svg",
|
|
7131
7149
|
{
|
|
7132
7150
|
...props,
|
|
7133
7151
|
viewBox: "0 0 24 24",
|
|
7134
7152
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7135
|
-
children: /* @__PURE__ */
|
|
7153
|
+
children: /* @__PURE__ */ jsx189(
|
|
7136
7154
|
"path",
|
|
7137
7155
|
{
|
|
7138
7156
|
clipRule: "evenodd",
|
|
@@ -7145,14 +7163,14 @@ var TransparencyIcon = (props) => /* @__PURE__ */ jsx188(
|
|
|
7145
7163
|
);
|
|
7146
7164
|
|
|
7147
7165
|
// src/components/Icon/icons/TrendsIcon.tsx
|
|
7148
|
-
import { jsx as
|
|
7149
|
-
var TrendsIcon = (props) => /* @__PURE__ */
|
|
7166
|
+
import { jsx as jsx190 } from "react/jsx-runtime";
|
|
7167
|
+
var TrendsIcon = (props) => /* @__PURE__ */ jsx190(
|
|
7150
7168
|
"svg",
|
|
7151
7169
|
{
|
|
7152
7170
|
...props,
|
|
7153
7171
|
viewBox: "0 0 24 24",
|
|
7154
7172
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7155
|
-
children: /* @__PURE__ */
|
|
7173
|
+
children: /* @__PURE__ */ jsx190(
|
|
7156
7174
|
"path",
|
|
7157
7175
|
{
|
|
7158
7176
|
clipRule: "evenodd",
|
|
@@ -7165,14 +7183,14 @@ var TrendsIcon = (props) => /* @__PURE__ */ jsx189(
|
|
|
7165
7183
|
);
|
|
7166
7184
|
|
|
7167
7185
|
// src/components/Icon/icons/TrialUnlockClockIcon.tsx
|
|
7168
|
-
import { jsx as
|
|
7169
|
-
var TrialUnlockClockIcon = (props) => /* @__PURE__ */
|
|
7186
|
+
import { jsx as jsx191 } from "react/jsx-runtime";
|
|
7187
|
+
var TrialUnlockClockIcon = (props) => /* @__PURE__ */ jsx191(
|
|
7170
7188
|
"svg",
|
|
7171
7189
|
{
|
|
7172
7190
|
...props,
|
|
7173
7191
|
viewBox: "0 0 24 24",
|
|
7174
7192
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7175
|
-
children: /* @__PURE__ */
|
|
7193
|
+
children: /* @__PURE__ */ jsx191(
|
|
7176
7194
|
"path",
|
|
7177
7195
|
{
|
|
7178
7196
|
clipRule: "evenodd",
|
|
@@ -7185,14 +7203,14 @@ var TrialUnlockClockIcon = (props) => /* @__PURE__ */ jsx190(
|
|
|
7185
7203
|
);
|
|
7186
7204
|
|
|
7187
7205
|
// src/components/Icon/icons/TrimIcon.tsx
|
|
7188
|
-
import { jsx as
|
|
7189
|
-
var TrimIcon = (props) => /* @__PURE__ */
|
|
7206
|
+
import { jsx as jsx192 } from "react/jsx-runtime";
|
|
7207
|
+
var TrimIcon = (props) => /* @__PURE__ */ jsx192(
|
|
7190
7208
|
"svg",
|
|
7191
7209
|
{
|
|
7192
7210
|
...props,
|
|
7193
7211
|
viewBox: "0 0 24 24",
|
|
7194
7212
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7195
|
-
children: /* @__PURE__ */
|
|
7213
|
+
children: /* @__PURE__ */ jsx192(
|
|
7196
7214
|
"path",
|
|
7197
7215
|
{
|
|
7198
7216
|
clipRule: "evenodd",
|
|
@@ -7205,14 +7223,14 @@ var TrimIcon = (props) => /* @__PURE__ */ jsx191(
|
|
|
7205
7223
|
);
|
|
7206
7224
|
|
|
7207
7225
|
// src/components/Icon/icons/TurnstileIcon.tsx
|
|
7208
|
-
import { jsx as
|
|
7209
|
-
var TurnstileIcon = (props) => /* @__PURE__ */
|
|
7226
|
+
import { jsx as jsx193 } from "react/jsx-runtime";
|
|
7227
|
+
var TurnstileIcon = (props) => /* @__PURE__ */ jsx193(
|
|
7210
7228
|
"svg",
|
|
7211
7229
|
{
|
|
7212
7230
|
...props,
|
|
7213
7231
|
viewBox: "0 0 24 24",
|
|
7214
7232
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7215
|
-
children: /* @__PURE__ */
|
|
7233
|
+
children: /* @__PURE__ */ jsx193(
|
|
7216
7234
|
"path",
|
|
7217
7235
|
{
|
|
7218
7236
|
clipRule: "evenodd",
|
|
@@ -7225,14 +7243,14 @@ var TurnstileIcon = (props) => /* @__PURE__ */ jsx192(
|
|
|
7225
7243
|
);
|
|
7226
7244
|
|
|
7227
7245
|
// src/components/Icon/icons/UndoIcon.tsx
|
|
7228
|
-
import { jsx as
|
|
7229
|
-
var UndoIcon = (props) => /* @__PURE__ */
|
|
7246
|
+
import { jsx as jsx194 } from "react/jsx-runtime";
|
|
7247
|
+
var UndoIcon = (props) => /* @__PURE__ */ jsx194(
|
|
7230
7248
|
"svg",
|
|
7231
7249
|
{
|
|
7232
7250
|
...props,
|
|
7233
7251
|
viewBox: "0 0 24 24",
|
|
7234
7252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7235
|
-
children: /* @__PURE__ */
|
|
7253
|
+
children: /* @__PURE__ */ jsx194(
|
|
7236
7254
|
"path",
|
|
7237
7255
|
{
|
|
7238
7256
|
clipRule: "evenodd",
|
|
@@ -7245,14 +7263,14 @@ var UndoIcon = (props) => /* @__PURE__ */ jsx193(
|
|
|
7245
7263
|
);
|
|
7246
7264
|
|
|
7247
7265
|
// src/components/Icon/icons/UnlockIcon.tsx
|
|
7248
|
-
import { jsx as
|
|
7249
|
-
var UnlockIcon = (props) => /* @__PURE__ */
|
|
7266
|
+
import { jsx as jsx195 } from "react/jsx-runtime";
|
|
7267
|
+
var UnlockIcon = (props) => /* @__PURE__ */ jsx195(
|
|
7250
7268
|
"svg",
|
|
7251
7269
|
{
|
|
7252
7270
|
...props,
|
|
7253
7271
|
viewBox: "0 0 24 24",
|
|
7254
7272
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7255
|
-
children: /* @__PURE__ */
|
|
7273
|
+
children: /* @__PURE__ */ jsx195(
|
|
7256
7274
|
"path",
|
|
7257
7275
|
{
|
|
7258
7276
|
clipRule: "evenodd",
|
|
@@ -7265,14 +7283,14 @@ var UnlockIcon = (props) => /* @__PURE__ */ jsx194(
|
|
|
7265
7283
|
);
|
|
7266
7284
|
|
|
7267
7285
|
// src/components/Icon/icons/UploadIcon.tsx
|
|
7268
|
-
import { jsx as
|
|
7269
|
-
var UploadIcon = (props) => /* @__PURE__ */
|
|
7286
|
+
import { jsx as jsx196 } from "react/jsx-runtime";
|
|
7287
|
+
var UploadIcon = (props) => /* @__PURE__ */ jsx196(
|
|
7270
7288
|
"svg",
|
|
7271
7289
|
{
|
|
7272
7290
|
...props,
|
|
7273
7291
|
viewBox: "0 0 24 24",
|
|
7274
7292
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7275
|
-
children: /* @__PURE__ */
|
|
7293
|
+
children: /* @__PURE__ */ jsx196(
|
|
7276
7294
|
"path",
|
|
7277
7295
|
{
|
|
7278
7296
|
clipRule: "evenodd",
|
|
@@ -7285,14 +7303,14 @@ var UploadIcon = (props) => /* @__PURE__ */ jsx195(
|
|
|
7285
7303
|
);
|
|
7286
7304
|
|
|
7287
7305
|
// src/components/Icon/icons/UsersPermissionsIcon.tsx
|
|
7288
|
-
import { jsx as
|
|
7289
|
-
var UsersPermissionsIcon = (props) => /* @__PURE__ */
|
|
7306
|
+
import { jsx as jsx197 } from "react/jsx-runtime";
|
|
7307
|
+
var UsersPermissionsIcon = (props) => /* @__PURE__ */ jsx197(
|
|
7290
7308
|
"svg",
|
|
7291
7309
|
{
|
|
7292
7310
|
...props,
|
|
7293
7311
|
viewBox: "0 0 24 24",
|
|
7294
7312
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7295
|
-
children: /* @__PURE__ */
|
|
7313
|
+
children: /* @__PURE__ */ jsx197(
|
|
7296
7314
|
"path",
|
|
7297
7315
|
{
|
|
7298
7316
|
clipRule: "evenodd",
|
|
@@ -7305,14 +7323,14 @@ var UsersPermissionsIcon = (props) => /* @__PURE__ */ jsx196(
|
|
|
7305
7323
|
);
|
|
7306
7324
|
|
|
7307
7325
|
// src/components/Icon/icons/ViewStreamIcon.tsx
|
|
7308
|
-
import { jsx as
|
|
7309
|
-
var ViewStreamIcon = (props) => /* @__PURE__ */
|
|
7326
|
+
import { jsx as jsx198 } from "react/jsx-runtime";
|
|
7327
|
+
var ViewStreamIcon = (props) => /* @__PURE__ */ jsx198(
|
|
7310
7328
|
"svg",
|
|
7311
7329
|
{
|
|
7312
7330
|
...props,
|
|
7313
7331
|
viewBox: "0 0 24 24",
|
|
7314
7332
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7315
|
-
children: /* @__PURE__ */
|
|
7333
|
+
children: /* @__PURE__ */ jsx198(
|
|
7316
7334
|
"path",
|
|
7317
7335
|
{
|
|
7318
7336
|
clipRule: "evenodd",
|
|
@@ -7325,14 +7343,14 @@ var ViewStreamIcon = (props) => /* @__PURE__ */ jsx197(
|
|
|
7325
7343
|
);
|
|
7326
7344
|
|
|
7327
7345
|
// src/components/Icon/icons/VolumeIcon.tsx
|
|
7328
|
-
import { jsx as
|
|
7329
|
-
var VolumeIcon = (props) => /* @__PURE__ */
|
|
7346
|
+
import { jsx as jsx199 } from "react/jsx-runtime";
|
|
7347
|
+
var VolumeIcon = (props) => /* @__PURE__ */ jsx199(
|
|
7330
7348
|
"svg",
|
|
7331
7349
|
{
|
|
7332
7350
|
...props,
|
|
7333
7351
|
viewBox: "0 0 24 24",
|
|
7334
7352
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7335
|
-
children: /* @__PURE__ */
|
|
7353
|
+
children: /* @__PURE__ */ jsx199(
|
|
7336
7354
|
"path",
|
|
7337
7355
|
{
|
|
7338
7356
|
d: "M19.133 2.08909C18.5996 1.79709 17.9476 1.81843 17.4356 2.14776L10.3756 6.66643H5.66763C4.01297 6.66643 2.66763 8.01176 2.66763 9.66643V14.3331C2.66763 15.9878 4.01297 17.3331 5.66763 17.3331H10.3756L17.4356 21.8518C17.709 22.0264 18.021 22.1158 18.3356 22.1158C18.6103 22.1158 18.885 22.0478 19.1343 21.9118C19.669 21.6198 20.001 21.0584 20.001 20.4491V3.55176C20.001 2.94243 19.6676 2.38243 19.133 2.08909Z",
|
|
@@ -7343,14 +7361,14 @@ var VolumeIcon = (props) => /* @__PURE__ */ jsx198(
|
|
|
7343
7361
|
);
|
|
7344
7362
|
|
|
7345
7363
|
// src/components/Icon/icons/VolumeOffIcon.tsx
|
|
7346
|
-
import { jsx as
|
|
7347
|
-
var VolumeOffIcon = (props) => /* @__PURE__ */
|
|
7364
|
+
import { jsx as jsx200 } from "react/jsx-runtime";
|
|
7365
|
+
var VolumeOffIcon = (props) => /* @__PURE__ */ jsx200(
|
|
7348
7366
|
"svg",
|
|
7349
7367
|
{
|
|
7350
7368
|
...props,
|
|
7351
7369
|
viewBox: "0 0 24 24",
|
|
7352
7370
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7353
|
-
children: /* @__PURE__ */
|
|
7371
|
+
children: /* @__PURE__ */ jsx200(
|
|
7354
7372
|
"path",
|
|
7355
7373
|
{
|
|
7356
7374
|
clipRule: "evenodd",
|
|
@@ -7363,14 +7381,14 @@ var VolumeOffIcon = (props) => /* @__PURE__ */ jsx199(
|
|
|
7363
7381
|
);
|
|
7364
7382
|
|
|
7365
7383
|
// src/components/Icon/icons/VolumeUpIcon.tsx
|
|
7366
|
-
import { jsx as
|
|
7367
|
-
var VolumeUpIcon = (props) => /* @__PURE__ */
|
|
7384
|
+
import { jsx as jsx201 } from "react/jsx-runtime";
|
|
7385
|
+
var VolumeUpIcon = (props) => /* @__PURE__ */ jsx201(
|
|
7368
7386
|
"svg",
|
|
7369
7387
|
{
|
|
7370
7388
|
...props,
|
|
7371
7389
|
viewBox: "0 0 24 24",
|
|
7372
7390
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7373
|
-
children: /* @__PURE__ */
|
|
7391
|
+
children: /* @__PURE__ */ jsx201(
|
|
7374
7392
|
"path",
|
|
7375
7393
|
{
|
|
7376
7394
|
clipRule: "evenodd",
|
|
@@ -7383,14 +7401,14 @@ var VolumeUpIcon = (props) => /* @__PURE__ */ jsx200(
|
|
|
7383
7401
|
);
|
|
7384
7402
|
|
|
7385
7403
|
// src/components/Icon/icons/VolumeXIcon.tsx
|
|
7386
|
-
import { jsx as
|
|
7387
|
-
var VolumeXIcon = (props) => /* @__PURE__ */
|
|
7404
|
+
import { jsx as jsx202 } from "react/jsx-runtime";
|
|
7405
|
+
var VolumeXIcon = (props) => /* @__PURE__ */ jsx202(
|
|
7388
7406
|
"svg",
|
|
7389
7407
|
{
|
|
7390
7408
|
...props,
|
|
7391
7409
|
viewBox: "0 0 24 24",
|
|
7392
7410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7393
|
-
children: /* @__PURE__ */
|
|
7411
|
+
children: /* @__PURE__ */ jsx202(
|
|
7394
7412
|
"path",
|
|
7395
7413
|
{
|
|
7396
7414
|
clipRule: "evenodd",
|
|
@@ -7403,14 +7421,14 @@ var VolumeXIcon = (props) => /* @__PURE__ */ jsx201(
|
|
|
7403
7421
|
);
|
|
7404
7422
|
|
|
7405
7423
|
// src/components/Icon/icons/WandIcon.tsx
|
|
7406
|
-
import { jsx as
|
|
7407
|
-
var WandIcon = (props) => /* @__PURE__ */
|
|
7424
|
+
import { jsx as jsx203 } from "react/jsx-runtime";
|
|
7425
|
+
var WandIcon = (props) => /* @__PURE__ */ jsx203(
|
|
7408
7426
|
"svg",
|
|
7409
7427
|
{
|
|
7410
7428
|
...props,
|
|
7411
7429
|
viewBox: "0 0 24 24",
|
|
7412
7430
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7413
|
-
children: /* @__PURE__ */
|
|
7431
|
+
children: /* @__PURE__ */ jsx203(
|
|
7414
7432
|
"path",
|
|
7415
7433
|
{
|
|
7416
7434
|
clipRule: "evenodd",
|
|
@@ -7423,14 +7441,14 @@ var WandIcon = (props) => /* @__PURE__ */ jsx202(
|
|
|
7423
7441
|
);
|
|
7424
7442
|
|
|
7425
7443
|
// src/components/Icon/icons/WaveformIcon.tsx
|
|
7426
|
-
import { jsx as
|
|
7427
|
-
var WaveformIcon = (props) => /* @__PURE__ */
|
|
7444
|
+
import { jsx as jsx204 } from "react/jsx-runtime";
|
|
7445
|
+
var WaveformIcon = (props) => /* @__PURE__ */ jsx204(
|
|
7428
7446
|
"svg",
|
|
7429
7447
|
{
|
|
7430
7448
|
...props,
|
|
7431
7449
|
viewBox: "0 0 24 24",
|
|
7432
7450
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7433
|
-
children: /* @__PURE__ */
|
|
7451
|
+
children: /* @__PURE__ */ jsx204(
|
|
7434
7452
|
"path",
|
|
7435
7453
|
{
|
|
7436
7454
|
clipRule: "evenodd",
|
|
@@ -7443,14 +7461,14 @@ var WaveformIcon = (props) => /* @__PURE__ */ jsx203(
|
|
|
7443
7461
|
);
|
|
7444
7462
|
|
|
7445
7463
|
// src/components/Icon/icons/WebhookIcon.tsx
|
|
7446
|
-
import { jsx as
|
|
7447
|
-
var WebhookIcon = (props) => /* @__PURE__ */
|
|
7464
|
+
import { jsx as jsx205 } from "react/jsx-runtime";
|
|
7465
|
+
var WebhookIcon = (props) => /* @__PURE__ */ jsx205(
|
|
7448
7466
|
"svg",
|
|
7449
7467
|
{
|
|
7450
7468
|
...props,
|
|
7451
7469
|
viewBox: "0 0 24 24",
|
|
7452
7470
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7453
|
-
children: /* @__PURE__ */
|
|
7471
|
+
children: /* @__PURE__ */ jsx205(
|
|
7454
7472
|
"path",
|
|
7455
7473
|
{
|
|
7456
7474
|
d: "M2.92116 13.1937C3.41849 12.955 4.01648 13.1638 4.25515 13.6624C4.49381 14.1597 4.28409 14.7577 3.78542 14.9964C3.71348 15.0297 3.64411 15.0668 3.57351 15.1068C2.14151 15.9334 1.64821 17.772 2.47487 19.2054C3.3029 20.6373 5.14289 21.1296 6.57351 20.303C7.50814 19.7631 8.0828 18.7574 8.07351 17.6761C8.07084 17.4081 8.17457 17.1516 8.36257 16.9622C8.55055 16.773 8.80692 16.6663 9.07351 16.6663H17.6663C17.7969 16.4917 17.9643 16.3409 18.1643 16.2249C18.9616 15.7652 19.9817 16.039 20.4417 16.8362L20.4426 16.8343C20.9026 17.6315 20.6293 18.6515 19.8323 19.1116C19.1016 19.5343 18.2031 19.317 17.7005 18.6663H9.97976C9.70243 20.0663 8.83482 21.3055 7.57351 22.0335C6.78817 22.4868 5.92932 22.7025 5.08132 22.7025C3.35207 22.7024 1.66781 21.8069 0.742451 20.2044C-0.636164 17.8165 0.185358 14.7524 2.57448 13.3763C2.68906 13.3097 2.80525 13.2496 2.92116 13.1937ZM12.0003 3.96124C12.9201 3.96138 13.6663 4.70832 13.6663 5.62823C13.6662 5.86137 13.6177 6.08134 13.5325 6.28253L17.3733 12.9359C18.724 12.4745 20.2321 12.6082 21.4934 13.3362C22.6507 14.0042 23.4792 15.0818 23.8245 16.3724L23.8225 16.3694C24.1678 17.6601 23.9905 19.0071 23.3225 20.1644C22.3985 21.7655 20.7129 22.6624 18.9837 22.6624C18.1358 22.6624 17.2787 22.4477 16.4934 21.9944C16.3775 21.9265 16.2651 21.8578 16.1585 21.7845C15.7038 21.4712 15.5906 20.8475 15.9026 20.3929C16.2146 19.9385 16.8387 19.8239 17.2932 20.137C17.3571 20.1823 17.4252 20.225 17.4944 20.265C18.9237 21.089 20.7644 20.5987 21.5911 19.1653C21.9923 18.4707 22.0989 17.6626 21.8909 16.888C21.6842 16.1147 21.1881 15.468 20.4934 15.0667C19.5575 14.5254 18.3977 14.5309 17.4671 15.0814C17.2377 15.216 16.964 15.2548 16.7053 15.1868C16.4481 15.1188 16.2283 14.9506 16.095 14.72L11.7825 7.25031C10.9693 7.13956 10.3334 6.47205 10.3333 5.62823C10.3333 4.70823 11.0803 3.96124 12.0003 3.96124ZM11.9983 0.630188C14.7555 0.630188 16.9981 2.87306 16.9983 5.63019C16.9983 5.76352 16.9934 5.89601 16.9827 6.02667C16.9387 6.57859 16.4548 6.98524 15.9055 6.94269C15.3549 6.89736 14.9443 6.41612 14.9895 5.86554C14.9962 5.78821 14.9983 5.70885 14.9983 5.63019C14.9981 3.97573 13.6528 2.63019 11.9983 2.63019C10.344 2.63039 8.99856 3.97585 8.99831 5.63019C8.99831 6.70874 9.58254 7.71045 10.5237 8.24249C10.7557 8.37449 10.9257 8.59356 10.9964 8.85089C11.0669 9.10813 11.031 9.38301 10.8977 9.61359L6.6028 17.0521C6.68944 17.252 6.73757 17.4734 6.73757 17.7054C6.73753 18.6254 5.99055 19.3724 5.07058 19.3724C4.15065 19.3723 3.40362 18.6253 3.40358 17.7054C3.40358 16.8627 4.04178 16.193 4.85378 16.0823L8.71315 9.39777C7.63849 8.45777 7.00026 7.08521 7.00026 5.62921C7.00032 2.87192 9.24296 0.629211 12.0003 0.629211L11.9983 0.630188Z",
|
|
@@ -7461,14 +7479,14 @@ var WebhookIcon = (props) => /* @__PURE__ */ jsx204(
|
|
|
7461
7479
|
);
|
|
7462
7480
|
|
|
7463
7481
|
// src/components/Icon/icons/ZoomInIcon.tsx
|
|
7464
|
-
import { jsx as
|
|
7465
|
-
var ZoomInIcon = (props) => /* @__PURE__ */
|
|
7482
|
+
import { jsx as jsx206 } from "react/jsx-runtime";
|
|
7483
|
+
var ZoomInIcon = (props) => /* @__PURE__ */ jsx206(
|
|
7466
7484
|
"svg",
|
|
7467
7485
|
{
|
|
7468
7486
|
...props,
|
|
7469
7487
|
viewBox: "0 0 24 24",
|
|
7470
7488
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7471
|
-
children: /* @__PURE__ */
|
|
7489
|
+
children: /* @__PURE__ */ jsx206(
|
|
7472
7490
|
"path",
|
|
7473
7491
|
{
|
|
7474
7492
|
clipRule: "evenodd",
|
|
@@ -7481,14 +7499,14 @@ var ZoomInIcon = (props) => /* @__PURE__ */ jsx205(
|
|
|
7481
7499
|
);
|
|
7482
7500
|
|
|
7483
7501
|
// src/components/Icon/icons/ZoomOutIcon.tsx
|
|
7484
|
-
import { jsx as
|
|
7485
|
-
var ZoomOutIcon = (props) => /* @__PURE__ */
|
|
7502
|
+
import { jsx as jsx207 } from "react/jsx-runtime";
|
|
7503
|
+
var ZoomOutIcon = (props) => /* @__PURE__ */ jsx207(
|
|
7486
7504
|
"svg",
|
|
7487
7505
|
{
|
|
7488
7506
|
...props,
|
|
7489
7507
|
viewBox: "0 0 24 24",
|
|
7490
7508
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7491
|
-
children: /* @__PURE__ */
|
|
7509
|
+
children: /* @__PURE__ */ jsx207(
|
|
7492
7510
|
"path",
|
|
7493
7511
|
{
|
|
7494
7512
|
clipRule: "evenodd",
|
|
@@ -7651,6 +7669,7 @@ var iconMap = {
|
|
|
7651
7669
|
"record-group": RecordGroupIcon,
|
|
7652
7670
|
redo: RedoIcon,
|
|
7653
7671
|
refresh: RefreshIcon,
|
|
7672
|
+
remix: RemixIcon,
|
|
7654
7673
|
replace: ReplaceIcon,
|
|
7655
7674
|
reply: ReplyIcon,
|
|
7656
7675
|
"request-video": RequestVideoIcon,
|
|
@@ -7722,7 +7741,7 @@ var useResponsiveProp = (values) => {
|
|
|
7722
7741
|
};
|
|
7723
7742
|
|
|
7724
7743
|
// src/components/Icon/Icon.tsx
|
|
7725
|
-
import { jsx as
|
|
7744
|
+
import { jsx as jsx208 } from "react/jsx-runtime";
|
|
7726
7745
|
var iconSizeMap = {
|
|
7727
7746
|
sm: "12",
|
|
7728
7747
|
md: "16",
|
|
@@ -7776,7 +7795,7 @@ var Icon = ({
|
|
|
7776
7795
|
...style
|
|
7777
7796
|
};
|
|
7778
7797
|
const iconColor = invertColor ? "var(--wui-color-icon-on-fill)" : "var(--wui-color-icon)";
|
|
7779
|
-
return /* @__PURE__ */
|
|
7798
|
+
return /* @__PURE__ */ jsx208(
|
|
7780
7799
|
StyledIcon,
|
|
7781
7800
|
{
|
|
7782
7801
|
$colorScheme: colorScheme,
|
|
@@ -7801,7 +7820,7 @@ import { forwardRef } from "react";
|
|
|
7801
7820
|
import { styled as styled5 } from "styled-components";
|
|
7802
7821
|
import { Link as RouterLink, useInRouterContext } from "react-router";
|
|
7803
7822
|
import { isFunction as isFunction2, isNil as isNil6, isNotNil as isNotNil5, isNotUndefined as isNotUndefined3, isUndefined as isUndefined2 } from "@wistia/type-guards";
|
|
7804
|
-
import { jsx as
|
|
7823
|
+
import { jsx as jsx209, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
7805
7824
|
var generateHref = (href, type, disabled) => {
|
|
7806
7825
|
if (disabled || isNil6(href)) {
|
|
7807
7826
|
return void 0;
|
|
@@ -7895,7 +7914,7 @@ var Link = forwardRef(
|
|
|
7895
7914
|
"aria-disabled": ariaDisabled ?? (disabled ? "true" : void 0)
|
|
7896
7915
|
};
|
|
7897
7916
|
if (isButton(props)) {
|
|
7898
|
-
return /* @__PURE__ */
|
|
7917
|
+
return /* @__PURE__ */ jsx209(
|
|
7899
7918
|
StyledLink,
|
|
7900
7919
|
{
|
|
7901
7920
|
ref,
|
|
@@ -7944,7 +7963,7 @@ var Link = forwardRef(
|
|
|
7944
7963
|
Link.displayName = "Link_UI";
|
|
7945
7964
|
|
|
7946
7965
|
// src/components/Button/Button.tsx
|
|
7947
|
-
import { Fragment as Fragment2, jsx as
|
|
7966
|
+
import { Fragment as Fragment2, jsx as jsx210, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
7948
7967
|
var isLink2 = (props) => isNotUndefined4(props.href);
|
|
7949
7968
|
var StyledButton = styled6.button`
|
|
7950
7969
|
${buttonResetCss}
|
|
@@ -7982,7 +8001,7 @@ var ButtonContent = ({
|
|
|
7982
8001
|
fullWidth = false
|
|
7983
8002
|
}) => {
|
|
7984
8003
|
return /* @__PURE__ */ jsxs10(Fragment2, { children: [
|
|
7985
|
-
isLoading ? /* @__PURE__ */
|
|
8004
|
+
isLoading ? /* @__PURE__ */ jsx210(StyledButtonLoading, { children: /* @__PURE__ */ jsx210(Icon, { type: "spinner" }) }) : null,
|
|
7986
8005
|
/* @__PURE__ */ jsxs10(
|
|
7987
8006
|
StyledButtonContent,
|
|
7988
8007
|
{
|
|
@@ -7991,7 +8010,7 @@ var ButtonContent = ({
|
|
|
7991
8010
|
$isLoading: isLoading,
|
|
7992
8011
|
children: [
|
|
7993
8012
|
leftIcon ?? null,
|
|
7994
|
-
/* @__PURE__ */
|
|
8013
|
+
/* @__PURE__ */ jsx210(StyledButtonContentLabel, { $fullWidth: fullWidth, children }),
|
|
7995
8014
|
rightIcon ?? null
|
|
7996
8015
|
]
|
|
7997
8016
|
}
|
|
@@ -8031,7 +8050,7 @@ var Button = forwardRef2(
|
|
|
8031
8050
|
commonProps.className = `${className ?? ""} force-state-${forceState}`;
|
|
8032
8051
|
}
|
|
8033
8052
|
if (isLink2(props)) {
|
|
8034
|
-
return /* @__PURE__ */
|
|
8053
|
+
return /* @__PURE__ */ jsx210(
|
|
8035
8054
|
StyledButton,
|
|
8036
8055
|
{
|
|
8037
8056
|
ref,
|
|
@@ -8039,7 +8058,7 @@ var Button = forwardRef2(
|
|
|
8039
8058
|
disabled: isAriaDisabled(),
|
|
8040
8059
|
...props,
|
|
8041
8060
|
...commonProps,
|
|
8042
|
-
children: unstyled ? children : /* @__PURE__ */
|
|
8061
|
+
children: unstyled ? children : /* @__PURE__ */ jsx210(
|
|
8043
8062
|
ButtonContent,
|
|
8044
8063
|
{
|
|
8045
8064
|
fullWidth: responsiveFullWidth,
|
|
@@ -8061,7 +8080,7 @@ var Button = forwardRef2(
|
|
|
8061
8080
|
onClick(event);
|
|
8062
8081
|
}
|
|
8063
8082
|
};
|
|
8064
|
-
return /* @__PURE__ */
|
|
8083
|
+
return /* @__PURE__ */ jsx210(
|
|
8065
8084
|
StyledButton,
|
|
8066
8085
|
{
|
|
8067
8086
|
ref,
|
|
@@ -8070,7 +8089,7 @@ var Button = forwardRef2(
|
|
|
8070
8089
|
...props,
|
|
8071
8090
|
...commonProps,
|
|
8072
8091
|
"data-wui-button": true,
|
|
8073
|
-
children: unstyled ? children : /* @__PURE__ */
|
|
8092
|
+
children: unstyled ? children : /* @__PURE__ */ jsx210(
|
|
8074
8093
|
ButtonContent,
|
|
8075
8094
|
{
|
|
8076
8095
|
fullWidth: responsiveFullWidth,
|
|
@@ -8087,7 +8106,7 @@ var Button = forwardRef2(
|
|
|
8087
8106
|
Button.displayName = "Button_UI";
|
|
8088
8107
|
|
|
8089
8108
|
// src/components/ActionButton/ActionButton.tsx
|
|
8090
|
-
import { jsx as
|
|
8109
|
+
import { jsx as jsx211, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
8091
8110
|
var StyledActionButton = styled7(Button)`
|
|
8092
8111
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
8093
8112
|
display: grid;
|
|
@@ -8223,15 +8242,15 @@ var ActionButton = forwardRef3(
|
|
|
8223
8242
|
forceState,
|
|
8224
8243
|
unstyled: true,
|
|
8225
8244
|
children: [
|
|
8226
|
-
/* @__PURE__ */
|
|
8227
|
-
/* @__PURE__ */
|
|
8245
|
+
/* @__PURE__ */ jsx211(StyledMainIcon, { children: icon }),
|
|
8246
|
+
/* @__PURE__ */ jsx211(StyledSecondaryIcon, { $hideUntilHover: variant === "default", children: /* @__PURE__ */ jsx211(
|
|
8228
8247
|
Icon,
|
|
8229
8248
|
{
|
|
8230
8249
|
colorScheme: variant === "gated" ? "purple" : "inherit",
|
|
8231
8250
|
type: secondaryIconMap[variant]
|
|
8232
8251
|
}
|
|
8233
8252
|
) }),
|
|
8234
|
-
/* @__PURE__ */
|
|
8253
|
+
/* @__PURE__ */ jsx211(StyledLabel, { $disabled: disabled, children })
|
|
8235
8254
|
]
|
|
8236
8255
|
}
|
|
8237
8256
|
);
|
|
@@ -8261,7 +8280,7 @@ var formatNameForDisplay = (name) => {
|
|
|
8261
8280
|
// src/components/Image/Image.tsx
|
|
8262
8281
|
import { styled as styled8 } from "styled-components";
|
|
8263
8282
|
import { isNotNil as isNotNil7 } from "@wistia/type-guards";
|
|
8264
|
-
import { jsx as
|
|
8283
|
+
import { jsx as jsx212 } from "react/jsx-runtime";
|
|
8265
8284
|
var getFillStyle = (fillContainer) => {
|
|
8266
8285
|
if (fillContainer === "horizontal") {
|
|
8267
8286
|
return "width: 100%;";
|
|
@@ -8294,7 +8313,7 @@ var Image = ({
|
|
|
8294
8313
|
onLoad,
|
|
8295
8314
|
onError,
|
|
8296
8315
|
...props
|
|
8297
|
-
}) => /* @__PURE__ */
|
|
8316
|
+
}) => /* @__PURE__ */ jsx212(
|
|
8298
8317
|
StyledImage,
|
|
8299
8318
|
{
|
|
8300
8319
|
$borderRadius: borderRadius,
|
|
@@ -8313,7 +8332,7 @@ Image.displayName = "Image_UI";
|
|
|
8313
8332
|
|
|
8314
8333
|
// src/components/ColorSchemeWrapper/ColorSchemeWrapper.tsx
|
|
8315
8334
|
import { styled as styled9 } from "styled-components";
|
|
8316
|
-
import { jsx as
|
|
8335
|
+
import { jsx as jsx213 } from "react/jsx-runtime";
|
|
8317
8336
|
var defaultColorSchemeOptions = ["standard", "inherit"];
|
|
8318
8337
|
var semanticColorSchemeOptions = ["error", "info", "success", "warning"];
|
|
8319
8338
|
var brandColorSchemeOptions = [
|
|
@@ -8344,7 +8363,7 @@ var ColorSchemeWrapper = ({
|
|
|
8344
8363
|
colorScheme = "inherit",
|
|
8345
8364
|
children,
|
|
8346
8365
|
...props
|
|
8347
|
-
}) => /* @__PURE__ */
|
|
8366
|
+
}) => /* @__PURE__ */ jsx213(
|
|
8348
8367
|
StyledColorSchemeWrapper,
|
|
8349
8368
|
{
|
|
8350
8369
|
$colorScheme: colorScheme,
|
|
@@ -8356,7 +8375,7 @@ var ColorSchemeWrapper = ({
|
|
|
8356
8375
|
ColorSchemeWrapper.displayName = "ColorSchemeWrapper_UI";
|
|
8357
8376
|
|
|
8358
8377
|
// src/components/Avatar/Avatar.tsx
|
|
8359
|
-
import { jsx as
|
|
8378
|
+
import { jsx as jsx214, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
8360
8379
|
var avatarSizeMap = {
|
|
8361
8380
|
sm: 16,
|
|
8362
8381
|
md: 24,
|
|
@@ -8370,14 +8389,14 @@ var Initial = ({ initial }) => /* @__PURE__ */ jsxs12(
|
|
|
8370
8389
|
viewBox: "0 0 24 24",
|
|
8371
8390
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8372
8391
|
children: [
|
|
8373
|
-
/* @__PURE__ */
|
|
8392
|
+
/* @__PURE__ */ jsx214(
|
|
8374
8393
|
"path",
|
|
8375
8394
|
{
|
|
8376
8395
|
d: "M0 13.5h24",
|
|
8377
8396
|
id: "P"
|
|
8378
8397
|
}
|
|
8379
8398
|
),
|
|
8380
|
-
/* @__PURE__ */
|
|
8399
|
+
/* @__PURE__ */ jsx214("text", { children: /* @__PURE__ */ jsx214(
|
|
8381
8400
|
"textPath",
|
|
8382
8401
|
{
|
|
8383
8402
|
dominantBaseline: "middle",
|
|
@@ -8474,8 +8493,8 @@ var Avatar = ({
|
|
|
8474
8493
|
$heightAndWidth: avatarSize,
|
|
8475
8494
|
...props,
|
|
8476
8495
|
children: [
|
|
8477
|
-
/* @__PURE__ */
|
|
8478
|
-
isNotNil8(imageUrl) && imageLoadState !== "error" && /* @__PURE__ */
|
|
8496
|
+
/* @__PURE__ */ jsx214(Initial, { initial: formatNameForDisplay(name) }),
|
|
8497
|
+
isNotNil8(imageUrl) && imageLoadState !== "error" && /* @__PURE__ */ jsx214(
|
|
8479
8498
|
Image,
|
|
8480
8499
|
{
|
|
8481
8500
|
alt: isNotNil8(name) ? name : "",
|
|
@@ -8496,7 +8515,7 @@ Avatar.displayName = "Avatar_UI";
|
|
|
8496
8515
|
import { forwardRef as forwardRef4 } from "react";
|
|
8497
8516
|
import { styled as styled11 } from "styled-components";
|
|
8498
8517
|
import { isNotNil as isNotNil9 } from "@wistia/type-guards";
|
|
8499
|
-
import { jsx as
|
|
8518
|
+
import { jsx as jsx215, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
8500
8519
|
var StyledBadge = styled11.div`
|
|
8501
8520
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
8502
8521
|
align-items: center;
|
|
@@ -8536,7 +8555,7 @@ var Badge = forwardRef4(
|
|
|
8536
8555
|
$variant: variant,
|
|
8537
8556
|
children: [
|
|
8538
8557
|
hasIcon ? icon : null,
|
|
8539
|
-
isNotNil9(label) ? /* @__PURE__ */
|
|
8558
|
+
isNotNil9(label) ? /* @__PURE__ */ jsx215("span", { children: label }) : null
|
|
8540
8559
|
]
|
|
8541
8560
|
}
|
|
8542
8561
|
);
|
|
@@ -8560,7 +8579,7 @@ var makePolymorphic = (component) => {
|
|
|
8560
8579
|
};
|
|
8561
8580
|
|
|
8562
8581
|
// src/components/Box/Box.tsx
|
|
8563
|
-
import { jsx as
|
|
8582
|
+
import { jsx as jsx216 } from "react/jsx-runtime";
|
|
8564
8583
|
var getGapStyle = (gap) => {
|
|
8565
8584
|
if (isNotNil10(gap)) {
|
|
8566
8585
|
if (isRecord3(gap)) {
|
|
@@ -8717,7 +8736,7 @@ var BoxComponent = forwardRef5(
|
|
|
8717
8736
|
);
|
|
8718
8737
|
}
|
|
8719
8738
|
}
|
|
8720
|
-
return /* @__PURE__ */
|
|
8739
|
+
return /* @__PURE__ */ jsx216(
|
|
8721
8740
|
StyledBoxComponent,
|
|
8722
8741
|
{
|
|
8723
8742
|
ref,
|
|
@@ -8784,7 +8803,7 @@ var applyMaxCharsToChildren = (children, maxChars) => {
|
|
|
8784
8803
|
};
|
|
8785
8804
|
|
|
8786
8805
|
// src/components/Heading/Heading.tsx
|
|
8787
|
-
import { jsx as
|
|
8806
|
+
import { jsx as jsx217 } from "react/jsx-runtime";
|
|
8788
8807
|
var heroStyle = css21`
|
|
8789
8808
|
--font-family: var(--wui-typography-heading-hero-family);
|
|
8790
8809
|
--font-size: var(--wui-typography-heading-hero-size);
|
|
@@ -8905,7 +8924,7 @@ var HeadingComponent = forwardRef6(
|
|
|
8905
8924
|
...props
|
|
8906
8925
|
}, ref) => {
|
|
8907
8926
|
const processedChildren = applyMaxCharsToChildren(children, maxChars);
|
|
8908
|
-
return /* @__PURE__ */
|
|
8927
|
+
return /* @__PURE__ */ jsx217(
|
|
8909
8928
|
StyledHeading,
|
|
8910
8929
|
{
|
|
8911
8930
|
ref,
|
|
@@ -8931,7 +8950,7 @@ var Heading = makePolymorphic(HeadingComponent);
|
|
|
8931
8950
|
import { forwardRef as forwardRef7 } from "react";
|
|
8932
8951
|
import { styled as styled14, css as css22 } from "styled-components";
|
|
8933
8952
|
import { isNotNil as isNotNil12 } from "@wistia/type-guards";
|
|
8934
|
-
import { jsx as
|
|
8953
|
+
import { jsx as jsx218 } from "react/jsx-runtime";
|
|
8935
8954
|
var sharedBodyStyle = css22`
|
|
8936
8955
|
> strong,
|
|
8937
8956
|
b {
|
|
@@ -9128,7 +9147,7 @@ var TextComponent = forwardRef7(
|
|
|
9128
9147
|
...props
|
|
9129
9148
|
}, ref) => {
|
|
9130
9149
|
const processedChildren = applyMaxCharsToChildren(children, maxChars);
|
|
9131
|
-
return /* @__PURE__ */
|
|
9150
|
+
return /* @__PURE__ */ jsx218(
|
|
9132
9151
|
StyledText,
|
|
9133
9152
|
{
|
|
9134
9153
|
ref,
|
|
@@ -9153,7 +9172,7 @@ var Text = makePolymorphic(TextComponent);
|
|
|
9153
9172
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
9154
9173
|
import { styled as styled15, css as css23 } from "styled-components";
|
|
9155
9174
|
import { isNil as isNil10 } from "@wistia/type-guards";
|
|
9156
|
-
import { jsx as
|
|
9175
|
+
import { jsx as jsx219 } from "react/jsx-runtime";
|
|
9157
9176
|
var getAlignment = (align) => {
|
|
9158
9177
|
if (align === "center") {
|
|
9159
9178
|
return "center";
|
|
@@ -9215,7 +9234,7 @@ var ButtonGroup = ({
|
|
|
9215
9234
|
if (isNil10(children)) {
|
|
9216
9235
|
return null;
|
|
9217
9236
|
}
|
|
9218
|
-
return /* @__PURE__ */
|
|
9237
|
+
return /* @__PURE__ */ jsx219(
|
|
9219
9238
|
ButtonGroupComponent,
|
|
9220
9239
|
{
|
|
9221
9240
|
$align: align,
|
|
@@ -9232,7 +9251,7 @@ ButtonGroup.displayName = "ButtonGroup_UI";
|
|
|
9232
9251
|
// src/components/IconButton/IconButton.tsx
|
|
9233
9252
|
import { Children, cloneElement as cloneElement2, forwardRef as forwardRef8 } from "react";
|
|
9234
9253
|
import { styled as styled16 } from "styled-components";
|
|
9235
|
-
import { jsx as
|
|
9254
|
+
import { jsx as jsx220 } from "react/jsx-runtime";
|
|
9236
9255
|
var StyledButton2 = styled16(Button)`
|
|
9237
9256
|
--icon-button-size-sm: 24px;
|
|
9238
9257
|
--icon-button-size-md: 32px;
|
|
@@ -9250,7 +9269,7 @@ var StyledButton2 = styled16(Button)`
|
|
|
9250
9269
|
var IconButton = forwardRef8(
|
|
9251
9270
|
({ children, label, size = "md", ...props }, ref) => {
|
|
9252
9271
|
const responsiveSize = useResponsiveProp(size);
|
|
9253
|
-
return /* @__PURE__ */
|
|
9272
|
+
return /* @__PURE__ */ jsx220(
|
|
9254
9273
|
StyledButton2,
|
|
9255
9274
|
{
|
|
9256
9275
|
...props,
|
|
@@ -9268,7 +9287,7 @@ var IconButton = forwardRef8(
|
|
|
9268
9287
|
IconButton.displayName = "IconButton_UI";
|
|
9269
9288
|
|
|
9270
9289
|
// src/components/Banner/Banner.tsx
|
|
9271
|
-
import { Fragment as Fragment3, jsx as
|
|
9290
|
+
import { Fragment as Fragment3, jsx as jsx221, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9272
9291
|
var BREAKPOINT_WIDTH = 600;
|
|
9273
9292
|
var VERTICAL_BREAKPOINT_WIDTH = 284;
|
|
9274
9293
|
var MIN_IMAGE_WIDTH = 400;
|
|
@@ -9372,7 +9391,7 @@ var Banner = ({
|
|
|
9372
9391
|
gap: "space-04",
|
|
9373
9392
|
style: { padding: "var(--wui-banner-padding)" },
|
|
9374
9393
|
children: [
|
|
9375
|
-
iconPosition === "above" && /* @__PURE__ */
|
|
9394
|
+
iconPosition === "above" && /* @__PURE__ */ jsx221(
|
|
9376
9395
|
Box,
|
|
9377
9396
|
{
|
|
9378
9397
|
alignSelf: "stretch",
|
|
@@ -9396,7 +9415,7 @@ var Banner = ({
|
|
|
9396
9415
|
] }),
|
|
9397
9416
|
headingText
|
|
9398
9417
|
] }) : null,
|
|
9399
|
-
/* @__PURE__ */
|
|
9418
|
+
/* @__PURE__ */ jsx221(Text, { variant: textVariant, children: bodyText })
|
|
9400
9419
|
]
|
|
9401
9420
|
}
|
|
9402
9421
|
),
|
|
@@ -9415,7 +9434,7 @@ var Banner = ({
|
|
|
9415
9434
|
]
|
|
9416
9435
|
}
|
|
9417
9436
|
),
|
|
9418
|
-
isNotNil13(onClose) && /* @__PURE__ */
|
|
9437
|
+
isNotNil13(onClose) && /* @__PURE__ */ jsx221(
|
|
9419
9438
|
IconButton,
|
|
9420
9439
|
{
|
|
9421
9440
|
label: "Close",
|
|
@@ -9427,7 +9446,7 @@ var Banner = ({
|
|
|
9427
9446
|
right: "var(--wui-space-01)"
|
|
9428
9447
|
},
|
|
9429
9448
|
variant: "soft",
|
|
9430
|
-
children: /* @__PURE__ */
|
|
9449
|
+
children: /* @__PURE__ */ jsx221(Icon, { type: "close" })
|
|
9431
9450
|
}
|
|
9432
9451
|
)
|
|
9433
9452
|
]
|
|
@@ -9438,7 +9457,7 @@ Banner.displayName = "Banner_UI";
|
|
|
9438
9457
|
|
|
9439
9458
|
// src/components/Banner/BannerImage.tsx
|
|
9440
9459
|
import { styled as styled18 } from "styled-components";
|
|
9441
|
-
import { jsx as
|
|
9460
|
+
import { jsx as jsx222 } from "react/jsx-runtime";
|
|
9442
9461
|
var StyledBannerImageContainer = styled18.div`
|
|
9443
9462
|
--wui-banner-image-border-radius: var(--wui-border-radius-02);
|
|
9444
9463
|
--wui-banner-image-height: auto;
|
|
@@ -9497,12 +9516,12 @@ var StyledBannerImageContainer = styled18.div`
|
|
|
9497
9516
|
}
|
|
9498
9517
|
`;
|
|
9499
9518
|
var BannerImage = ({ alignment = "left", alt, src, ...props }) => {
|
|
9500
|
-
return /* @__PURE__ */
|
|
9519
|
+
return /* @__PURE__ */ jsx222(
|
|
9501
9520
|
StyledBannerImageContainer,
|
|
9502
9521
|
{
|
|
9503
9522
|
"data-wui-banner-image": alignment,
|
|
9504
9523
|
...props,
|
|
9505
|
-
children: /* @__PURE__ */
|
|
9524
|
+
children: /* @__PURE__ */ jsx222(
|
|
9506
9525
|
Image,
|
|
9507
9526
|
{
|
|
9508
9527
|
alt: alt ?? "",
|
|
@@ -9518,7 +9537,7 @@ var BannerImage = ({ alignment = "left", alt, src, ...props }) => {
|
|
|
9518
9537
|
// src/components/Breadcrumbs/Breadcrumbs.tsx
|
|
9519
9538
|
import { Children as Children2 } from "react";
|
|
9520
9539
|
import { styled as styled19 } from "styled-components";
|
|
9521
|
-
import { Fragment as Fragment4, jsx as
|
|
9540
|
+
import { Fragment as Fragment4, jsx as jsx223, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
9522
9541
|
var StyledBreadcrumbs = styled19.nav`
|
|
9523
9542
|
display: flex;
|
|
9524
9543
|
align-items: center;
|
|
@@ -9538,7 +9557,7 @@ var Breadcrumbs = ({ children, ...props }) => {
|
|
|
9538
9557
|
}
|
|
9539
9558
|
const crumbMaxWidth = Math.floor(100 / crumbs.length) - BUFFER_WIDTH;
|
|
9540
9559
|
return /* @__PURE__ */ jsxs15(Fragment4, { children: [
|
|
9541
|
-
/* @__PURE__ */
|
|
9560
|
+
/* @__PURE__ */ jsx223("style", { type: "text/css", children: `
|
|
9542
9561
|
[data-wui-breadcrumbs] {
|
|
9543
9562
|
container-type: inline-size;
|
|
9544
9563
|
container-name: breadcrumbs;
|
|
@@ -9550,7 +9569,7 @@ var Breadcrumbs = ({ children, ...props }) => {
|
|
|
9550
9569
|
}
|
|
9551
9570
|
}
|
|
9552
9571
|
` }),
|
|
9553
|
-
/* @__PURE__ */
|
|
9572
|
+
/* @__PURE__ */ jsx223(
|
|
9554
9573
|
StyledBreadcrumbs,
|
|
9555
9574
|
{
|
|
9556
9575
|
"aria-label": "Breadcrumbs",
|
|
@@ -9565,7 +9584,7 @@ Breadcrumbs.displayName = "Breadcrumbs_UI";
|
|
|
9565
9584
|
|
|
9566
9585
|
// src/components/Breadcrumbs/Breadcrumb.tsx
|
|
9567
9586
|
import { styled as styled20 } from "styled-components";
|
|
9568
|
-
import { Fragment as Fragment5, jsx as
|
|
9587
|
+
import { Fragment as Fragment5, jsx as jsx224, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
9569
9588
|
var BreadcrumbContent = styled20.span`
|
|
9570
9589
|
overflow: hidden;
|
|
9571
9590
|
white-space: nowrap;
|
|
@@ -9576,17 +9595,17 @@ var BreadcrumbContent = styled20.span`
|
|
|
9576
9595
|
`;
|
|
9577
9596
|
var Breadcrumb = ({ icon, href, children, ...props }) => {
|
|
9578
9597
|
return /* @__PURE__ */ jsxs16(Fragment5, { children: [
|
|
9579
|
-
/* @__PURE__ */
|
|
9598
|
+
/* @__PURE__ */ jsx224(
|
|
9580
9599
|
Button,
|
|
9581
9600
|
{
|
|
9582
9601
|
...props,
|
|
9583
9602
|
href,
|
|
9584
9603
|
leftIcon: icon,
|
|
9585
9604
|
variant: "ghost",
|
|
9586
|
-
children: /* @__PURE__ */
|
|
9605
|
+
children: /* @__PURE__ */ jsx224(BreadcrumbContent, { "data-wui-breadcrumb": true, children })
|
|
9587
9606
|
}
|
|
9588
9607
|
),
|
|
9589
|
-
/* @__PURE__ */
|
|
9608
|
+
/* @__PURE__ */ jsx224("div", { "data-wui-breadcrumb-divider": true, children: /* @__PURE__ */ jsx224(
|
|
9590
9609
|
Icon,
|
|
9591
9610
|
{
|
|
9592
9611
|
size: "sm",
|
|
@@ -9599,7 +9618,7 @@ var Breadcrumb = ({ icon, href, children, ...props }) => {
|
|
|
9599
9618
|
|
|
9600
9619
|
// src/components/Card/Card.tsx
|
|
9601
9620
|
import { styled as styled21 } from "styled-components";
|
|
9602
|
-
import { jsx as
|
|
9621
|
+
import { jsx as jsx225 } from "react/jsx-runtime";
|
|
9603
9622
|
var StyledCard = styled21(Box)`
|
|
9604
9623
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
9605
9624
|
box-sizing: border-box;
|
|
@@ -9638,7 +9657,7 @@ var Card = ({
|
|
|
9638
9657
|
prominence = "secondary",
|
|
9639
9658
|
width,
|
|
9640
9659
|
...props
|
|
9641
|
-
}) => /* @__PURE__ */
|
|
9660
|
+
}) => /* @__PURE__ */ jsx225(
|
|
9642
9661
|
StyledCard,
|
|
9643
9662
|
{
|
|
9644
9663
|
$backgroundColor: prominenceMap[prominence].backgroundColor,
|
|
@@ -9659,7 +9678,7 @@ Card.displayName = "Card_UI";
|
|
|
9659
9678
|
// src/components/Center/Center.tsx
|
|
9660
9679
|
import { forwardRef as forwardRef9 } from "react";
|
|
9661
9680
|
import { styled as styled22 } from "styled-components";
|
|
9662
|
-
import { jsx as
|
|
9681
|
+
import { jsx as jsx226 } from "react/jsx-runtime";
|
|
9663
9682
|
var StyledCenter = styled22.div`
|
|
9664
9683
|
box-sizing: border-box;
|
|
9665
9684
|
margin-left: auto;
|
|
@@ -9673,7 +9692,7 @@ var StyledCenter = styled22.div`
|
|
|
9673
9692
|
`}
|
|
9674
9693
|
`;
|
|
9675
9694
|
var Center = forwardRef9(
|
|
9676
|
-
({ maxWidth = "100%", gutterWidth = "space-00", intrinsic = false, children, ...props }, ref) => /* @__PURE__ */
|
|
9695
|
+
({ maxWidth = "100%", gutterWidth = "space-00", intrinsic = false, children, ...props }, ref) => /* @__PURE__ */ jsx226(
|
|
9677
9696
|
StyledCenter,
|
|
9678
9697
|
{
|
|
9679
9698
|
ref,
|
|
@@ -9699,7 +9718,7 @@ import { styled as styled25, css as css25 } from "styled-components";
|
|
|
9699
9718
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
9700
9719
|
import { styled as styled23 } from "styled-components";
|
|
9701
9720
|
import { isNotNil as isNotNil14 } from "@wistia/type-guards";
|
|
9702
|
-
import { jsx as
|
|
9721
|
+
import { jsx as jsx227 } from "react/jsx-runtime";
|
|
9703
9722
|
var VisuallyHidden = styled23.div({ ...visuallyHiddenStyle });
|
|
9704
9723
|
var VisuallyHiddenButFocusable = styled23.div({
|
|
9705
9724
|
"&:not(:focus-within)": visuallyHiddenStyle
|
|
@@ -9712,16 +9731,16 @@ var ScreenReaderOnly = ({
|
|
|
9712
9731
|
}) => {
|
|
9713
9732
|
const accessibleText = isNotNil14(text) ? text : children;
|
|
9714
9733
|
if (focusable) {
|
|
9715
|
-
return /* @__PURE__ */
|
|
9734
|
+
return /* @__PURE__ */ jsx227(VisuallyHiddenButFocusable, { ...props, children: accessibleText });
|
|
9716
9735
|
}
|
|
9717
|
-
return /* @__PURE__ */
|
|
9736
|
+
return /* @__PURE__ */ jsx227(VisuallyHidden, { ...props, children: accessibleText });
|
|
9718
9737
|
};
|
|
9719
9738
|
ScreenReaderOnly.displayName = "ScreenReaderOnly_UI";
|
|
9720
9739
|
|
|
9721
9740
|
// src/private/components/FormControlLabel/FormControlLabelDescription.tsx
|
|
9722
9741
|
import { styled as styled24, css as css24 } from "styled-components";
|
|
9723
9742
|
import { isNil as isNil12 } from "@wistia/type-guards";
|
|
9724
|
-
import { jsx as
|
|
9743
|
+
import { jsx as jsx228 } from "react/jsx-runtime";
|
|
9725
9744
|
var disabledStyle = css24`
|
|
9726
9745
|
color: var(--wui-color-text-disabled);
|
|
9727
9746
|
`;
|
|
@@ -9742,7 +9761,7 @@ var FormControlLabelDescription = ({
|
|
|
9742
9761
|
if (isNil12(children)) {
|
|
9743
9762
|
return null;
|
|
9744
9763
|
}
|
|
9745
|
-
return /* @__PURE__ */
|
|
9764
|
+
return /* @__PURE__ */ jsx228(
|
|
9746
9765
|
StyledFormControlLabelDescription,
|
|
9747
9766
|
{
|
|
9748
9767
|
...props,
|
|
@@ -9754,7 +9773,7 @@ var FormControlLabelDescription = ({
|
|
|
9754
9773
|
FormControlLabelDescription.displayName = "FormControlLabelDescription";
|
|
9755
9774
|
|
|
9756
9775
|
// src/private/components/FormControlLabel/FormControlLabel.tsx
|
|
9757
|
-
import { jsx as
|
|
9776
|
+
import { jsx as jsx229, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
9758
9777
|
var disabledStyle2 = css25`
|
|
9759
9778
|
cursor: not-allowed;
|
|
9760
9779
|
color: var(--wui-color-text-disabled);
|
|
@@ -9790,9 +9809,9 @@ var FormControlLabel = ({
|
|
|
9790
9809
|
if (isNil13(label)) {
|
|
9791
9810
|
return null;
|
|
9792
9811
|
}
|
|
9793
|
-
const labelContent = hideLabel ? /* @__PURE__ */
|
|
9812
|
+
const labelContent = hideLabel ? /* @__PURE__ */ jsx229(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ jsxs17(StyledLabelWrapper, { children: [
|
|
9794
9813
|
label,
|
|
9795
|
-
/* @__PURE__ */
|
|
9814
|
+
/* @__PURE__ */ jsx229(FormControlLabelDescription, { children: description })
|
|
9796
9815
|
] });
|
|
9797
9816
|
const slot = isNotNil15(controlSlot) ? controlSlot : null;
|
|
9798
9817
|
return /* @__PURE__ */ jsxs17(
|
|
@@ -9823,7 +9842,7 @@ import { isNonEmptyString as isNonEmptyString2, isNotNil as isNotNil16 } from "@
|
|
|
9823
9842
|
// src/components/Stack/Stack.tsx
|
|
9824
9843
|
import { forwardRef as forwardRef10 } from "react";
|
|
9825
9844
|
import { styled as styled26 } from "styled-components";
|
|
9826
|
-
import { jsx as
|
|
9845
|
+
import { jsx as jsx230 } from "react/jsx-runtime";
|
|
9827
9846
|
var DEFAULT_ELEMENT4 = "div";
|
|
9828
9847
|
var StyledStack = styled26.div`
|
|
9829
9848
|
display: flex;
|
|
@@ -9836,7 +9855,7 @@ var StackComponent = forwardRef10(
|
|
|
9836
9855
|
const responsiveGap = useResponsiveProp(gap);
|
|
9837
9856
|
const responsiveDirection = useResponsiveProp(direction);
|
|
9838
9857
|
const responsiveAlignItems = useResponsiveProp(alignItems);
|
|
9839
|
-
return /* @__PURE__ */
|
|
9858
|
+
return /* @__PURE__ */ jsx230(
|
|
9840
9859
|
StyledStack,
|
|
9841
9860
|
{
|
|
9842
9861
|
ref,
|
|
@@ -9853,7 +9872,7 @@ StackComponent.displayName = "Stack_UI";
|
|
|
9853
9872
|
var Stack = makePolymorphic(StackComponent);
|
|
9854
9873
|
|
|
9855
9874
|
// src/components/FormGroup/FormGroup.tsx
|
|
9856
|
-
import { jsx as
|
|
9875
|
+
import { jsx as jsx231, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
9857
9876
|
var StyledFieldset = styled27.fieldset`
|
|
9858
9877
|
padding: 0;
|
|
9859
9878
|
margin: 0;
|
|
@@ -9889,7 +9908,7 @@ var FormGroup = ({
|
|
|
9889
9908
|
variant: "heading5",
|
|
9890
9909
|
children: [
|
|
9891
9910
|
hasLabel ? label : null,
|
|
9892
|
-
hasDescription ? /* @__PURE__ */
|
|
9911
|
+
hasDescription ? /* @__PURE__ */ jsx231(
|
|
9893
9912
|
Text,
|
|
9894
9913
|
{
|
|
9895
9914
|
"data-wui-form-group-description": true,
|
|
@@ -9930,7 +9949,7 @@ var serializeFormData = (formData) => {
|
|
|
9930
9949
|
};
|
|
9931
9950
|
|
|
9932
9951
|
// src/components/Form/Form.tsx
|
|
9933
|
-
import { jsx as
|
|
9952
|
+
import { jsx as jsx232 } from "react/jsx-runtime";
|
|
9934
9953
|
var StyledForm = styled28.form`
|
|
9935
9954
|
--form-default-width: 690px;
|
|
9936
9955
|
|
|
@@ -10010,7 +10029,7 @@ var Form = forwardRef11(
|
|
|
10010
10029
|
}, [labelPosition, values, errors, id, hasSubmitted]);
|
|
10011
10030
|
return (
|
|
10012
10031
|
// @ts-expect-error - generic context providers are a giant pain
|
|
10013
|
-
/* @__PURE__ */
|
|
10032
|
+
/* @__PURE__ */ jsx232(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsx232(
|
|
10014
10033
|
Stack,
|
|
10015
10034
|
{
|
|
10016
10035
|
...props,
|
|
@@ -10031,7 +10050,7 @@ var Form = forwardRef11(
|
|
|
10031
10050
|
);
|
|
10032
10051
|
|
|
10033
10052
|
// src/components/FormGroup/CheckboxGroup.tsx
|
|
10034
|
-
import { jsx as
|
|
10053
|
+
import { jsx as jsx233 } from "react/jsx-runtime";
|
|
10035
10054
|
var CheckboxGroupContext = createContext4(null);
|
|
10036
10055
|
var useCheckboxGroup = () => {
|
|
10037
10056
|
return useContext3(CheckboxGroupContext);
|
|
@@ -10052,13 +10071,13 @@ var CheckboxGroup = ({
|
|
|
10052
10071
|
value: derivedValue
|
|
10053
10072
|
};
|
|
10054
10073
|
}, [name, derivedValue, onChange]);
|
|
10055
|
-
return /* @__PURE__ */
|
|
10074
|
+
return /* @__PURE__ */ jsx233(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx233(FormGroup, { ...props, children }) });
|
|
10056
10075
|
};
|
|
10057
10076
|
CheckboxGroup.displayName = "CheckboxGroup_UI";
|
|
10058
10077
|
|
|
10059
10078
|
// src/components/Checkbox/Checkbox.tsx
|
|
10060
|
-
import { jsx as
|
|
10061
|
-
var CheckIcon = () => /* @__PURE__ */
|
|
10079
|
+
import { jsx as jsx234, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
10080
|
+
var CheckIcon = () => /* @__PURE__ */ jsx234(
|
|
10062
10081
|
"svg",
|
|
10063
10082
|
{
|
|
10064
10083
|
fill: "inherit",
|
|
@@ -10066,7 +10085,7 @@ var CheckIcon = () => /* @__PURE__ */ jsx233(
|
|
|
10066
10085
|
viewBox: "0 0 10 8",
|
|
10067
10086
|
width: "10",
|
|
10068
10087
|
xmlns: "http://www.w3.org/2000/svg",
|
|
10069
|
-
children: /* @__PURE__ */
|
|
10088
|
+
children: /* @__PURE__ */ jsx234(
|
|
10070
10089
|
"path",
|
|
10071
10090
|
{
|
|
10072
10091
|
d: "M3.47281 7.19303L0.377565 4.07999C0.191609 3.89297 0.191609 3.58973 0.377565 3.40268L1.05098 2.72537C1.23694 2.53833 1.53847 2.53833 1.72442 2.72537L3.80953 4.82245L8.27558 0.330729C8.46154 0.143704 8.76306 0.143704 8.94902 0.330729L9.62244 1.00804C9.8084 1.19506 9.8084 1.49831 9.62244 1.68535L4.14624 7.19305C3.96027 7.38008 3.65876 7.38008 3.47281 7.19303Z",
|
|
@@ -10194,7 +10213,7 @@ var Checkbox = forwardRef12(
|
|
|
10194
10213
|
$hideLabel: hideLabel,
|
|
10195
10214
|
disabled,
|
|
10196
10215
|
children: [
|
|
10197
|
-
/* @__PURE__ */
|
|
10216
|
+
/* @__PURE__ */ jsx234(
|
|
10198
10217
|
StyledHiddenCheckboxInput,
|
|
10199
10218
|
{
|
|
10200
10219
|
...props,
|
|
@@ -10209,16 +10228,16 @@ var Checkbox = forwardRef12(
|
|
|
10209
10228
|
value
|
|
10210
10229
|
}
|
|
10211
10230
|
),
|
|
10212
|
-
/* @__PURE__ */
|
|
10231
|
+
/* @__PURE__ */ jsx234(
|
|
10213
10232
|
FormControlLabel,
|
|
10214
10233
|
{
|
|
10215
|
-
controlSlot: /* @__PURE__ */
|
|
10234
|
+
controlSlot: /* @__PURE__ */ jsx234(
|
|
10216
10235
|
StyledCheckboxInput,
|
|
10217
10236
|
{
|
|
10218
10237
|
$disabled: disabled,
|
|
10219
10238
|
$size: size,
|
|
10220
10239
|
"data-wui-faux-input": "true",
|
|
10221
|
-
children: /* @__PURE__ */
|
|
10240
|
+
children: /* @__PURE__ */ jsx234(CheckIcon, {})
|
|
10222
10241
|
}
|
|
10223
10242
|
),
|
|
10224
10243
|
description,
|
|
@@ -10284,7 +10303,7 @@ ClickRegion.displayName = "ClickRegion_UI";
|
|
|
10284
10303
|
import { Root as CollapsibleRoot } from "@radix-ui/react-collapsible";
|
|
10285
10304
|
import { isNotNil as isNotNil17 } from "@wistia/type-guards";
|
|
10286
10305
|
import { styled as styled30 } from "styled-components";
|
|
10287
|
-
import { jsx as
|
|
10306
|
+
import { jsx as jsx235 } from "react/jsx-runtime";
|
|
10288
10307
|
var StyledRoot = styled30(CollapsibleRoot)`
|
|
10289
10308
|
&[data-state='closed'] [data-wui-collapsible-content] {
|
|
10290
10309
|
display: -webkit-box;
|
|
@@ -10301,7 +10320,7 @@ var Collapsible = ({
|
|
|
10301
10320
|
const controlProps = {
|
|
10302
10321
|
...isNotNil17(onOpenChange) && isNotNil17(isOpen) ? { open: isOpen, onOpenChange } : {}
|
|
10303
10322
|
};
|
|
10304
|
-
return /* @__PURE__ */
|
|
10323
|
+
return /* @__PURE__ */ jsx235(StyledRoot, { ...controlProps, children });
|
|
10305
10324
|
};
|
|
10306
10325
|
Collapsible.displayName = "Collapsible_UI";
|
|
10307
10326
|
|
|
@@ -10309,7 +10328,7 @@ Collapsible.displayName = "Collapsible_UI";
|
|
|
10309
10328
|
import { Children as Children4 } from "react";
|
|
10310
10329
|
import { Trigger } from "@radix-ui/react-collapsible";
|
|
10311
10330
|
import { styled as styled31 } from "styled-components";
|
|
10312
|
-
import { jsx as
|
|
10331
|
+
import { jsx as jsx236 } from "react/jsx-runtime";
|
|
10313
10332
|
var StyledTrigger = styled31(Trigger)`
|
|
10314
10333
|
[data-wui-collapsible-icon] {
|
|
10315
10334
|
transition: transform var(--wui-motion-duration-03) ease-in-out;
|
|
@@ -10333,11 +10352,11 @@ var StyledTrigger = styled31(Trigger)`
|
|
|
10333
10352
|
`;
|
|
10334
10353
|
var CollapsibleTrigger = ({ children }) => {
|
|
10335
10354
|
Children4.only(children);
|
|
10336
|
-
return /* @__PURE__ */
|
|
10355
|
+
return /* @__PURE__ */ jsx236(StyledTrigger, { asChild: true, children });
|
|
10337
10356
|
};
|
|
10338
10357
|
|
|
10339
10358
|
// src/components/Collapsible/CollapsibleTriggerIcon.tsx
|
|
10340
|
-
import { jsx as
|
|
10359
|
+
import { jsx as jsx237 } from "react/jsx-runtime";
|
|
10341
10360
|
var iconRotationMap = {
|
|
10342
10361
|
"caret-left-strong": "-90",
|
|
10343
10362
|
"caret-left": "-90",
|
|
@@ -10346,7 +10365,7 @@ var iconRotationMap = {
|
|
|
10346
10365
|
plus: "45"
|
|
10347
10366
|
};
|
|
10348
10367
|
var CollapsibleTriggerIcon = ({ type, ...props }) => {
|
|
10349
|
-
return /* @__PURE__ */
|
|
10368
|
+
return /* @__PURE__ */ jsx237(
|
|
10350
10369
|
Icon,
|
|
10351
10370
|
{
|
|
10352
10371
|
...props,
|
|
@@ -10362,13 +10381,13 @@ CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon_UI";
|
|
|
10362
10381
|
import { styled as styled32 } from "styled-components";
|
|
10363
10382
|
import { Content } from "@radix-ui/react-collapsible";
|
|
10364
10383
|
import { isNotUndefined as isNotUndefined8 } from "@wistia/type-guards";
|
|
10365
|
-
import { Fragment as Fragment6, jsx as
|
|
10384
|
+
import { Fragment as Fragment6, jsx as jsx238, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
10366
10385
|
var ClampedContent = styled32.div`
|
|
10367
10386
|
--wui-collapsible-content-clamp-lines: ${({ $clamp }) => $clamp};
|
|
10368
10387
|
`;
|
|
10369
10388
|
var CollapsibleContent = ({ clamp, children }) => {
|
|
10370
10389
|
if (isNotUndefined8(clamp)) {
|
|
10371
|
-
return /* @__PURE__ */
|
|
10390
|
+
return /* @__PURE__ */ jsx238(
|
|
10372
10391
|
ClampedContent,
|
|
10373
10392
|
{
|
|
10374
10393
|
$clamp: clamp,
|
|
@@ -10377,7 +10396,7 @@ var CollapsibleContent = ({ clamp, children }) => {
|
|
|
10377
10396
|
}
|
|
10378
10397
|
);
|
|
10379
10398
|
}
|
|
10380
|
-
return /* @__PURE__ */
|
|
10399
|
+
return /* @__PURE__ */ jsx238(Content, { children: /* @__PURE__ */ jsxs20(Fragment6, { children: [
|
|
10381
10400
|
children,
|
|
10382
10401
|
" "
|
|
10383
10402
|
] }) });
|
|
@@ -10778,7 +10797,7 @@ var hasAccessibleDerivatives = ({
|
|
|
10778
10797
|
};
|
|
10779
10798
|
|
|
10780
10799
|
// src/components/ColorPicker/ColorPickerContext.tsx
|
|
10781
|
-
import { jsx as
|
|
10800
|
+
import { jsx as jsx239 } from "react/jsx-runtime";
|
|
10782
10801
|
var ColorPickerContext = createContext5(null);
|
|
10783
10802
|
var ColorPickerProvider = ({
|
|
10784
10803
|
children,
|
|
@@ -10919,7 +10938,7 @@ var ColorPickerProvider = ({
|
|
|
10919
10938
|
valueAsHsv
|
|
10920
10939
|
]
|
|
10921
10940
|
);
|
|
10922
|
-
return /* @__PURE__ */
|
|
10941
|
+
return /* @__PURE__ */ jsx239(ColorPickerContext.Provider, { value: contextValue, children });
|
|
10923
10942
|
};
|
|
10924
10943
|
var useColorPickerState = () => {
|
|
10925
10944
|
const context = useContext4(ColorPickerContext);
|
|
@@ -10931,7 +10950,7 @@ var useColorPickerState = () => {
|
|
|
10931
10950
|
|
|
10932
10951
|
// src/components/Label/Label.tsx
|
|
10933
10952
|
import { styled as styled33, css as css27 } from "styled-components";
|
|
10934
|
-
import { jsx as
|
|
10953
|
+
import { jsx as jsx240 } from "react/jsx-runtime";
|
|
10935
10954
|
var requiredStyle = css27`
|
|
10936
10955
|
&::after {
|
|
10937
10956
|
color: var(--wui-color-text-error);
|
|
@@ -10975,7 +10994,7 @@ var Label = ({
|
|
|
10975
10994
|
screenReaderOnly = false,
|
|
10976
10995
|
...props
|
|
10977
10996
|
}) => {
|
|
10978
|
-
return /* @__PURE__ */
|
|
10997
|
+
return /* @__PURE__ */ jsx240(
|
|
10979
10998
|
StyledLabel2,
|
|
10980
10999
|
{
|
|
10981
11000
|
...props,
|
|
@@ -10990,7 +11009,7 @@ var Label = ({
|
|
|
10990
11009
|
Label.displayName = "Label_UI";
|
|
10991
11010
|
|
|
10992
11011
|
// src/components/ColorPicker/ColorGrid.tsx
|
|
10993
|
-
import { jsx as
|
|
11012
|
+
import { jsx as jsx241, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
10994
11013
|
var Container = styled34.div`
|
|
10995
11014
|
display: grid;
|
|
10996
11015
|
gap: var(--wui-space-01);
|
|
@@ -11017,8 +11036,8 @@ var ColorGrid = ({ children, label }) => {
|
|
|
11017
11036
|
[onChangeNonDerivedValueAsHsv]
|
|
11018
11037
|
);
|
|
11019
11038
|
return /* @__PURE__ */ jsxs21(Container, { children: [
|
|
11020
|
-
label != null && /* @__PURE__ */
|
|
11021
|
-
/* @__PURE__ */
|
|
11039
|
+
label != null && /* @__PURE__ */ jsx241(LabelContainer, { children: /* @__PURE__ */ jsx241(Label, { children: label }) }),
|
|
11040
|
+
/* @__PURE__ */ jsx241(
|
|
11022
11041
|
ItemsContainer,
|
|
11023
11042
|
{
|
|
11024
11043
|
onValueChange,
|
|
@@ -11037,7 +11056,7 @@ import { formatHex as formatHex3 } from "culori/fn";
|
|
|
11037
11056
|
|
|
11038
11057
|
// src/components/ColorPicker/ColorSwatch.tsx
|
|
11039
11058
|
import { styled as styled35 } from "styled-components";
|
|
11040
|
-
import { jsx as
|
|
11059
|
+
import { jsx as jsx242, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
11041
11060
|
var ColorSwatchDiv = styled35.div`
|
|
11042
11061
|
aspect-ratio: 1;
|
|
11043
11062
|
width: ${({ $diameterPx }) => `${$diameterPx}px`};
|
|
@@ -11085,7 +11104,7 @@ var ColorSwatch = ({
|
|
|
11085
11104
|
backgroundColor: value
|
|
11086
11105
|
},
|
|
11087
11106
|
children: [
|
|
11088
|
-
derivativeIsSelected ? /* @__PURE__ */
|
|
11107
|
+
derivativeIsSelected ? /* @__PURE__ */ jsx242(DerivativeHalfCircle, { $color: colorPickerValueAsHex }) : null,
|
|
11089
11108
|
children
|
|
11090
11109
|
]
|
|
11091
11110
|
}
|
|
@@ -11101,7 +11120,7 @@ import {
|
|
|
11101
11120
|
Arrow as TooltipArrow
|
|
11102
11121
|
} from "@radix-ui/react-tooltip";
|
|
11103
11122
|
import { styled as styled36, keyframes as keyframes2 } from "styled-components";
|
|
11104
|
-
import { jsx as
|
|
11123
|
+
import { jsx as jsx243, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
11105
11124
|
var hide = keyframes2`
|
|
11106
11125
|
from {
|
|
11107
11126
|
opacity: 1;
|
|
@@ -11219,15 +11238,15 @@ var Tooltip = ({
|
|
|
11219
11238
|
delayDuration: delay,
|
|
11220
11239
|
...rootProps,
|
|
11221
11240
|
children: [
|
|
11222
|
-
/* @__PURE__ */
|
|
11223
|
-
/* @__PURE__ */
|
|
11241
|
+
/* @__PURE__ */ jsx243(TooltipTrigger, { asChild: true, children }),
|
|
11242
|
+
/* @__PURE__ */ jsx243(TooltipPortal, { container, children: /* @__PURE__ */ jsxs23(
|
|
11224
11243
|
StyledContent,
|
|
11225
11244
|
{
|
|
11226
11245
|
side: direction,
|
|
11227
11246
|
sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
|
|
11228
11247
|
children: [
|
|
11229
11248
|
content,
|
|
11230
|
-
!hideArrow ? /* @__PURE__ */
|
|
11249
|
+
!hideArrow ? /* @__PURE__ */ jsx243(TooltipArrow, { asChild: true, children: /* @__PURE__ */ jsx243(
|
|
11231
11250
|
"svg",
|
|
11232
11251
|
{
|
|
11233
11252
|
fill: "var(--tooltip-bg)",
|
|
@@ -11236,7 +11255,7 @@ var Tooltip = ({
|
|
|
11236
11255
|
viewBox: "0 0 12 8",
|
|
11237
11256
|
width: "12",
|
|
11238
11257
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11239
|
-
children: /* @__PURE__ */
|
|
11258
|
+
children: /* @__PURE__ */ jsx243("path", { d: "M6.8 6.93333C6.4 7.46667 5.6 7.46667 5.2 6.93333L-2.54292e-07 -1.04907e-06L12 0L6.8 6.93333Z" })
|
|
11240
11259
|
}
|
|
11241
11260
|
) }) : null
|
|
11242
11261
|
]
|
|
@@ -11249,7 +11268,7 @@ var Tooltip = ({
|
|
|
11249
11268
|
Tooltip.displayName = "Tooltip_UI";
|
|
11250
11269
|
|
|
11251
11270
|
// src/components/ColorPicker/ColorGridOption.tsx
|
|
11252
|
-
import { jsx as
|
|
11271
|
+
import { jsx as jsx244 } from "react/jsx-runtime";
|
|
11253
11272
|
var Container2 = styled37(RadioGroupItem)`
|
|
11254
11273
|
border: none;
|
|
11255
11274
|
appearance: none;
|
|
@@ -11266,11 +11285,11 @@ var ColorGridOption = ({ value: rawValue, name }) => {
|
|
|
11266
11285
|
const valueAsHex = formatHex3(valueAsHsv);
|
|
11267
11286
|
const isSelected = valueAsHex === value;
|
|
11268
11287
|
const derivativeIsSelected = !isSelected && nonDerivedValueAsHex === value;
|
|
11269
|
-
return /* @__PURE__ */
|
|
11288
|
+
return /* @__PURE__ */ jsx244(
|
|
11270
11289
|
Tooltip,
|
|
11271
11290
|
{
|
|
11272
|
-
content: name ?? /* @__PURE__ */
|
|
11273
|
-
children: /* @__PURE__ */
|
|
11291
|
+
content: name ?? /* @__PURE__ */ jsx244("span", { style: { fontFamily: "var(--wui-typography-family-mono)" }, children: value }),
|
|
11292
|
+
children: /* @__PURE__ */ jsx244(
|
|
11274
11293
|
Container2,
|
|
11275
11294
|
{
|
|
11276
11295
|
"aria-label": value,
|
|
@@ -11278,7 +11297,7 @@ var ColorGridOption = ({ value: rawValue, name }) => {
|
|
|
11278
11297
|
role: "option",
|
|
11279
11298
|
tabIndex: -1,
|
|
11280
11299
|
value,
|
|
11281
|
-
children: /* @__PURE__ */
|
|
11300
|
+
children: /* @__PURE__ */ jsx244(
|
|
11282
11301
|
ColorSwatch,
|
|
11283
11302
|
{
|
|
11284
11303
|
derivativeIsSelected,
|
|
@@ -11297,7 +11316,7 @@ ColorGridOption.displayName = "ColorGridOption_UI";
|
|
|
11297
11316
|
import { useCallback as useCallback11 } from "react";
|
|
11298
11317
|
import { styled as styled38 } from "styled-components";
|
|
11299
11318
|
import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
|
|
11300
|
-
import { jsx as
|
|
11319
|
+
import { jsx as jsx245 } from "react/jsx-runtime";
|
|
11301
11320
|
var Container3 = styled38(ToggleGroupRoot)`
|
|
11302
11321
|
display: grid;
|
|
11303
11322
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -11314,7 +11333,7 @@ var ColorList = ({ children }) => {
|
|
|
11314
11333
|
},
|
|
11315
11334
|
[onChangeNonDerivedValueAsHsv]
|
|
11316
11335
|
);
|
|
11317
|
-
return /* @__PURE__ */
|
|
11336
|
+
return /* @__PURE__ */ jsx245(
|
|
11318
11337
|
Container3,
|
|
11319
11338
|
{
|
|
11320
11339
|
onValueChange,
|
|
@@ -11328,7 +11347,7 @@ ColorList.displayName = "ColorList_UI";
|
|
|
11328
11347
|
|
|
11329
11348
|
// src/components/ColorPicker/ColorListGroup.tsx
|
|
11330
11349
|
import { styled as styled39 } from "styled-components";
|
|
11331
|
-
import { jsx as
|
|
11350
|
+
import { jsx as jsx246, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
11332
11351
|
var Container4 = styled39.div`
|
|
11333
11352
|
display: grid;
|
|
11334
11353
|
gap: var(--wui-space-01);
|
|
@@ -11348,8 +11367,8 @@ var ColorListGroup = ({ label, children }) => {
|
|
|
11348
11367
|
"aria-label": label,
|
|
11349
11368
|
role: "group",
|
|
11350
11369
|
children: [
|
|
11351
|
-
/* @__PURE__ */
|
|
11352
|
-
/* @__PURE__ */
|
|
11370
|
+
/* @__PURE__ */ jsx246(LabelContainer2, { children: /* @__PURE__ */ jsx246(Label, { children: label }) }),
|
|
11371
|
+
/* @__PURE__ */ jsx246(ItemsContainer2, { children })
|
|
11353
11372
|
]
|
|
11354
11373
|
}
|
|
11355
11374
|
);
|
|
@@ -11362,7 +11381,7 @@ import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
|
|
|
11362
11381
|
import { formatHex as formatHex4 } from "culori/fn";
|
|
11363
11382
|
|
|
11364
11383
|
// src/components/ColorPicker/ColorNameOrHexCode.tsx
|
|
11365
|
-
import { jsx as
|
|
11384
|
+
import { jsx as jsx247, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
11366
11385
|
var ColorNameOrHexCode = ({ name, hexCode }) => {
|
|
11367
11386
|
return /* @__PURE__ */ jsxs25(
|
|
11368
11387
|
Box,
|
|
@@ -11372,7 +11391,7 @@ var ColorNameOrHexCode = ({ name, hexCode }) => {
|
|
|
11372
11391
|
grow: 1,
|
|
11373
11392
|
justifyContent: "space-between",
|
|
11374
11393
|
children: [
|
|
11375
|
-
/* @__PURE__ */
|
|
11394
|
+
/* @__PURE__ */ jsx247(
|
|
11376
11395
|
Text,
|
|
11377
11396
|
{
|
|
11378
11397
|
renderAs: "span",
|
|
@@ -11380,7 +11399,7 @@ var ColorNameOrHexCode = ({ name, hexCode }) => {
|
|
|
11380
11399
|
children: name ?? hexCode
|
|
11381
11400
|
}
|
|
11382
11401
|
),
|
|
11383
|
-
name != null && /* @__PURE__ */
|
|
11402
|
+
name != null && /* @__PURE__ */ jsx247(
|
|
11384
11403
|
Text,
|
|
11385
11404
|
{
|
|
11386
11405
|
prominence: "secondary",
|
|
@@ -11395,7 +11414,7 @@ var ColorNameOrHexCode = ({ name, hexCode }) => {
|
|
|
11395
11414
|
};
|
|
11396
11415
|
|
|
11397
11416
|
// src/components/ColorPicker/ColorListOption.tsx
|
|
11398
|
-
import { jsx as
|
|
11417
|
+
import { jsx as jsx248, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
11399
11418
|
var Container5 = styled40(ToggleGroupItem)`
|
|
11400
11419
|
border: none;
|
|
11401
11420
|
appearance: none;
|
|
@@ -11433,7 +11452,7 @@ var ColorListOption = ({ value: rawValue, name }) => {
|
|
|
11433
11452
|
tabIndex: -1,
|
|
11434
11453
|
value,
|
|
11435
11454
|
children: [
|
|
11436
|
-
/* @__PURE__ */
|
|
11455
|
+
/* @__PURE__ */ jsx248(
|
|
11437
11456
|
ColorSwatch,
|
|
11438
11457
|
{
|
|
11439
11458
|
derivativeIsSelected,
|
|
@@ -11441,7 +11460,7 @@ var ColorListOption = ({ value: rawValue, name }) => {
|
|
|
11441
11460
|
value
|
|
11442
11461
|
}
|
|
11443
11462
|
),
|
|
11444
|
-
/* @__PURE__ */
|
|
11463
|
+
/* @__PURE__ */ jsx248(
|
|
11445
11464
|
ColorNameOrHexCode,
|
|
11446
11465
|
{
|
|
11447
11466
|
hexCode: value,
|
|
@@ -11456,7 +11475,7 @@ ColorListOption.displayName = "ColorListOption_UI";
|
|
|
11456
11475
|
|
|
11457
11476
|
// src/components/ColorPicker/ColorPicker.tsx
|
|
11458
11477
|
import { Root as PopoverRoot } from "@radix-ui/react-popover";
|
|
11459
|
-
import { jsx as
|
|
11478
|
+
import { jsx as jsx249 } from "react/jsx-runtime";
|
|
11460
11479
|
var ColorPicker = ({
|
|
11461
11480
|
children,
|
|
11462
11481
|
colorForComparison = DEFAULT_COLOR_FOR_COMPARISON,
|
|
@@ -11465,7 +11484,7 @@ var ColorPicker = ({
|
|
|
11465
11484
|
onValueChange,
|
|
11466
11485
|
value
|
|
11467
11486
|
}) => {
|
|
11468
|
-
return /* @__PURE__ */
|
|
11487
|
+
return /* @__PURE__ */ jsx249(PopoverRoot, { modal: false, children: /* @__PURE__ */ jsx249(
|
|
11469
11488
|
ColorPickerProvider,
|
|
11470
11489
|
{
|
|
11471
11490
|
colorForComparison,
|
|
@@ -11482,7 +11501,7 @@ ColorPicker.displayName = "ColorPicker_UI";
|
|
|
11482
11501
|
// src/components/ColorPicker/ColorPickerPopoverContent.tsx
|
|
11483
11502
|
import { Content as PopoverContent, Portal as PopoverPortal } from "@radix-ui/react-popover";
|
|
11484
11503
|
import { styled as styled41 } from "styled-components";
|
|
11485
|
-
import { jsx as
|
|
11504
|
+
import { jsx as jsx250 } from "react/jsx-runtime";
|
|
11486
11505
|
var StyledPopoverContent = styled41(PopoverContent)`
|
|
11487
11506
|
background-color: var(--wui-color-bg-surface);
|
|
11488
11507
|
border-radius: var(--wui-border-radius-02);
|
|
@@ -11498,7 +11517,7 @@ var StyledPopoverContent = styled41(PopoverContent)`
|
|
|
11498
11517
|
var ColorPickerPopoverContent = ({
|
|
11499
11518
|
children
|
|
11500
11519
|
}) => {
|
|
11501
|
-
return /* @__PURE__ */
|
|
11520
|
+
return /* @__PURE__ */ jsx250(PopoverPortal, { children: /* @__PURE__ */ jsx250(
|
|
11502
11521
|
StyledPopoverContent,
|
|
11503
11522
|
{
|
|
11504
11523
|
align: "start",
|
|
@@ -11511,12 +11530,12 @@ ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent_UI";
|
|
|
11511
11530
|
|
|
11512
11531
|
// src/components/ColorPicker/ColorPickerSection.tsx
|
|
11513
11532
|
import { styled as styled42 } from "styled-components";
|
|
11514
|
-
import { jsx as
|
|
11533
|
+
import { jsx as jsx251 } from "react/jsx-runtime";
|
|
11515
11534
|
var Container6 = styled42.div`
|
|
11516
11535
|
padding: var(--wui-space-02);
|
|
11517
11536
|
`;
|
|
11518
11537
|
var ColorPickerSection = ({ children }) => {
|
|
11519
|
-
return /* @__PURE__ */
|
|
11538
|
+
return /* @__PURE__ */ jsx251(Container6, { children: /* @__PURE__ */ jsx251(Stack, { children }) });
|
|
11520
11539
|
};
|
|
11521
11540
|
ColorPickerSection.displayName = "ColorPickerSection_UI";
|
|
11522
11541
|
|
|
@@ -11526,12 +11545,12 @@ import { Trigger as PopoverTrigger } from "@radix-ui/react-popover";
|
|
|
11526
11545
|
import { styled as styled43 } from "styled-components";
|
|
11527
11546
|
|
|
11528
11547
|
// src/components/ColorPicker/ValueSwatch.tsx
|
|
11529
|
-
import { jsx as
|
|
11548
|
+
import { jsx as jsx252 } from "react/jsx-runtime";
|
|
11530
11549
|
var ValueSwatch = ({
|
|
11531
11550
|
diameterPx = DEFAULT_SWATCH_DIAMETER_PX
|
|
11532
11551
|
}) => {
|
|
11533
11552
|
const { valueAsHex } = useColorPickerState();
|
|
11534
|
-
return /* @__PURE__ */
|
|
11553
|
+
return /* @__PURE__ */ jsx252(
|
|
11535
11554
|
ColorSwatch,
|
|
11536
11555
|
{
|
|
11537
11556
|
diameterPx,
|
|
@@ -11542,15 +11561,15 @@ var ValueSwatch = ({
|
|
|
11542
11561
|
ValueSwatch.displayName = "ValueSwatch_UI";
|
|
11543
11562
|
|
|
11544
11563
|
// src/components/ColorPicker/ValueNameOrHexCode.tsx
|
|
11545
|
-
import { jsx as
|
|
11564
|
+
import { jsx as jsx253 } from "react/jsx-runtime";
|
|
11546
11565
|
var ValueNameOrHexCode = () => {
|
|
11547
11566
|
const { valueAsHex } = useColorPickerState();
|
|
11548
|
-
return /* @__PURE__ */
|
|
11567
|
+
return /* @__PURE__ */ jsx253(ColorNameOrHexCode, { hexCode: valueAsHex });
|
|
11549
11568
|
};
|
|
11550
11569
|
ValueNameOrHexCode.displayName = "ValueNameOrHexCode_UI";
|
|
11551
11570
|
|
|
11552
11571
|
// src/components/ColorPicker/ColorPickerTrigger.tsx
|
|
11553
|
-
import { jsx as
|
|
11572
|
+
import { jsx as jsx254, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
11554
11573
|
var StyledPopoverTrigger = styled43(PopoverTrigger)`
|
|
11555
11574
|
background-color: var(--wui-color-bg-surface);
|
|
11556
11575
|
border-radius: var(--wui-border-radius-rounded);
|
|
@@ -11571,18 +11590,18 @@ var DefaultTriggerContentContainer = styled43.div`
|
|
|
11571
11590
|
`;
|
|
11572
11591
|
var DefaultTriggerContent = () => {
|
|
11573
11592
|
return /* @__PURE__ */ jsxs27(DefaultTriggerContentContainer, { children: [
|
|
11574
|
-
/* @__PURE__ */
|
|
11575
|
-
/* @__PURE__ */
|
|
11593
|
+
/* @__PURE__ */ jsx254(ValueSwatch, {}),
|
|
11594
|
+
/* @__PURE__ */ jsx254(ValueNameOrHexCode, {})
|
|
11576
11595
|
] });
|
|
11577
11596
|
};
|
|
11578
11597
|
var ColorPickerTrigger = forwardRef13(
|
|
11579
11598
|
({ children, ...props }, forwardedRef) => {
|
|
11580
|
-
return /* @__PURE__ */
|
|
11599
|
+
return /* @__PURE__ */ jsx254(
|
|
11581
11600
|
StyledPopoverTrigger,
|
|
11582
11601
|
{
|
|
11583
11602
|
ref: forwardedRef,
|
|
11584
11603
|
...props,
|
|
11585
|
-
children: children ?? /* @__PURE__ */
|
|
11604
|
+
children: children ?? /* @__PURE__ */ jsx254(DefaultTriggerContent, {})
|
|
11586
11605
|
}
|
|
11587
11606
|
);
|
|
11588
11607
|
}
|
|
@@ -11591,7 +11610,7 @@ ColorPickerTrigger.displayName = "ColorPickerTrigger_UI";
|
|
|
11591
11610
|
|
|
11592
11611
|
// src/components/ColorPicker/ContrastIndicator.tsx
|
|
11593
11612
|
import { styled as styled44 } from "styled-components";
|
|
11594
|
-
import { jsx as
|
|
11613
|
+
import { jsx as jsx255, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
11595
11614
|
var Container7 = styled44.div`
|
|
11596
11615
|
display: flex;
|
|
11597
11616
|
flex-direction: row;
|
|
@@ -11605,7 +11624,7 @@ var ContrastIndicator = () => {
|
|
|
11605
11624
|
const { currentContrastRatio, minimumContrastRatio } = useColorPickerState();
|
|
11606
11625
|
const isContrastSufficient = currentContrastRatio >= minimumContrastRatio;
|
|
11607
11626
|
const label = /* @__PURE__ */ jsxs28("div", { children: [
|
|
11608
|
-
/* @__PURE__ */
|
|
11627
|
+
/* @__PURE__ */ jsx255(
|
|
11609
11628
|
Text,
|
|
11610
11629
|
{
|
|
11611
11630
|
renderAs: "span",
|
|
@@ -11626,19 +11645,19 @@ var ContrastIndicator = () => {
|
|
|
11626
11645
|
}
|
|
11627
11646
|
)
|
|
11628
11647
|
] });
|
|
11629
|
-
return /* @__PURE__ */
|
|
11648
|
+
return /* @__PURE__ */ jsx255(Container7, { children: isContrastSufficient ? /* @__PURE__ */ jsx255(
|
|
11630
11649
|
Badge,
|
|
11631
11650
|
{
|
|
11632
11651
|
colorScheme: "success",
|
|
11633
|
-
icon: /* @__PURE__ */
|
|
11652
|
+
icon: /* @__PURE__ */ jsx255(Icon, { type: "checkmark" }),
|
|
11634
11653
|
label,
|
|
11635
11654
|
variant: "outline"
|
|
11636
11655
|
}
|
|
11637
|
-
) : /* @__PURE__ */
|
|
11656
|
+
) : /* @__PURE__ */ jsx255(
|
|
11638
11657
|
Badge,
|
|
11639
11658
|
{
|
|
11640
11659
|
colorScheme: "warning",
|
|
11641
|
-
icon: /* @__PURE__ */
|
|
11660
|
+
icon: /* @__PURE__ */ jsx255(Icon, { type: "error" }),
|
|
11642
11661
|
label,
|
|
11643
11662
|
variant: "outline"
|
|
11644
11663
|
}
|
|
@@ -11652,7 +11671,7 @@ import { useCallback as useCallback12 } from "react";
|
|
|
11652
11671
|
import { forwardRef as forwardRef14, useId as useId3 } from "react";
|
|
11653
11672
|
import { styled as styled45, css as css28 } from "styled-components";
|
|
11654
11673
|
import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
|
|
11655
|
-
import { jsx as
|
|
11674
|
+
import { jsx as jsx256, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
11656
11675
|
var switchHeightMap = {
|
|
11657
11676
|
sm: 16,
|
|
11658
11677
|
md: 20,
|
|
@@ -11752,7 +11771,7 @@ var Switch = forwardRef14(
|
|
|
11752
11771
|
$hideLabel: hideLabel,
|
|
11753
11772
|
$size: size,
|
|
11754
11773
|
children: [
|
|
11755
|
-
/* @__PURE__ */
|
|
11774
|
+
/* @__PURE__ */ jsx256(
|
|
11756
11775
|
StyledHiddenSwitchInput,
|
|
11757
11776
|
{
|
|
11758
11777
|
...props,
|
|
@@ -11767,16 +11786,16 @@ var Switch = forwardRef14(
|
|
|
11767
11786
|
value
|
|
11768
11787
|
}
|
|
11769
11788
|
),
|
|
11770
|
-
/* @__PURE__ */
|
|
11789
|
+
/* @__PURE__ */ jsx256(
|
|
11771
11790
|
FormControlLabel,
|
|
11772
11791
|
{
|
|
11773
11792
|
align,
|
|
11774
|
-
controlSlot: /* @__PURE__ */
|
|
11793
|
+
controlSlot: /* @__PURE__ */ jsx256(
|
|
11775
11794
|
StyledSwitchTrack,
|
|
11776
11795
|
{
|
|
11777
11796
|
"data-testid": "wui-faux-input",
|
|
11778
11797
|
"data-wui-faux-input": "true",
|
|
11779
|
-
children: /* @__PURE__ */
|
|
11798
|
+
children: /* @__PURE__ */ jsx256(StyledSwitchThumb, {})
|
|
11780
11799
|
}
|
|
11781
11800
|
),
|
|
11782
11801
|
description,
|
|
@@ -11794,7 +11813,7 @@ var Switch = forwardRef14(
|
|
|
11794
11813
|
Switch.displayName = "Switch_UI";
|
|
11795
11814
|
|
|
11796
11815
|
// src/components/ColorPicker/ContrastEnforcerSwitch.tsx
|
|
11797
|
-
import { jsx as
|
|
11816
|
+
import { jsx as jsx257 } from "react/jsx-runtime";
|
|
11798
11817
|
var ContrastEnforcerSwitch = () => {
|
|
11799
11818
|
const { setShouldEnforceMinContrast, shouldEnforceMinContrast, hasAccessibleDerivatives: hasAccessibleDerivatives2 } = useColorPickerState();
|
|
11800
11819
|
const onChangeContrastLimitedSwitch = useCallback12(
|
|
@@ -11810,7 +11829,7 @@ var ContrastEnforcerSwitch = () => {
|
|
|
11810
11829
|
if (!hasAccessibleDerivatives2) {
|
|
11811
11830
|
return null;
|
|
11812
11831
|
}
|
|
11813
|
-
return /* @__PURE__ */
|
|
11832
|
+
return /* @__PURE__ */ jsx257(
|
|
11814
11833
|
Switch,
|
|
11815
11834
|
{
|
|
11816
11835
|
align: "right",
|
|
@@ -11822,21 +11841,21 @@ var ContrastEnforcerSwitch = () => {
|
|
|
11822
11841
|
};
|
|
11823
11842
|
|
|
11824
11843
|
// src/components/ColorPicker/ContrastPreview.tsx
|
|
11825
|
-
import { jsx as
|
|
11844
|
+
import { jsx as jsx258 } from "react/jsx-runtime";
|
|
11826
11845
|
var ContrastPreview = () => {
|
|
11827
11846
|
const { valueAsHex, colorForComparison } = useColorPickerState();
|
|
11828
|
-
return /* @__PURE__ */
|
|
11847
|
+
return /* @__PURE__ */ jsx258(
|
|
11829
11848
|
ColorSwatch,
|
|
11830
11849
|
{
|
|
11831
11850
|
diameterPx: 36,
|
|
11832
11851
|
value: valueAsHex,
|
|
11833
|
-
children: /* @__PURE__ */
|
|
11852
|
+
children: /* @__PURE__ */ jsx258(Text, { style: { color: colorForComparison }, children: "Aa" })
|
|
11834
11853
|
}
|
|
11835
11854
|
);
|
|
11836
11855
|
};
|
|
11837
11856
|
|
|
11838
11857
|
// src/components/ColorPicker/ContrastControls.tsx
|
|
11839
|
-
import { jsx as
|
|
11858
|
+
import { jsx as jsx259, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
11840
11859
|
var ContrastControls = () => {
|
|
11841
11860
|
return /* @__PURE__ */ jsxs30(Stack, { children: [
|
|
11842
11861
|
/* @__PURE__ */ jsxs30(
|
|
@@ -11846,12 +11865,12 @@ var ContrastControls = () => {
|
|
|
11846
11865
|
direction: "row",
|
|
11847
11866
|
justifyContent: "space-between",
|
|
11848
11867
|
children: [
|
|
11849
|
-
/* @__PURE__ */
|
|
11850
|
-
/* @__PURE__ */
|
|
11868
|
+
/* @__PURE__ */ jsx259(ContrastPreview, {}),
|
|
11869
|
+
/* @__PURE__ */ jsx259(ContrastIndicator, {})
|
|
11851
11870
|
]
|
|
11852
11871
|
}
|
|
11853
11872
|
),
|
|
11854
|
-
/* @__PURE__ */
|
|
11873
|
+
/* @__PURE__ */ jsx259(ContrastEnforcerSwitch, {})
|
|
11855
11874
|
] });
|
|
11856
11875
|
};
|
|
11857
11876
|
ContrastControls.displayName = "ContrastControls_UI";
|
|
@@ -11893,7 +11912,7 @@ var inputCss = css29`
|
|
|
11893
11912
|
`;
|
|
11894
11913
|
|
|
11895
11914
|
// src/components/Input/Input.tsx
|
|
11896
|
-
import { jsx as
|
|
11915
|
+
import { jsx as jsx260, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
11897
11916
|
var inputStyles = css30`
|
|
11898
11917
|
${inputCss}
|
|
11899
11918
|
input,
|
|
@@ -12060,7 +12079,7 @@ var Input = forwardRef15(
|
|
|
12060
12079
|
const ref = isNotNil18(externalRef) && isRecord4(externalRef) && "current" in externalRef ? externalRef : internalRef;
|
|
12061
12080
|
let leftIconToDisplay = leftIcon;
|
|
12062
12081
|
if (isNil14(leftIcon) && type === "search") {
|
|
12063
|
-
leftIconToDisplay = /* @__PURE__ */
|
|
12082
|
+
leftIconToDisplay = /* @__PURE__ */ jsx260(Icon, { type: "search" });
|
|
12064
12083
|
}
|
|
12065
12084
|
if (isNotNil18(leftIconToDisplay) && isValidElement2(leftIconToDisplay)) {
|
|
12066
12085
|
leftIconToDisplay = cloneElement4(leftIconToDisplay, {
|
|
@@ -12095,14 +12114,14 @@ var Input = forwardRef15(
|
|
|
12095
12114
|
"data-wui-input-container": true,
|
|
12096
12115
|
children: [
|
|
12097
12116
|
leftIconToDisplay ?? null,
|
|
12098
|
-
type === "multiline" ? /* @__PURE__ */
|
|
12117
|
+
type === "multiline" ? /* @__PURE__ */ jsx260(
|
|
12099
12118
|
"textarea",
|
|
12100
12119
|
{
|
|
12101
12120
|
...props,
|
|
12102
12121
|
ref,
|
|
12103
12122
|
onFocus: handleFocus2
|
|
12104
12123
|
}
|
|
12105
|
-
) : /* @__PURE__ */
|
|
12124
|
+
) : /* @__PURE__ */ jsx260(
|
|
12106
12125
|
"input",
|
|
12107
12126
|
{
|
|
12108
12127
|
...props,
|
|
@@ -12120,7 +12139,7 @@ var Input = forwardRef15(
|
|
|
12120
12139
|
Input.displayName = "Input_UI";
|
|
12121
12140
|
|
|
12122
12141
|
// src/components/ColorPicker/HexColorInput.tsx
|
|
12123
|
-
import { jsx as
|
|
12142
|
+
import { jsx as jsx261 } from "react/jsx-runtime";
|
|
12124
12143
|
var SIX_DIGIT_HEX_CODE_LENGTH = 7;
|
|
12125
12144
|
var isValidHexChar = (char) => {
|
|
12126
12145
|
return /^[0-9a-fA-F]$/.test(char);
|
|
@@ -12260,7 +12279,7 @@ var HexColorInput = ({ autoFocus = true }) => {
|
|
|
12260
12279
|
useEffect11(() => {
|
|
12261
12280
|
setTextInputValue(valueAsHex);
|
|
12262
12281
|
}, [valueAsHex]);
|
|
12263
|
-
return /* @__PURE__ */
|
|
12282
|
+
return /* @__PURE__ */ jsx261(
|
|
12264
12283
|
Input,
|
|
12265
12284
|
{
|
|
12266
12285
|
ref: inputRef,
|
|
@@ -12296,7 +12315,7 @@ import { formatHex as formatHex6 } from "culori/fn";
|
|
|
12296
12315
|
import { useEffect as useEffect12, useRef as useRef11 } from "react";
|
|
12297
12316
|
import { styled as styled47 } from "styled-components";
|
|
12298
12317
|
import { formatHex as formatHex5 } from "culori/fn";
|
|
12299
|
-
import { jsx as
|
|
12318
|
+
import { jsx as jsx262 } from "react/jsx-runtime";
|
|
12300
12319
|
var Canvas = styled47.canvas`
|
|
12301
12320
|
display: block;
|
|
12302
12321
|
height: 100%;
|
|
@@ -12325,7 +12344,7 @@ var HSVHueCanvas = ({ hsv }) => {
|
|
|
12325
12344
|
ctx.fillStyle = gradient;
|
|
12326
12345
|
ctx.fillRect(0, 0, width, height);
|
|
12327
12346
|
}, [hsv.s, hsv.v]);
|
|
12328
|
-
return /* @__PURE__ */
|
|
12347
|
+
return /* @__PURE__ */ jsx262(
|
|
12329
12348
|
Canvas,
|
|
12330
12349
|
{
|
|
12331
12350
|
ref: canvasRef,
|
|
@@ -12335,7 +12354,7 @@ var HSVHueCanvas = ({ hsv }) => {
|
|
|
12335
12354
|
};
|
|
12336
12355
|
|
|
12337
12356
|
// src/components/ColorPicker/HueSlider.tsx
|
|
12338
|
-
import { jsx as
|
|
12357
|
+
import { jsx as jsx263, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
12339
12358
|
var TWENTY_FOUR = 24;
|
|
12340
12359
|
var Container8 = styled48.div`
|
|
12341
12360
|
border-radius: var(--wui-border-radius-rounded);
|
|
@@ -12415,12 +12434,12 @@ var HueSlider = () => {
|
|
|
12415
12434
|
step: 1,
|
|
12416
12435
|
value: [nonDerivedValueAsHsv.h ?? 0],
|
|
12417
12436
|
children: [
|
|
12418
|
-
/* @__PURE__ */
|
|
12419
|
-
/* @__PURE__ */
|
|
12437
|
+
/* @__PURE__ */ jsx263(Track, {}),
|
|
12438
|
+
/* @__PURE__ */ jsx263(Thumb, { "aria-label": "Hue slider", children: /* @__PURE__ */ jsx263(ThumbInner, { style: thumbInnerStyle }) })
|
|
12420
12439
|
]
|
|
12421
12440
|
}
|
|
12422
12441
|
),
|
|
12423
|
-
/* @__PURE__ */
|
|
12442
|
+
/* @__PURE__ */ jsx263(HSVHueCanvas, { hsv: valueAsHsv })
|
|
12424
12443
|
] });
|
|
12425
12444
|
};
|
|
12426
12445
|
HueSlider.displayName = "HueSlider_UI";
|
|
@@ -12460,7 +12479,7 @@ var drawSmoothCurve = (context, points) => {
|
|
|
12460
12479
|
};
|
|
12461
12480
|
|
|
12462
12481
|
// src/components/ColorPicker/HSVSaturationValueCanvas.tsx
|
|
12463
|
-
import { jsx as
|
|
12482
|
+
import { jsx as jsx264 } from "react/jsx-runtime";
|
|
12464
12483
|
var Canvas2 = styled49.canvas`
|
|
12465
12484
|
display: block;
|
|
12466
12485
|
width: 100%;
|
|
@@ -12568,7 +12587,7 @@ var HSVSaturationValueCanvas = ({
|
|
|
12568
12587
|
colorForComparison,
|
|
12569
12588
|
opacityForContrastCalculation
|
|
12570
12589
|
]);
|
|
12571
|
-
return /* @__PURE__ */
|
|
12590
|
+
return /* @__PURE__ */ jsx264(
|
|
12572
12591
|
Canvas2,
|
|
12573
12592
|
{
|
|
12574
12593
|
ref: canvasRef,
|
|
@@ -12579,7 +12598,7 @@ var HSVSaturationValueCanvas = ({
|
|
|
12579
12598
|
};
|
|
12580
12599
|
|
|
12581
12600
|
// src/components/ColorPicker/SaturationAndValuePicker.tsx
|
|
12582
|
-
import { jsx as
|
|
12601
|
+
import { jsx as jsx265, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
12583
12602
|
var SATURATION_NUDGE = 0.02;
|
|
12584
12603
|
var VALUE_NUDGE = 0.02;
|
|
12585
12604
|
var Container9 = styled50.div`
|
|
@@ -12756,7 +12775,7 @@ var SaturationAndValuePicker = ({
|
|
|
12756
12775
|
"data-testid": dataTestId,
|
|
12757
12776
|
onMouseDown: onContainerMouseDown,
|
|
12758
12777
|
children: [
|
|
12759
|
-
/* @__PURE__ */
|
|
12778
|
+
/* @__PURE__ */ jsx265(
|
|
12760
12779
|
Thumb2,
|
|
12761
12780
|
{
|
|
12762
12781
|
ref: thumbRef,
|
|
@@ -12768,7 +12787,7 @@ var SaturationAndValuePicker = ({
|
|
|
12768
12787
|
tabIndex: 0
|
|
12769
12788
|
}
|
|
12770
12789
|
),
|
|
12771
|
-
/* @__PURE__ */
|
|
12790
|
+
/* @__PURE__ */ jsx265(
|
|
12772
12791
|
HSVSaturationValueCanvas,
|
|
12773
12792
|
{
|
|
12774
12793
|
colorForComparison,
|
|
@@ -12778,7 +12797,7 @@ var SaturationAndValuePicker = ({
|
|
|
12778
12797
|
shouldShowContrastCurve: shouldEnforceMinContrast
|
|
12779
12798
|
}
|
|
12780
12799
|
),
|
|
12781
|
-
/* @__PURE__ */
|
|
12800
|
+
/* @__PURE__ */ jsx265(ScreenReaderOnly, { id: instructionsId, children: "Move right to increase saturation, left to decrease saturation, up to increase value, and down to decrease value." }),
|
|
12782
12801
|
/* @__PURE__ */ jsxs33(ScreenReaderOnly, { "aria-live": "polite", children: [
|
|
12783
12802
|
"Current color: ",
|
|
12784
12803
|
valueAsHex,
|
|
@@ -12817,7 +12836,7 @@ import { isArray as isArray2, isString as isString3 } from "@wistia/type-guards"
|
|
|
12817
12836
|
import { forwardRef as forwardRef16 } from "react";
|
|
12818
12837
|
import { styled as styled51 } from "styled-components";
|
|
12819
12838
|
import { isNil as isNil15, isNotNil as isNotNil19, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
|
|
12820
|
-
import { Fragment as Fragment7, jsx as
|
|
12839
|
+
import { Fragment as Fragment7, jsx as jsx266, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
12821
12840
|
var TagLabel = styled51.a`
|
|
12822
12841
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
12823
12842
|
font-size: var(--wui-typography-label-4-size);
|
|
@@ -12911,7 +12930,7 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
|
|
|
12911
12930
|
);
|
|
12912
12931
|
}
|
|
12913
12932
|
return /* @__PURE__ */ jsxs34(Fragment7, { children: [
|
|
12914
|
-
/* @__PURE__ */
|
|
12933
|
+
/* @__PURE__ */ jsx266(TagDivider, { $colorScheme: colorScheme }),
|
|
12915
12934
|
/* @__PURE__ */ jsxs34(
|
|
12916
12935
|
StyledRemoveButton,
|
|
12917
12936
|
{
|
|
@@ -12919,14 +12938,14 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
|
|
|
12919
12938
|
onClick: onClickRemove,
|
|
12920
12939
|
type: "button",
|
|
12921
12940
|
children: [
|
|
12922
|
-
/* @__PURE__ */
|
|
12941
|
+
/* @__PURE__ */ jsx266(
|
|
12923
12942
|
Icon,
|
|
12924
12943
|
{
|
|
12925
12944
|
size: "sm",
|
|
12926
12945
|
type: "close"
|
|
12927
12946
|
}
|
|
12928
12947
|
),
|
|
12929
|
-
/* @__PURE__ */
|
|
12948
|
+
/* @__PURE__ */ jsx266(ScreenReaderOnly, { children: onClickRemoveLabel })
|
|
12930
12949
|
]
|
|
12931
12950
|
}
|
|
12932
12951
|
)
|
|
@@ -12954,7 +12973,7 @@ var Tag = forwardRef16(
|
|
|
12954
12973
|
]
|
|
12955
12974
|
}
|
|
12956
12975
|
),
|
|
12957
|
-
/* @__PURE__ */
|
|
12976
|
+
/* @__PURE__ */ jsx266(
|
|
12958
12977
|
RemoveButton,
|
|
12959
12978
|
{
|
|
12960
12979
|
colorScheme,
|
|
@@ -12987,7 +13006,7 @@ var getDefaultTypographicElement = (variant) => {
|
|
|
12987
13006
|
};
|
|
12988
13007
|
|
|
12989
13008
|
// src/components/Combobox/Combobox.tsx
|
|
12990
|
-
import { jsx as
|
|
13009
|
+
import { jsx as jsx267, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
12991
13010
|
var ComboboxWrapper = styled52.div`
|
|
12992
13011
|
${inputCss};
|
|
12993
13012
|
width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
|
|
@@ -13111,7 +13130,7 @@ var NoResults = styled52.div`
|
|
|
13111
13130
|
`;
|
|
13112
13131
|
var POPOVER_WIDTH_OFFSET = 20;
|
|
13113
13132
|
var ComboboxOption = ({ value, children }) => {
|
|
13114
|
-
return /* @__PURE__ */
|
|
13133
|
+
return /* @__PURE__ */ jsx267(
|
|
13115
13134
|
ComboboxItem2,
|
|
13116
13135
|
{
|
|
13117
13136
|
className: "combobox-item",
|
|
@@ -13132,7 +13151,7 @@ var extractOptions = (children) => {
|
|
|
13132
13151
|
};
|
|
13133
13152
|
var defaultDisplayValues = (values, onRemove) => {
|
|
13134
13153
|
const valueArray = Array.isArray(values) ? values : [values];
|
|
13135
|
-
return valueArray.map((selectedValue) => /* @__PURE__ */
|
|
13154
|
+
return valueArray.map((selectedValue) => /* @__PURE__ */ jsx267(
|
|
13136
13155
|
Tag,
|
|
13137
13156
|
{
|
|
13138
13157
|
label: selectedValue,
|
|
@@ -13205,7 +13224,7 @@ var Combobox2 = ({
|
|
|
13205
13224
|
$fullWidth: fullWidth,
|
|
13206
13225
|
children: [
|
|
13207
13226
|
isMultiSelect ? displayValues(value, handleRemoveValue) : null,
|
|
13208
|
-
/* @__PURE__ */
|
|
13227
|
+
/* @__PURE__ */ jsx267(
|
|
13209
13228
|
ComboboxInput,
|
|
13210
13229
|
{
|
|
13211
13230
|
autoSelect: true,
|
|
@@ -13234,7 +13253,7 @@ var Combobox2 = ({
|
|
|
13234
13253
|
value: match,
|
|
13235
13254
|
children: [
|
|
13236
13255
|
options[match],
|
|
13237
|
-
/* @__PURE__ */
|
|
13256
|
+
/* @__PURE__ */ jsx267(
|
|
13238
13257
|
Icon,
|
|
13239
13258
|
{
|
|
13240
13259
|
size: "md",
|
|
@@ -13248,7 +13267,7 @@ var Combobox2 = ({
|
|
|
13248
13267
|
},
|
|
13249
13268
|
match
|
|
13250
13269
|
)),
|
|
13251
|
-
!matches.length && /* @__PURE__ */
|
|
13270
|
+
!matches.length && /* @__PURE__ */ jsx267(NoResults, { children: "No results found" })
|
|
13252
13271
|
]
|
|
13253
13272
|
}
|
|
13254
13273
|
)
|
|
@@ -13279,7 +13298,7 @@ var MenuContext = createContext6({ compact: false });
|
|
|
13279
13298
|
var useMenuContext = () => useContext5(MenuContext);
|
|
13280
13299
|
|
|
13281
13300
|
// src/components/Menu/Menu.tsx
|
|
13282
|
-
import { jsx as
|
|
13301
|
+
import { jsx as jsx268, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
13283
13302
|
var open = keyframes3`
|
|
13284
13303
|
from {
|
|
13285
13304
|
opacity: 0;
|
|
@@ -13392,25 +13411,25 @@ var Menu = forwardRef17(
|
|
|
13392
13411
|
onOpenChange: () => null
|
|
13393
13412
|
};
|
|
13394
13413
|
}
|
|
13395
|
-
return /* @__PURE__ */
|
|
13414
|
+
return /* @__PURE__ */ jsx268(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs36(
|
|
13396
13415
|
DropdownMenu,
|
|
13397
13416
|
{
|
|
13398
13417
|
modal: false,
|
|
13399
13418
|
...controlProps,
|
|
13400
13419
|
children: [
|
|
13401
|
-
/* @__PURE__ */
|
|
13420
|
+
/* @__PURE__ */ jsx268(DropdownMenuTrigger, { asChild: true, children: isNotUndefined9(trigger) ? trigger : /* @__PURE__ */ jsx268(
|
|
13402
13421
|
Button,
|
|
13403
13422
|
{
|
|
13404
13423
|
ref,
|
|
13405
13424
|
"aria-expanded": isOpen,
|
|
13406
13425
|
disabled,
|
|
13407
13426
|
forceState: isOpen ? "active" : void 0,
|
|
13408
|
-
rightIcon: /* @__PURE__ */
|
|
13427
|
+
rightIcon: /* @__PURE__ */ jsx268(Icon, { type: "caret-down" }),
|
|
13409
13428
|
...triggerProps,
|
|
13410
13429
|
children: label
|
|
13411
13430
|
}
|
|
13412
13431
|
) }),
|
|
13413
|
-
/* @__PURE__ */
|
|
13432
|
+
/* @__PURE__ */ jsx268(DropdownMenuPortal, { children: /* @__PURE__ */ jsx268(
|
|
13414
13433
|
MenuContent,
|
|
13415
13434
|
{
|
|
13416
13435
|
...props,
|
|
@@ -13436,17 +13455,17 @@ Menu.displayName = "Menu_UI";
|
|
|
13436
13455
|
// src/components/Menu/MenuLabel.tsx
|
|
13437
13456
|
import { styled as styled54 } from "styled-components";
|
|
13438
13457
|
import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
|
|
13439
|
-
import { jsx as
|
|
13458
|
+
import { jsx as jsx269 } from "react/jsx-runtime";
|
|
13440
13459
|
var StyledMenuLabel = styled54(DropdownMenuLabel)`
|
|
13441
13460
|
padding: var(--wui-space-02);
|
|
13442
13461
|
`;
|
|
13443
13462
|
var MenuLabel = ({ children, ...props }) => {
|
|
13444
|
-
return /* @__PURE__ */
|
|
13463
|
+
return /* @__PURE__ */ jsx269(
|
|
13445
13464
|
StyledMenuLabel,
|
|
13446
13465
|
{
|
|
13447
13466
|
asChild: true,
|
|
13448
13467
|
...props,
|
|
13449
|
-
children: /* @__PURE__ */
|
|
13468
|
+
children: /* @__PURE__ */ jsx269(
|
|
13450
13469
|
Heading,
|
|
13451
13470
|
{
|
|
13452
13471
|
renderAs: "span",
|
|
@@ -13477,7 +13496,7 @@ import { isNotNil as isNotNil22 } from "@wistia/type-guards";
|
|
|
13477
13496
|
import { forwardRef as forwardRef18 } from "react";
|
|
13478
13497
|
import { styled as styled55 } from "styled-components";
|
|
13479
13498
|
import { isNotNil as isNotNil21, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
|
|
13480
|
-
import { jsx as
|
|
13499
|
+
import { jsx as jsx270, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
13481
13500
|
var StyledButton3 = styled55(Button)`
|
|
13482
13501
|
${({ colorScheme }) => getColorScheme(colorScheme)};
|
|
13483
13502
|
|
|
@@ -13562,7 +13581,7 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
|
|
|
13562
13581
|
colorScheme = "error";
|
|
13563
13582
|
}
|
|
13564
13583
|
if (appearance === "gated") {
|
|
13565
|
-
badge = /* @__PURE__ */
|
|
13584
|
+
badge = /* @__PURE__ */ jsx270(
|
|
13566
13585
|
Icon,
|
|
13567
13586
|
{
|
|
13568
13587
|
colorScheme: "purple",
|
|
@@ -13584,10 +13603,10 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
|
|
|
13584
13603
|
fullWidth: true,
|
|
13585
13604
|
unstyled: true,
|
|
13586
13605
|
children: [
|
|
13587
|
-
isNotNil21(props.leftIcon) ? /* @__PURE__ */
|
|
13588
|
-
/* @__PURE__ */
|
|
13589
|
-
isNotNil21(badge) || isNotNil21(command) ? /* @__PURE__ */
|
|
13590
|
-
isNotNil21(props.rightIcon) ? /* @__PURE__ */
|
|
13606
|
+
isNotNil21(props.leftIcon) ? /* @__PURE__ */ jsx270(StyledLeftIconContainer, { children: props.leftIcon }) : null,
|
|
13607
|
+
/* @__PURE__ */ jsx270(StyledLabelAndDescriptionContainer, { children }),
|
|
13608
|
+
isNotNil21(badge) || isNotNil21(command) ? /* @__PURE__ */ jsx270(StyledBadgeContainer, { children: badge ?? command }) : null,
|
|
13609
|
+
isNotNil21(props.rightIcon) ? /* @__PURE__ */ jsx270(StyledRightIconContainer, { children: props.rightIcon }) : null
|
|
13591
13610
|
]
|
|
13592
13611
|
}
|
|
13593
13612
|
);
|
|
@@ -13596,7 +13615,7 @@ MenuItemButton.displayName = "MenuItemButton_UI";
|
|
|
13596
13615
|
|
|
13597
13616
|
// src/components/Menu/MenuItemLabelDescription.tsx
|
|
13598
13617
|
import { styled as styled56 } from "styled-components";
|
|
13599
|
-
import { jsx as
|
|
13618
|
+
import { jsx as jsx271 } from "react/jsx-runtime";
|
|
13600
13619
|
var StyledMenuItemLabel = styled56.span`
|
|
13601
13620
|
/* avoid no-empty-source rule */
|
|
13602
13621
|
`;
|
|
@@ -13604,10 +13623,10 @@ var StyledMenuItemDescription = styled56(Text)`
|
|
|
13604
13623
|
/* avoid no-empty-source rule */
|
|
13605
13624
|
`;
|
|
13606
13625
|
var MenuItemLabel = ({ children }) => {
|
|
13607
|
-
return /* @__PURE__ */
|
|
13626
|
+
return /* @__PURE__ */ jsx271(StyledMenuItemLabel, { children });
|
|
13608
13627
|
};
|
|
13609
13628
|
var MenuItemDescription = ({ children }) => {
|
|
13610
|
-
return /* @__PURE__ */
|
|
13629
|
+
return /* @__PURE__ */ jsx271(
|
|
13611
13630
|
StyledMenuItemDescription,
|
|
13612
13631
|
{
|
|
13613
13632
|
prominence: "secondary",
|
|
@@ -13618,7 +13637,7 @@ var MenuItemDescription = ({ children }) => {
|
|
|
13618
13637
|
};
|
|
13619
13638
|
|
|
13620
13639
|
// src/components/Menu/SubMenu.tsx
|
|
13621
|
-
import { jsx as
|
|
13640
|
+
import { jsx as jsx272, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
13622
13641
|
var SubMenuContent = styled57(DropdownMenuSubContent)`
|
|
13623
13642
|
${menuContentCss}
|
|
13624
13643
|
|
|
@@ -13640,12 +13659,12 @@ var StyledSubTrigger = styled57(DropdownMenuSubTrigger)`
|
|
|
13640
13659
|
var SubMenuTrigger = ({ icon, ...props }) => {
|
|
13641
13660
|
const { isSmAndUp } = useMq();
|
|
13642
13661
|
const Trigger4 = isSmAndUp ? StyledSubTrigger : DropdownMenuItem;
|
|
13643
|
-
return /* @__PURE__ */
|
|
13662
|
+
return /* @__PURE__ */ jsx272(Trigger4, { asChild: true, children: /* @__PURE__ */ jsx272(
|
|
13644
13663
|
MenuItemButton,
|
|
13645
13664
|
{
|
|
13646
13665
|
...props,
|
|
13647
13666
|
leftIcon: icon,
|
|
13648
|
-
rightIcon: /* @__PURE__ */
|
|
13667
|
+
rightIcon: /* @__PURE__ */ jsx272(Icon, { type: "caret-right" })
|
|
13649
13668
|
}
|
|
13650
13669
|
) });
|
|
13651
13670
|
};
|
|
@@ -13661,10 +13680,10 @@ var SubMenu = ({
|
|
|
13661
13680
|
const { compact } = useMenuContext();
|
|
13662
13681
|
return isSmAndUp ? /* @__PURE__ */ jsxs38(DropdownMenuSub, { onOpenChange, children: [
|
|
13663
13682
|
/* @__PURE__ */ jsxs38(SubMenuTrigger, { ...props, children: [
|
|
13664
|
-
/* @__PURE__ */
|
|
13665
|
-
isNotNil22(description) ? /* @__PURE__ */
|
|
13683
|
+
/* @__PURE__ */ jsx272(MenuItemLabel, { children: label }),
|
|
13684
|
+
isNotNil22(description) ? /* @__PURE__ */ jsx272(MenuItemDescription, { children: description }) : null
|
|
13666
13685
|
] }),
|
|
13667
|
-
/* @__PURE__ */
|
|
13686
|
+
/* @__PURE__ */ jsx272(DropdownMenuPortal2, { children: /* @__PURE__ */ jsx272(SubMenuContent, { $compact: compact, children }) })
|
|
13668
13687
|
] }) : /* @__PURE__ */ jsxs38(DropdownMenuGroup, { children: [
|
|
13669
13688
|
/* @__PURE__ */ jsxs38(
|
|
13670
13689
|
SubMenuTrigger,
|
|
@@ -13675,12 +13694,12 @@ var SubMenu = ({
|
|
|
13675
13694
|
setIsExpanded((prev) => !prev);
|
|
13676
13695
|
},
|
|
13677
13696
|
children: [
|
|
13678
|
-
/* @__PURE__ */
|
|
13679
|
-
/* @__PURE__ */
|
|
13697
|
+
/* @__PURE__ */ jsx272(MenuItemLabel, { children: label }),
|
|
13698
|
+
/* @__PURE__ */ jsx272(MenuItemDescription, { children: description })
|
|
13680
13699
|
]
|
|
13681
13700
|
}
|
|
13682
13701
|
),
|
|
13683
|
-
/* @__PURE__ */
|
|
13702
|
+
/* @__PURE__ */ jsx272(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
|
|
13684
13703
|
] });
|
|
13685
13704
|
};
|
|
13686
13705
|
SubMenu.displayName = "SubMenu_UI";
|
|
@@ -13688,15 +13707,15 @@ SubMenu.displayName = "SubMenu_UI";
|
|
|
13688
13707
|
// src/components/Menu/MenuItem.tsx
|
|
13689
13708
|
import { forwardRef as forwardRef19 } from "react";
|
|
13690
13709
|
import { DropdownMenuItem as DropdownMenuItem2 } from "@radix-ui/react-dropdown-menu";
|
|
13691
|
-
import { jsx as
|
|
13710
|
+
import { jsx as jsx273 } from "react/jsx-runtime";
|
|
13692
13711
|
var MenuItem = forwardRef19(
|
|
13693
13712
|
({ onSelect = () => null, ...props }, ref) => {
|
|
13694
|
-
return /* @__PURE__ */
|
|
13713
|
+
return /* @__PURE__ */ jsx273(
|
|
13695
13714
|
DropdownMenuItem2,
|
|
13696
13715
|
{
|
|
13697
13716
|
asChild: true,
|
|
13698
13717
|
onSelect,
|
|
13699
|
-
children: /* @__PURE__ */
|
|
13718
|
+
children: /* @__PURE__ */ jsx273(
|
|
13700
13719
|
MenuItemButton,
|
|
13701
13720
|
{
|
|
13702
13721
|
...props,
|
|
@@ -13712,19 +13731,19 @@ MenuItem.displayName = "MenuItem_UI";
|
|
|
13712
13731
|
|
|
13713
13732
|
// src/components/Menu/MenuRadioGroup.tsx
|
|
13714
13733
|
import { DropdownMenuRadioGroup } from "@radix-ui/react-dropdown-menu";
|
|
13715
|
-
import { jsx as
|
|
13734
|
+
import { jsx as jsx274 } from "react/jsx-runtime";
|
|
13716
13735
|
var MenuRadioGroup = ({ children, ...props }) => {
|
|
13717
|
-
return /* @__PURE__ */
|
|
13736
|
+
return /* @__PURE__ */ jsx274(DropdownMenuRadioGroup, { ...props, children });
|
|
13718
13737
|
};
|
|
13719
13738
|
MenuRadioGroup.displayName = "MenuRadioGroup_UI";
|
|
13720
13739
|
|
|
13721
13740
|
// src/components/Menu/RadioMenuItem.tsx
|
|
13722
13741
|
import { DropdownMenuItemIndicator, DropdownMenuRadioItem } from "@radix-ui/react-dropdown-menu";
|
|
13723
|
-
import { jsx as
|
|
13742
|
+
import { jsx as jsx275 } from "react/jsx-runtime";
|
|
13724
13743
|
var RadioMenuItem = ({
|
|
13725
13744
|
onSelect,
|
|
13726
13745
|
value,
|
|
13727
|
-
indicator = /* @__PURE__ */
|
|
13746
|
+
indicator = /* @__PURE__ */ jsx275(
|
|
13728
13747
|
Icon,
|
|
13729
13748
|
{
|
|
13730
13749
|
size: "sm",
|
|
@@ -13734,17 +13753,17 @@ var RadioMenuItem = ({
|
|
|
13734
13753
|
...props
|
|
13735
13754
|
}) => {
|
|
13736
13755
|
const extraProps = onSelect ? { onSelect } : {};
|
|
13737
|
-
return /* @__PURE__ */
|
|
13756
|
+
return /* @__PURE__ */ jsx275(
|
|
13738
13757
|
DropdownMenuRadioItem,
|
|
13739
13758
|
{
|
|
13740
13759
|
...extraProps,
|
|
13741
13760
|
asChild: true,
|
|
13742
13761
|
value,
|
|
13743
|
-
children: /* @__PURE__ */
|
|
13762
|
+
children: /* @__PURE__ */ jsx275(
|
|
13744
13763
|
MenuItemButton,
|
|
13745
13764
|
{
|
|
13746
13765
|
...props,
|
|
13747
|
-
rightIcon: /* @__PURE__ */
|
|
13766
|
+
rightIcon: /* @__PURE__ */ jsx275(DropdownMenuItemIndicator, { children: indicator })
|
|
13748
13767
|
}
|
|
13749
13768
|
)
|
|
13750
13769
|
}
|
|
@@ -13755,7 +13774,7 @@ RadioMenuItem.displayName = "RadioMenuItem_UI";
|
|
|
13755
13774
|
// src/components/Menu/CheckboxMenuItem.tsx
|
|
13756
13775
|
import { DropdownMenuCheckboxItem, DropdownMenuItemIndicator as DropdownMenuItemIndicator2 } from "@radix-ui/react-dropdown-menu";
|
|
13757
13776
|
import { isNotNil as isNotNil23 } from "@wistia/type-guards";
|
|
13758
|
-
import { jsx as
|
|
13777
|
+
import { jsx as jsx276, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
13759
13778
|
var CheckboxIndicator = ({ checked, ...props }) => {
|
|
13760
13779
|
return checked ? /* @__PURE__ */ jsxs39(
|
|
13761
13780
|
"svg",
|
|
@@ -13767,14 +13786,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
|
|
|
13767
13786
|
width: "24",
|
|
13768
13787
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13769
13788
|
children: [
|
|
13770
|
-
/* @__PURE__ */
|
|
13789
|
+
/* @__PURE__ */ jsx276(
|
|
13771
13790
|
"path",
|
|
13772
13791
|
{
|
|
13773
13792
|
d: "m4 8c0-2.20914 1.79086-4 4-4h8c2.2091 0 4 1.79086 4 4v8c0 2.2091-1.7909 4-4 4h-8c-2.20914 0-4-1.7909-4-4z",
|
|
13774
13793
|
fill: "#2949e5"
|
|
13775
13794
|
}
|
|
13776
13795
|
),
|
|
13777
|
-
/* @__PURE__ */
|
|
13796
|
+
/* @__PURE__ */ jsx276(
|
|
13778
13797
|
"path",
|
|
13779
13798
|
{
|
|
13780
13799
|
d: "m10.4728 15.1931-3.09523-3.1131c-.18596-.187-.18596-.4902 0-.6773l.67341-.6773c.18596-.187.48749-.187.67344 0l2.08508 2.0971 4.4661-4.49174c.1859-.18703.4875-.18703.6734 0l.6734.67731c.186.18703.186.49027 0 .67731l-5.4762 5.50772c-.1859.187-.4874.187-.6734 0z",
|
|
@@ -13793,14 +13812,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
|
|
|
13793
13812
|
width: "24",
|
|
13794
13813
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13795
13814
|
children: [
|
|
13796
|
-
/* @__PURE__ */
|
|
13815
|
+
/* @__PURE__ */ jsx276(
|
|
13797
13816
|
"path",
|
|
13798
13817
|
{
|
|
13799
13818
|
d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
|
|
13800
13819
|
fill: "#fcfcfd"
|
|
13801
13820
|
}
|
|
13802
13821
|
),
|
|
13803
|
-
/* @__PURE__ */
|
|
13822
|
+
/* @__PURE__ */ jsx276(
|
|
13804
13823
|
"path",
|
|
13805
13824
|
{
|
|
13806
13825
|
d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
|
|
@@ -13817,19 +13836,19 @@ var CheckboxMenuItem = ({
|
|
|
13817
13836
|
onCheckedChange,
|
|
13818
13837
|
...props
|
|
13819
13838
|
}) => {
|
|
13820
|
-
return /* @__PURE__ */
|
|
13839
|
+
return /* @__PURE__ */ jsx276(
|
|
13821
13840
|
DropdownMenuCheckboxItem,
|
|
13822
13841
|
{
|
|
13823
13842
|
asChild: true,
|
|
13824
13843
|
checked,
|
|
13825
13844
|
onCheckedChange,
|
|
13826
13845
|
onSelect,
|
|
13827
|
-
children: /* @__PURE__ */
|
|
13846
|
+
children: /* @__PURE__ */ jsx276(
|
|
13828
13847
|
MenuItemButton,
|
|
13829
13848
|
{
|
|
13830
13849
|
...props,
|
|
13831
|
-
leftIcon: isNotNil23(props.icon) ? props.icon : /* @__PURE__ */
|
|
13832
|
-
rightIcon: isNotNil23(props.icon) ? /* @__PURE__ */
|
|
13850
|
+
leftIcon: isNotNil23(props.icon) ? props.icon : /* @__PURE__ */ jsx276(CheckboxIndicator, { checked }),
|
|
13851
|
+
rightIcon: isNotNil23(props.icon) ? /* @__PURE__ */ jsx276(DropdownMenuItemIndicator2, { children: /* @__PURE__ */ jsx276(Icon, { type: "checkmark" }) }) : void 0
|
|
13833
13852
|
}
|
|
13834
13853
|
)
|
|
13835
13854
|
}
|
|
@@ -13840,7 +13859,7 @@ CheckboxMenuItem.displayName = "CheckboxMenuItem_UI";
|
|
|
13840
13859
|
// src/components/Menu/FilterMenu.tsx
|
|
13841
13860
|
import { Children as Children6, forwardRef as forwardRef20 } from "react";
|
|
13842
13861
|
import { DropdownMenuItem as DropdownMenuItem3 } from "@radix-ui/react-dropdown-menu";
|
|
13843
|
-
import { jsx as
|
|
13862
|
+
import { jsx as jsx277, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
13844
13863
|
var FilterMenuItem = CheckboxMenuItem;
|
|
13845
13864
|
var FilterMenu = forwardRef20(
|
|
13846
13865
|
({ value, onChange, searchValue, onSearchValueChange, children, ...props }, ref) => {
|
|
@@ -13850,7 +13869,7 @@ var FilterMenu = forwardRef20(
|
|
|
13850
13869
|
...props,
|
|
13851
13870
|
ref,
|
|
13852
13871
|
children: [
|
|
13853
|
-
/* @__PURE__ */
|
|
13872
|
+
/* @__PURE__ */ jsx277(
|
|
13854
13873
|
Card,
|
|
13855
13874
|
{
|
|
13856
13875
|
alignItems: "flex-end",
|
|
@@ -13865,7 +13884,7 @@ var FilterMenu = forwardRef20(
|
|
|
13865
13884
|
right: 0,
|
|
13866
13885
|
margin: "1px"
|
|
13867
13886
|
},
|
|
13868
|
-
children: /* @__PURE__ */
|
|
13887
|
+
children: /* @__PURE__ */ jsx277(
|
|
13869
13888
|
Input,
|
|
13870
13889
|
{
|
|
13871
13890
|
autoFocus: true,
|
|
@@ -13891,7 +13910,7 @@ var FilterMenu = forwardRef20(
|
|
|
13891
13910
|
)
|
|
13892
13911
|
}
|
|
13893
13912
|
),
|
|
13894
|
-
/* @__PURE__ */
|
|
13913
|
+
/* @__PURE__ */ jsx277(
|
|
13895
13914
|
MenuItem,
|
|
13896
13915
|
{
|
|
13897
13916
|
disabled: true,
|
|
@@ -13899,13 +13918,13 @@ var FilterMenu = forwardRef20(
|
|
|
13899
13918
|
children: " "
|
|
13900
13919
|
}
|
|
13901
13920
|
),
|
|
13902
|
-
Children6.toArray(children).length > 0 ? children : /* @__PURE__ */
|
|
13903
|
-
value.length > 0 && /* @__PURE__ */
|
|
13921
|
+
Children6.toArray(children).length > 0 ? children : /* @__PURE__ */ jsx277(MenuItem, { disabled: true, children: "No results found" }),
|
|
13922
|
+
value.length > 0 && /* @__PURE__ */ jsx277(
|
|
13904
13923
|
DropdownMenuItem3,
|
|
13905
13924
|
{
|
|
13906
13925
|
disabled: true,
|
|
13907
13926
|
style: { marginTop: "24px" },
|
|
13908
|
-
children: /* @__PURE__ */
|
|
13927
|
+
children: /* @__PURE__ */ jsx277(
|
|
13909
13928
|
Card,
|
|
13910
13929
|
{
|
|
13911
13930
|
alignItems: "flex-end",
|
|
@@ -13920,7 +13939,7 @@ var FilterMenu = forwardRef20(
|
|
|
13920
13939
|
right: 0,
|
|
13921
13940
|
margin: "1px"
|
|
13922
13941
|
},
|
|
13923
|
-
children: /* @__PURE__ */
|
|
13942
|
+
children: /* @__PURE__ */ jsx277(
|
|
13924
13943
|
Button,
|
|
13925
13944
|
{
|
|
13926
13945
|
onClick: () => onChange([]),
|
|
@@ -13940,7 +13959,7 @@ var FilterMenu = forwardRef20(
|
|
|
13940
13959
|
FilterMenu.displayName = "FilterMenu_UI";
|
|
13941
13960
|
|
|
13942
13961
|
// src/components/ContextMenu/ContextMenu.tsx
|
|
13943
|
-
import { jsx as
|
|
13962
|
+
import { jsx as jsx278 } from "react/jsx-runtime";
|
|
13944
13963
|
var ContextMenu = ({
|
|
13945
13964
|
position,
|
|
13946
13965
|
triggerRef,
|
|
@@ -13970,7 +13989,7 @@ var ContextMenu = ({
|
|
|
13970
13989
|
if (!isOpen) {
|
|
13971
13990
|
return null;
|
|
13972
13991
|
}
|
|
13973
|
-
const menu = /* @__PURE__ */
|
|
13992
|
+
const menu = /* @__PURE__ */ jsx278(
|
|
13974
13993
|
Menu,
|
|
13975
13994
|
{
|
|
13976
13995
|
compact,
|
|
@@ -13982,7 +14001,7 @@ var ContextMenu = ({
|
|
|
13982
14001
|
}
|
|
13983
14002
|
},
|
|
13984
14003
|
side,
|
|
13985
|
-
trigger: /* @__PURE__ */
|
|
14004
|
+
trigger: /* @__PURE__ */ jsx278(
|
|
13986
14005
|
"button",
|
|
13987
14006
|
{
|
|
13988
14007
|
"aria-label": "context menu",
|
|
@@ -14010,7 +14029,7 @@ var ContextMenu = ({
|
|
|
14010
14029
|
import { useRef as useRef15 } from "react";
|
|
14011
14030
|
import { styled as styled58, keyframes as keyframes4 } from "styled-components";
|
|
14012
14031
|
import { isNotNil as isNotNil25 } from "@wistia/type-guards";
|
|
14013
|
-
import { jsx as
|
|
14032
|
+
import { jsx as jsx279, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
14014
14033
|
var pulse = keyframes4`
|
|
14015
14034
|
0%,
|
|
14016
14035
|
100% {
|
|
@@ -14153,7 +14172,7 @@ var DataCardInner = ({
|
|
|
14153
14172
|
$colorScheme: colorScheme,
|
|
14154
14173
|
...props,
|
|
14155
14174
|
children: [
|
|
14156
|
-
/* @__PURE__ */
|
|
14175
|
+
/* @__PURE__ */ jsx279(
|
|
14157
14176
|
StyledLabel3,
|
|
14158
14177
|
{
|
|
14159
14178
|
"data-wui-data-card-skeleton": isLoading,
|
|
@@ -14162,7 +14181,7 @@ var DataCardInner = ({
|
|
|
14162
14181
|
children: label
|
|
14163
14182
|
}
|
|
14164
14183
|
),
|
|
14165
|
-
/* @__PURE__ */
|
|
14184
|
+
/* @__PURE__ */ jsx279(
|
|
14166
14185
|
StyledValue,
|
|
14167
14186
|
{
|
|
14168
14187
|
"data-wui-data-card-skeleton": isLoading,
|
|
@@ -14171,8 +14190,8 @@ var DataCardInner = ({
|
|
|
14171
14190
|
children: value
|
|
14172
14191
|
}
|
|
14173
14192
|
),
|
|
14174
|
-
isNotNil25(upperRightSlot) && !isLoading && /* @__PURE__ */
|
|
14175
|
-
isNotNil25(subtitle) && !isLoading && /* @__PURE__ */
|
|
14193
|
+
isNotNil25(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx279(StyledSlot, { children: upperRightSlot }),
|
|
14194
|
+
isNotNil25(subtitle) && !isLoading && /* @__PURE__ */ jsx279(
|
|
14176
14195
|
StyledSubtitle,
|
|
14177
14196
|
{
|
|
14178
14197
|
"data-wui-data-card-subtitle": true,
|
|
@@ -14180,7 +14199,7 @@ var DataCardInner = ({
|
|
|
14180
14199
|
children: subtitle
|
|
14181
14200
|
}
|
|
14182
14201
|
),
|
|
14183
|
-
isNotNil25(trend) && !isLoading && /* @__PURE__ */
|
|
14202
|
+
isNotNil25(trend) && !isLoading && /* @__PURE__ */ jsx279(StyledDataCardTrendContainer, { children: trend })
|
|
14184
14203
|
]
|
|
14185
14204
|
}
|
|
14186
14205
|
);
|
|
@@ -14188,12 +14207,12 @@ var DataCard = (props) => {
|
|
|
14188
14207
|
const ref = useRef15(null);
|
|
14189
14208
|
if (isNotNil25(props.href) || isNotNil25(props.onClick)) {
|
|
14190
14209
|
const { "aria-pressed": ariaPressed, ...dataCardProps } = props;
|
|
14191
|
-
return /* @__PURE__ */
|
|
14210
|
+
return /* @__PURE__ */ jsx279(ClickRegion, { targetRef: ref, children: /* @__PURE__ */ jsx279(
|
|
14192
14211
|
DataCardInner,
|
|
14193
14212
|
{
|
|
14194
14213
|
upperRightSlot: props.upperRightSlot,
|
|
14195
14214
|
...dataCardProps,
|
|
14196
|
-
label: /* @__PURE__ */
|
|
14215
|
+
label: /* @__PURE__ */ jsx279(
|
|
14197
14216
|
Button,
|
|
14198
14217
|
{
|
|
14199
14218
|
ref,
|
|
@@ -14210,13 +14229,13 @@ var DataCard = (props) => {
|
|
|
14210
14229
|
}
|
|
14211
14230
|
) });
|
|
14212
14231
|
}
|
|
14213
|
-
return /* @__PURE__ */
|
|
14232
|
+
return /* @__PURE__ */ jsx279(DataCardInner, { ...props });
|
|
14214
14233
|
};
|
|
14215
14234
|
DataCard.displayName = "DataCard_UI";
|
|
14216
14235
|
|
|
14217
14236
|
// src/components/DataCards/DataCards.tsx
|
|
14218
14237
|
import { styled as styled59 } from "styled-components";
|
|
14219
|
-
import { jsx as
|
|
14238
|
+
import { jsx as jsx280 } from "react/jsx-runtime";
|
|
14220
14239
|
var StyledDataCards = styled59(Box)`
|
|
14221
14240
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
14222
14241
|
--wui-data-cards-column-count: ${({ $columns }) => $columns === "auto" ? void 0 : $columns};
|
|
@@ -14241,7 +14260,7 @@ var DataCards = ({
|
|
|
14241
14260
|
}) => {
|
|
14242
14261
|
const responsiveCardMaxWidth = useResponsiveProp(cardMaxWidth);
|
|
14243
14262
|
const responsiveColumns = useResponsiveProp(columns);
|
|
14244
|
-
return /* @__PURE__ */
|
|
14263
|
+
return /* @__PURE__ */ jsx280(
|
|
14245
14264
|
StyledDataCards,
|
|
14246
14265
|
{
|
|
14247
14266
|
...props,
|
|
@@ -14261,7 +14280,7 @@ DataCards.displayName = "DataCards_UI";
|
|
|
14261
14280
|
|
|
14262
14281
|
// src/components/DataCards/DataCardTrend.tsx
|
|
14263
14282
|
import { styled as styled60 } from "styled-components";
|
|
14264
|
-
import { jsx as
|
|
14283
|
+
import { jsx as jsx281, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
14265
14284
|
var StyledDataCardTrend = styled60.div`
|
|
14266
14285
|
${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
|
|
14267
14286
|
background: var(--wui-color-bg-app);
|
|
@@ -14278,7 +14297,7 @@ var DataCardTrend = ({
|
|
|
14278
14297
|
...props
|
|
14279
14298
|
}) => {
|
|
14280
14299
|
return /* @__PURE__ */ jsxs42(StyledDataCardTrend, { $outlook: outlook, children: [
|
|
14281
|
-
/* @__PURE__ */
|
|
14300
|
+
/* @__PURE__ */ jsx281(
|
|
14282
14301
|
Icon,
|
|
14283
14302
|
{
|
|
14284
14303
|
size: "md",
|
|
@@ -14286,7 +14305,7 @@ var DataCardTrend = ({
|
|
|
14286
14305
|
...props
|
|
14287
14306
|
}
|
|
14288
14307
|
),
|
|
14289
|
-
/* @__PURE__ */
|
|
14308
|
+
/* @__PURE__ */ jsx281(
|
|
14290
14309
|
Text,
|
|
14291
14310
|
{
|
|
14292
14311
|
prominence: "secondary",
|
|
@@ -14299,14 +14318,14 @@ var DataCardTrend = ({
|
|
|
14299
14318
|
|
|
14300
14319
|
// src/components/DataCards/DataCardHoverArrow.tsx
|
|
14301
14320
|
import { styled as styled61 } from "styled-components";
|
|
14302
|
-
import { jsx as
|
|
14321
|
+
import { jsx as jsx282 } from "react/jsx-runtime";
|
|
14303
14322
|
var StyledIconContainer = styled61.div`
|
|
14304
14323
|
display: flex;
|
|
14305
14324
|
align-items: center;
|
|
14306
14325
|
align-self: center;
|
|
14307
14326
|
height: 0;
|
|
14308
14327
|
`;
|
|
14309
|
-
var DataCardHoverArrow = () => /* @__PURE__ */
|
|
14328
|
+
var DataCardHoverArrow = () => /* @__PURE__ */ jsx282(StyledIconContainer, { children: /* @__PURE__ */ jsx282(
|
|
14310
14329
|
Icon,
|
|
14311
14330
|
{
|
|
14312
14331
|
"data-wui-data-card-hover-icon": true,
|
|
@@ -14317,7 +14336,7 @@ DataCardHoverArrow.displayName = "DataCardHoverArrow_UI";
|
|
|
14317
14336
|
|
|
14318
14337
|
// src/components/DataList/DataList.tsx
|
|
14319
14338
|
import { styled as styled62 } from "styled-components";
|
|
14320
|
-
import { jsx as
|
|
14339
|
+
import { jsx as jsx283 } from "react/jsx-runtime";
|
|
14321
14340
|
var StyledDataList = styled62.dl`
|
|
14322
14341
|
display: grid;
|
|
14323
14342
|
grid-template-columns: auto 1fr;
|
|
@@ -14346,7 +14365,7 @@ var DataList = ({
|
|
|
14346
14365
|
labelProminence = "primary",
|
|
14347
14366
|
...props
|
|
14348
14367
|
}) => {
|
|
14349
|
-
return /* @__PURE__ */
|
|
14368
|
+
return /* @__PURE__ */ jsx283(
|
|
14350
14369
|
StyledDataList,
|
|
14351
14370
|
{
|
|
14352
14371
|
role: "list",
|
|
@@ -14369,9 +14388,9 @@ var DataListItem = ({ children }) => {
|
|
|
14369
14388
|
DataListItem.displayName = "DataListItem_UI";
|
|
14370
14389
|
|
|
14371
14390
|
// src/components/DataList/DataListItemLabel.tsx
|
|
14372
|
-
import { jsx as
|
|
14391
|
+
import { jsx as jsx284 } from "react/jsx-runtime";
|
|
14373
14392
|
var DataListItemLabel = (props) => {
|
|
14374
|
-
return /* @__PURE__ */
|
|
14393
|
+
return /* @__PURE__ */ jsx284(
|
|
14375
14394
|
Text,
|
|
14376
14395
|
{
|
|
14377
14396
|
variant: "label4",
|
|
@@ -14383,9 +14402,9 @@ var DataListItemLabel = (props) => {
|
|
|
14383
14402
|
DataListItemLabel.displayName = "DataListItemLabel_UI";
|
|
14384
14403
|
|
|
14385
14404
|
// src/components/DataList/DataListItemValue.tsx
|
|
14386
|
-
import { jsx as
|
|
14405
|
+
import { jsx as jsx285 } from "react/jsx-runtime";
|
|
14387
14406
|
var DataListItemValue = (props) => {
|
|
14388
|
-
return /* @__PURE__ */
|
|
14407
|
+
return /* @__PURE__ */ jsx285(
|
|
14389
14408
|
Text,
|
|
14390
14409
|
{
|
|
14391
14410
|
variant: "body3",
|
|
@@ -14398,7 +14417,7 @@ DataListItemValue.displayName = "DataListItemValue_UI";
|
|
|
14398
14417
|
|
|
14399
14418
|
// src/components/Divider/Divider.tsx
|
|
14400
14419
|
import { styled as styled63, css as css33 } from "styled-components";
|
|
14401
|
-
import { jsx as
|
|
14420
|
+
import { jsx as jsx286 } from "react/jsx-runtime";
|
|
14402
14421
|
var horizontalBorderCss = css33`
|
|
14403
14422
|
border-top-color: var(--wui-color-border);
|
|
14404
14423
|
border-top-style: solid;
|
|
@@ -14425,7 +14444,7 @@ var DividerComponent = styled63.div`
|
|
|
14425
14444
|
`;
|
|
14426
14445
|
var Divider = ({ orientation = "horizontal", ...props }) => {
|
|
14427
14446
|
const responsiveOrientation = useResponsiveProp(orientation);
|
|
14428
|
-
return /* @__PURE__ */
|
|
14447
|
+
return /* @__PURE__ */ jsx286(
|
|
14429
14448
|
DividerComponent,
|
|
14430
14449
|
{
|
|
14431
14450
|
$orientation: responsiveOrientation,
|
|
@@ -14440,7 +14459,7 @@ Divider.displayName = "Divider_UI";
|
|
|
14440
14459
|
// src/components/EditableHeading/EditableHeading.tsx
|
|
14441
14460
|
import { styled as styled64, css as css34 } from "styled-components";
|
|
14442
14461
|
import { useState as useState18, useRef as useRef16 } from "react";
|
|
14443
|
-
import { Fragment as Fragment8, jsx as
|
|
14462
|
+
import { Fragment as Fragment8, jsx as jsx287, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
14444
14463
|
var StyledInput = styled64(Input)`
|
|
14445
14464
|
&:not([rows]) {
|
|
14446
14465
|
min-height: unset;
|
|
@@ -14533,7 +14552,7 @@ var EditableHeading = ({
|
|
|
14533
14552
|
handleSetEditing(false);
|
|
14534
14553
|
}
|
|
14535
14554
|
};
|
|
14536
|
-
const HeadingComponent2 = /* @__PURE__ */
|
|
14555
|
+
const HeadingComponent2 = /* @__PURE__ */ jsx287(
|
|
14537
14556
|
StyledHeading2,
|
|
14538
14557
|
{
|
|
14539
14558
|
ref: headingRef,
|
|
@@ -14547,7 +14566,7 @@ var EditableHeading = ({
|
|
|
14547
14566
|
return HeadingComponent2;
|
|
14548
14567
|
}
|
|
14549
14568
|
if (isEditing || __forceEditing) {
|
|
14550
|
-
return /* @__PURE__ */
|
|
14569
|
+
return /* @__PURE__ */ jsx287(
|
|
14551
14570
|
StyledInput,
|
|
14552
14571
|
{
|
|
14553
14572
|
$height: headingHeight,
|
|
@@ -14567,8 +14586,8 @@ var EditableHeading = ({
|
|
|
14567
14586
|
);
|
|
14568
14587
|
}
|
|
14569
14588
|
return /* @__PURE__ */ jsxs43(Fragment8, { children: [
|
|
14570
|
-
/* @__PURE__ */
|
|
14571
|
-
/* @__PURE__ */
|
|
14589
|
+
/* @__PURE__ */ jsx287(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
|
|
14590
|
+
/* @__PURE__ */ jsx287(ScreenReaderOnly, { children: /* @__PURE__ */ jsx287(
|
|
14572
14591
|
"button",
|
|
14573
14592
|
{
|
|
14574
14593
|
"aria-label": ariaLabel,
|
|
@@ -14588,7 +14607,7 @@ import { isNotNil as isNotNil26 } from "@wistia/type-guards";
|
|
|
14588
14607
|
import { createContext as createContext7, useMemo as useMemo13, useState as useState19, useCallback as useCallback16, useId as useId4 } from "react";
|
|
14589
14608
|
import { isNonEmptyString as isNonEmptyString6 } from "@wistia/type-guards";
|
|
14590
14609
|
import { styled as styled65 } from "styled-components";
|
|
14591
|
-
import { jsx as
|
|
14610
|
+
import { jsx as jsx288 } from "react/jsx-runtime";
|
|
14592
14611
|
var LARGE_PADDING = "var(--wui-space-02)";
|
|
14593
14612
|
var SMALL_PADDING = "var(--wui-space-01)";
|
|
14594
14613
|
var getPaddingForVariant = (variant) => {
|
|
@@ -14721,7 +14740,7 @@ var EditableTextRoot = ({
|
|
|
14721
14740
|
}
|
|
14722
14741
|
return "idle";
|
|
14723
14742
|
};
|
|
14724
|
-
return /* @__PURE__ */
|
|
14743
|
+
return /* @__PURE__ */ jsx288(
|
|
14725
14744
|
StyledEditableTextRoot,
|
|
14726
14745
|
{
|
|
14727
14746
|
$typographicVariant: typographicVariant,
|
|
@@ -14729,13 +14748,13 @@ var EditableTextRoot = ({
|
|
|
14729
14748
|
"data-wui-editable-text-root": true,
|
|
14730
14749
|
"data-wui-editable-text-state": getState(),
|
|
14731
14750
|
...props,
|
|
14732
|
-
children: /* @__PURE__ */
|
|
14751
|
+
children: /* @__PURE__ */ jsx288(EditableTextContext.Provider, { value: context, children })
|
|
14733
14752
|
}
|
|
14734
14753
|
);
|
|
14735
14754
|
};
|
|
14736
14755
|
|
|
14737
14756
|
// src/components/EditableText/EditableTextDisplay.tsx
|
|
14738
|
-
import { jsx as
|
|
14757
|
+
import { jsx as jsx289, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
14739
14758
|
var StyledEditableTextDisplay = styled66.div`
|
|
14740
14759
|
${({ $typographicVariant }) => getTypographicStyles($typographicVariant)}
|
|
14741
14760
|
padding: var(--wui-editable-text-padding);
|
|
@@ -14789,7 +14808,7 @@ var EditableTextDisplayComponent = forwardRef21(
|
|
|
14789
14808
|
return null;
|
|
14790
14809
|
}
|
|
14791
14810
|
if (asTrigger && !context.readOnly) {
|
|
14792
|
-
return /* @__PURE__ */
|
|
14811
|
+
return /* @__PURE__ */ jsx289(ClickRegion, { targetRef: triggerButtonRef, children: /* @__PURE__ */ jsxs44(
|
|
14793
14812
|
StyledEditableTextDisplay,
|
|
14794
14813
|
{
|
|
14795
14814
|
ref,
|
|
@@ -14801,7 +14820,7 @@ var EditableTextDisplayComponent = forwardRef21(
|
|
|
14801
14820
|
...props,
|
|
14802
14821
|
children: [
|
|
14803
14822
|
displayText,
|
|
14804
|
-
/* @__PURE__ */
|
|
14823
|
+
/* @__PURE__ */ jsx289(
|
|
14805
14824
|
"button",
|
|
14806
14825
|
{
|
|
14807
14826
|
ref: triggerButtonRef,
|
|
@@ -14815,7 +14834,7 @@ var EditableTextDisplayComponent = forwardRef21(
|
|
|
14815
14834
|
}
|
|
14816
14835
|
) });
|
|
14817
14836
|
}
|
|
14818
|
-
return /* @__PURE__ */
|
|
14837
|
+
return /* @__PURE__ */ jsx289(
|
|
14819
14838
|
StyledEditableTextDisplay,
|
|
14820
14839
|
{
|
|
14821
14840
|
ref,
|
|
@@ -14841,7 +14860,7 @@ var EditableTextDisplay = makePolymorphic(
|
|
|
14841
14860
|
import { useContext as useContext7, useEffect as useEffect17, useRef as useRef18 } from "react";
|
|
14842
14861
|
import { styled as styled67 } from "styled-components";
|
|
14843
14862
|
import { isNotNil as isNotNil27 } from "@wistia/type-guards";
|
|
14844
|
-
import { jsx as
|
|
14863
|
+
import { jsx as jsx290 } from "react/jsx-runtime";
|
|
14845
14864
|
var StyledInput2 = styled67(Input)`
|
|
14846
14865
|
&& {
|
|
14847
14866
|
${({ $minLines }) => isNotNil27($minLines) && `min-height: calc(${$minLines}lh + calc(var(--wui-editable-text-padding) * 2));`}
|
|
@@ -14932,7 +14951,7 @@ var EditableTextInput = (props) => {
|
|
|
14932
14951
|
if (!isEditing) {
|
|
14933
14952
|
return null;
|
|
14934
14953
|
}
|
|
14935
|
-
return /* @__PURE__ */
|
|
14954
|
+
return /* @__PURE__ */ jsx290(
|
|
14936
14955
|
StyledInput2,
|
|
14937
14956
|
{
|
|
14938
14957
|
ref: inputRef,
|
|
@@ -14958,14 +14977,14 @@ var EditableTextInput = (props) => {
|
|
|
14958
14977
|
|
|
14959
14978
|
// src/components/EditableText/EditableTextLabel.tsx
|
|
14960
14979
|
import { useContext as useContext8 } from "react";
|
|
14961
|
-
import { jsx as
|
|
14980
|
+
import { jsx as jsx291 } from "react/jsx-runtime";
|
|
14962
14981
|
var EditableTextLabel = ({ ...props }) => {
|
|
14963
14982
|
const context = useContext8(EditableTextContext);
|
|
14964
14983
|
if (!context) {
|
|
14965
14984
|
throw new Error("EditableTextLabel must be used within an EditableTextRoot context");
|
|
14966
14985
|
}
|
|
14967
14986
|
const { id, label, isEditing } = context;
|
|
14968
|
-
return /* @__PURE__ */
|
|
14987
|
+
return /* @__PURE__ */ jsx291(
|
|
14969
14988
|
Label,
|
|
14970
14989
|
{
|
|
14971
14990
|
...isEditing && { htmlFor: id },
|
|
@@ -14976,11 +14995,11 @@ var EditableTextLabel = ({ ...props }) => {
|
|
|
14976
14995
|
};
|
|
14977
14996
|
|
|
14978
14997
|
// src/components/EditableText/EditableText.tsx
|
|
14979
|
-
import { jsx as
|
|
14998
|
+
import { jsx as jsx292, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
14980
14999
|
var EditableText = ({ hideLabel = true, ...props }) => /* @__PURE__ */ jsxs45(EditableTextRoot, { ...props, children: [
|
|
14981
|
-
/* @__PURE__ */
|
|
14982
|
-
/* @__PURE__ */
|
|
14983
|
-
/* @__PURE__ */
|
|
15000
|
+
/* @__PURE__ */ jsx292(EditableTextLabel, { screenReaderOnly: hideLabel }),
|
|
15001
|
+
/* @__PURE__ */ jsx292(EditableTextInput, {}),
|
|
15002
|
+
/* @__PURE__ */ jsx292(EditableTextDisplay, { asTrigger: true })
|
|
14984
15003
|
] });
|
|
14985
15004
|
EditableText.displayName = "EditableText_UI";
|
|
14986
15005
|
|
|
@@ -15115,9 +15134,9 @@ var useFormState = (action, initialData = {}) => {
|
|
|
15115
15134
|
// src/components/Form/FormErrorSummary.tsx
|
|
15116
15135
|
import { useContext as useContext12, useRef as useRef19 } from "react";
|
|
15117
15136
|
import { isArray as isArray3, isNotUndefined as isNotUndefined11 } from "@wistia/type-guards";
|
|
15118
|
-
import { jsx as
|
|
15137
|
+
import { jsx as jsx293, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
15119
15138
|
var ErrorItem = ({ name, error, formId }) => {
|
|
15120
|
-
return /* @__PURE__ */
|
|
15139
|
+
return /* @__PURE__ */ jsx293("li", { children: /* @__PURE__ */ jsx293(Link, { href: `#${formId}-${name}`, children: error }) }, name);
|
|
15121
15140
|
};
|
|
15122
15141
|
var FormErrorSummary = ({ description }) => {
|
|
15123
15142
|
const ref = useRef19(null);
|
|
@@ -15127,9 +15146,9 @@ var FormErrorSummary = ({ description }) => {
|
|
|
15127
15146
|
return null;
|
|
15128
15147
|
}
|
|
15129
15148
|
return /* @__PURE__ */ jsxs46("div", { ref, children: [
|
|
15130
|
-
/* @__PURE__ */
|
|
15131
|
-
/* @__PURE__ */
|
|
15132
|
-
([name, error]) => isArray3(error) ? error.map((err) => /* @__PURE__ */
|
|
15149
|
+
/* @__PURE__ */ jsx293("p", { children: description }),
|
|
15150
|
+
/* @__PURE__ */ jsx293("ul", { children: Object.entries(errors).filter(([, error]) => isNotUndefined11(error)).map(
|
|
15151
|
+
([name, error]) => isArray3(error) ? error.map((err) => /* @__PURE__ */ jsx293(
|
|
15133
15152
|
ErrorItem,
|
|
15134
15153
|
{
|
|
15135
15154
|
error: err,
|
|
@@ -15137,7 +15156,7 @@ var FormErrorSummary = ({ description }) => {
|
|
|
15137
15156
|
name
|
|
15138
15157
|
},
|
|
15139
15158
|
err
|
|
15140
|
-
)) : /* @__PURE__ */
|
|
15159
|
+
)) : /* @__PURE__ */ jsx293(
|
|
15141
15160
|
ErrorItem,
|
|
15142
15161
|
{
|
|
15143
15162
|
error: error ?? "",
|
|
@@ -15154,7 +15173,7 @@ var FormErrorSummary = ({ description }) => {
|
|
|
15154
15173
|
import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
|
|
15155
15174
|
import { styled as styled68, css as css36 } from "styled-components";
|
|
15156
15175
|
import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
|
|
15157
|
-
import { jsx as
|
|
15176
|
+
import { jsx as jsx294, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
15158
15177
|
var inlineErrorStyles = css36`
|
|
15159
15178
|
grid-template-rows: 1fr auto;
|
|
15160
15179
|
grid-template-areas: 'label-description input' '. error';
|
|
@@ -15217,7 +15236,7 @@ var ErrorMessages = ({ errors, id }) => {
|
|
|
15217
15236
|
const isErrorArray = isArray4(errors);
|
|
15218
15237
|
const isMultipleErrors = isErrorArray && errors.length > 1;
|
|
15219
15238
|
if (!isErrorArray) {
|
|
15220
|
-
return /* @__PURE__ */
|
|
15239
|
+
return /* @__PURE__ */ jsx294(
|
|
15221
15240
|
ErrorText,
|
|
15222
15241
|
{
|
|
15223
15242
|
colorScheme: "error",
|
|
@@ -15230,7 +15249,7 @@ var ErrorMessages = ({ errors, id }) => {
|
|
|
15230
15249
|
);
|
|
15231
15250
|
}
|
|
15232
15251
|
if (!isMultipleErrors) {
|
|
15233
|
-
return /* @__PURE__ */
|
|
15252
|
+
return /* @__PURE__ */ jsx294(
|
|
15234
15253
|
ErrorText,
|
|
15235
15254
|
{
|
|
15236
15255
|
colorScheme: "error",
|
|
@@ -15242,7 +15261,7 @@ var ErrorMessages = ({ errors, id }) => {
|
|
|
15242
15261
|
id
|
|
15243
15262
|
);
|
|
15244
15263
|
}
|
|
15245
|
-
return /* @__PURE__ */
|
|
15264
|
+
return /* @__PURE__ */ jsx294(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ jsx294(
|
|
15246
15265
|
Text,
|
|
15247
15266
|
{
|
|
15248
15267
|
colorScheme: "error",
|
|
@@ -15327,7 +15346,7 @@ var FormField = ({
|
|
|
15327
15346
|
gridArea: "label-description"
|
|
15328
15347
|
},
|
|
15329
15348
|
children: [
|
|
15330
|
-
!isIntegratedLabel && /* @__PURE__ */
|
|
15349
|
+
!isIntegratedLabel && /* @__PURE__ */ jsx294(
|
|
15331
15350
|
Label,
|
|
15332
15351
|
{
|
|
15333
15352
|
htmlFor: computedId,
|
|
@@ -15335,12 +15354,12 @@ var FormField = ({
|
|
|
15335
15354
|
children: label
|
|
15336
15355
|
}
|
|
15337
15356
|
),
|
|
15338
|
-
hasDescription ? /* @__PURE__ */
|
|
15357
|
+
hasDescription ? /* @__PURE__ */ jsx294(FormControlLabelDescription, { id: descriptionId, children: description }) : null
|
|
15339
15358
|
]
|
|
15340
15359
|
}
|
|
15341
15360
|
) : null,
|
|
15342
15361
|
cloneElement8(children, childProps),
|
|
15343
|
-
hasError ? /* @__PURE__ */
|
|
15362
|
+
hasError ? /* @__PURE__ */ jsx294(
|
|
15344
15363
|
ErrorMessages,
|
|
15345
15364
|
{
|
|
15346
15365
|
errors: computedError,
|
|
@@ -15355,7 +15374,7 @@ FormField.displayName = "FormField_UI";
|
|
|
15355
15374
|
|
|
15356
15375
|
// src/components/FormGroup/RadioGroup.tsx
|
|
15357
15376
|
import { createContext as createContext8, useMemo as useMemo14, useContext as useContext14 } from "react";
|
|
15358
|
-
import { jsx as
|
|
15377
|
+
import { jsx as jsx295 } from "react/jsx-runtime";
|
|
15359
15378
|
var RadioGroupContext = createContext8(null);
|
|
15360
15379
|
var useRadioGroup = () => {
|
|
15361
15380
|
return useContext14(RadioGroupContext);
|
|
@@ -15376,7 +15395,7 @@ var RadioGroup = ({
|
|
|
15376
15395
|
value: derivedValue
|
|
15377
15396
|
};
|
|
15378
15397
|
}, [name, derivedValue, onChange]);
|
|
15379
|
-
return /* @__PURE__ */
|
|
15398
|
+
return /* @__PURE__ */ jsx295(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx295(FormGroup, { ...props, children }) });
|
|
15380
15399
|
};
|
|
15381
15400
|
RadioGroup.displayName = "RadioGroup_UI";
|
|
15382
15401
|
|
|
@@ -15384,7 +15403,7 @@ RadioGroup.displayName = "RadioGroup_UI";
|
|
|
15384
15403
|
import { forwardRef as forwardRef22 } from "react";
|
|
15385
15404
|
import { styled as styled69, css as css37 } from "styled-components";
|
|
15386
15405
|
import { isRecord as isRecord5 } from "@wistia/type-guards";
|
|
15387
|
-
import { jsx as
|
|
15406
|
+
import { jsx as jsx296 } from "react/jsx-runtime";
|
|
15388
15407
|
var DEFAULT_ELEMENT5 = "div";
|
|
15389
15408
|
var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
|
|
15390
15409
|
if (minChildWidth === "auto" && maxColumns === "auto") {
|
|
@@ -15436,7 +15455,7 @@ var GridComponent = forwardRef22(
|
|
|
15436
15455
|
const { column, row } = isRecord5(responsiveGap) ? responsiveGap : { column: responsiveGap, row: responsiveGap };
|
|
15437
15456
|
const responsiveColumns = useResponsiveProp(columns);
|
|
15438
15457
|
const responsiveMinChildWidth = useResponsiveProp(minChildWidth);
|
|
15439
|
-
return /* @__PURE__ */
|
|
15458
|
+
return /* @__PURE__ */ jsx296(
|
|
15440
15459
|
StyledGrid,
|
|
15441
15460
|
{
|
|
15442
15461
|
ref,
|
|
@@ -15459,7 +15478,7 @@ var Grid = makePolymorphic(GridComponent);
|
|
|
15459
15478
|
import { styled as styled70 } from "styled-components";
|
|
15460
15479
|
import { forwardRef as forwardRef23, useEffect as useEffect18, useState as useState21 } from "react";
|
|
15461
15480
|
import { isFunction as isFunction3 } from "@wistia/type-guards";
|
|
15462
|
-
import { jsx as
|
|
15481
|
+
import { jsx as jsx297 } from "react/jsx-runtime";
|
|
15463
15482
|
var StyledIconButton = styled70(IconButton)`
|
|
15464
15483
|
/* override size for icon button since prop gets changed by Input */
|
|
15465
15484
|
height: var(--icon-button-size-sm);
|
|
@@ -15499,7 +15518,7 @@ var InputClickToCopy = forwardRef23(
|
|
|
15499
15518
|
return value;
|
|
15500
15519
|
});
|
|
15501
15520
|
};
|
|
15502
|
-
return /* @__PURE__ */
|
|
15521
|
+
return /* @__PURE__ */ jsx297(
|
|
15503
15522
|
Input,
|
|
15504
15523
|
{
|
|
15505
15524
|
"aria-label": "Click to Copy",
|
|
@@ -15507,7 +15526,7 @@ var InputClickToCopy = forwardRef23(
|
|
|
15507
15526
|
ref,
|
|
15508
15527
|
disabled,
|
|
15509
15528
|
readOnly: true,
|
|
15510
|
-
rightIcon: /* @__PURE__ */
|
|
15529
|
+
rightIcon: /* @__PURE__ */ jsx297(
|
|
15511
15530
|
StyledIconButton,
|
|
15512
15531
|
{
|
|
15513
15532
|
colorScheme: isCopied ? "success" : "inherit",
|
|
@@ -15515,7 +15534,7 @@ var InputClickToCopy = forwardRef23(
|
|
|
15515
15534
|
label: "Copy to clipboard",
|
|
15516
15535
|
onClick: handleClick,
|
|
15517
15536
|
variant: "ghost",
|
|
15518
|
-
children: isCopied ? /* @__PURE__ */
|
|
15537
|
+
children: isCopied ? /* @__PURE__ */ jsx297(Icon, { type: "checkmark-circle" }) : /* @__PURE__ */ jsx297(Icon, { type: "save-as-copy" })
|
|
15519
15538
|
}
|
|
15520
15539
|
),
|
|
15521
15540
|
value
|
|
@@ -15529,7 +15548,7 @@ InputClickToCopy.displayName = "InputClickToCopy_UI";
|
|
|
15529
15548
|
import { styled as styled71 } from "styled-components";
|
|
15530
15549
|
import { forwardRef as forwardRef24, useState as useState22 } from "react";
|
|
15531
15550
|
import { isFunction as isFunction4 } from "@wistia/type-guards";
|
|
15532
|
-
import { jsx as
|
|
15551
|
+
import { jsx as jsx298 } from "react/jsx-runtime";
|
|
15533
15552
|
var StyledIconButton2 = styled71(IconButton)`
|
|
15534
15553
|
/* override size for icon button since prop gets changed by Input */
|
|
15535
15554
|
height: var(--icon-button-size-sm);
|
|
@@ -15548,13 +15567,13 @@ var InputPassword = forwardRef24(
|
|
|
15548
15567
|
onVisibilityToggle(newVisibility);
|
|
15549
15568
|
}
|
|
15550
15569
|
};
|
|
15551
|
-
return /* @__PURE__ */
|
|
15570
|
+
return /* @__PURE__ */ jsx298(
|
|
15552
15571
|
Input,
|
|
15553
15572
|
{
|
|
15554
15573
|
...props,
|
|
15555
15574
|
ref,
|
|
15556
15575
|
disabled,
|
|
15557
|
-
rightIcon: /* @__PURE__ */
|
|
15576
|
+
rightIcon: /* @__PURE__ */ jsx298(
|
|
15558
15577
|
StyledIconButton2,
|
|
15559
15578
|
{
|
|
15560
15579
|
disabled,
|
|
@@ -15562,7 +15581,7 @@ var InputPassword = forwardRef24(
|
|
|
15562
15581
|
onClick: handleClick,
|
|
15563
15582
|
tabIndex: disabled ? -1 : 0,
|
|
15564
15583
|
variant: "ghost",
|
|
15565
|
-
children: /* @__PURE__ */
|
|
15584
|
+
children: /* @__PURE__ */ jsx298(Icon, { type: isVisible ? "preview" : "hide" })
|
|
15566
15585
|
}
|
|
15567
15586
|
),
|
|
15568
15587
|
type: isVisible ? "text" : "password"
|
|
@@ -15575,7 +15594,7 @@ InputPassword.displayName = "InputPassword_UI";
|
|
|
15575
15594
|
// src/components/KeyboardShortcut/KeyboardShortcut.tsx
|
|
15576
15595
|
import { styled as styled72 } from "styled-components";
|
|
15577
15596
|
import { isNotNil as isNotNil29 } from "@wistia/type-guards";
|
|
15578
|
-
import { jsx as
|
|
15597
|
+
import { jsx as jsx299, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
15579
15598
|
var StyledKeyboardShortcut = styled72.div`
|
|
15580
15599
|
align-items: center;
|
|
15581
15600
|
display: flex;
|
|
@@ -15668,8 +15687,8 @@ var KeyboardShortcut = ({
|
|
|
15668
15687
|
$fullWidth: fullWidth,
|
|
15669
15688
|
...otherProps,
|
|
15670
15689
|
children: [
|
|
15671
|
-
isNotNil29(label) && /* @__PURE__ */
|
|
15672
|
-
/* @__PURE__ */
|
|
15690
|
+
isNotNil29(label) && /* @__PURE__ */ jsx299(Label2, { children: label }),
|
|
15691
|
+
/* @__PURE__ */ jsx299(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ jsx299(
|
|
15673
15692
|
StyledKey,
|
|
15674
15693
|
{
|
|
15675
15694
|
children: keyToString(keyboardKey)
|
|
@@ -15688,7 +15707,7 @@ import { styled as styled74, css as css38 } from "styled-components";
|
|
|
15688
15707
|
// src/components/List/ListItem.tsx
|
|
15689
15708
|
import { styled as styled73 } from "styled-components";
|
|
15690
15709
|
import { isNil as isNil17 } from "@wistia/type-guards";
|
|
15691
|
-
import { jsx as
|
|
15710
|
+
import { jsx as jsx300 } from "react/jsx-runtime";
|
|
15692
15711
|
var ListItemComponent = styled73.li`
|
|
15693
15712
|
margin-bottom: var(--wui-space-02);
|
|
15694
15713
|
`;
|
|
@@ -15696,12 +15715,12 @@ var ListItem = ({ children }) => {
|
|
|
15696
15715
|
if (isNil17(children)) {
|
|
15697
15716
|
return null;
|
|
15698
15717
|
}
|
|
15699
|
-
return /* @__PURE__ */
|
|
15718
|
+
return /* @__PURE__ */ jsx300(ListItemComponent, { children });
|
|
15700
15719
|
};
|
|
15701
15720
|
ListItem.displayName = "ListItem_UI";
|
|
15702
15721
|
|
|
15703
15722
|
// src/components/List/List.tsx
|
|
15704
|
-
import { jsx as
|
|
15723
|
+
import { jsx as jsx301, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
15705
15724
|
var spacesStyle = css38`
|
|
15706
15725
|
overflow: hidden;
|
|
15707
15726
|
padding-left: 0;
|
|
@@ -15787,7 +15806,7 @@ var ListComponent = styled74.ul`
|
|
|
15787
15806
|
`;
|
|
15788
15807
|
var renderListComponent = (listItems, variant, { ...otherProps }) => {
|
|
15789
15808
|
const elementType = variant === "ordered" ? "ol" : "ul";
|
|
15790
|
-
return /* @__PURE__ */
|
|
15809
|
+
return /* @__PURE__ */ jsx301(
|
|
15791
15810
|
ListComponent,
|
|
15792
15811
|
{
|
|
15793
15812
|
as: elementType,
|
|
@@ -15812,7 +15831,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
|
|
|
15812
15831
|
if (Array.isArray(item)) {
|
|
15813
15832
|
return null;
|
|
15814
15833
|
}
|
|
15815
|
-
return /* @__PURE__ */
|
|
15834
|
+
return /* @__PURE__ */ jsx301(ListItem, { children: item }, key);
|
|
15816
15835
|
});
|
|
15817
15836
|
return renderListComponent(items, variant, otherProps);
|
|
15818
15837
|
};
|
|
@@ -15841,7 +15860,7 @@ List.displayName = "List_UI";
|
|
|
15841
15860
|
|
|
15842
15861
|
// src/components/Mark/Mark.tsx
|
|
15843
15862
|
import { styled as styled75 } from "styled-components";
|
|
15844
|
-
import { jsx as
|
|
15863
|
+
import { jsx as jsx302 } from "react/jsx-runtime";
|
|
15845
15864
|
var StyledMark = styled75.mark`
|
|
15846
15865
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
15847
15866
|
background-color: var(--wui-color-bg-surface-tertiary);
|
|
@@ -15850,7 +15869,7 @@ var StyledMark = styled75.mark`
|
|
|
15850
15869
|
padding-inline: 0.1em;
|
|
15851
15870
|
margin-inline: -0.1em;
|
|
15852
15871
|
`;
|
|
15853
|
-
var Mark = ({ children, colorScheme = "inherit", ...props }) => /* @__PURE__ */
|
|
15872
|
+
var Mark = ({ children, colorScheme = "inherit", ...props }) => /* @__PURE__ */ jsx302(
|
|
15854
15873
|
StyledMark,
|
|
15855
15874
|
{
|
|
15856
15875
|
$colorScheme: colorScheme,
|
|
@@ -15873,24 +15892,24 @@ import { Title as DialogTitle } from "@radix-ui/react-dialog";
|
|
|
15873
15892
|
// src/components/Modal/ModalCloseButton.tsx
|
|
15874
15893
|
import { styled as styled76 } from "styled-components";
|
|
15875
15894
|
import { Close as DialogClose } from "@radix-ui/react-dialog";
|
|
15876
|
-
import { jsx as
|
|
15895
|
+
import { jsx as jsx303 } from "react/jsx-runtime";
|
|
15877
15896
|
var CloseButton = styled76(DialogClose)`
|
|
15878
15897
|
align-self: start;
|
|
15879
15898
|
`;
|
|
15880
15899
|
var ModalCloseButton = () => {
|
|
15881
|
-
return /* @__PURE__ */
|
|
15900
|
+
return /* @__PURE__ */ jsx303(CloseButton, { asChild: true, children: /* @__PURE__ */ jsx303(
|
|
15882
15901
|
IconButton,
|
|
15883
15902
|
{
|
|
15884
15903
|
label: "Dismiss modal",
|
|
15885
15904
|
size: "sm",
|
|
15886
15905
|
variant: "ghost",
|
|
15887
|
-
children: /* @__PURE__ */
|
|
15906
|
+
children: /* @__PURE__ */ jsx303(Icon, { type: "close" })
|
|
15888
15907
|
}
|
|
15889
15908
|
) });
|
|
15890
15909
|
};
|
|
15891
15910
|
|
|
15892
15911
|
// src/components/Modal/ModalHeader.tsx
|
|
15893
|
-
import { jsx as
|
|
15912
|
+
import { jsx as jsx304, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
15894
15913
|
var Header = styled77.header`
|
|
15895
15914
|
display: flex;
|
|
15896
15915
|
order: 1;
|
|
@@ -15922,7 +15941,7 @@ var ModalHeader = ({
|
|
|
15922
15941
|
hideTitle,
|
|
15923
15942
|
hideCloseButton
|
|
15924
15943
|
}) => {
|
|
15925
|
-
const TitleComponent = hideTitle ? /* @__PURE__ */
|
|
15944
|
+
const TitleComponent = hideTitle ? /* @__PURE__ */ jsx304(ScreenReaderOnly, { children: /* @__PURE__ */ jsx304(Title, { children: title }) }) : /* @__PURE__ */ jsx304(Title, { children: title });
|
|
15926
15945
|
return /* @__PURE__ */ jsxs50(
|
|
15927
15946
|
Header,
|
|
15928
15947
|
{
|
|
@@ -15930,7 +15949,7 @@ var ModalHeader = ({
|
|
|
15930
15949
|
$hideTitle: hideTitle,
|
|
15931
15950
|
children: [
|
|
15932
15951
|
TitleComponent,
|
|
15933
|
-
hideCloseButton ? null : /* @__PURE__ */
|
|
15952
|
+
hideCloseButton ? null : /* @__PURE__ */ jsx304(ModalCloseButton, {})
|
|
15934
15953
|
]
|
|
15935
15954
|
}
|
|
15936
15955
|
);
|
|
@@ -15964,7 +15983,7 @@ var useFocusRestore = () => {
|
|
|
15964
15983
|
};
|
|
15965
15984
|
|
|
15966
15985
|
// src/components/Modal/ModalContent.tsx
|
|
15967
|
-
import { jsx as
|
|
15986
|
+
import { jsx as jsx305 } from "react/jsx-runtime";
|
|
15968
15987
|
var modalEnter = keyframes5`
|
|
15969
15988
|
from {
|
|
15970
15989
|
opacity: 0;
|
|
@@ -16092,7 +16111,7 @@ var StyledModalContent = styled78(DialogContent)`
|
|
|
16092
16111
|
var ModalContent = forwardRef25(
|
|
16093
16112
|
({ width, positionVariant = "fixed-top", children, ...props }, ref) => {
|
|
16094
16113
|
useFocusRestore();
|
|
16095
|
-
return /* @__PURE__ */
|
|
16114
|
+
return /* @__PURE__ */ jsx305(
|
|
16096
16115
|
StyledModalContent,
|
|
16097
16116
|
{
|
|
16098
16117
|
ref,
|
|
@@ -16140,7 +16159,7 @@ var ModalOverlay = styled79(DialogOverlay)`
|
|
|
16140
16159
|
`;
|
|
16141
16160
|
|
|
16142
16161
|
// src/components/Modal/Modal.tsx
|
|
16143
|
-
import { jsx as
|
|
16162
|
+
import { jsx as jsx306, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
16144
16163
|
var ModalBody = styled80.div`
|
|
16145
16164
|
flex-direction: column;
|
|
16146
16165
|
display: flex;
|
|
@@ -16170,7 +16189,7 @@ var Modal = forwardRef26(
|
|
|
16170
16189
|
width = DEFAULT_MODAL_WIDTH,
|
|
16171
16190
|
...props
|
|
16172
16191
|
}, ref) => {
|
|
16173
|
-
return /* @__PURE__ */
|
|
16192
|
+
return /* @__PURE__ */ jsx306(
|
|
16174
16193
|
DialogRoot,
|
|
16175
16194
|
{
|
|
16176
16195
|
onOpenChange: (open2) => {
|
|
@@ -16180,7 +16199,7 @@ var Modal = forwardRef26(
|
|
|
16180
16199
|
},
|
|
16181
16200
|
open: isOpen,
|
|
16182
16201
|
children: /* @__PURE__ */ jsxs51(DialogPortal, { children: [
|
|
16183
|
-
/* @__PURE__ */
|
|
16202
|
+
/* @__PURE__ */ jsx306(ModalOverlay, {}),
|
|
16184
16203
|
/* @__PURE__ */ jsxs51(
|
|
16185
16204
|
ModalContent,
|
|
16186
16205
|
{
|
|
@@ -16197,9 +16216,9 @@ var Modal = forwardRef26(
|
|
|
16197
16216
|
width,
|
|
16198
16217
|
...props,
|
|
16199
16218
|
children: [
|
|
16200
|
-
/* @__PURE__ */
|
|
16201
|
-
isNotNil32(footer) ? /* @__PURE__ */
|
|
16202
|
-
hideCloseButton && hideTitle ? null : /* @__PURE__ */
|
|
16219
|
+
/* @__PURE__ */ jsx306(ModalScrollArea, { children: /* @__PURE__ */ jsx306(ModalBody, { children }) }),
|
|
16220
|
+
isNotNil32(footer) ? /* @__PURE__ */ jsx306(ModalFooter, { children: footer }) : null,
|
|
16221
|
+
hideCloseButton && hideTitle ? null : /* @__PURE__ */ jsx306(
|
|
16203
16222
|
ModalHeader,
|
|
16204
16223
|
{
|
|
16205
16224
|
hideCloseButton,
|
|
@@ -16218,9 +16237,9 @@ var Modal = forwardRef26(
|
|
|
16218
16237
|
Modal.displayName = "Modal_UI";
|
|
16219
16238
|
|
|
16220
16239
|
// src/components/Modal/ModalCallouts.tsx
|
|
16221
|
-
import { jsx as
|
|
16240
|
+
import { jsx as jsx307, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
16222
16241
|
var ModalCallouts = ({ children }) => {
|
|
16223
|
-
return /* @__PURE__ */
|
|
16242
|
+
return /* @__PURE__ */ jsx307(
|
|
16224
16243
|
Stack,
|
|
16225
16244
|
{
|
|
16226
16245
|
direction: "horizontal",
|
|
@@ -16233,7 +16252,7 @@ ModalCallouts.displayName = "ModalCallouts_UI";
|
|
|
16233
16252
|
var ModalCallout = ({ title, image, children }) => {
|
|
16234
16253
|
return /* @__PURE__ */ jsxs52(Stack, { direction: "vertical", children: [
|
|
16235
16254
|
image,
|
|
16236
|
-
/* @__PURE__ */
|
|
16255
|
+
/* @__PURE__ */ jsx307(Heading, { variant: "heading4", children: title }),
|
|
16237
16256
|
children
|
|
16238
16257
|
] });
|
|
16239
16258
|
};
|
|
@@ -16252,7 +16271,7 @@ var getControlProps = (isOpen, onOpenChange) => {
|
|
|
16252
16271
|
// src/components/Popover/PopoverArrow.tsx
|
|
16253
16272
|
import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
|
|
16254
16273
|
import { styled as styled81, css as css40, keyframes as keyframes7 } from "styled-components";
|
|
16255
|
-
import { jsx as
|
|
16274
|
+
import { jsx as jsx308, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
16256
16275
|
var StyledPath = styled81.path`
|
|
16257
16276
|
fill: var(--wui-color-border-secondary);
|
|
16258
16277
|
`;
|
|
@@ -16291,7 +16310,7 @@ var StyledCircle = styled81.circle`
|
|
|
16291
16310
|
}
|
|
16292
16311
|
`;
|
|
16293
16312
|
var PopoverArrow = ({ isAnimated }) => {
|
|
16294
|
-
return /* @__PURE__ */
|
|
16313
|
+
return /* @__PURE__ */ jsx308(RadixPopoverArrow, { asChild: true, children: /* @__PURE__ */ jsxs53(
|
|
16295
16314
|
"svg",
|
|
16296
16315
|
{
|
|
16297
16316
|
fill: "none",
|
|
@@ -16300,8 +16319,8 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
16300
16319
|
width: "48",
|
|
16301
16320
|
xmlns: "http://www.w3.org/2000/svg",
|
|
16302
16321
|
children: [
|
|
16303
|
-
/* @__PURE__ */
|
|
16304
|
-
/* @__PURE__ */
|
|
16322
|
+
/* @__PURE__ */ jsx308(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" }),
|
|
16323
|
+
/* @__PURE__ */ jsx308(
|
|
16305
16324
|
StyledCircle,
|
|
16306
16325
|
{
|
|
16307
16326
|
$isAnimated: isAnimated,
|
|
@@ -16312,7 +16331,7 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
16312
16331
|
strokeWidth: "4"
|
|
16313
16332
|
}
|
|
16314
16333
|
),
|
|
16315
|
-
/* @__PURE__ */
|
|
16334
|
+
/* @__PURE__ */ jsx308(
|
|
16316
16335
|
StyledCircle,
|
|
16317
16336
|
{
|
|
16318
16337
|
$isAnimated: isAnimated,
|
|
@@ -16330,7 +16349,7 @@ var PopoverArrow = ({ isAnimated }) => {
|
|
|
16330
16349
|
PopoverArrow.displayName = "PopoverArrow_UI";
|
|
16331
16350
|
|
|
16332
16351
|
// src/components/Popover/Popover.tsx
|
|
16333
|
-
import { jsx as
|
|
16352
|
+
import { jsx as jsx309, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
16334
16353
|
var StyledContent2 = styled82(Content2)`
|
|
16335
16354
|
z-index: var(--wui-zindex-popover);
|
|
16336
16355
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -16371,8 +16390,8 @@ var Popover = ({
|
|
|
16371
16390
|
"--wui-popover-max-height": maxHeight
|
|
16372
16391
|
};
|
|
16373
16392
|
return /* @__PURE__ */ jsxs54(Root2, { ...getControlProps(isOpen, onOpenChange), children: [
|
|
16374
|
-
/* @__PURE__ */
|
|
16375
|
-
/* @__PURE__ */
|
|
16393
|
+
/* @__PURE__ */ jsx309(Trigger2, { asChild: true, children: trigger }),
|
|
16394
|
+
/* @__PURE__ */ jsx309(Portal, { children: /* @__PURE__ */ jsxs54(
|
|
16376
16395
|
StyledContent2,
|
|
16377
16396
|
{
|
|
16378
16397
|
$colorScheme: colorScheme,
|
|
@@ -16381,17 +16400,17 @@ var Popover = ({
|
|
|
16381
16400
|
$unstyled: unstyled,
|
|
16382
16401
|
style,
|
|
16383
16402
|
children: [
|
|
16384
|
-
!hideCloseButton && /* @__PURE__ */
|
|
16403
|
+
!hideCloseButton && /* @__PURE__ */ jsx309(Close, { asChild: true, children: /* @__PURE__ */ jsx309(
|
|
16385
16404
|
IconButton,
|
|
16386
16405
|
{
|
|
16387
16406
|
"data-wui-popover-close": true,
|
|
16388
16407
|
label: "Close",
|
|
16389
16408
|
variant: "ghost",
|
|
16390
|
-
children: /* @__PURE__ */
|
|
16409
|
+
children: /* @__PURE__ */ jsx309(Icon, { type: "close" })
|
|
16391
16410
|
}
|
|
16392
16411
|
) }),
|
|
16393
|
-
withArrow ? /* @__PURE__ */
|
|
16394
|
-
/* @__PURE__ */
|
|
16412
|
+
withArrow ? /* @__PURE__ */ jsx309(PopoverArrow, { isAnimated }) : null,
|
|
16413
|
+
/* @__PURE__ */ jsx309("div", { children })
|
|
16395
16414
|
]
|
|
16396
16415
|
}
|
|
16397
16416
|
) })
|
|
@@ -16403,7 +16422,7 @@ Popover.displayName = "Popover_UI";
|
|
|
16403
16422
|
import { styled as styled83 } from "styled-components";
|
|
16404
16423
|
import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
|
|
16405
16424
|
import { isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
16406
|
-
import { jsx as
|
|
16425
|
+
import { jsx as jsx310, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
16407
16426
|
var ProgressBarWrapper = styled83.div`
|
|
16408
16427
|
--progress-bar-height: 8px;
|
|
16409
16428
|
|
|
@@ -16458,15 +16477,15 @@ var ProgressBar = ({
|
|
|
16458
16477
|
...props
|
|
16459
16478
|
}) => {
|
|
16460
16479
|
return /* @__PURE__ */ jsxs55(ProgressBarWrapper, { children: [
|
|
16461
|
-
isNotNil34(labelLeft) ? /* @__PURE__ */
|
|
16462
|
-
/* @__PURE__ */
|
|
16480
|
+
isNotNil34(labelLeft) ? /* @__PURE__ */ jsx310(ProgressBarLabel, { children: labelLeft }) : null,
|
|
16481
|
+
/* @__PURE__ */ jsx310(
|
|
16463
16482
|
StyledProgressBar,
|
|
16464
16483
|
{
|
|
16465
16484
|
$colorScheme: colorScheme,
|
|
16466
16485
|
max,
|
|
16467
16486
|
value: progress,
|
|
16468
16487
|
...props,
|
|
16469
|
-
children: /* @__PURE__ */
|
|
16488
|
+
children: /* @__PURE__ */ jsx310(
|
|
16470
16489
|
StyledProgressIndicator,
|
|
16471
16490
|
{
|
|
16472
16491
|
$colorScheme: colorScheme,
|
|
@@ -16476,7 +16495,7 @@ var ProgressBar = ({
|
|
|
16476
16495
|
)
|
|
16477
16496
|
}
|
|
16478
16497
|
),
|
|
16479
|
-
isNotNil34(labelRight) ? /* @__PURE__ */
|
|
16498
|
+
isNotNil34(labelRight) ? /* @__PURE__ */ jsx310(ProgressBarLabel, { children: labelRight }) : null
|
|
16480
16499
|
] });
|
|
16481
16500
|
};
|
|
16482
16501
|
ProgressBar.displayName = "ProgressBar_UI";
|
|
@@ -16485,7 +16504,7 @@ ProgressBar.displayName = "ProgressBar_UI";
|
|
|
16485
16504
|
import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
16486
16505
|
import { forwardRef as forwardRef27, useId as useId5 } from "react";
|
|
16487
16506
|
import { styled as styled84, css as css42 } from "styled-components";
|
|
16488
|
-
import { jsx as
|
|
16507
|
+
import { jsx as jsx311, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
16489
16508
|
var sizeSmall2 = css42`
|
|
16490
16509
|
--wui-radio-size: 14px;
|
|
16491
16510
|
--wui-radio-icon-size: 7px;
|
|
@@ -16601,7 +16620,7 @@ var Radio = forwardRef27(
|
|
|
16601
16620
|
$hideLabel: hideLabel,
|
|
16602
16621
|
"aria-invalid": props["aria-invalid"],
|
|
16603
16622
|
children: [
|
|
16604
|
-
/* @__PURE__ */
|
|
16623
|
+
/* @__PURE__ */ jsx311(
|
|
16605
16624
|
StyledHiddenRadioInput,
|
|
16606
16625
|
{
|
|
16607
16626
|
...props,
|
|
@@ -16616,10 +16635,10 @@ var Radio = forwardRef27(
|
|
|
16616
16635
|
value
|
|
16617
16636
|
}
|
|
16618
16637
|
),
|
|
16619
|
-
/* @__PURE__ */
|
|
16638
|
+
/* @__PURE__ */ jsx311(
|
|
16620
16639
|
FormControlLabel,
|
|
16621
16640
|
{
|
|
16622
|
-
controlSlot: /* @__PURE__ */
|
|
16641
|
+
controlSlot: /* @__PURE__ */ jsx311(StyledRadioInput, { $size: size }),
|
|
16623
16642
|
description,
|
|
16624
16643
|
disabled,
|
|
16625
16644
|
hideLabel,
|
|
@@ -16641,7 +16660,7 @@ import { forwardRef as forwardRef29 } from "react";
|
|
|
16641
16660
|
import { forwardRef as forwardRef28, useId as useId6 } from "react";
|
|
16642
16661
|
import { styled as styled85, css as css43 } from "styled-components";
|
|
16643
16662
|
import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
|
|
16644
|
-
import { jsx as
|
|
16663
|
+
import { jsx as jsx312, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
16645
16664
|
var checkedStyles = css43`
|
|
16646
16665
|
--wui-radio-card-border-color: var(--wui-color-focus-ring);
|
|
16647
16666
|
--wui-color-icon: var(--wui-color-icon-selected);
|
|
@@ -16777,7 +16796,7 @@ var RadioCardRoot = forwardRef28(
|
|
|
16777
16796
|
$padding: padding,
|
|
16778
16797
|
htmlFor: computedId,
|
|
16779
16798
|
children: [
|
|
16780
|
-
/* @__PURE__ */
|
|
16799
|
+
/* @__PURE__ */ jsx312(
|
|
16781
16800
|
StyledHiddenInput,
|
|
16782
16801
|
{
|
|
16783
16802
|
...props,
|
|
@@ -16854,7 +16873,7 @@ var RadioCardIndicator = styled86.div`
|
|
|
16854
16873
|
RadioCardIndicator.displayName = "RadioCardIndicator_UI";
|
|
16855
16874
|
|
|
16856
16875
|
// src/components/RadioCard/RadioCardDefaultLayout.tsx
|
|
16857
|
-
import { jsx as
|
|
16876
|
+
import { jsx as jsx313, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
16858
16877
|
var StyledCardContent = styled87.div`
|
|
16859
16878
|
display: grid;
|
|
16860
16879
|
grid-auto-flow: column;
|
|
@@ -16875,17 +16894,17 @@ var RadioCardDefaultLayout = ({
|
|
|
16875
16894
|
showIndicator = true
|
|
16876
16895
|
}) => {
|
|
16877
16896
|
return /* @__PURE__ */ jsxs58(StyledCardContent, { children: [
|
|
16878
|
-
showIndicator ? /* @__PURE__ */
|
|
16897
|
+
showIndicator ? /* @__PURE__ */ jsx313(StyledIndicatorContainer, { $hasIcon: isNotNil35(icon), children: /* @__PURE__ */ jsx313(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
|
|
16879
16898
|
/* @__PURE__ */ jsxs58(Stack, { gap: "space-02", children: [
|
|
16880
|
-
isNotNil35(icon) && /* @__PURE__ */
|
|
16899
|
+
isNotNil35(icon) && /* @__PURE__ */ jsx313(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
|
|
16881
16900
|
/* @__PURE__ */ jsxs58(
|
|
16882
16901
|
Stack,
|
|
16883
16902
|
{
|
|
16884
16903
|
gap: "space-01",
|
|
16885
16904
|
style: isNotNil35(icon) ? { paddingLeft: 2 } : void 0,
|
|
16886
16905
|
children: [
|
|
16887
|
-
isNotNil35(label) && /* @__PURE__ */
|
|
16888
|
-
isNotNil35(description) && /* @__PURE__ */
|
|
16906
|
+
isNotNil35(label) && /* @__PURE__ */ jsx313(Text, { variant: "label3", children: /* @__PURE__ */ jsx313("strong", { children: label }) }),
|
|
16907
|
+
isNotNil35(description) && /* @__PURE__ */ jsx313(
|
|
16889
16908
|
Text,
|
|
16890
16909
|
{
|
|
16891
16910
|
prominence: "secondary",
|
|
@@ -16908,16 +16927,16 @@ var RadioCardChildrenContainer = styled88.div`
|
|
|
16908
16927
|
`;
|
|
16909
16928
|
|
|
16910
16929
|
// src/components/RadioCard/RadioCard.tsx
|
|
16911
|
-
import { jsx as
|
|
16930
|
+
import { jsx as jsx314 } from "react/jsx-runtime";
|
|
16912
16931
|
var RadioCard = forwardRef29(
|
|
16913
16932
|
({ icon, label, description, showIndicator, children, ...rootProps }, ref) => {
|
|
16914
|
-
return /* @__PURE__ */
|
|
16933
|
+
return /* @__PURE__ */ jsx314(
|
|
16915
16934
|
RadioCardRoot,
|
|
16916
16935
|
{
|
|
16917
16936
|
ref,
|
|
16918
16937
|
padding: children != null ? "space-00" : "space-04",
|
|
16919
16938
|
...rootProps,
|
|
16920
|
-
children: children != null ? /* @__PURE__ */
|
|
16939
|
+
children: children != null ? /* @__PURE__ */ jsx314(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ jsx314(
|
|
16921
16940
|
RadioCardDefaultLayout,
|
|
16922
16941
|
{
|
|
16923
16942
|
description,
|
|
@@ -16934,17 +16953,17 @@ RadioCard.displayName = "RadioCard_UI";
|
|
|
16934
16953
|
|
|
16935
16954
|
// src/components/RadioCard/RadioCardImage.tsx
|
|
16936
16955
|
import { forwardRef as forwardRef30 } from "react";
|
|
16937
|
-
import { jsx as
|
|
16956
|
+
import { jsx as jsx315 } from "react/jsx-runtime";
|
|
16938
16957
|
var RadioCardImage = forwardRef30(
|
|
16939
16958
|
({ label, imageSrc, aspectRatio, padding = "space-04", ...rootProps }, ref) => {
|
|
16940
|
-
return /* @__PURE__ */
|
|
16959
|
+
return /* @__PURE__ */ jsx315(
|
|
16941
16960
|
RadioCardRoot,
|
|
16942
16961
|
{
|
|
16943
16962
|
ref,
|
|
16944
16963
|
...rootProps,
|
|
16945
16964
|
aspectRatio,
|
|
16946
16965
|
padding,
|
|
16947
|
-
children: /* @__PURE__ */
|
|
16966
|
+
children: /* @__PURE__ */ jsx315(
|
|
16948
16967
|
Image,
|
|
16949
16968
|
{
|
|
16950
16969
|
alt: label,
|
|
@@ -16964,7 +16983,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
|
|
|
16964
16983
|
import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
|
|
16965
16984
|
import { styled as styled89 } from "styled-components";
|
|
16966
16985
|
import { throttle } from "throttle-debounce";
|
|
16967
|
-
import { jsx as
|
|
16986
|
+
import { jsx as jsx316, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
16968
16987
|
var SHADOW_SIZE_PX = 8;
|
|
16969
16988
|
var Container10 = styled89.div`
|
|
16970
16989
|
overflow: hidden;
|
|
@@ -17045,11 +17064,11 @@ var ScrollArea = forwardRef31(
|
|
|
17045
17064
|
updateShadows();
|
|
17046
17065
|
}, [updateShadows]);
|
|
17047
17066
|
return /* @__PURE__ */ jsxs59(Container10, { style, children: [
|
|
17048
|
-
/* @__PURE__ */
|
|
17049
|
-
/* @__PURE__ */
|
|
17050
|
-
/* @__PURE__ */
|
|
17051
|
-
/* @__PURE__ */
|
|
17052
|
-
/* @__PURE__ */
|
|
17067
|
+
/* @__PURE__ */ jsx316(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
|
|
17068
|
+
/* @__PURE__ */ jsx316(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
|
|
17069
|
+
/* @__PURE__ */ jsx316(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
|
|
17070
|
+
/* @__PURE__ */ jsx316(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
|
|
17071
|
+
/* @__PURE__ */ jsx316(
|
|
17053
17072
|
ScrollContainer,
|
|
17054
17073
|
{
|
|
17055
17074
|
ref: scrollContainerRef,
|
|
@@ -17072,7 +17091,7 @@ import { isNil as isNil18 } from "@wistia/type-guards";
|
|
|
17072
17091
|
|
|
17073
17092
|
// src/components/SegmentedControl/useSelectedItemStyle.tsx
|
|
17074
17093
|
import { createContext as createContext9, useContext as useContext15, useMemo as useMemo16, useState as useState24 } from "react";
|
|
17075
|
-
import { jsx as
|
|
17094
|
+
import { jsx as jsx317 } from "react/jsx-runtime";
|
|
17076
17095
|
var SelectedItemStyleContext = createContext9(null);
|
|
17077
17096
|
var SelectedItemStyleProvider = ({
|
|
17078
17097
|
children
|
|
@@ -17093,7 +17112,7 @@ var SelectedItemStyleProvider = ({
|
|
|
17093
17112
|
}),
|
|
17094
17113
|
[selectedItemIndicatorStyle]
|
|
17095
17114
|
);
|
|
17096
|
-
return /* @__PURE__ */
|
|
17115
|
+
return /* @__PURE__ */ jsx317(SelectedItemStyleContext.Provider, { value: contextValue, children });
|
|
17097
17116
|
};
|
|
17098
17117
|
var useSelectedItemStyle = () => {
|
|
17099
17118
|
const context = useContext15(SelectedItemStyleContext);
|
|
@@ -17120,7 +17139,7 @@ var useSegmentedControlValue = () => {
|
|
|
17120
17139
|
};
|
|
17121
17140
|
|
|
17122
17141
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
17123
|
-
import { jsx as
|
|
17142
|
+
import { jsx as jsx318 } from "react/jsx-runtime";
|
|
17124
17143
|
var selectedItemIndicatorStyles = css44`
|
|
17125
17144
|
background-color: var(--wui-color-bg-fill-white);
|
|
17126
17145
|
border-radius: var(--wui-border-radius-rounded);
|
|
@@ -17142,7 +17161,7 @@ var SelectedItemIndicator = () => {
|
|
|
17142
17161
|
if (!selectedValue || isUndefined5(selectedItemIndicatorStyle)) {
|
|
17143
17162
|
return null;
|
|
17144
17163
|
}
|
|
17145
|
-
return /* @__PURE__ */
|
|
17164
|
+
return /* @__PURE__ */ jsx318(
|
|
17146
17165
|
SelectedItemIndicatorDiv,
|
|
17147
17166
|
{
|
|
17148
17167
|
"data-wui-selected-item-indicator": true,
|
|
@@ -17152,7 +17171,7 @@ var SelectedItemIndicator = () => {
|
|
|
17152
17171
|
};
|
|
17153
17172
|
|
|
17154
17173
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
17155
|
-
import { jsx as
|
|
17174
|
+
import { jsx as jsx319, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
17156
17175
|
var segmentedControlStyles = css45`
|
|
17157
17176
|
display: inline-flex;
|
|
17158
17177
|
background-color: var(--wui-color-bg-surface-secondary);
|
|
@@ -17179,7 +17198,7 @@ var SegmentedControl = forwardRef32(
|
|
|
17179
17198
|
if (isNil18(children)) {
|
|
17180
17199
|
return null;
|
|
17181
17200
|
}
|
|
17182
|
-
return /* @__PURE__ */
|
|
17201
|
+
return /* @__PURE__ */ jsx319(
|
|
17183
17202
|
StyledSegmentedControl,
|
|
17184
17203
|
{
|
|
17185
17204
|
ref,
|
|
@@ -17191,9 +17210,9 @@ var SegmentedControl = forwardRef32(
|
|
|
17191
17210
|
type: "single",
|
|
17192
17211
|
value: selectedValue,
|
|
17193
17212
|
...props,
|
|
17194
|
-
children: /* @__PURE__ */
|
|
17213
|
+
children: /* @__PURE__ */ jsx319(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs60(SelectedItemStyleProvider, { children: [
|
|
17195
17214
|
children,
|
|
17196
|
-
/* @__PURE__ */
|
|
17215
|
+
/* @__PURE__ */ jsx319(SelectedItemIndicator, {})
|
|
17197
17216
|
] }) })
|
|
17198
17217
|
}
|
|
17199
17218
|
);
|
|
@@ -17349,7 +17368,7 @@ import {
|
|
|
17349
17368
|
} from "@radix-ui/react-select";
|
|
17350
17369
|
import { forwardRef as forwardRef34 } from "react";
|
|
17351
17370
|
import { styled as styled93, css as css47 } from "styled-components";
|
|
17352
|
-
import { jsx as
|
|
17371
|
+
import { jsx as jsx320, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
17353
17372
|
var StyledTrigger2 = styled93(Trigger3)`
|
|
17354
17373
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
17355
17374
|
${inputCss};
|
|
@@ -17458,8 +17477,8 @@ var Select = forwardRef34(
|
|
|
17458
17477
|
$fullWidth: responsiveFullWidth,
|
|
17459
17478
|
...props,
|
|
17460
17479
|
children: [
|
|
17461
|
-
/* @__PURE__ */
|
|
17462
|
-
/* @__PURE__ */
|
|
17480
|
+
/* @__PURE__ */ jsx320(Value, { placeholder }),
|
|
17481
|
+
/* @__PURE__ */ jsx320(
|
|
17463
17482
|
Icon,
|
|
17464
17483
|
{
|
|
17465
17484
|
size: "md",
|
|
@@ -17469,21 +17488,21 @@ var Select = forwardRef34(
|
|
|
17469
17488
|
]
|
|
17470
17489
|
}
|
|
17471
17490
|
),
|
|
17472
|
-
/* @__PURE__ */
|
|
17491
|
+
/* @__PURE__ */ jsx320(Portal2, { children: /* @__PURE__ */ jsxs62(
|
|
17473
17492
|
StyledContent3,
|
|
17474
17493
|
{
|
|
17475
17494
|
position: "popper",
|
|
17476
17495
|
sideOffset: 8,
|
|
17477
17496
|
children: [
|
|
17478
|
-
/* @__PURE__ */
|
|
17497
|
+
/* @__PURE__ */ jsx320(StyledScrollUpButton, { children: /* @__PURE__ */ jsx320(
|
|
17479
17498
|
Icon,
|
|
17480
17499
|
{
|
|
17481
17500
|
size: "sm",
|
|
17482
17501
|
type: "caret-up"
|
|
17483
17502
|
}
|
|
17484
17503
|
) }),
|
|
17485
|
-
/* @__PURE__ */
|
|
17486
|
-
/* @__PURE__ */
|
|
17504
|
+
/* @__PURE__ */ jsx320(Viewport, { children }),
|
|
17505
|
+
/* @__PURE__ */ jsx320(StyledScrollDownButton, { children: /* @__PURE__ */ jsx320(
|
|
17487
17506
|
Icon,
|
|
17488
17507
|
{
|
|
17489
17508
|
size: "sm",
|
|
@@ -17503,7 +17522,7 @@ import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
|
|
|
17503
17522
|
import { forwardRef as forwardRef35 } from "react";
|
|
17504
17523
|
import { styled as styled94 } from "styled-components";
|
|
17505
17524
|
import { isNotNil as isNotNil37 } from "@wistia/type-guards";
|
|
17506
|
-
import { jsx as
|
|
17525
|
+
import { jsx as jsx321, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
17507
17526
|
var StyledItem = styled94(Item)`
|
|
17508
17527
|
${getTypographicStyles("label3")}
|
|
17509
17528
|
align-items: ${({ $checkmarkVerticalAlign }) => $checkmarkVerticalAlign === "center" ? "center" : "flex-start"};
|
|
@@ -17541,9 +17560,9 @@ var SelectOption = forwardRef35(
|
|
|
17541
17560
|
children: [
|
|
17542
17561
|
isNotNil37(selectedDisplayValue) ? /* @__PURE__ */ jsxs63("div", { children: [
|
|
17543
17562
|
children,
|
|
17544
|
-
/* @__PURE__ */
|
|
17545
|
-
] }) : /* @__PURE__ */
|
|
17546
|
-
/* @__PURE__ */
|
|
17563
|
+
/* @__PURE__ */ jsx321("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx321(ItemText, { children: selectedDisplayValue }) })
|
|
17564
|
+
] }) : /* @__PURE__ */ jsx321(ItemText, { children }),
|
|
17565
|
+
/* @__PURE__ */ jsx321(ItemIndicator, { children: /* @__PURE__ */ jsx321(
|
|
17547
17566
|
Icon,
|
|
17548
17567
|
{
|
|
17549
17568
|
size: "md",
|
|
@@ -17560,13 +17579,13 @@ SelectOption.displayName = "SelectOption_UI";
|
|
|
17560
17579
|
// src/components/Select/SelectOptionGroup.tsx
|
|
17561
17580
|
import { Group, Label as Label3 } from "@radix-ui/react-select";
|
|
17562
17581
|
import { styled as styled95 } from "styled-components";
|
|
17563
|
-
import { jsx as
|
|
17582
|
+
import { jsx as jsx322, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
17564
17583
|
var StyledLabel4 = styled95(Label3)`
|
|
17565
17584
|
padding: var(--wui-select-option-padding);
|
|
17566
17585
|
`;
|
|
17567
17586
|
var SelectOptionGroup = ({ children, label, ...props }) => {
|
|
17568
17587
|
return /* @__PURE__ */ jsxs64(Group, { ...props, children: [
|
|
17569
|
-
/* @__PURE__ */
|
|
17588
|
+
/* @__PURE__ */ jsx322(StyledLabel4, { children: /* @__PURE__ */ jsx322(
|
|
17570
17589
|
Heading,
|
|
17571
17590
|
{
|
|
17572
17591
|
renderAs: "span",
|
|
@@ -17587,7 +17606,7 @@ import {
|
|
|
17587
17606
|
} from "@radix-ui/react-slider";
|
|
17588
17607
|
import { styled as styled96 } from "styled-components";
|
|
17589
17608
|
import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
|
|
17590
|
-
import { jsx as
|
|
17609
|
+
import { jsx as jsx323, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
17591
17610
|
var SliderContainer = styled96.div`
|
|
17592
17611
|
--wui-slider-track-color: var(--wui-gray-6);
|
|
17593
17612
|
--wui-slider-track-border-radius: var(--wui-border-radius-rounded);
|
|
@@ -17676,7 +17695,7 @@ var Slider = ({
|
|
|
17676
17695
|
onChange(newValue);
|
|
17677
17696
|
}
|
|
17678
17697
|
};
|
|
17679
|
-
return /* @__PURE__ */
|
|
17698
|
+
return /* @__PURE__ */ jsx323(
|
|
17680
17699
|
SliderContainer,
|
|
17681
17700
|
{
|
|
17682
17701
|
...otherProps,
|
|
@@ -17694,8 +17713,8 @@ var Slider = ({
|
|
|
17694
17713
|
step,
|
|
17695
17714
|
...value ? { value } : {},
|
|
17696
17715
|
children: [
|
|
17697
|
-
/* @__PURE__ */
|
|
17698
|
-
values.map((_, index) => /* @__PURE__ */
|
|
17716
|
+
/* @__PURE__ */ jsx323(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ jsx323(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
|
|
17717
|
+
values.map((_, index) => /* @__PURE__ */ jsx323(
|
|
17699
17718
|
StyledSliderThumb,
|
|
17700
17719
|
{
|
|
17701
17720
|
"data-testid": `${dataTestId}-thumb-${index}`
|
|
@@ -17712,7 +17731,7 @@ Slider.displayName = "Slider_UI";
|
|
|
17712
17731
|
|
|
17713
17732
|
// src/components/Table/Table.tsx
|
|
17714
17733
|
import { styled as styled97, css as css48 } from "styled-components";
|
|
17715
|
-
import { jsx as
|
|
17734
|
+
import { jsx as jsx324 } from "react/jsx-runtime";
|
|
17716
17735
|
var StyledTable = styled97.table`
|
|
17717
17736
|
width: 100%;
|
|
17718
17737
|
border-collapse: collapse;
|
|
@@ -17742,7 +17761,7 @@ var Table = ({
|
|
|
17742
17761
|
visuallyHiddenHeader = false,
|
|
17743
17762
|
...props
|
|
17744
17763
|
}) => {
|
|
17745
|
-
return /* @__PURE__ */
|
|
17764
|
+
return /* @__PURE__ */ jsx324(
|
|
17746
17765
|
StyledTable,
|
|
17747
17766
|
{
|
|
17748
17767
|
$divided: divided,
|
|
@@ -17762,18 +17781,18 @@ import { createContext as createContext11 } from "react";
|
|
|
17762
17781
|
var TableSectionContext = createContext11(null);
|
|
17763
17782
|
|
|
17764
17783
|
// src/components/Table/TableBody.tsx
|
|
17765
|
-
import { jsx as
|
|
17784
|
+
import { jsx as jsx325 } from "react/jsx-runtime";
|
|
17766
17785
|
var StyledTableBody = styled98.tbody`
|
|
17767
17786
|
width: 100%;
|
|
17768
17787
|
`;
|
|
17769
17788
|
var TableBody = ({ children, ...props }) => {
|
|
17770
|
-
return /* @__PURE__ */
|
|
17789
|
+
return /* @__PURE__ */ jsx325(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx325(StyledTableBody, { ...props, children }) });
|
|
17771
17790
|
};
|
|
17772
17791
|
|
|
17773
17792
|
// src/components/Table/TableCell.tsx
|
|
17774
17793
|
import { useContext as useContext17 } from "react";
|
|
17775
17794
|
import { styled as styled99, css as css49 } from "styled-components";
|
|
17776
|
-
import { jsx as
|
|
17795
|
+
import { jsx as jsx326 } from "react/jsx-runtime";
|
|
17777
17796
|
var sharedStyles = css49`
|
|
17778
17797
|
color: var(--wui-color-text);
|
|
17779
17798
|
padding: var(--wui-space-02);
|
|
@@ -17794,39 +17813,39 @@ var StyledTd = styled99.td`
|
|
|
17794
17813
|
var TableCell = ({ children, ...props }) => {
|
|
17795
17814
|
const section = useContext17(TableSectionContext);
|
|
17796
17815
|
if (section === "head") {
|
|
17797
|
-
return /* @__PURE__ */
|
|
17816
|
+
return /* @__PURE__ */ jsx326(StyledTh, { ...props, children });
|
|
17798
17817
|
}
|
|
17799
|
-
return /* @__PURE__ */
|
|
17818
|
+
return /* @__PURE__ */ jsx326(StyledTd, { ...props, children });
|
|
17800
17819
|
};
|
|
17801
17820
|
|
|
17802
17821
|
// src/components/Table/TableFoot.tsx
|
|
17803
17822
|
import { styled as styled100 } from "styled-components";
|
|
17804
|
-
import { jsx as
|
|
17823
|
+
import { jsx as jsx327 } from "react/jsx-runtime";
|
|
17805
17824
|
var StyledTableFoot = styled100.tfoot`
|
|
17806
17825
|
width: 100%;
|
|
17807
17826
|
`;
|
|
17808
17827
|
var TableFoot = ({ children, ...props }) => {
|
|
17809
|
-
return /* @__PURE__ */
|
|
17828
|
+
return /* @__PURE__ */ jsx327(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx327(StyledTableFoot, { ...props, children }) });
|
|
17810
17829
|
};
|
|
17811
17830
|
|
|
17812
17831
|
// src/components/Table/TableHead.tsx
|
|
17813
17832
|
import { styled as styled101 } from "styled-components";
|
|
17814
|
-
import { jsx as
|
|
17833
|
+
import { jsx as jsx328 } from "react/jsx-runtime";
|
|
17815
17834
|
var StyledThead = styled101.thead`
|
|
17816
17835
|
width: 100%;
|
|
17817
17836
|
`;
|
|
17818
17837
|
var TableHead = ({ children, ...props }) => {
|
|
17819
|
-
return /* @__PURE__ */
|
|
17838
|
+
return /* @__PURE__ */ jsx328(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx328(StyledThead, { ...props, children }) });
|
|
17820
17839
|
};
|
|
17821
17840
|
|
|
17822
17841
|
// src/components/Table/TableRow.tsx
|
|
17823
17842
|
import { styled as styled102 } from "styled-components";
|
|
17824
|
-
import { jsx as
|
|
17843
|
+
import { jsx as jsx329 } from "react/jsx-runtime";
|
|
17825
17844
|
var StyledTableRow = styled102.tr`
|
|
17826
17845
|
width: 100%;
|
|
17827
17846
|
`;
|
|
17828
17847
|
var TableRow = ({ children, ...props }) => {
|
|
17829
|
-
return /* @__PURE__ */
|
|
17848
|
+
return /* @__PURE__ */ jsx329(StyledTableRow, { ...props, children });
|
|
17830
17849
|
};
|
|
17831
17850
|
|
|
17832
17851
|
// src/components/Tabs/Tabs.tsx
|
|
@@ -17847,7 +17866,7 @@ var useTabsValue = () => {
|
|
|
17847
17866
|
};
|
|
17848
17867
|
|
|
17849
17868
|
// src/components/Tabs/Tabs.tsx
|
|
17850
|
-
import { jsx as
|
|
17869
|
+
import { jsx as jsx330 } from "react/jsx-runtime";
|
|
17851
17870
|
var Tabs = ({
|
|
17852
17871
|
children,
|
|
17853
17872
|
value: valueProp,
|
|
@@ -17875,15 +17894,15 @@ var Tabs = ({
|
|
|
17875
17894
|
if (isNotNil38(defaultValue)) {
|
|
17876
17895
|
rootProps.defaultValue = defaultValue;
|
|
17877
17896
|
}
|
|
17878
|
-
return /* @__PURE__ */
|
|
17897
|
+
return /* @__PURE__ */ jsx330(RadixTabsRoot, { ...rootProps, children: /* @__PURE__ */ jsx330(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ jsx330(SelectedItemStyleProvider, { children }) }) });
|
|
17879
17898
|
};
|
|
17880
17899
|
Tabs.displayName = "Tabs_UI";
|
|
17881
17900
|
|
|
17882
17901
|
// src/components/Tabs/TabsContent.tsx
|
|
17883
17902
|
import { Content as RadixTabsContent } from "@radix-ui/react-tabs";
|
|
17884
|
-
import { jsx as
|
|
17903
|
+
import { jsx as jsx331 } from "react/jsx-runtime";
|
|
17885
17904
|
var TabsContent = ({ children, value }) => {
|
|
17886
|
-
return /* @__PURE__ */
|
|
17905
|
+
return /* @__PURE__ */ jsx331(RadixTabsContent, { value, children });
|
|
17887
17906
|
};
|
|
17888
17907
|
TabsContent.displayName = "TabsContent_UI";
|
|
17889
17908
|
|
|
@@ -17903,14 +17922,14 @@ var TabsSelectedItemIndicatorDiv = styled103(SelectedItemIndicatorDiv)`
|
|
|
17903
17922
|
`;
|
|
17904
17923
|
|
|
17905
17924
|
// src/components/Tabs/SelectedTabIndicator.tsx
|
|
17906
|
-
import { jsx as
|
|
17925
|
+
import { jsx as jsx332 } from "react/jsx-runtime";
|
|
17907
17926
|
var SelectedTabIndicator = () => {
|
|
17908
17927
|
const { selectedItemIndicatorStyle } = useSelectedItemStyle();
|
|
17909
17928
|
const selectedValue = useTabsValue();
|
|
17910
17929
|
if (selectedValue == null || isUndefined6(selectedItemIndicatorStyle)) {
|
|
17911
17930
|
return null;
|
|
17912
17931
|
}
|
|
17913
|
-
return /* @__PURE__ */
|
|
17932
|
+
return /* @__PURE__ */ jsx332(
|
|
17914
17933
|
TabsSelectedItemIndicatorDiv,
|
|
17915
17934
|
{
|
|
17916
17935
|
"data-wui-selected-item-indicator": true,
|
|
@@ -17920,7 +17939,7 @@ var SelectedTabIndicator = () => {
|
|
|
17920
17939
|
};
|
|
17921
17940
|
|
|
17922
17941
|
// src/components/Tabs/TabsList.tsx
|
|
17923
|
-
import { jsx as
|
|
17942
|
+
import { jsx as jsx333, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
17924
17943
|
var StyledRadixTabsList = styled104(RadixTabList)`
|
|
17925
17944
|
${segmentedControlStyles}
|
|
17926
17945
|
`;
|
|
@@ -17932,7 +17951,7 @@ var TabsList = ({ children, fullWidth = true, ...props }) => {
|
|
|
17932
17951
|
"aria-label": props["aria-label"],
|
|
17933
17952
|
children: [
|
|
17934
17953
|
children,
|
|
17935
|
-
/* @__PURE__ */
|
|
17954
|
+
/* @__PURE__ */ jsx333(SelectedTabIndicator, {})
|
|
17936
17955
|
]
|
|
17937
17956
|
}
|
|
17938
17957
|
);
|
|
@@ -18009,7 +18028,7 @@ TabsTrigger.displayName = "TabsTrigger_UI";
|
|
|
18009
18028
|
// src/components/Thumbnail/ThumbnailBadge.tsx
|
|
18010
18029
|
import { styled as styled106 } from "styled-components";
|
|
18011
18030
|
import { isNotNil as isNotNil40 } from "@wistia/type-guards";
|
|
18012
|
-
import { jsx as
|
|
18031
|
+
import { jsx as jsx334, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
18013
18032
|
var StyledThumbnailBadge = styled106.div`
|
|
18014
18033
|
align-items: center;
|
|
18015
18034
|
background-color: rgb(0 0 0 / 50%);
|
|
@@ -18038,7 +18057,7 @@ var StyledThumbnailBadge = styled106.div`
|
|
|
18038
18057
|
var ThumbnailBadge = ({ icon, label, ...props }) => {
|
|
18039
18058
|
return /* @__PURE__ */ jsxs68(StyledThumbnailBadge, { ...props, children: [
|
|
18040
18059
|
isNotNil40(icon) && icon,
|
|
18041
|
-
/* @__PURE__ */
|
|
18060
|
+
/* @__PURE__ */ jsx334("span", { children: label })
|
|
18042
18061
|
] });
|
|
18043
18062
|
};
|
|
18044
18063
|
ThumbnailBadge.displayName = "ThumbnailBadge_UI";
|
|
@@ -18190,7 +18209,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
|
|
|
18190
18209
|
// src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
|
|
18191
18210
|
import { styled as styled107 } from "styled-components";
|
|
18192
18211
|
import { isNotNil as isNotNil42 } from "@wistia/type-guards";
|
|
18193
|
-
import { jsx as
|
|
18212
|
+
import { jsx as jsx335, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
18194
18213
|
var ScrubLine = styled107.div`
|
|
18195
18214
|
position: absolute;
|
|
18196
18215
|
top: 0;
|
|
@@ -18308,8 +18327,8 @@ var ThumbnailStoryboardViewer = ({
|
|
|
18308
18327
|
...props,
|
|
18309
18328
|
style: viewerStyles,
|
|
18310
18329
|
children: [
|
|
18311
|
-
/* @__PURE__ */
|
|
18312
|
-
showScrubLine ? /* @__PURE__ */
|
|
18330
|
+
/* @__PURE__ */ jsx335("div", { style: storyboardStyles }),
|
|
18331
|
+
showScrubLine ? /* @__PURE__ */ jsx335(
|
|
18313
18332
|
ScrubLine,
|
|
18314
18333
|
{
|
|
18315
18334
|
style: {
|
|
@@ -18323,7 +18342,7 @@ var ThumbnailStoryboardViewer = ({
|
|
|
18323
18342
|
};
|
|
18324
18343
|
|
|
18325
18344
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
18326
|
-
import { jsx as
|
|
18345
|
+
import { jsx as jsx336, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
18327
18346
|
var WIDE_ASPECT_RATIO = 16 / 9;
|
|
18328
18347
|
var SQUARE_ASPECT_RATIO = 1;
|
|
18329
18348
|
var getAspectRatioValue = (aspectRatio) => {
|
|
@@ -18344,7 +18363,7 @@ var SquareThumbnailImage = styled108.img`
|
|
|
18344
18363
|
`;
|
|
18345
18364
|
var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
|
|
18346
18365
|
if (thumbnailImageType === "wide") {
|
|
18347
|
-
return /* @__PURE__ */
|
|
18366
|
+
return /* @__PURE__ */ jsx336(
|
|
18348
18367
|
WideThumbnailImage,
|
|
18349
18368
|
{
|
|
18350
18369
|
alt: "",
|
|
@@ -18353,7 +18372,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
|
|
|
18353
18372
|
}
|
|
18354
18373
|
);
|
|
18355
18374
|
}
|
|
18356
|
-
return /* @__PURE__ */
|
|
18375
|
+
return /* @__PURE__ */ jsx336(
|
|
18357
18376
|
SquareThumbnailImage,
|
|
18358
18377
|
{
|
|
18359
18378
|
alt: "",
|
|
@@ -18405,7 +18424,7 @@ var StoryboardRenderer = ({
|
|
|
18405
18424
|
const { url, width: sbWidth, height: sbHeight, frameHeight, frameWidth, frameCount } = storyboard;
|
|
18406
18425
|
const targetWidth = isString4(width) ? parseInt(width, 10) : Number(width);
|
|
18407
18426
|
const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
|
|
18408
|
-
return /* @__PURE__ */
|
|
18427
|
+
return /* @__PURE__ */ jsx336(
|
|
18409
18428
|
ThumbnailStoryboardViewer,
|
|
18410
18429
|
{
|
|
18411
18430
|
cursorPosition: effectiveCursorPosition,
|
|
@@ -18495,7 +18514,7 @@ var Thumbnail = forwardRef37(
|
|
|
18495
18514
|
}, [isScrubbable, isMouseOver, isStoryboardReady, storyboard, height]);
|
|
18496
18515
|
let thumbnailContent = null;
|
|
18497
18516
|
if (storyboard && shouldRenderStoryboard) {
|
|
18498
|
-
thumbnailContent = /* @__PURE__ */
|
|
18517
|
+
thumbnailContent = /* @__PURE__ */ jsx336(
|
|
18499
18518
|
StoryboardRenderer,
|
|
18500
18519
|
{
|
|
18501
18520
|
aspectRatio,
|
|
@@ -18507,7 +18526,7 @@ var Thumbnail = forwardRef37(
|
|
|
18507
18526
|
}
|
|
18508
18527
|
);
|
|
18509
18528
|
} else if (hasValidThumbnailUrl(thumbnailUrl)) {
|
|
18510
|
-
thumbnailContent = /* @__PURE__ */
|
|
18529
|
+
thumbnailContent = /* @__PURE__ */ jsx336(
|
|
18511
18530
|
ThumbnailImage,
|
|
18512
18531
|
{
|
|
18513
18532
|
thumbnailImageType,
|
|
@@ -18517,7 +18536,7 @@ var Thumbnail = forwardRef37(
|
|
|
18517
18536
|
} else {
|
|
18518
18537
|
thumbnailContent = null;
|
|
18519
18538
|
}
|
|
18520
|
-
return /* @__PURE__ */
|
|
18539
|
+
return /* @__PURE__ */ jsx336(
|
|
18521
18540
|
StyledThumbnailContainer,
|
|
18522
18541
|
{
|
|
18523
18542
|
ref,
|
|
@@ -18552,7 +18571,7 @@ Thumbnail.displayName = "Thumbnail_UI";
|
|
|
18552
18571
|
import { cloneElement as cloneElement9, Children as Children11 } from "react";
|
|
18553
18572
|
import { styled as styled109 } from "styled-components";
|
|
18554
18573
|
import { isNonEmptyArray } from "@wistia/type-guards";
|
|
18555
|
-
import { jsx as
|
|
18574
|
+
import { jsx as jsx337 } from "react/jsx-runtime";
|
|
18556
18575
|
var ThumbnailCollageContainer = styled109.div`
|
|
18557
18576
|
container-type: size;
|
|
18558
18577
|
width: 100%;
|
|
@@ -18617,7 +18636,7 @@ var ThumbnailCollage = ({
|
|
|
18617
18636
|
});
|
|
18618
18637
|
}) : [
|
|
18619
18638
|
// ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
|
|
18620
|
-
/* @__PURE__ */
|
|
18639
|
+
/* @__PURE__ */ jsx337(
|
|
18621
18640
|
Thumbnail,
|
|
18622
18641
|
{
|
|
18623
18642
|
gradientBackground,
|
|
@@ -18626,7 +18645,7 @@ var ThumbnailCollage = ({
|
|
|
18626
18645
|
"fallback"
|
|
18627
18646
|
)
|
|
18628
18647
|
];
|
|
18629
|
-
return /* @__PURE__ */
|
|
18648
|
+
return /* @__PURE__ */ jsx337(ThumbnailCollageContainer, { children: /* @__PURE__ */ jsx337(
|
|
18630
18649
|
StyledThumbnailCollage,
|
|
18631
18650
|
{
|
|
18632
18651
|
$gradientBackground: gradientBackground,
|
|
@@ -18640,24 +18659,24 @@ var ThumbnailCollage = ({
|
|
|
18640
18659
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
18641
18660
|
import { styled as styled110, css as css51 } from "styled-components";
|
|
18642
18661
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
18643
|
-
import { jsx as
|
|
18662
|
+
import { jsx as jsx338, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
18644
18663
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
18645
18664
|
if (iconOnly) {
|
|
18646
|
-
return /* @__PURE__ */
|
|
18665
|
+
return /* @__PURE__ */ jsx338(
|
|
18647
18666
|
"g",
|
|
18648
18667
|
{
|
|
18649
18668
|
"data-testid": "ui-wistia-logo-brandmark",
|
|
18650
18669
|
fill: brandmarkColor,
|
|
18651
|
-
children: /* @__PURE__ */
|
|
18670
|
+
children: /* @__PURE__ */ jsx338("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" })
|
|
18652
18671
|
}
|
|
18653
18672
|
);
|
|
18654
18673
|
}
|
|
18655
|
-
return /* @__PURE__ */
|
|
18674
|
+
return /* @__PURE__ */ jsx338(
|
|
18656
18675
|
"g",
|
|
18657
18676
|
{
|
|
18658
18677
|
"data-testid": "ui-wistia-logo-brandmark",
|
|
18659
18678
|
fill: brandmarkColor,
|
|
18660
|
-
children: /* @__PURE__ */
|
|
18679
|
+
children: /* @__PURE__ */ jsx338("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" })
|
|
18661
18680
|
}
|
|
18662
18681
|
);
|
|
18663
18682
|
};
|
|
@@ -18665,12 +18684,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
|
|
|
18665
18684
|
if (iconOnly) {
|
|
18666
18685
|
return null;
|
|
18667
18686
|
}
|
|
18668
|
-
return /* @__PURE__ */
|
|
18687
|
+
return /* @__PURE__ */ jsx338(
|
|
18669
18688
|
"g",
|
|
18670
18689
|
{
|
|
18671
18690
|
"data-testid": "ui-wistia-logo-logotype",
|
|
18672
18691
|
fill: logotypeColor,
|
|
18673
|
-
children: /* @__PURE__ */
|
|
18692
|
+
children: /* @__PURE__ */ jsx338("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" })
|
|
18674
18693
|
}
|
|
18675
18694
|
);
|
|
18676
18695
|
};
|
|
@@ -18751,14 +18770,14 @@ var WistiaLogo = ({
|
|
|
18751
18770
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18752
18771
|
...props,
|
|
18753
18772
|
children: [
|
|
18754
|
-
/* @__PURE__ */
|
|
18755
|
-
isNotNil44(description) ? /* @__PURE__ */
|
|
18773
|
+
/* @__PURE__ */ jsx338("title", { children: title }),
|
|
18774
|
+
isNotNil44(description) ? /* @__PURE__ */ jsx338("desc", { children: description }) : null,
|
|
18756
18775
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
18757
18776
|
renderLogotype(logotypeColor, iconOnly)
|
|
18758
18777
|
]
|
|
18759
18778
|
}
|
|
18760
18779
|
);
|
|
18761
|
-
return href !== void 0 ? /* @__PURE__ */
|
|
18780
|
+
return href !== void 0 ? /* @__PURE__ */ jsx338("a", { href, children: Logo }) : Logo;
|
|
18762
18781
|
};
|
|
18763
18782
|
WistiaLogo.displayName = "WistiaLogo_UI";
|
|
18764
18783
|
|
|
@@ -18766,7 +18785,7 @@ WistiaLogo.displayName = "WistiaLogo_UI";
|
|
|
18766
18785
|
import { styled as styled111 } from "styled-components";
|
|
18767
18786
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
18768
18787
|
import { cloneElement as cloneElement10 } from "react";
|
|
18769
|
-
import { jsx as
|
|
18788
|
+
import { jsx as jsx339, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
18770
18789
|
var StyledSplitButton = styled111.span`
|
|
18771
18790
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
18772
18791
|
white-space: nowrap;
|
|
@@ -18788,7 +18807,7 @@ var StyledSplitButton = styled111.span`
|
|
|
18788
18807
|
var SplitButton = ({
|
|
18789
18808
|
children,
|
|
18790
18809
|
menuLabel = "Select an option",
|
|
18791
|
-
menuIcon = /* @__PURE__ */
|
|
18810
|
+
menuIcon = /* @__PURE__ */ jsx339(Icon, { type: "caret-down" }),
|
|
18792
18811
|
menuItems,
|
|
18793
18812
|
disabled = false,
|
|
18794
18813
|
colorScheme = "inherit",
|
|
@@ -18800,7 +18819,7 @@ var SplitButton = ({
|
|
|
18800
18819
|
...props
|
|
18801
18820
|
}) => {
|
|
18802
18821
|
return /* @__PURE__ */ jsxs72(StyledSplitButton, { $colorScheme: colorScheme, children: [
|
|
18803
|
-
/* @__PURE__ */
|
|
18822
|
+
/* @__PURE__ */ jsx339(
|
|
18804
18823
|
Button,
|
|
18805
18824
|
{
|
|
18806
18825
|
disabled,
|
|
@@ -18811,12 +18830,12 @@ var SplitButton = ({
|
|
|
18811
18830
|
children
|
|
18812
18831
|
}
|
|
18813
18832
|
),
|
|
18814
|
-
isNotNil45(menuItems) && /* @__PURE__ */
|
|
18833
|
+
isNotNil45(menuItems) && /* @__PURE__ */ jsx339(
|
|
18815
18834
|
Menu,
|
|
18816
18835
|
{
|
|
18817
18836
|
...menuProps,
|
|
18818
18837
|
disabled,
|
|
18819
|
-
trigger: /* @__PURE__ */
|
|
18838
|
+
trigger: /* @__PURE__ */ jsx339(
|
|
18820
18839
|
IconButton,
|
|
18821
18840
|
{
|
|
18822
18841
|
disabled,
|
|
@@ -18837,7 +18856,7 @@ SplitButton.displayName = "SplitButton_UI";
|
|
|
18837
18856
|
|
|
18838
18857
|
// src/components/CustomizableThemeWrapper/CustomizableThemeWrapper.tsx
|
|
18839
18858
|
import { styled as styled112 } from "styled-components";
|
|
18840
|
-
import { jsx as
|
|
18859
|
+
import { jsx as jsx340 } from "react/jsx-runtime";
|
|
18841
18860
|
var StyledCustomizableThemeWrapper = styled112.div(
|
|
18842
18861
|
(props) => props.$overrides
|
|
18843
18862
|
);
|
|
@@ -18845,7 +18864,7 @@ var CustomizableThemeWrapper = ({
|
|
|
18845
18864
|
children,
|
|
18846
18865
|
overrides,
|
|
18847
18866
|
...props
|
|
18848
|
-
}) => /* @__PURE__ */
|
|
18867
|
+
}) => /* @__PURE__ */ jsx340(
|
|
18849
18868
|
StyledCustomizableThemeWrapper,
|
|
18850
18869
|
{
|
|
18851
18870
|
...props,
|