@wistia/ui 0.0.12 → 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 +113 -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 +109 -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
|
*
|
|
@@ -4784,15 +4784,33 @@ var ThumbsUpIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime143.jsx)(
|
|
|
4784
4784
|
}
|
|
4785
4785
|
);
|
|
4786
4786
|
|
|
4787
|
-
// src/components/Icon/icons/
|
|
4787
|
+
// src/components/Icon/icons/TranscriptIcon.tsx
|
|
4788
4788
|
var import_jsx_runtime144 = require("react/jsx-runtime");
|
|
4789
|
-
var
|
|
4789
|
+
var TranscriptIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
4790
4790
|
"svg",
|
|
4791
4791
|
{
|
|
4792
4792
|
...props,
|
|
4793
4793
|
viewBox: "0 0 24 24",
|
|
4794
4794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4795
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)(
|
|
4796
4814
|
"path",
|
|
4797
4815
|
{
|
|
4798
4816
|
clipRule: "evenodd",
|
|
@@ -4805,14 +4823,14 @@ var TransitionsIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)(
|
|
|
4805
4823
|
);
|
|
4806
4824
|
|
|
4807
4825
|
// src/components/Icon/icons/TrimIcon.tsx
|
|
4808
|
-
var
|
|
4809
|
-
var TrimIcon = (props) => /* @__PURE__ */ (0,
|
|
4826
|
+
var import_jsx_runtime146 = require("react/jsx-runtime");
|
|
4827
|
+
var TrimIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
4810
4828
|
"svg",
|
|
4811
4829
|
{
|
|
4812
4830
|
...props,
|
|
4813
4831
|
viewBox: "0 0 24 24",
|
|
4814
4832
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4815
|
-
children: /* @__PURE__ */ (0,
|
|
4833
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
4816
4834
|
"path",
|
|
4817
4835
|
{
|
|
4818
4836
|
clipRule: "evenodd",
|
|
@@ -4825,14 +4843,14 @@ var TrimIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(
|
|
|
4825
4843
|
);
|
|
4826
4844
|
|
|
4827
4845
|
// src/components/Icon/icons/TurnstileIcon.tsx
|
|
4828
|
-
var
|
|
4829
|
-
var TurnstileIcon = (props) => /* @__PURE__ */ (0,
|
|
4846
|
+
var import_jsx_runtime147 = require("react/jsx-runtime");
|
|
4847
|
+
var TurnstileIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
4830
4848
|
"svg",
|
|
4831
4849
|
{
|
|
4832
4850
|
...props,
|
|
4833
4851
|
viewBox: "0 0 24 24",
|
|
4834
4852
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4835
|
-
children: /* @__PURE__ */ (0,
|
|
4853
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
4836
4854
|
"path",
|
|
4837
4855
|
{
|
|
4838
4856
|
clipRule: "evenodd",
|
|
@@ -4845,14 +4863,14 @@ var TurnstileIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(
|
|
|
4845
4863
|
);
|
|
4846
4864
|
|
|
4847
4865
|
// src/components/Icon/icons/UndoIcon.tsx
|
|
4848
|
-
var
|
|
4849
|
-
var UndoIcon = (props) => /* @__PURE__ */ (0,
|
|
4866
|
+
var import_jsx_runtime148 = require("react/jsx-runtime");
|
|
4867
|
+
var UndoIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(
|
|
4850
4868
|
"svg",
|
|
4851
4869
|
{
|
|
4852
4870
|
...props,
|
|
4853
4871
|
viewBox: "0 0 24 24",
|
|
4854
4872
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4855
|
-
children: /* @__PURE__ */ (0,
|
|
4873
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(
|
|
4856
4874
|
"path",
|
|
4857
4875
|
{
|
|
4858
4876
|
clipRule: "evenodd",
|
|
@@ -4865,14 +4883,14 @@ var UndoIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime147.jsx)(
|
|
|
4865
4883
|
);
|
|
4866
4884
|
|
|
4867
4885
|
// src/components/Icon/icons/UnlockIcon.tsx
|
|
4868
|
-
var
|
|
4869
|
-
var UnlockIcon = (props) => /* @__PURE__ */ (0,
|
|
4886
|
+
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
4887
|
+
var UnlockIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
4870
4888
|
"svg",
|
|
4871
4889
|
{
|
|
4872
4890
|
...props,
|
|
4873
4891
|
viewBox: "0 0 24 24",
|
|
4874
4892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4875
|
-
children: /* @__PURE__ */ (0,
|
|
4893
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
4876
4894
|
"path",
|
|
4877
4895
|
{
|
|
4878
4896
|
clipRule: "evenodd",
|
|
@@ -4885,14 +4903,14 @@ var UnlockIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(
|
|
|
4885
4903
|
);
|
|
4886
4904
|
|
|
4887
4905
|
// src/components/Icon/icons/UploadIcon.tsx
|
|
4888
|
-
var
|
|
4889
|
-
var UploadIcon = (props) => /* @__PURE__ */ (0,
|
|
4906
|
+
var import_jsx_runtime150 = require("react/jsx-runtime");
|
|
4907
|
+
var UploadIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
|
|
4890
4908
|
"svg",
|
|
4891
4909
|
{
|
|
4892
4910
|
...props,
|
|
4893
4911
|
viewBox: "0 0 24 24",
|
|
4894
4912
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4895
|
-
children: /* @__PURE__ */ (0,
|
|
4913
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
|
|
4896
4914
|
"path",
|
|
4897
4915
|
{
|
|
4898
4916
|
clipRule: "evenodd",
|
|
@@ -4905,14 +4923,14 @@ var UploadIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
|
4905
4923
|
);
|
|
4906
4924
|
|
|
4907
4925
|
// src/components/Icon/icons/UsersPermissionsIcon.tsx
|
|
4908
|
-
var
|
|
4909
|
-
var UsersPermissionsIcon = (props) => /* @__PURE__ */ (0,
|
|
4926
|
+
var import_jsx_runtime151 = require("react/jsx-runtime");
|
|
4927
|
+
var UsersPermissionsIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
|
|
4910
4928
|
"svg",
|
|
4911
4929
|
{
|
|
4912
4930
|
...props,
|
|
4913
4931
|
viewBox: "0 0 24 24",
|
|
4914
4932
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4915
|
-
children: /* @__PURE__ */ (0,
|
|
4933
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
|
|
4916
4934
|
"path",
|
|
4917
4935
|
{
|
|
4918
4936
|
clipRule: "evenodd",
|
|
@@ -4925,14 +4943,14 @@ var UsersPermissionsIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime150.
|
|
|
4925
4943
|
);
|
|
4926
4944
|
|
|
4927
4945
|
// src/components/Icon/icons/ViewStreamIcon.tsx
|
|
4928
|
-
var
|
|
4929
|
-
var ViewStreamIcon = (props) => /* @__PURE__ */ (0,
|
|
4946
|
+
var import_jsx_runtime152 = require("react/jsx-runtime");
|
|
4947
|
+
var ViewStreamIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
|
|
4930
4948
|
"svg",
|
|
4931
4949
|
{
|
|
4932
4950
|
...props,
|
|
4933
4951
|
viewBox: "0 0 24 24",
|
|
4934
4952
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4935
|
-
children: /* @__PURE__ */ (0,
|
|
4953
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
|
|
4936
4954
|
"path",
|
|
4937
4955
|
{
|
|
4938
4956
|
clipRule: "evenodd",
|
|
@@ -4945,14 +4963,14 @@ var ViewStreamIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime151.jsx)(
|
|
|
4945
4963
|
);
|
|
4946
4964
|
|
|
4947
4965
|
// src/components/Icon/icons/VolumeIcon.tsx
|
|
4948
|
-
var
|
|
4949
|
-
var VolumeIcon = (props) => /* @__PURE__ */ (0,
|
|
4966
|
+
var import_jsx_runtime153 = require("react/jsx-runtime");
|
|
4967
|
+
var VolumeIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
4950
4968
|
"svg",
|
|
4951
4969
|
{
|
|
4952
4970
|
...props,
|
|
4953
4971
|
viewBox: "0 0 24 24",
|
|
4954
4972
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4955
|
-
children: /* @__PURE__ */ (0,
|
|
4973
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
4956
4974
|
"path",
|
|
4957
4975
|
{
|
|
4958
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",
|
|
@@ -4963,14 +4981,14 @@ var VolumeIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
|
|
|
4963
4981
|
);
|
|
4964
4982
|
|
|
4965
4983
|
// src/components/Icon/icons/VolumeOffIcon.tsx
|
|
4966
|
-
var
|
|
4967
|
-
var VolumeOffIcon = (props) => /* @__PURE__ */ (0,
|
|
4984
|
+
var import_jsx_runtime154 = require("react/jsx-runtime");
|
|
4985
|
+
var VolumeOffIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
|
|
4968
4986
|
"svg",
|
|
4969
4987
|
{
|
|
4970
4988
|
...props,
|
|
4971
4989
|
viewBox: "0 0 24 24",
|
|
4972
4990
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4973
|
-
children: /* @__PURE__ */ (0,
|
|
4991
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
|
|
4974
4992
|
"path",
|
|
4975
4993
|
{
|
|
4976
4994
|
clipRule: "evenodd",
|
|
@@ -4983,14 +5001,14 @@ var VolumeOffIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
|
4983
5001
|
);
|
|
4984
5002
|
|
|
4985
5003
|
// src/components/Icon/icons/VolumeUpIcon.tsx
|
|
4986
|
-
var
|
|
4987
|
-
var VolumeUpIcon = (props) => /* @__PURE__ */ (0,
|
|
5004
|
+
var import_jsx_runtime155 = require("react/jsx-runtime");
|
|
5005
|
+
var VolumeUpIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
|
|
4988
5006
|
"svg",
|
|
4989
5007
|
{
|
|
4990
5008
|
...props,
|
|
4991
5009
|
viewBox: "0 0 24 24",
|
|
4992
5010
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4993
|
-
children: /* @__PURE__ */ (0,
|
|
5011
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
|
|
4994
5012
|
"path",
|
|
4995
5013
|
{
|
|
4996
5014
|
clipRule: "evenodd",
|
|
@@ -5003,14 +5021,14 @@ var VolumeUpIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime154.jsx)(
|
|
|
5003
5021
|
);
|
|
5004
5022
|
|
|
5005
5023
|
// src/components/Icon/icons/VolumeXIcon.tsx
|
|
5006
|
-
var
|
|
5007
|
-
var VolumeXIcon = (props) => /* @__PURE__ */ (0,
|
|
5024
|
+
var import_jsx_runtime156 = require("react/jsx-runtime");
|
|
5025
|
+
var VolumeXIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
|
|
5008
5026
|
"svg",
|
|
5009
5027
|
{
|
|
5010
5028
|
...props,
|
|
5011
5029
|
viewBox: "0 0 24 24",
|
|
5012
5030
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5013
|
-
children: /* @__PURE__ */ (0,
|
|
5031
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
|
|
5014
5032
|
"path",
|
|
5015
5033
|
{
|
|
5016
5034
|
clipRule: "evenodd",
|
|
@@ -5023,14 +5041,14 @@ var VolumeXIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime155.jsx)(
|
|
|
5023
5041
|
);
|
|
5024
5042
|
|
|
5025
5043
|
// src/components/Icon/icons/WandIcon.tsx
|
|
5026
|
-
var
|
|
5027
|
-
var WandIcon = (props) => /* @__PURE__ */ (0,
|
|
5044
|
+
var import_jsx_runtime157 = require("react/jsx-runtime");
|
|
5045
|
+
var WandIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
|
|
5028
5046
|
"svg",
|
|
5029
5047
|
{
|
|
5030
5048
|
...props,
|
|
5031
5049
|
viewBox: "0 0 24 24",
|
|
5032
5050
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5033
|
-
children: /* @__PURE__ */ (0,
|
|
5051
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
|
|
5034
5052
|
"path",
|
|
5035
5053
|
{
|
|
5036
5054
|
clipRule: "evenodd",
|
|
@@ -5043,14 +5061,14 @@ var WandIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime156.jsx)(
|
|
|
5043
5061
|
);
|
|
5044
5062
|
|
|
5045
5063
|
// src/components/Icon/icons/ZoomInIcon.tsx
|
|
5046
|
-
var
|
|
5047
|
-
var ZoomInIcon = (props) => /* @__PURE__ */ (0,
|
|
5064
|
+
var import_jsx_runtime158 = require("react/jsx-runtime");
|
|
5065
|
+
var ZoomInIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(
|
|
5048
5066
|
"svg",
|
|
5049
5067
|
{
|
|
5050
5068
|
...props,
|
|
5051
5069
|
viewBox: "0 0 24 24",
|
|
5052
5070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5053
|
-
children: /* @__PURE__ */ (0,
|
|
5071
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(
|
|
5054
5072
|
"path",
|
|
5055
5073
|
{
|
|
5056
5074
|
clipRule: "evenodd",
|
|
@@ -5063,14 +5081,14 @@ var ZoomInIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(
|
|
|
5063
5081
|
);
|
|
5064
5082
|
|
|
5065
5083
|
// src/components/Icon/icons/ZoomOutIcon.tsx
|
|
5066
|
-
var
|
|
5067
|
-
var ZoomOutIcon = (props) => /* @__PURE__ */ (0,
|
|
5084
|
+
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
5085
|
+
var ZoomOutIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(
|
|
5068
5086
|
"svg",
|
|
5069
5087
|
{
|
|
5070
5088
|
...props,
|
|
5071
5089
|
viewBox: "0 0 24 24",
|
|
5072
5090
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5073
|
-
children: /* @__PURE__ */ (0,
|
|
5091
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(
|
|
5074
5092
|
"path",
|
|
5075
5093
|
{
|
|
5076
5094
|
clipRule: "evenodd",
|
|
@@ -5222,6 +5240,7 @@ var iconMap = {
|
|
|
5222
5240
|
"thumbs-down": ThumbsDownIcon,
|
|
5223
5241
|
"thumbs-up": ThumbsUpIcon,
|
|
5224
5242
|
transitions: TransitionsIcon,
|
|
5243
|
+
transcript: TranscriptIcon,
|
|
5225
5244
|
trim: TrimIcon,
|
|
5226
5245
|
turnstile: TurnstileIcon,
|
|
5227
5246
|
undo: UndoIcon,
|
|
@@ -5256,7 +5275,7 @@ var useResponsiveProp = (values) => {
|
|
|
5256
5275
|
};
|
|
5257
5276
|
|
|
5258
5277
|
// src/components/Icon/Icon.tsx
|
|
5259
|
-
var
|
|
5278
|
+
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
5260
5279
|
var iconSizeMap = {
|
|
5261
5280
|
sm: "12",
|
|
5262
5281
|
md: "16",
|
|
@@ -5293,7 +5312,7 @@ var Icon = ({
|
|
|
5293
5312
|
...style
|
|
5294
5313
|
};
|
|
5295
5314
|
const iconColor = invertColor ? "var(--color-icon-on-fill)" : "var(--color-icon)";
|
|
5296
|
-
return /* @__PURE__ */ (0,
|
|
5315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
|
|
5297
5316
|
StyledIcon,
|
|
5298
5317
|
{
|
|
5299
5318
|
$colorScheme: colorScheme,
|
|
@@ -5317,7 +5336,7 @@ var import_react9 = require("react");
|
|
|
5317
5336
|
var import_type_guards11 = require("@wistia/type-guards");
|
|
5318
5337
|
var import_styled_components18 = __toESM(require("styled-components"));
|
|
5319
5338
|
var import_react_router_dom = require("react-router-dom");
|
|
5320
|
-
var
|
|
5339
|
+
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
5321
5340
|
var generateHref = (href, type, disabled) => {
|
|
5322
5341
|
if (disabled || (0, import_type_guards11.isNil)(href)) {
|
|
5323
5342
|
return void 0;
|
|
@@ -5379,7 +5398,7 @@ var Link = (0, import_react9.forwardRef)(
|
|
|
5379
5398
|
onClick: handleClick
|
|
5380
5399
|
};
|
|
5381
5400
|
if (isButton(props)) {
|
|
5382
|
-
return /* @__PURE__ */ (0,
|
|
5401
|
+
return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
5383
5402
|
StyledLink,
|
|
5384
5403
|
{
|
|
5385
5404
|
ref,
|
|
@@ -5399,7 +5418,7 @@ var Link = (0, import_react9.forwardRef)(
|
|
|
5399
5418
|
...commonProps,
|
|
5400
5419
|
...externalLinkProps
|
|
5401
5420
|
};
|
|
5402
|
-
return inRouterContext && type !== "external" ? /* @__PURE__ */ (0,
|
|
5421
|
+
return inRouterContext && type !== "external" ? /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
5403
5422
|
StyledLink,
|
|
5404
5423
|
{
|
|
5405
5424
|
as: import_react_router_dom.Link,
|
|
@@ -5407,7 +5426,7 @@ var Link = (0, import_react9.forwardRef)(
|
|
|
5407
5426
|
to: to ?? "",
|
|
5408
5427
|
children
|
|
5409
5428
|
}
|
|
5410
|
-
) : /* @__PURE__ */ (0,
|
|
5429
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
5411
5430
|
StyledLink,
|
|
5412
5431
|
{
|
|
5413
5432
|
as: "a",
|
|
@@ -5423,7 +5442,7 @@ var Link = (0, import_react9.forwardRef)(
|
|
|
5423
5442
|
Link.displayName = "Link";
|
|
5424
5443
|
|
|
5425
5444
|
// src/components/Button/Button.tsx
|
|
5426
|
-
var
|
|
5445
|
+
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
5427
5446
|
var isLink2 = (props) => (0, import_type_guards12.isNotUndefined)(props.href);
|
|
5428
5447
|
var StyledButton = import_styled_components19.default.button`
|
|
5429
5448
|
${buttonResetCss}
|
|
@@ -5460,9 +5479,9 @@ var ButtonContent = ({
|
|
|
5460
5479
|
rightIcon,
|
|
5461
5480
|
children
|
|
5462
5481
|
}) => {
|
|
5463
|
-
return /* @__PURE__ */ (0,
|
|
5464
|
-
isLoading ? /* @__PURE__ */ (0,
|
|
5465
|
-
/* @__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)(
|
|
5466
5485
|
StyledButtonContent,
|
|
5467
5486
|
{
|
|
5468
5487
|
$hasLeftIcon: (0, import_type_guards12.isNotNil)(leftIcon),
|
|
@@ -5470,7 +5489,7 @@ var ButtonContent = ({
|
|
|
5470
5489
|
$isLoading: isLoading,
|
|
5471
5490
|
children: [
|
|
5472
5491
|
leftIcon ?? null,
|
|
5473
|
-
/* @__PURE__ */ (0,
|
|
5492
|
+
/* @__PURE__ */ (0, import_jsx_runtime162.jsx)(StyledButtonContentLabel, { children }),
|
|
5474
5493
|
rightIcon ?? null
|
|
5475
5494
|
]
|
|
5476
5495
|
}
|
|
@@ -5512,14 +5531,14 @@ var Button = (0, import_react10.forwardRef)(
|
|
|
5512
5531
|
commonProps.className = `${className ?? ""} force-state-${forceState}`;
|
|
5513
5532
|
}
|
|
5514
5533
|
if (isLink2(props)) {
|
|
5515
|
-
return /* @__PURE__ */ (0,
|
|
5534
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
5516
5535
|
StyledButton,
|
|
5517
5536
|
{
|
|
5518
5537
|
ref,
|
|
5519
5538
|
as: Link,
|
|
5520
5539
|
...props,
|
|
5521
5540
|
...commonProps,
|
|
5522
|
-
children: /* @__PURE__ */ (0,
|
|
5541
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
5523
5542
|
ButtonContent,
|
|
5524
5543
|
{
|
|
5525
5544
|
isLoading,
|
|
@@ -5540,7 +5559,7 @@ var Button = (0, import_react10.forwardRef)(
|
|
|
5540
5559
|
onClick(event);
|
|
5541
5560
|
}
|
|
5542
5561
|
};
|
|
5543
|
-
return /* @__PURE__ */ (0,
|
|
5562
|
+
return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
5544
5563
|
StyledButton,
|
|
5545
5564
|
{
|
|
5546
5565
|
ref,
|
|
@@ -5548,7 +5567,7 @@ var Button = (0, import_react10.forwardRef)(
|
|
|
5548
5567
|
type: "button",
|
|
5549
5568
|
...props,
|
|
5550
5569
|
...commonProps,
|
|
5551
|
-
children: /* @__PURE__ */ (0,
|
|
5570
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
5552
5571
|
ButtonContent,
|
|
5553
5572
|
{
|
|
5554
5573
|
isLoading,
|
|
@@ -5566,7 +5585,7 @@ Button.displayName = "Button";
|
|
|
5566
5585
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
5567
5586
|
var import_styled_components20 = __toESM(require("styled-components"));
|
|
5568
5587
|
var import_type_guards13 = require("@wistia/type-guards");
|
|
5569
|
-
var
|
|
5588
|
+
var import_jsx_runtime163 = require("react/jsx-runtime");
|
|
5570
5589
|
var getAlignment = (align) => {
|
|
5571
5590
|
if (align === "center") {
|
|
5572
5591
|
return "center";
|
|
@@ -5608,7 +5627,7 @@ var ButtonGroup = ({
|
|
|
5608
5627
|
if ((0, import_type_guards13.isNil)(children)) {
|
|
5609
5628
|
return null;
|
|
5610
5629
|
}
|
|
5611
|
-
return /* @__PURE__ */ (0,
|
|
5630
|
+
return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
|
|
5612
5631
|
ButtonGroupComponent,
|
|
5613
5632
|
{
|
|
5614
5633
|
$align: align,
|
|
@@ -5622,7 +5641,7 @@ ButtonGroup.displayName = "ButtonGroup";
|
|
|
5622
5641
|
|
|
5623
5642
|
// src/components/Divider/Divider.tsx
|
|
5624
5643
|
var import_styled_components21 = __toESM(require("styled-components"));
|
|
5625
|
-
var
|
|
5644
|
+
var import_jsx_runtime164 = require("react/jsx-runtime");
|
|
5626
5645
|
var sizeToPixelMap = {
|
|
5627
5646
|
lg: 4,
|
|
5628
5647
|
sm: 1
|
|
@@ -5642,7 +5661,7 @@ var DividerComponent = import_styled_components21.default.hr`
|
|
|
5642
5661
|
`;
|
|
5643
5662
|
var Divider = ({ size = "sm", ...otherProps }) => {
|
|
5644
5663
|
const responsiveSize = useResponsiveProp(size);
|
|
5645
|
-
return /* @__PURE__ */ (0,
|
|
5664
|
+
return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
|
|
5646
5665
|
DividerComponent,
|
|
5647
5666
|
{
|
|
5648
5667
|
$borderHeight: sizeToPixelMap[responsiveSize],
|
|
@@ -5655,7 +5674,7 @@ Divider.displayName = "Divider";
|
|
|
5655
5674
|
// src/components/Ellipsis/Ellipsis.tsx
|
|
5656
5675
|
var import_type_guards14 = require("@wistia/type-guards");
|
|
5657
5676
|
var import_styled_components22 = __toESM(require("styled-components"));
|
|
5658
|
-
var
|
|
5677
|
+
var import_jsx_runtime165 = require("react/jsx-runtime");
|
|
5659
5678
|
var ellipsisStyle = import_styled_components22.css`
|
|
5660
5679
|
overflow: hidden;
|
|
5661
5680
|
text-overflow: ellipsis;
|
|
@@ -5696,7 +5715,7 @@ var EllipsisComponent = import_styled_components22.default.div`
|
|
|
5696
5715
|
return void 0;
|
|
5697
5716
|
}}
|
|
5698
5717
|
`;
|
|
5699
|
-
var Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */ (0,
|
|
5718
|
+
var Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
|
|
5700
5719
|
EllipsisComponent,
|
|
5701
5720
|
{
|
|
5702
5721
|
$lines: lines,
|
|
@@ -5716,7 +5735,7 @@ var makePolymorphic = (component) => {
|
|
|
5716
5735
|
};
|
|
5717
5736
|
|
|
5718
5737
|
// src/components/Heading/Heading.tsx
|
|
5719
|
-
var
|
|
5738
|
+
var import_jsx_runtime166 = require("react/jsx-runtime");
|
|
5720
5739
|
var heroStyle = import_styled_components23.css`
|
|
5721
5740
|
--font-family: var(--typography-heading-hero-family);
|
|
5722
5741
|
--font-size: var(--typography-heading-hero-size);
|
|
@@ -5812,7 +5831,7 @@ var HeadingComponent = (0, import_react11.forwardRef)(
|
|
|
5812
5831
|
variant = "heading1",
|
|
5813
5832
|
renderAs,
|
|
5814
5833
|
...otherProps
|
|
5815
|
-
}, ref) => /* @__PURE__ */ (0,
|
|
5834
|
+
}, ref) => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
|
|
5816
5835
|
StyledHeading,
|
|
5817
5836
|
{
|
|
5818
5837
|
ref,
|
|
@@ -5838,7 +5857,7 @@ var import_styled_components25 = __toESM(require("styled-components"));
|
|
|
5838
5857
|
// src/components/Tooltip/Tooltip.tsx
|
|
5839
5858
|
var import_react_tooltip2 = require("@radix-ui/react-tooltip");
|
|
5840
5859
|
var import_styled_components24 = __toESM(require("styled-components"));
|
|
5841
|
-
var
|
|
5860
|
+
var import_jsx_runtime167 = require("react/jsx-runtime");
|
|
5842
5861
|
var CompactTooltipStyles = import_styled_components24.css`
|
|
5843
5862
|
--tooltip-font-size: var(--typography-label-4-size);
|
|
5844
5863
|
--tooltip-line-height: var(--typography-label-4-line-height);
|
|
@@ -5904,14 +5923,14 @@ var Tooltip = ({
|
|
|
5904
5923
|
if (forceOpen === true) {
|
|
5905
5924
|
rootProps.open = true;
|
|
5906
5925
|
}
|
|
5907
|
-
return /* @__PURE__ */ (0,
|
|
5926
|
+
return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)(
|
|
5908
5927
|
import_react_tooltip2.Root,
|
|
5909
5928
|
{
|
|
5910
5929
|
delayDuration: delay,
|
|
5911
5930
|
...rootProps,
|
|
5912
5931
|
children: [
|
|
5913
|
-
/* @__PURE__ */ (0,
|
|
5914
|
-
/* @__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)(
|
|
5915
5934
|
StyledContent,
|
|
5916
5935
|
{
|
|
5917
5936
|
$compact: compact,
|
|
@@ -5919,7 +5938,7 @@ var Tooltip = ({
|
|
|
5919
5938
|
sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
|
|
5920
5939
|
children: [
|
|
5921
5940
|
content,
|
|
5922
|
-
!hideArrow ? /* @__PURE__ */ (0,
|
|
5941
|
+
!hideArrow ? /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(import_react_tooltip2.Arrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(
|
|
5923
5942
|
"svg",
|
|
5924
5943
|
{
|
|
5925
5944
|
fill: "var(--tooltip-bg)",
|
|
@@ -5928,7 +5947,7 @@ var Tooltip = ({
|
|
|
5928
5947
|
viewBox: "0 0 12 8",
|
|
5929
5948
|
width: "12",
|
|
5930
5949
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5931
|
-
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" })
|
|
5932
5951
|
}
|
|
5933
5952
|
) }) : null
|
|
5934
5953
|
]
|
|
@@ -5941,7 +5960,7 @@ var Tooltip = ({
|
|
|
5941
5960
|
Tooltip.displayName = "Tooltip";
|
|
5942
5961
|
|
|
5943
5962
|
// src/components/IconButton/IconButton.tsx
|
|
5944
|
-
var
|
|
5963
|
+
var import_jsx_runtime168 = require("react/jsx-runtime");
|
|
5945
5964
|
var StyledButton2 = (0, import_styled_components25.default)(Button)`
|
|
5946
5965
|
--icon-button-size-sm: 24px;
|
|
5947
5966
|
--icon-button-size-md: 32px;
|
|
@@ -5959,7 +5978,7 @@ var StyledButton2 = (0, import_styled_components25.default)(Button)`
|
|
|
5959
5978
|
var IconButton = (0, import_react12.forwardRef)(
|
|
5960
5979
|
({ children, label, disableTooltip = false, size = "md", ...props }, ref) => {
|
|
5961
5980
|
const responsiveSize = useResponsiveProp(size);
|
|
5962
|
-
const button = /* @__PURE__ */ (0,
|
|
5981
|
+
const button = /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
|
|
5963
5982
|
StyledButton2,
|
|
5964
5983
|
{
|
|
5965
5984
|
...props,
|
|
@@ -5975,14 +5994,14 @@ var IconButton = (0, import_react12.forwardRef)(
|
|
|
5975
5994
|
if (disableTooltip) {
|
|
5976
5995
|
return button;
|
|
5977
5996
|
}
|
|
5978
|
-
return /* @__PURE__ */ (0,
|
|
5997
|
+
return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(Tooltip, { content: label, children: button });
|
|
5979
5998
|
}
|
|
5980
5999
|
);
|
|
5981
6000
|
IconButton.displayName = "IconButton";
|
|
5982
6001
|
|
|
5983
6002
|
// src/components/Label/Label.tsx
|
|
5984
6003
|
var import_styled_components26 = __toESM(require("styled-components"));
|
|
5985
|
-
var
|
|
6004
|
+
var import_jsx_runtime169 = require("react/jsx-runtime");
|
|
5986
6005
|
var requiredStyle = import_styled_components26.css`
|
|
5987
6006
|
&::after {
|
|
5988
6007
|
color: red; /* TODO need a color for this */
|
|
@@ -6026,7 +6045,7 @@ var Label = ({
|
|
|
6026
6045
|
required = false,
|
|
6027
6046
|
screenReaderOnly = false,
|
|
6028
6047
|
...otherProps
|
|
6029
|
-
}) => /* @__PURE__ */ (0,
|
|
6048
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
|
|
6030
6049
|
StyledLabel,
|
|
6031
6050
|
{
|
|
6032
6051
|
disabled,
|
|
@@ -6041,7 +6060,7 @@ Label.displayName = "Label";
|
|
|
6041
6060
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
6042
6061
|
var import_styled_components27 = __toESM(require("styled-components"));
|
|
6043
6062
|
var import_type_guards15 = require("@wistia/type-guards");
|
|
6044
|
-
var
|
|
6063
|
+
var import_jsx_runtime170 = require("react/jsx-runtime");
|
|
6045
6064
|
var VisuallyHidden = import_styled_components27.default.div({ ...visuallyHiddenStyle });
|
|
6046
6065
|
var VisuallyHiddenButFocusable = import_styled_components27.default.div({
|
|
6047
6066
|
"&:not(:focus-within)": visuallyHiddenStyle
|
|
@@ -6054,16 +6073,16 @@ var ScreenReaderOnly = ({
|
|
|
6054
6073
|
}) => {
|
|
6055
6074
|
const accessibleText = (0, import_type_guards15.isNotNil)(text) ? text : children;
|
|
6056
6075
|
if (focusable) {
|
|
6057
|
-
return /* @__PURE__ */ (0,
|
|
6076
|
+
return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
|
|
6058
6077
|
}
|
|
6059
|
-
return /* @__PURE__ */ (0,
|
|
6078
|
+
return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(VisuallyHidden, { ...otherProps, children: accessibleText });
|
|
6060
6079
|
};
|
|
6061
6080
|
ScreenReaderOnly.displayName = "ScreenReaderOnly";
|
|
6062
6081
|
|
|
6063
6082
|
// src/components/Stack/Stack.tsx
|
|
6064
6083
|
var import_react13 = require("react");
|
|
6065
6084
|
var import_styled_components28 = __toESM(require("styled-components"));
|
|
6066
|
-
var
|
|
6085
|
+
var import_jsx_runtime171 = require("react/jsx-runtime");
|
|
6067
6086
|
var DEFAULT_ELEMENT2 = "div";
|
|
6068
6087
|
var StyledStack = import_styled_components28.default.div`
|
|
6069
6088
|
display: flex;
|
|
@@ -6078,7 +6097,7 @@ var StackComponent = (0, import_react13.forwardRef)(
|
|
|
6078
6097
|
({ renderAs, direction = "vertical", gap = "space-02", ...props }, ref) => {
|
|
6079
6098
|
const responsiveGap = useResponsiveProp(gap);
|
|
6080
6099
|
const responsiveDirection = useResponsiveProp(direction);
|
|
6081
|
-
return /* @__PURE__ */ (0,
|
|
6100
|
+
return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
|
|
6082
6101
|
StyledStack,
|
|
6083
6102
|
{
|
|
6084
6103
|
ref,
|
|
@@ -6096,7 +6115,7 @@ var Stack = makePolymorphic(StackComponent);
|
|
|
6096
6115
|
// src/components/Text/Text.tsx
|
|
6097
6116
|
var import_react14 = require("react");
|
|
6098
6117
|
var import_styled_components29 = __toESM(require("styled-components"));
|
|
6099
|
-
var
|
|
6118
|
+
var import_jsx_runtime172 = require("react/jsx-runtime");
|
|
6100
6119
|
var bodyBoldStyles = import_styled_components29.css`
|
|
6101
6120
|
> strong,
|
|
6102
6121
|
b {
|
|
@@ -6251,7 +6270,7 @@ var TextComponent = (0, import_react14.forwardRef)(
|
|
|
6251
6270
|
renderAs,
|
|
6252
6271
|
...otherProps
|
|
6253
6272
|
}, ref) => {
|
|
6254
|
-
return /* @__PURE__ */ (0,
|
|
6273
|
+
return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
|
|
6255
6274
|
StyledText,
|
|
6256
6275
|
{
|
|
6257
6276
|
ref,
|
|
@@ -6275,18 +6294,18 @@ var Text = makePolymorphic(TextComponent);
|
|
|
6275
6294
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
6276
6295
|
var import_styled_components30 = __toESM(require("styled-components"));
|
|
6277
6296
|
var import_type_guards16 = require("@wistia/type-guards");
|
|
6278
|
-
var
|
|
6297
|
+
var import_jsx_runtime173 = require("react/jsx-runtime");
|
|
6279
6298
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
6280
6299
|
if (iconOnly) {
|
|
6281
|
-
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" }) });
|
|
6282
6301
|
}
|
|
6283
|
-
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" }) });
|
|
6284
6303
|
};
|
|
6285
6304
|
var renderLogotype = (logotypeColor, iconOnly) => {
|
|
6286
6305
|
if (iconOnly) {
|
|
6287
6306
|
return null;
|
|
6288
6307
|
}
|
|
6289
|
-
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" }) });
|
|
6290
6309
|
};
|
|
6291
6310
|
var computedViewBox = (iconOnly) => {
|
|
6292
6311
|
if (iconOnly) {
|
|
@@ -6336,7 +6355,7 @@ var WistiaLogo = ({
|
|
|
6336
6355
|
};
|
|
6337
6356
|
const brandmarkColor = VARIANT_COLORS[variant].brandmark;
|
|
6338
6357
|
const logotypeColor = VARIANT_COLORS[variant].logotype;
|
|
6339
|
-
const Logo = /* @__PURE__ */ (0,
|
|
6358
|
+
const Logo = /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(
|
|
6340
6359
|
WistiaLogoComponent,
|
|
6341
6360
|
{
|
|
6342
6361
|
$hoverColor: hoverColor,
|
|
@@ -6346,14 +6365,14 @@ var WistiaLogo = ({
|
|
|
6346
6365
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6347
6366
|
...otherProps,
|
|
6348
6367
|
children: [
|
|
6349
|
-
/* @__PURE__ */ (0,
|
|
6350
|
-
(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,
|
|
6351
6370
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
6352
6371
|
renderLogotype(logotypeColor, iconOnly)
|
|
6353
6372
|
]
|
|
6354
6373
|
}
|
|
6355
6374
|
);
|
|
6356
|
-
return href !== void 0 ? /* @__PURE__ */ (0,
|
|
6375
|
+
return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("a", { href, children: Logo }) : Logo;
|
|
6357
6376
|
};
|
|
6358
6377
|
WistiaLogo.displayName = "WistiaLogo";
|
|
6359
6378
|
// Annotate the CommonJS export names for ESM import in node:
|