@wistia/ui 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +154 -94
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +150 -90
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.0.
|
|
3
|
+
* @license @wistia/ui v0.0.13
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2024, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -813,6 +813,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
813
813
|
--color-border: var(--gray-6);
|
|
814
814
|
--color-border-hover: var(--gray-8);
|
|
815
815
|
--color-border-active: var(--gray-9);
|
|
816
|
+
--color-border-secondary: var(--gray-8);
|
|
817
|
+
--color-border-secondary-hover: var(--gray-10);
|
|
818
|
+
--color-border-secondary-active: var(--gray-11);
|
|
816
819
|
--color-icon: var(--gray-11);
|
|
817
820
|
--color-icon-on-fill: var(--gray-contrast);
|
|
818
821
|
--color-text: var(--gray-12);
|
|
@@ -837,6 +840,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
837
840
|
--color-border-error: var(--error-6);
|
|
838
841
|
--color-border-hover-errror: var(--error-8);
|
|
839
842
|
--color-border-active-error: var(--error-9);
|
|
843
|
+
--color-border-secondary-error: var(--error-8);
|
|
844
|
+
--color-border-secondary-hover-error: var(--error-10);
|
|
845
|
+
--color-border-secondary-active-error: var(--error-11);
|
|
840
846
|
--color-icon-error: var(--error-11);
|
|
841
847
|
--color-icon-on-fill-error: var(--error-contrast);
|
|
842
848
|
--color-text-error: var(--error-11);
|
|
@@ -859,6 +865,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
859
865
|
--color-border-info: var(--blue-6);
|
|
860
866
|
--color-border-hover-info: var(--blue-8);
|
|
861
867
|
--color-border-active-info: var(--blue-9);
|
|
868
|
+
--color-border-secondary-info: var(--blue-8);
|
|
869
|
+
--color-border-secondary-hover-info: var(--blue-10);
|
|
870
|
+
--color-border-secondary-active-info: var(--blue-11);
|
|
862
871
|
--color-icon-info: var(--blue-11);
|
|
863
872
|
--color-icon-on-fill-info: var(--blue-contrast);
|
|
864
873
|
--color-text-high-contrast-info: var(--blue-12);
|
|
@@ -881,6 +890,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
881
890
|
--color-border-success: var(--success-6);
|
|
882
891
|
--color-border-hover-success: var(--success-8);
|
|
883
892
|
--color-border-active-success: var(--success-9);
|
|
893
|
+
--color-border-secondary-success: var(--success-8);
|
|
894
|
+
--color-border-secondary-hover-success: var(--success-10);
|
|
895
|
+
--color-border-secondary-active-success: var(--success-11);
|
|
884
896
|
--color-icon-on-fill-success: var(--success-contrast);
|
|
885
897
|
--color-icon-success: var(--success-11);
|
|
886
898
|
--color-text-high-contrast-success: var(--success-12);
|
|
@@ -903,6 +915,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
903
915
|
--color-border-warning: var(--warning-6);
|
|
904
916
|
--color-border-hover-warning: var(--warning-8);
|
|
905
917
|
--color-border-active-warning: var(--warning-9);
|
|
918
|
+
--color-border-secondary-warning: var(--warning-8);
|
|
919
|
+
--color-border-secondary-hover-warning: var(--warning-10);
|
|
920
|
+
--color-border-secondary-active-warning: var(--warning-11);
|
|
906
921
|
--color-icon-on-fill-warning: var(--warning-contrast);
|
|
907
922
|
--color-icon-warning: var(--warning-11);
|
|
908
923
|
--color-text-high-contrast-warning: var(--warning-12);
|
|
@@ -927,6 +942,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
927
942
|
--color-border-blue: var(--blue-6);
|
|
928
943
|
--color-border-hover-blue: var(--blue-8);
|
|
929
944
|
--color-border-active-blue: var(--blue-9);
|
|
945
|
+
--color-border-secondary-blue: var(--blue-8);
|
|
946
|
+
--color-border-secondary-hover-blue: var(--blue-10);
|
|
947
|
+
--color-border-secondary-active-blue: var(--blue-11);
|
|
930
948
|
--color-icon-blue: var(--blue-11);
|
|
931
949
|
--color-icon-on-fill-blue: var(--blue-contrast);
|
|
932
950
|
--color-text-blue: var(--blue-11);
|
|
@@ -949,6 +967,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
949
967
|
--color-border-green: var(--green-6);
|
|
950
968
|
--color-border-hover-green: var(--green-8);
|
|
951
969
|
--color-border-active-green: var(--green-9);
|
|
970
|
+
--color-border-secondary-green: var(--green-8);
|
|
971
|
+
--color-border-secondary-hover-green: var(--green-10);
|
|
972
|
+
--color-border-secondary-active-green: var(--green-11);
|
|
952
973
|
--color-icon-green: var(--green-11);
|
|
953
974
|
--color-icon-on-fill-green: var(--green-contrast);
|
|
954
975
|
--color-text-green: var(--green-11);
|
|
@@ -971,6 +992,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
971
992
|
--color-border-orange: var(--orange-6);
|
|
972
993
|
--color-border-hover-orange: var(--orange-8);
|
|
973
994
|
--color-border-active-orange: var(--orange-9);
|
|
995
|
+
--color-border-secondary-orange: var(--orange-8);
|
|
996
|
+
--color-border-secondary-hover-orange: var(--orange-10);
|
|
997
|
+
--color-border-secondary-active-orange: var(--orange-11);
|
|
974
998
|
--color-icon-on-fill-orange: var(--orange-contrast);
|
|
975
999
|
--color-icon-orange: var(--orange-11);
|
|
976
1000
|
--color-text-high-contrast-orange: var(--orange-12);
|
|
@@ -993,6 +1017,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
993
1017
|
--color-border-pink: var(--pink-6);
|
|
994
1018
|
--color-border-hover-pink: var(--pink-8);
|
|
995
1019
|
--color-border-active-pink: var(--pink-9);
|
|
1020
|
+
--color-border-secondary-pink: var(--pink-8);
|
|
1021
|
+
--color-border-secondary-hover-pink: var(--pink-10);
|
|
1022
|
+
--color-border-secondary-active-pink: var(--pink-11);
|
|
996
1023
|
--color-icon-on-fill-pink: var(--pink-contrast);
|
|
997
1024
|
--color-icon-pink: var(--pink-11);
|
|
998
1025
|
--color-text-high-contrast-pink: var(--pink-12);
|
|
@@ -1015,6 +1042,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
1015
1042
|
--color-border-purple: var(--purple-6);
|
|
1016
1043
|
--color-border-hover-purple: var(--purple-8);
|
|
1017
1044
|
--color-border-active-purple: var(--purple-9);
|
|
1045
|
+
--color-border-secondary-purple: var(--purple-8);
|
|
1046
|
+
--color-border-secondary-hover-purple: var(--purple-10);
|
|
1047
|
+
--color-border-secondary-active-purple: var(--purple-11);
|
|
1018
1048
|
--color-icon-on-fill-purple: var(--purple-contrast);
|
|
1019
1049
|
--color-icon-purple: var(--purple-11);
|
|
1020
1050
|
--color-text-high-contrast-purple: var(--purple-12);
|
|
@@ -1037,6 +1067,9 @@ var colorAliasTokens = import_styled_components4.css`
|
|
|
1037
1067
|
--color-border-yellow: var(--yellow-6);
|
|
1038
1068
|
--color-border-hover-yellow: var(--yellow-8);
|
|
1039
1069
|
--color-border-active-yellow: var(--yellow-9);
|
|
1070
|
+
--color-border-secondary-yellow: var(--yellow-8);
|
|
1071
|
+
--color-border-secondary-hover-yellow: var(--yellow-10);
|
|
1072
|
+
--color-border-secondary-active-yellow: var(--yellow-11);
|
|
1040
1073
|
--color-icon-on-fill-yellow: var(--yellow-contrast);
|
|
1041
1074
|
--color-icon-yellow: var(--yellow-11);
|
|
1042
1075
|
--color-text-high-contrast-yellow: var(--yellow-12);
|
|
@@ -1483,6 +1516,9 @@ var colorSchemeSchema = [
|
|
|
1483
1516
|
{ token: "border", step: "6" },
|
|
1484
1517
|
{ token: "border-hover", step: "8" },
|
|
1485
1518
|
{ token: "border-active", step: "9" },
|
|
1519
|
+
{ token: "border-secondary", step: "8" },
|
|
1520
|
+
{ token: "border-secondary-hover", step: "10" },
|
|
1521
|
+
{ token: "border-secondary-active", step: "11" },
|
|
1486
1522
|
{ token: "icon", step: "11" },
|
|
1487
1523
|
{ token: "icon-on-fill", step: "contrast" }
|
|
1488
1524
|
];
|
|
@@ -1502,6 +1538,11 @@ var defaultScheme = import_styled_components10.css`
|
|
|
1502
1538
|
--color-text-secondary: var(--gray-11);
|
|
1503
1539
|
--color-text-on-fill: var(--gray-contrast);
|
|
1504
1540
|
--color-border: var(--gray-6);
|
|
1541
|
+
--color-border-hover: var(--gray-8);
|
|
1542
|
+
--color-border-active: var(--gray-9);
|
|
1543
|
+
--color-border-secondary: var(--gray-8);
|
|
1544
|
+
--color-border-secondary-hover: var(--gray-10);
|
|
1545
|
+
--color-border-secondary-active: var(--gray-11);
|
|
1505
1546
|
--color-icon: var(--gray-11);
|
|
1506
1547
|
--color-icon-on-fill: var(--gray-contrast);
|
|
1507
1548
|
`;
|
|
@@ -4743,15 +4784,33 @@ var ThumbsUpIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
|
4743
4784
|
}
|
|
4744
4785
|
);
|
|
4745
4786
|
|
|
4746
|
-
// src/components/Icon/icons/
|
|
4787
|
+
// src/components/Icon/icons/TranscriptIcon.tsx
|
|
4747
4788
|
var import_jsx_runtime144 = require("react/jsx-runtime");
|
|
4748
|
-
var
|
|
4789
|
+
var TranscriptIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
4749
4790
|
"svg",
|
|
4750
4791
|
{
|
|
4751
4792
|
...props,
|
|
4752
4793
|
viewBox: "0 0 24 24",
|
|
4753
4794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4754
4795
|
children: /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
4796
|
+
"path",
|
|
4797
|
+
{
|
|
4798
|
+
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",
|
|
4799
|
+
fill: "currentColor"
|
|
4800
|
+
}
|
|
4801
|
+
)
|
|
4802
|
+
}
|
|
4803
|
+
);
|
|
4804
|
+
|
|
4805
|
+
// src/components/Icon/icons/TransitionsIcon.tsx
|
|
4806
|
+
var import_jsx_runtime145 = require("react/jsx-runtime");
|
|
4807
|
+
var TransitionsIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(
|
|
4808
|
+
"svg",
|
|
4809
|
+
{
|
|
4810
|
+
...props,
|
|
4811
|
+
viewBox: "0 0 24 24",
|
|
4812
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4813
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(
|
|
4755
4814
|
"path",
|
|
4756
4815
|
{
|
|
4757
4816
|
clipRule: "evenodd",
|
|
@@ -4764,14 +4823,14 @@ var TransitionsIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
|
4764
4823
|
);
|
|
4765
4824
|
|
|
4766
4825
|
// src/components/Icon/icons/TrimIcon.tsx
|
|
4767
|
-
var
|
|
4768
|
-
var TrimIcon = (props) => /* @__PURE__ */ (0,
|
|
4826
|
+
var import_jsx_runtime146 = require("react/jsx-runtime");
|
|
4827
|
+
var TrimIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
4769
4828
|
"svg",
|
|
4770
4829
|
{
|
|
4771
4830
|
...props,
|
|
4772
4831
|
viewBox: "0 0 24 24",
|
|
4773
4832
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4774
|
-
children: /* @__PURE__ */ (0,
|
|
4833
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
4775
4834
|
"path",
|
|
4776
4835
|
{
|
|
4777
4836
|
clipRule: "evenodd",
|
|
@@ -4784,14 +4843,14 @@ var TrimIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(
|
|
|
4784
4843
|
);
|
|
4785
4844
|
|
|
4786
4845
|
// src/components/Icon/icons/TurnstileIcon.tsx
|
|
4787
|
-
var
|
|
4788
|
-
var TurnstileIcon = (props) => /* @__PURE__ */ (0,
|
|
4846
|
+
var import_jsx_runtime147 = require("react/jsx-runtime");
|
|
4847
|
+
var TurnstileIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
4789
4848
|
"svg",
|
|
4790
4849
|
{
|
|
4791
4850
|
...props,
|
|
4792
4851
|
viewBox: "0 0 24 24",
|
|
4793
4852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4794
|
-
children: /* @__PURE__ */ (0,
|
|
4853
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
4795
4854
|
"path",
|
|
4796
4855
|
{
|
|
4797
4856
|
clipRule: "evenodd",
|
|
@@ -4804,14 +4863,14 @@ var TurnstileIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
|
4804
4863
|
);
|
|
4805
4864
|
|
|
4806
4865
|
// src/components/Icon/icons/UndoIcon.tsx
|
|
4807
|
-
var
|
|
4808
|
-
var UndoIcon = (props) => /* @__PURE__ */ (0,
|
|
4866
|
+
var import_jsx_runtime148 = require("react/jsx-runtime");
|
|
4867
|
+
var UndoIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(
|
|
4809
4868
|
"svg",
|
|
4810
4869
|
{
|
|
4811
4870
|
...props,
|
|
4812
4871
|
viewBox: "0 0 24 24",
|
|
4813
4872
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4814
|
-
children: /* @__PURE__ */ (0,
|
|
4873
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(
|
|
4815
4874
|
"path",
|
|
4816
4875
|
{
|
|
4817
4876
|
clipRule: "evenodd",
|
|
@@ -4824,14 +4883,14 @@ var UndoIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
|
4824
4883
|
);
|
|
4825
4884
|
|
|
4826
4885
|
// src/components/Icon/icons/UnlockIcon.tsx
|
|
4827
|
-
var
|
|
4828
|
-
var UnlockIcon = (props) => /* @__PURE__ */ (0,
|
|
4886
|
+
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
4887
|
+
var UnlockIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
4829
4888
|
"svg",
|
|
4830
4889
|
{
|
|
4831
4890
|
...props,
|
|
4832
4891
|
viewBox: "0 0 24 24",
|
|
4833
4892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4834
|
-
children: /* @__PURE__ */ (0,
|
|
4893
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
4835
4894
|
"path",
|
|
4836
4895
|
{
|
|
4837
4896
|
clipRule: "evenodd",
|
|
@@ -4844,14 +4903,14 @@ var UnlockIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(
|
|
|
4844
4903
|
);
|
|
4845
4904
|
|
|
4846
4905
|
// src/components/Icon/icons/UploadIcon.tsx
|
|
4847
|
-
var
|
|
4848
|
-
var UploadIcon = (props) => /* @__PURE__ */ (0,
|
|
4906
|
+
var import_jsx_runtime150 = require("react/jsx-runtime");
|
|
4907
|
+
var UploadIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
|
|
4849
4908
|
"svg",
|
|
4850
4909
|
{
|
|
4851
4910
|
...props,
|
|
4852
4911
|
viewBox: "0 0 24 24",
|
|
4853
4912
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4854
|
-
children: /* @__PURE__ */ (0,
|
|
4913
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
|
|
4855
4914
|
"path",
|
|
4856
4915
|
{
|
|
4857
4916
|
clipRule: "evenodd",
|
|
@@ -4864,14 +4923,14 @@ var UploadIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
|
4864
4923
|
);
|
|
4865
4924
|
|
|
4866
4925
|
// src/components/Icon/icons/UsersPermissionsIcon.tsx
|
|
4867
|
-
var
|
|
4868
|
-
var UsersPermissionsIcon = (props) => /* @__PURE__ */ (0,
|
|
4926
|
+
var import_jsx_runtime151 = require("react/jsx-runtime");
|
|
4927
|
+
var UsersPermissionsIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
|
|
4869
4928
|
"svg",
|
|
4870
4929
|
{
|
|
4871
4930
|
...props,
|
|
4872
4931
|
viewBox: "0 0 24 24",
|
|
4873
4932
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4874
|
-
children: /* @__PURE__ */ (0,
|
|
4933
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
|
|
4875
4934
|
"path",
|
|
4876
4935
|
{
|
|
4877
4936
|
clipRule: "evenodd",
|
|
@@ -4884,14 +4943,14 @@ var UsersPermissionsIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime150.
|
|
|
4884
4943
|
);
|
|
4885
4944
|
|
|
4886
4945
|
// src/components/Icon/icons/ViewStreamIcon.tsx
|
|
4887
|
-
var
|
|
4888
|
-
var ViewStreamIcon = (props) => /* @__PURE__ */ (0,
|
|
4946
|
+
var import_jsx_runtime152 = require("react/jsx-runtime");
|
|
4947
|
+
var ViewStreamIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
|
|
4889
4948
|
"svg",
|
|
4890
4949
|
{
|
|
4891
4950
|
...props,
|
|
4892
4951
|
viewBox: "0 0 24 24",
|
|
4893
4952
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4894
|
-
children: /* @__PURE__ */ (0,
|
|
4953
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
|
|
4895
4954
|
"path",
|
|
4896
4955
|
{
|
|
4897
4956
|
clipRule: "evenodd",
|
|
@@ -4904,14 +4963,14 @@ var ViewStreamIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
|
|
|
4904
4963
|
);
|
|
4905
4964
|
|
|
4906
4965
|
// src/components/Icon/icons/VolumeIcon.tsx
|
|
4907
|
-
var
|
|
4908
|
-
var VolumeIcon = (props) => /* @__PURE__ */ (0,
|
|
4966
|
+
var import_jsx_runtime153 = require("react/jsx-runtime");
|
|
4967
|
+
var VolumeIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
4909
4968
|
"svg",
|
|
4910
4969
|
{
|
|
4911
4970
|
...props,
|
|
4912
4971
|
viewBox: "0 0 24 24",
|
|
4913
4972
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4914
|
-
children: /* @__PURE__ */ (0,
|
|
4973
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
4915
4974
|
"path",
|
|
4916
4975
|
{
|
|
4917
4976
|
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",
|
|
@@ -4922,14 +4981,14 @@ var VolumeIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
|
|
|
4922
4981
|
);
|
|
4923
4982
|
|
|
4924
4983
|
// src/components/Icon/icons/VolumeOffIcon.tsx
|
|
4925
|
-
var
|
|
4926
|
-
var VolumeOffIcon = (props) => /* @__PURE__ */ (0,
|
|
4984
|
+
var import_jsx_runtime154 = require("react/jsx-runtime");
|
|
4985
|
+
var VolumeOffIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
|
|
4927
4986
|
"svg",
|
|
4928
4987
|
{
|
|
4929
4988
|
...props,
|
|
4930
4989
|
viewBox: "0 0 24 24",
|
|
4931
4990
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4932
|
-
children: /* @__PURE__ */ (0,
|
|
4991
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
|
|
4933
4992
|
"path",
|
|
4934
4993
|
{
|
|
4935
4994
|
clipRule: "evenodd",
|
|
@@ -4942,14 +5001,14 @@ var VolumeOffIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
|
4942
5001
|
);
|
|
4943
5002
|
|
|
4944
5003
|
// src/components/Icon/icons/VolumeUpIcon.tsx
|
|
4945
|
-
var
|
|
4946
|
-
var VolumeUpIcon = (props) => /* @__PURE__ */ (0,
|
|
5004
|
+
var import_jsx_runtime155 = require("react/jsx-runtime");
|
|
5005
|
+
var VolumeUpIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
|
|
4947
5006
|
"svg",
|
|
4948
5007
|
{
|
|
4949
5008
|
...props,
|
|
4950
5009
|
viewBox: "0 0 24 24",
|
|
4951
5010
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4952
|
-
children: /* @__PURE__ */ (0,
|
|
5011
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
|
|
4953
5012
|
"path",
|
|
4954
5013
|
{
|
|
4955
5014
|
clipRule: "evenodd",
|
|
@@ -4962,14 +5021,14 @@ var VolumeUpIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
|
|
|
4962
5021
|
);
|
|
4963
5022
|
|
|
4964
5023
|
// src/components/Icon/icons/VolumeXIcon.tsx
|
|
4965
|
-
var
|
|
4966
|
-
var VolumeXIcon = (props) => /* @__PURE__ */ (0,
|
|
5024
|
+
var import_jsx_runtime156 = require("react/jsx-runtime");
|
|
5025
|
+
var VolumeXIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
|
|
4967
5026
|
"svg",
|
|
4968
5027
|
{
|
|
4969
5028
|
...props,
|
|
4970
5029
|
viewBox: "0 0 24 24",
|
|
4971
5030
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4972
|
-
children: /* @__PURE__ */ (0,
|
|
5031
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
|
|
4973
5032
|
"path",
|
|
4974
5033
|
{
|
|
4975
5034
|
clipRule: "evenodd",
|
|
@@ -4982,14 +5041,14 @@ var VolumeXIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
|
|
|
4982
5041
|
);
|
|
4983
5042
|
|
|
4984
5043
|
// src/components/Icon/icons/WandIcon.tsx
|
|
4985
|
-
var
|
|
4986
|
-
var WandIcon = (props) => /* @__PURE__ */ (0,
|
|
5044
|
+
var import_jsx_runtime157 = require("react/jsx-runtime");
|
|
5045
|
+
var WandIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
|
|
4987
5046
|
"svg",
|
|
4988
5047
|
{
|
|
4989
5048
|
...props,
|
|
4990
5049
|
viewBox: "0 0 24 24",
|
|
4991
5050
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4992
|
-
children: /* @__PURE__ */ (0,
|
|
5051
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
|
|
4993
5052
|
"path",
|
|
4994
5053
|
{
|
|
4995
5054
|
clipRule: "evenodd",
|
|
@@ -5002,14 +5061,14 @@ var WandIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
|
|
|
5002
5061
|
);
|
|
5003
5062
|
|
|
5004
5063
|
// src/components/Icon/icons/ZoomInIcon.tsx
|
|
5005
|
-
var
|
|
5006
|
-
var ZoomInIcon = (props) => /* @__PURE__ */ (0,
|
|
5064
|
+
var import_jsx_runtime158 = require("react/jsx-runtime");
|
|
5065
|
+
var ZoomInIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(
|
|
5007
5066
|
"svg",
|
|
5008
5067
|
{
|
|
5009
5068
|
...props,
|
|
5010
5069
|
viewBox: "0 0 24 24",
|
|
5011
5070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5012
|
-
children: /* @__PURE__ */ (0,
|
|
5071
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(
|
|
5013
5072
|
"path",
|
|
5014
5073
|
{
|
|
5015
5074
|
clipRule: "evenodd",
|
|
@@ -5022,14 +5081,14 @@ var ZoomInIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
|
|
|
5022
5081
|
);
|
|
5023
5082
|
|
|
5024
5083
|
// src/components/Icon/icons/ZoomOutIcon.tsx
|
|
5025
|
-
var
|
|
5026
|
-
var ZoomOutIcon = (props) => /* @__PURE__ */ (0,
|
|
5084
|
+
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
5085
|
+
var ZoomOutIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(
|
|
5027
5086
|
"svg",
|
|
5028
5087
|
{
|
|
5029
5088
|
...props,
|
|
5030
5089
|
viewBox: "0 0 24 24",
|
|
5031
5090
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5032
|
-
children: /* @__PURE__ */ (0,
|
|
5091
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(
|
|
5033
5092
|
"path",
|
|
5034
5093
|
{
|
|
5035
5094
|
clipRule: "evenodd",
|
|
@@ -5181,6 +5240,7 @@ var iconMap = {
|
|
|
5181
5240
|
"thumbs-down": ThumbsDownIcon,
|
|
5182
5241
|
"thumbs-up": ThumbsUpIcon,
|
|
5183
5242
|
transitions: TransitionsIcon,
|
|
5243
|
+
transcript: TranscriptIcon,
|
|
5184
5244
|
trim: TrimIcon,
|
|
5185
5245
|
turnstile: TurnstileIcon,
|
|
5186
5246
|
undo: UndoIcon,
|
|
@@ -5215,7 +5275,7 @@ var useResponsiveProp = (values) => {
|
|
|
5215
5275
|
};
|
|
5216
5276
|
|
|
5217
5277
|
// src/components/Icon/Icon.tsx
|
|
5218
|
-
var
|
|
5278
|
+
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
5219
5279
|
var iconSizeMap = {
|
|
5220
5280
|
sm: "12",
|
|
5221
5281
|
md: "16",
|
|
@@ -5252,7 +5312,7 @@ var Icon = ({
|
|
|
5252
5312
|
...style
|
|
5253
5313
|
};
|
|
5254
5314
|
const iconColor = invertColor ? "var(--color-icon-on-fill)" : "var(--color-icon)";
|
|
5255
|
-
return /* @__PURE__ */ (0,
|
|
5315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
|
|
5256
5316
|
StyledIcon,
|
|
5257
5317
|
{
|
|
5258
5318
|
$colorScheme: colorScheme,
|
|
@@ -5276,7 +5336,7 @@ var import_react9 = require("react");
|
|
|
5276
5336
|
var import_type_guards11 = require("@wistia/type-guards");
|
|
5277
5337
|
var import_styled_components18 = __toESM(require("styled-components"));
|
|
5278
5338
|
var import_react_router_dom = require("react-router-dom");
|
|
5279
|
-
var
|
|
5339
|
+
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
5280
5340
|
var generateHref = (href, type, disabled) => {
|
|
5281
5341
|
if (disabled || (0, import_type_guards11.isNil)(href)) {
|
|
5282
5342
|
return void 0;
|
|
@@ -5338,7 +5398,7 @@ var Link = (0, import_react9.forwardRef)(
|
|
|
5338
5398
|
onClick: handleClick
|
|
5339
5399
|
};
|
|
5340
5400
|
if (isButton(props)) {
|
|
5341
|
-
return /* @__PURE__ */ (0,
|
|
5401
|
+
return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
5342
5402
|
StyledLink,
|
|
5343
5403
|
{
|
|
5344
5404
|
ref,
|
|
@@ -5358,7 +5418,7 @@ var Link = (0, import_react9.forwardRef)(
|
|
|
5358
5418
|
...commonProps,
|
|
5359
5419
|
...externalLinkProps
|
|
5360
5420
|
};
|
|
5361
|
-
return inRouterContext && type !== "external" ? /* @__PURE__ */ (0,
|
|
5421
|
+
return inRouterContext && type !== "external" ? /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
5362
5422
|
StyledLink,
|
|
5363
5423
|
{
|
|
5364
5424
|
as: import_react_router_dom.Link,
|
|
@@ -5366,7 +5426,7 @@ var Link = (0, import_react9.forwardRef)(
|
|
|
5366
5426
|
to: to ?? "",
|
|
5367
5427
|
children
|
|
5368
5428
|
}
|
|
5369
|
-
) : /* @__PURE__ */ (0,
|
|
5429
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
5370
5430
|
StyledLink,
|
|
5371
5431
|
{
|
|
5372
5432
|
as: "a",
|
|
@@ -5382,7 +5442,7 @@ var Link = (0, import_react9.forwardRef)(
|
|
|
5382
5442
|
Link.displayName = "Link";
|
|
5383
5443
|
|
|
5384
5444
|
// src/components/Button/Button.tsx
|
|
5385
|
-
var
|
|
5445
|
+
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
5386
5446
|
var isLink2 = (props) => (0, import_type_guards12.isNotUndefined)(props.href);
|
|
5387
5447
|
var StyledButton = import_styled_components19.default.button`
|
|
5388
5448
|
${buttonResetCss}
|
|
@@ -5419,9 +5479,9 @@ var ButtonContent = ({
|
|
|
5419
5479
|
rightIcon,
|
|
5420
5480
|
children
|
|
5421
5481
|
}) => {
|
|
5422
|
-
return /* @__PURE__ */ (0,
|
|
5423
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
5424
|
-
/* @__PURE__ */ (0,
|
|
5482
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(import_jsx_runtime162.Fragment, { children: [
|
|
5483
|
+
isLoading ? /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(StyledButtonLoading, { children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(Icon, { type: "spinner" }) }) : null,
|
|
5484
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsxs)(
|
|
5425
5485
|
StyledButtonContent,
|
|
5426
5486
|
{
|
|
5427
5487
|
$hasLeftIcon: (0, import_type_guards12.isNotNil)(leftIcon),
|
|
@@ -5429,7 +5489,7 @@ var ButtonContent = ({
|
|
|
5429
5489
|
$isLoading: isLoading,
|
|
5430
5490
|
children: [
|
|
5431
5491
|
leftIcon ?? null,
|
|
5432
|
-
/* @__PURE__ */ (0,
|
|
5492
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)(StyledButtonContentLabel, { children }),
|
|
5433
5493
|
rightIcon ?? null
|
|
5434
5494
|
]
|
|
5435
5495
|
}
|
|
@@ -5471,14 +5531,14 @@ var Button = (0, import_react10.forwardRef)(
|
|
|
5471
5531
|
commonProps.className = `${className ?? ""} force-state-${forceState}`;
|
|
5472
5532
|
}
|
|
5473
5533
|
if (isLink2(props)) {
|
|
5474
|
-
return /* @__PURE__ */ (0,
|
|
5534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
5475
5535
|
StyledButton,
|
|
5476
5536
|
{
|
|
5477
5537
|
ref,
|
|
5478
5538
|
as: Link,
|
|
5479
5539
|
...props,
|
|
5480
5540
|
...commonProps,
|
|
5481
|
-
children: /* @__PURE__ */ (0,
|
|
5541
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
5482
5542
|
ButtonContent,
|
|
5483
5543
|
{
|
|
5484
5544
|
isLoading,
|
|
@@ -5499,7 +5559,7 @@ var Button = (0, import_react10.forwardRef)(
|
|
|
5499
5559
|
onClick(event);
|
|
5500
5560
|
}
|
|
5501
5561
|
};
|
|
5502
|
-
return /* @__PURE__ */ (0,
|
|
5562
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
5503
5563
|
StyledButton,
|
|
5504
5564
|
{
|
|
5505
5565
|
ref,
|
|
@@ -5507,7 +5567,7 @@ var Button = (0, import_react10.forwardRef)(
|
|
|
5507
5567
|
type: "button",
|
|
5508
5568
|
...props,
|
|
5509
5569
|
...commonProps,
|
|
5510
|
-
children: /* @__PURE__ */ (0,
|
|
5570
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
5511
5571
|
ButtonContent,
|
|
5512
5572
|
{
|
|
5513
5573
|
isLoading,
|
|
@@ -5525,7 +5585,7 @@ Button.displayName = "Button";
|
|
|
5525
5585
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
5526
5586
|
var import_styled_components20 = __toESM(require("styled-components"));
|
|
5527
5587
|
var import_type_guards13 = require("@wistia/type-guards");
|
|
5528
|
-
var
|
|
5588
|
+
var import_jsx_runtime163 = require("react/jsx-runtime");
|
|
5529
5589
|
var getAlignment = (align) => {
|
|
5530
5590
|
if (align === "center") {
|
|
5531
5591
|
return "center";
|
|
@@ -5567,7 +5627,7 @@ var ButtonGroup = ({
|
|
|
5567
5627
|
if ((0, import_type_guards13.isNil)(children)) {
|
|
5568
5628
|
return null;
|
|
5569
5629
|
}
|
|
5570
|
-
return /* @__PURE__ */ (0,
|
|
5630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
|
|
5571
5631
|
ButtonGroupComponent,
|
|
5572
5632
|
{
|
|
5573
5633
|
$align: align,
|
|
@@ -5581,7 +5641,7 @@ ButtonGroup.displayName = "ButtonGroup";
|
|
|
5581
5641
|
|
|
5582
5642
|
// src/components/Divider/Divider.tsx
|
|
5583
5643
|
var import_styled_components21 = __toESM(require("styled-components"));
|
|
5584
|
-
var
|
|
5644
|
+
var import_jsx_runtime164 = require("react/jsx-runtime");
|
|
5585
5645
|
var sizeToPixelMap = {
|
|
5586
5646
|
lg: 4,
|
|
5587
5647
|
sm: 1
|
|
@@ -5601,7 +5661,7 @@ var DividerComponent = import_styled_components21.default.hr`
|
|
|
5601
5661
|
`;
|
|
5602
5662
|
var Divider = ({ size = "sm", ...otherProps }) => {
|
|
5603
5663
|
const responsiveSize = useResponsiveProp(size);
|
|
5604
|
-
return /* @__PURE__ */ (0,
|
|
5664
|
+
return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
|
|
5605
5665
|
DividerComponent,
|
|
5606
5666
|
{
|
|
5607
5667
|
$borderHeight: sizeToPixelMap[responsiveSize],
|
|
@@ -5614,7 +5674,7 @@ Divider.displayName = "Divider";
|
|
|
5614
5674
|
// src/components/Ellipsis/Ellipsis.tsx
|
|
5615
5675
|
var import_type_guards14 = require("@wistia/type-guards");
|
|
5616
5676
|
var import_styled_components22 = __toESM(require("styled-components"));
|
|
5617
|
-
var
|
|
5677
|
+
var import_jsx_runtime165 = require("react/jsx-runtime");
|
|
5618
5678
|
var ellipsisStyle = import_styled_components22.css`
|
|
5619
5679
|
overflow: hidden;
|
|
5620
5680
|
text-overflow: ellipsis;
|
|
@@ -5655,7 +5715,7 @@ var EllipsisComponent = import_styled_components22.default.div`
|
|
|
5655
5715
|
return void 0;
|
|
5656
5716
|
}}
|
|
5657
5717
|
`;
|
|
5658
|
-
var Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */ (0,
|
|
5718
|
+
var Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
|
|
5659
5719
|
EllipsisComponent,
|
|
5660
5720
|
{
|
|
5661
5721
|
$lines: lines,
|
|
@@ -5675,7 +5735,7 @@ var makePolymorphic = (component) => {
|
|
|
5675
5735
|
};
|
|
5676
5736
|
|
|
5677
5737
|
// src/components/Heading/Heading.tsx
|
|
5678
|
-
var
|
|
5738
|
+
var import_jsx_runtime166 = require("react/jsx-runtime");
|
|
5679
5739
|
var heroStyle = import_styled_components23.css`
|
|
5680
5740
|
--font-family: var(--typography-heading-hero-family);
|
|
5681
5741
|
--font-size: var(--typography-heading-hero-size);
|
|
@@ -5771,7 +5831,7 @@ var HeadingComponent = (0, import_react11.forwardRef)(
|
|
|
5771
5831
|
variant = "heading1",
|
|
5772
5832
|
renderAs,
|
|
5773
5833
|
...otherProps
|
|
5774
|
-
}, ref) => /* @__PURE__ */ (0,
|
|
5834
|
+
}, ref) => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
|
|
5775
5835
|
StyledHeading,
|
|
5776
5836
|
{
|
|
5777
5837
|
ref,
|
|
@@ -5797,7 +5857,7 @@ var import_styled_components25 = __toESM(require("styled-components"));
|
|
|
5797
5857
|
// src/components/Tooltip/Tooltip.tsx
|
|
5798
5858
|
var import_react_tooltip2 = require("@radix-ui/react-tooltip");
|
|
5799
5859
|
var import_styled_components24 = __toESM(require("styled-components"));
|
|
5800
|
-
var
|
|
5860
|
+
var import_jsx_runtime167 = require("react/jsx-runtime");
|
|
5801
5861
|
var CompactTooltipStyles = import_styled_components24.css`
|
|
5802
5862
|
--tooltip-font-size: var(--typography-label-4-size);
|
|
5803
5863
|
--tooltip-line-height: var(--typography-label-4-line-height);
|
|
@@ -5863,14 +5923,14 @@ var Tooltip = ({
|
|
|
5863
5923
|
if (forceOpen === true) {
|
|
5864
5924
|
rootProps.open = true;
|
|
5865
5925
|
}
|
|
5866
|
-
return /* @__PURE__ */ (0,
|
|
5926
|
+
return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)(
|
|
5867
5927
|
import_react_tooltip2.Root,
|
|
5868
5928
|
{
|
|
5869
5929
|
delayDuration: delay,
|
|
5870
5930
|
...rootProps,
|
|
5871
5931
|
children: [
|
|
5872
|
-
/* @__PURE__ */ (0,
|
|
5873
|
-
/* @__PURE__ */ (0,
|
|
5932
|
+
/* @__PURE__ */ (0, import_jsx_runtime167.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
|
|
5933
|
+
/* @__PURE__ */ (0, import_jsx_runtime167.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)(
|
|
5874
5934
|
StyledContent,
|
|
5875
5935
|
{
|
|
5876
5936
|
$compact: compact,
|
|
@@ -5878,7 +5938,7 @@ var Tooltip = ({
|
|
|
5878
5938
|
sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
|
|
5879
5939
|
children: [
|
|
5880
5940
|
content,
|
|
5881
|
-
!hideArrow ? /* @__PURE__ */ (0,
|
|
5941
|
+
!hideArrow ? /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(import_react_tooltip2.Arrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
|
|
5882
5942
|
"svg",
|
|
5883
5943
|
{
|
|
5884
5944
|
fill: "var(--tooltip-bg)",
|
|
@@ -5887,7 +5947,7 @@ var Tooltip = ({
|
|
|
5887
5947
|
viewBox: "0 0 12 8",
|
|
5888
5948
|
width: "12",
|
|
5889
5949
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5890
|
-
children: /* @__PURE__ */ (0,
|
|
5950
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("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" })
|
|
5891
5951
|
}
|
|
5892
5952
|
) }) : null
|
|
5893
5953
|
]
|
|
@@ -5900,7 +5960,7 @@ var Tooltip = ({
|
|
|
5900
5960
|
Tooltip.displayName = "Tooltip";
|
|
5901
5961
|
|
|
5902
5962
|
// src/components/IconButton/IconButton.tsx
|
|
5903
|
-
var
|
|
5963
|
+
var import_jsx_runtime168 = require("react/jsx-runtime");
|
|
5904
5964
|
var StyledButton2 = (0, import_styled_components25.default)(Button)`
|
|
5905
5965
|
--icon-button-size-sm: 24px;
|
|
5906
5966
|
--icon-button-size-md: 32px;
|
|
@@ -5918,7 +5978,7 @@ var StyledButton2 = (0, import_styled_components25.default)(Button)`
|
|
|
5918
5978
|
var IconButton = (0, import_react12.forwardRef)(
|
|
5919
5979
|
({ children, label, disableTooltip = false, size = "md", ...props }, ref) => {
|
|
5920
5980
|
const responsiveSize = useResponsiveProp(size);
|
|
5921
|
-
const button = /* @__PURE__ */ (0,
|
|
5981
|
+
const button = /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
|
|
5922
5982
|
StyledButton2,
|
|
5923
5983
|
{
|
|
5924
5984
|
...props,
|
|
@@ -5934,14 +5994,14 @@ var IconButton = (0, import_react12.forwardRef)(
|
|
|
5934
5994
|
if (disableTooltip) {
|
|
5935
5995
|
return button;
|
|
5936
5996
|
}
|
|
5937
|
-
return /* @__PURE__ */ (0,
|
|
5997
|
+
return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(Tooltip, { content: label, children: button });
|
|
5938
5998
|
}
|
|
5939
5999
|
);
|
|
5940
6000
|
IconButton.displayName = "IconButton";
|
|
5941
6001
|
|
|
5942
6002
|
// src/components/Label/Label.tsx
|
|
5943
6003
|
var import_styled_components26 = __toESM(require("styled-components"));
|
|
5944
|
-
var
|
|
6004
|
+
var import_jsx_runtime169 = require("react/jsx-runtime");
|
|
5945
6005
|
var requiredStyle = import_styled_components26.css`
|
|
5946
6006
|
&::after {
|
|
5947
6007
|
color: red; /* TODO need a color for this */
|
|
@@ -5985,7 +6045,7 @@ var Label = ({
|
|
|
5985
6045
|
required = false,
|
|
5986
6046
|
screenReaderOnly = false,
|
|
5987
6047
|
...otherProps
|
|
5988
|
-
}) => /* @__PURE__ */ (0,
|
|
6048
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
|
|
5989
6049
|
StyledLabel,
|
|
5990
6050
|
{
|
|
5991
6051
|
disabled,
|
|
@@ -6000,7 +6060,7 @@ Label.displayName = "Label";
|
|
|
6000
6060
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
6001
6061
|
var import_styled_components27 = __toESM(require("styled-components"));
|
|
6002
6062
|
var import_type_guards15 = require("@wistia/type-guards");
|
|
6003
|
-
var
|
|
6063
|
+
var import_jsx_runtime170 = require("react/jsx-runtime");
|
|
6004
6064
|
var VisuallyHidden = import_styled_components27.default.div({ ...visuallyHiddenStyle });
|
|
6005
6065
|
var VisuallyHiddenButFocusable = import_styled_components27.default.div({
|
|
6006
6066
|
"&:not(:focus-within)": visuallyHiddenStyle
|
|
@@ -6013,16 +6073,16 @@ var ScreenReaderOnly = ({
|
|
|
6013
6073
|
}) => {
|
|
6014
6074
|
const accessibleText = (0, import_type_guards15.isNotNil)(text) ? text : children;
|
|
6015
6075
|
if (focusable) {
|
|
6016
|
-
return /* @__PURE__ */ (0,
|
|
6076
|
+
return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
|
|
6017
6077
|
}
|
|
6018
|
-
return /* @__PURE__ */ (0,
|
|
6078
|
+
return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(VisuallyHidden, { ...otherProps, children: accessibleText });
|
|
6019
6079
|
};
|
|
6020
6080
|
ScreenReaderOnly.displayName = "ScreenReaderOnly";
|
|
6021
6081
|
|
|
6022
6082
|
// src/components/Stack/Stack.tsx
|
|
6023
6083
|
var import_react13 = require("react");
|
|
6024
6084
|
var import_styled_components28 = __toESM(require("styled-components"));
|
|
6025
|
-
var
|
|
6085
|
+
var import_jsx_runtime171 = require("react/jsx-runtime");
|
|
6026
6086
|
var DEFAULT_ELEMENT2 = "div";
|
|
6027
6087
|
var StyledStack = import_styled_components28.default.div`
|
|
6028
6088
|
display: flex;
|
|
@@ -6037,7 +6097,7 @@ var StackComponent = (0, import_react13.forwardRef)(
|
|
|
6037
6097
|
({ renderAs, direction = "vertical", gap = "space-02", ...props }, ref) => {
|
|
6038
6098
|
const responsiveGap = useResponsiveProp(gap);
|
|
6039
6099
|
const responsiveDirection = useResponsiveProp(direction);
|
|
6040
|
-
return /* @__PURE__ */ (0,
|
|
6100
|
+
return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
|
|
6041
6101
|
StyledStack,
|
|
6042
6102
|
{
|
|
6043
6103
|
ref,
|
|
@@ -6055,7 +6115,7 @@ var Stack = makePolymorphic(StackComponent);
|
|
|
6055
6115
|
// src/components/Text/Text.tsx
|
|
6056
6116
|
var import_react14 = require("react");
|
|
6057
6117
|
var import_styled_components29 = __toESM(require("styled-components"));
|
|
6058
|
-
var
|
|
6118
|
+
var import_jsx_runtime172 = require("react/jsx-runtime");
|
|
6059
6119
|
var bodyBoldStyles = import_styled_components29.css`
|
|
6060
6120
|
> strong,
|
|
6061
6121
|
b {
|
|
@@ -6210,7 +6270,7 @@ var TextComponent = (0, import_react14.forwardRef)(
|
|
|
6210
6270
|
renderAs,
|
|
6211
6271
|
...otherProps
|
|
6212
6272
|
}, ref) => {
|
|
6213
|
-
return /* @__PURE__ */ (0,
|
|
6273
|
+
return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
|
|
6214
6274
|
StyledText,
|
|
6215
6275
|
{
|
|
6216
6276
|
ref,
|
|
@@ -6234,18 +6294,18 @@ var Text = makePolymorphic(TextComponent);
|
|
|
6234
6294
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
6235
6295
|
var import_styled_components30 = __toESM(require("styled-components"));
|
|
6236
6296
|
var import_type_guards16 = require("@wistia/type-guards");
|
|
6237
|
-
var
|
|
6297
|
+
var import_jsx_runtime173 = require("react/jsx-runtime");
|
|
6238
6298
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
6239
6299
|
if (iconOnly) {
|
|
6240
|
-
return /* @__PURE__ */ (0,
|
|
6300
|
+
return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("g", { fill: brandmarkColor, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("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" }) });
|
|
6241
6301
|
}
|
|
6242
|
-
return /* @__PURE__ */ (0,
|
|
6302
|
+
return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("g", { fill: brandmarkColor, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("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" }) });
|
|
6243
6303
|
};
|
|
6244
6304
|
var renderLogotype = (logotypeColor, iconOnly) => {
|
|
6245
6305
|
if (iconOnly) {
|
|
6246
6306
|
return null;
|
|
6247
6307
|
}
|
|
6248
|
-
return /* @__PURE__ */ (0,
|
|
6308
|
+
return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("g", { fill: logotypeColor, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("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" }) });
|
|
6249
6309
|
};
|
|
6250
6310
|
var computedViewBox = (iconOnly) => {
|
|
6251
6311
|
if (iconOnly) {
|
|
@@ -6295,7 +6355,7 @@ var WistiaLogo = ({
|
|
|
6295
6355
|
};
|
|
6296
6356
|
const brandmarkColor = VARIANT_COLORS[variant].brandmark;
|
|
6297
6357
|
const logotypeColor = VARIANT_COLORS[variant].logotype;
|
|
6298
|
-
const Logo = /* @__PURE__ */ (0,
|
|
6358
|
+
const Logo = /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
|
|
6299
6359
|
WistiaLogoComponent,
|
|
6300
6360
|
{
|
|
6301
6361
|
$hoverColor: hoverColor,
|
|
@@ -6305,14 +6365,14 @@ var WistiaLogo = ({
|
|
|
6305
6365
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6306
6366
|
...otherProps,
|
|
6307
6367
|
children: [
|
|
6308
|
-
/* @__PURE__ */ (0,
|
|
6309
|
-
(0, import_type_guards16.isNotNil)(description) ? /* @__PURE__ */ (0,
|
|
6368
|
+
/* @__PURE__ */ (0, import_jsx_runtime173.jsx)("title", { children: title }),
|
|
6369
|
+
(0, import_type_guards16.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("desc", { children: description }) : null,
|
|
6310
6370
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
6311
6371
|
renderLogotype(logotypeColor, iconOnly)
|
|
6312
6372
|
]
|
|
6313
6373
|
}
|
|
6314
6374
|
);
|
|
6315
|
-
return href !== void 0 ? /* @__PURE__ */ (0,
|
|
6375
|
+
return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("a", { href, children: Logo }) : Logo;
|
|
6316
6376
|
};
|
|
6317
6377
|
WistiaLogo.displayName = "WistiaLogo";
|
|
6318
6378
|
// Annotate the CommonJS export names for ESM import in node:
|