@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.mjs
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
|
*
|
|
@@ -4721,15 +4721,33 @@ var ThumbsUpIcon = (props) => /* @__PURE__ */ jsx143(
|
|
|
4721
4721
|
}
|
|
4722
4722
|
);
|
|
4723
4723
|
|
|
4724
|
-
// src/components/Icon/icons/
|
|
4724
|
+
// src/components/Icon/icons/TranscriptIcon.tsx
|
|
4725
4725
|
import { jsx as jsx144 } from "react/jsx-runtime";
|
|
4726
|
-
var
|
|
4726
|
+
var TranscriptIcon = (props) => /* @__PURE__ */ jsx144(
|
|
4727
4727
|
"svg",
|
|
4728
4728
|
{
|
|
4729
4729
|
...props,
|
|
4730
4730
|
viewBox: "0 0 24 24",
|
|
4731
4731
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4732
4732
|
children: /* @__PURE__ */ jsx144(
|
|
4733
|
+
"path",
|
|
4734
|
+
{
|
|
4735
|
+
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",
|
|
4736
|
+
fill: "currentColor"
|
|
4737
|
+
}
|
|
4738
|
+
)
|
|
4739
|
+
}
|
|
4740
|
+
);
|
|
4741
|
+
|
|
4742
|
+
// src/components/Icon/icons/TransitionsIcon.tsx
|
|
4743
|
+
import { jsx as jsx145 } from "react/jsx-runtime";
|
|
4744
|
+
var TransitionsIcon = (props) => /* @__PURE__ */ jsx145(
|
|
4745
|
+
"svg",
|
|
4746
|
+
{
|
|
4747
|
+
...props,
|
|
4748
|
+
viewBox: "0 0 24 24",
|
|
4749
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4750
|
+
children: /* @__PURE__ */ jsx145(
|
|
4733
4751
|
"path",
|
|
4734
4752
|
{
|
|
4735
4753
|
clipRule: "evenodd",
|
|
@@ -4742,14 +4760,14 @@ var TransitionsIcon = (props) => /* @__PURE__ */ jsx144(
|
|
|
4742
4760
|
);
|
|
4743
4761
|
|
|
4744
4762
|
// src/components/Icon/icons/TrimIcon.tsx
|
|
4745
|
-
import { jsx as
|
|
4746
|
-
var TrimIcon = (props) => /* @__PURE__ */
|
|
4763
|
+
import { jsx as jsx146 } from "react/jsx-runtime";
|
|
4764
|
+
var TrimIcon = (props) => /* @__PURE__ */ jsx146(
|
|
4747
4765
|
"svg",
|
|
4748
4766
|
{
|
|
4749
4767
|
...props,
|
|
4750
4768
|
viewBox: "0 0 24 24",
|
|
4751
4769
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4752
|
-
children: /* @__PURE__ */
|
|
4770
|
+
children: /* @__PURE__ */ jsx146(
|
|
4753
4771
|
"path",
|
|
4754
4772
|
{
|
|
4755
4773
|
clipRule: "evenodd",
|
|
@@ -4762,14 +4780,14 @@ var TrimIcon = (props) => /* @__PURE__ */ jsx145(
|
|
|
4762
4780
|
);
|
|
4763
4781
|
|
|
4764
4782
|
// src/components/Icon/icons/TurnstileIcon.tsx
|
|
4765
|
-
import { jsx as
|
|
4766
|
-
var TurnstileIcon = (props) => /* @__PURE__ */
|
|
4783
|
+
import { jsx as jsx147 } from "react/jsx-runtime";
|
|
4784
|
+
var TurnstileIcon = (props) => /* @__PURE__ */ jsx147(
|
|
4767
4785
|
"svg",
|
|
4768
4786
|
{
|
|
4769
4787
|
...props,
|
|
4770
4788
|
viewBox: "0 0 24 24",
|
|
4771
4789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4772
|
-
children: /* @__PURE__ */
|
|
4790
|
+
children: /* @__PURE__ */ jsx147(
|
|
4773
4791
|
"path",
|
|
4774
4792
|
{
|
|
4775
4793
|
clipRule: "evenodd",
|
|
@@ -4782,14 +4800,14 @@ var TurnstileIcon = (props) => /* @__PURE__ */ jsx146(
|
|
|
4782
4800
|
);
|
|
4783
4801
|
|
|
4784
4802
|
// src/components/Icon/icons/UndoIcon.tsx
|
|
4785
|
-
import { jsx as
|
|
4786
|
-
var UndoIcon = (props) => /* @__PURE__ */
|
|
4803
|
+
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
4804
|
+
var UndoIcon = (props) => /* @__PURE__ */ jsx148(
|
|
4787
4805
|
"svg",
|
|
4788
4806
|
{
|
|
4789
4807
|
...props,
|
|
4790
4808
|
viewBox: "0 0 24 24",
|
|
4791
4809
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4792
|
-
children: /* @__PURE__ */
|
|
4810
|
+
children: /* @__PURE__ */ jsx148(
|
|
4793
4811
|
"path",
|
|
4794
4812
|
{
|
|
4795
4813
|
clipRule: "evenodd",
|
|
@@ -4802,14 +4820,14 @@ var UndoIcon = (props) => /* @__PURE__ */ jsx147(
|
|
|
4802
4820
|
);
|
|
4803
4821
|
|
|
4804
4822
|
// src/components/Icon/icons/UnlockIcon.tsx
|
|
4805
|
-
import { jsx as
|
|
4806
|
-
var UnlockIcon = (props) => /* @__PURE__ */
|
|
4823
|
+
import { jsx as jsx149 } from "react/jsx-runtime";
|
|
4824
|
+
var UnlockIcon = (props) => /* @__PURE__ */ jsx149(
|
|
4807
4825
|
"svg",
|
|
4808
4826
|
{
|
|
4809
4827
|
...props,
|
|
4810
4828
|
viewBox: "0 0 24 24",
|
|
4811
4829
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4812
|
-
children: /* @__PURE__ */
|
|
4830
|
+
children: /* @__PURE__ */ jsx149(
|
|
4813
4831
|
"path",
|
|
4814
4832
|
{
|
|
4815
4833
|
clipRule: "evenodd",
|
|
@@ -4822,14 +4840,14 @@ var UnlockIcon = (props) => /* @__PURE__ */ jsx148(
|
|
|
4822
4840
|
);
|
|
4823
4841
|
|
|
4824
4842
|
// src/components/Icon/icons/UploadIcon.tsx
|
|
4825
|
-
import { jsx as
|
|
4826
|
-
var UploadIcon = (props) => /* @__PURE__ */
|
|
4843
|
+
import { jsx as jsx150 } from "react/jsx-runtime";
|
|
4844
|
+
var UploadIcon = (props) => /* @__PURE__ */ jsx150(
|
|
4827
4845
|
"svg",
|
|
4828
4846
|
{
|
|
4829
4847
|
...props,
|
|
4830
4848
|
viewBox: "0 0 24 24",
|
|
4831
4849
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4832
|
-
children: /* @__PURE__ */
|
|
4850
|
+
children: /* @__PURE__ */ jsx150(
|
|
4833
4851
|
"path",
|
|
4834
4852
|
{
|
|
4835
4853
|
clipRule: "evenodd",
|
|
@@ -4842,14 +4860,14 @@ var UploadIcon = (props) => /* @__PURE__ */ jsx149(
|
|
|
4842
4860
|
);
|
|
4843
4861
|
|
|
4844
4862
|
// src/components/Icon/icons/UsersPermissionsIcon.tsx
|
|
4845
|
-
import { jsx as
|
|
4846
|
-
var UsersPermissionsIcon = (props) => /* @__PURE__ */
|
|
4863
|
+
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
4864
|
+
var UsersPermissionsIcon = (props) => /* @__PURE__ */ jsx151(
|
|
4847
4865
|
"svg",
|
|
4848
4866
|
{
|
|
4849
4867
|
...props,
|
|
4850
4868
|
viewBox: "0 0 24 24",
|
|
4851
4869
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4852
|
-
children: /* @__PURE__ */
|
|
4870
|
+
children: /* @__PURE__ */ jsx151(
|
|
4853
4871
|
"path",
|
|
4854
4872
|
{
|
|
4855
4873
|
clipRule: "evenodd",
|
|
@@ -4862,14 +4880,14 @@ var UsersPermissionsIcon = (props) => /* @__PURE__ */ jsx150(
|
|
|
4862
4880
|
);
|
|
4863
4881
|
|
|
4864
4882
|
// src/components/Icon/icons/ViewStreamIcon.tsx
|
|
4865
|
-
import { jsx as
|
|
4866
|
-
var ViewStreamIcon = (props) => /* @__PURE__ */
|
|
4883
|
+
import { jsx as jsx152 } from "react/jsx-runtime";
|
|
4884
|
+
var ViewStreamIcon = (props) => /* @__PURE__ */ jsx152(
|
|
4867
4885
|
"svg",
|
|
4868
4886
|
{
|
|
4869
4887
|
...props,
|
|
4870
4888
|
viewBox: "0 0 24 24",
|
|
4871
4889
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4872
|
-
children: /* @__PURE__ */
|
|
4890
|
+
children: /* @__PURE__ */ jsx152(
|
|
4873
4891
|
"path",
|
|
4874
4892
|
{
|
|
4875
4893
|
clipRule: "evenodd",
|
|
@@ -4882,14 +4900,14 @@ var ViewStreamIcon = (props) => /* @__PURE__ */ jsx151(
|
|
|
4882
4900
|
);
|
|
4883
4901
|
|
|
4884
4902
|
// src/components/Icon/icons/VolumeIcon.tsx
|
|
4885
|
-
import { jsx as
|
|
4886
|
-
var VolumeIcon = (props) => /* @__PURE__ */
|
|
4903
|
+
import { jsx as jsx153 } from "react/jsx-runtime";
|
|
4904
|
+
var VolumeIcon = (props) => /* @__PURE__ */ jsx153(
|
|
4887
4905
|
"svg",
|
|
4888
4906
|
{
|
|
4889
4907
|
...props,
|
|
4890
4908
|
viewBox: "0 0 24 24",
|
|
4891
4909
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4892
|
-
children: /* @__PURE__ */
|
|
4910
|
+
children: /* @__PURE__ */ jsx153(
|
|
4893
4911
|
"path",
|
|
4894
4912
|
{
|
|
4895
4913
|
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",
|
|
@@ -4900,14 +4918,14 @@ var VolumeIcon = (props) => /* @__PURE__ */ jsx152(
|
|
|
4900
4918
|
);
|
|
4901
4919
|
|
|
4902
4920
|
// src/components/Icon/icons/VolumeOffIcon.tsx
|
|
4903
|
-
import { jsx as
|
|
4904
|
-
var VolumeOffIcon = (props) => /* @__PURE__ */
|
|
4921
|
+
import { jsx as jsx154 } from "react/jsx-runtime";
|
|
4922
|
+
var VolumeOffIcon = (props) => /* @__PURE__ */ jsx154(
|
|
4905
4923
|
"svg",
|
|
4906
4924
|
{
|
|
4907
4925
|
...props,
|
|
4908
4926
|
viewBox: "0 0 24 24",
|
|
4909
4927
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4910
|
-
children: /* @__PURE__ */
|
|
4928
|
+
children: /* @__PURE__ */ jsx154(
|
|
4911
4929
|
"path",
|
|
4912
4930
|
{
|
|
4913
4931
|
clipRule: "evenodd",
|
|
@@ -4920,14 +4938,14 @@ var VolumeOffIcon = (props) => /* @__PURE__ */ jsx153(
|
|
|
4920
4938
|
);
|
|
4921
4939
|
|
|
4922
4940
|
// src/components/Icon/icons/VolumeUpIcon.tsx
|
|
4923
|
-
import { jsx as
|
|
4924
|
-
var VolumeUpIcon = (props) => /* @__PURE__ */
|
|
4941
|
+
import { jsx as jsx155 } from "react/jsx-runtime";
|
|
4942
|
+
var VolumeUpIcon = (props) => /* @__PURE__ */ jsx155(
|
|
4925
4943
|
"svg",
|
|
4926
4944
|
{
|
|
4927
4945
|
...props,
|
|
4928
4946
|
viewBox: "0 0 24 24",
|
|
4929
4947
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4930
|
-
children: /* @__PURE__ */
|
|
4948
|
+
children: /* @__PURE__ */ jsx155(
|
|
4931
4949
|
"path",
|
|
4932
4950
|
{
|
|
4933
4951
|
clipRule: "evenodd",
|
|
@@ -4940,14 +4958,14 @@ var VolumeUpIcon = (props) => /* @__PURE__ */ jsx154(
|
|
|
4940
4958
|
);
|
|
4941
4959
|
|
|
4942
4960
|
// src/components/Icon/icons/VolumeXIcon.tsx
|
|
4943
|
-
import { jsx as
|
|
4944
|
-
var VolumeXIcon = (props) => /* @__PURE__ */
|
|
4961
|
+
import { jsx as jsx156 } from "react/jsx-runtime";
|
|
4962
|
+
var VolumeXIcon = (props) => /* @__PURE__ */ jsx156(
|
|
4945
4963
|
"svg",
|
|
4946
4964
|
{
|
|
4947
4965
|
...props,
|
|
4948
4966
|
viewBox: "0 0 24 24",
|
|
4949
4967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4950
|
-
children: /* @__PURE__ */
|
|
4968
|
+
children: /* @__PURE__ */ jsx156(
|
|
4951
4969
|
"path",
|
|
4952
4970
|
{
|
|
4953
4971
|
clipRule: "evenodd",
|
|
@@ -4960,14 +4978,14 @@ var VolumeXIcon = (props) => /* @__PURE__ */ jsx155(
|
|
|
4960
4978
|
);
|
|
4961
4979
|
|
|
4962
4980
|
// src/components/Icon/icons/WandIcon.tsx
|
|
4963
|
-
import { jsx as
|
|
4964
|
-
var WandIcon = (props) => /* @__PURE__ */
|
|
4981
|
+
import { jsx as jsx157 } from "react/jsx-runtime";
|
|
4982
|
+
var WandIcon = (props) => /* @__PURE__ */ jsx157(
|
|
4965
4983
|
"svg",
|
|
4966
4984
|
{
|
|
4967
4985
|
...props,
|
|
4968
4986
|
viewBox: "0 0 24 24",
|
|
4969
4987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4970
|
-
children: /* @__PURE__ */
|
|
4988
|
+
children: /* @__PURE__ */ jsx157(
|
|
4971
4989
|
"path",
|
|
4972
4990
|
{
|
|
4973
4991
|
clipRule: "evenodd",
|
|
@@ -4980,14 +4998,14 @@ var WandIcon = (props) => /* @__PURE__ */ jsx156(
|
|
|
4980
4998
|
);
|
|
4981
4999
|
|
|
4982
5000
|
// src/components/Icon/icons/ZoomInIcon.tsx
|
|
4983
|
-
import { jsx as
|
|
4984
|
-
var ZoomInIcon = (props) => /* @__PURE__ */
|
|
5001
|
+
import { jsx as jsx158 } from "react/jsx-runtime";
|
|
5002
|
+
var ZoomInIcon = (props) => /* @__PURE__ */ jsx158(
|
|
4985
5003
|
"svg",
|
|
4986
5004
|
{
|
|
4987
5005
|
...props,
|
|
4988
5006
|
viewBox: "0 0 24 24",
|
|
4989
5007
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4990
|
-
children: /* @__PURE__ */
|
|
5008
|
+
children: /* @__PURE__ */ jsx158(
|
|
4991
5009
|
"path",
|
|
4992
5010
|
{
|
|
4993
5011
|
clipRule: "evenodd",
|
|
@@ -5000,14 +5018,14 @@ var ZoomInIcon = (props) => /* @__PURE__ */ jsx157(
|
|
|
5000
5018
|
);
|
|
5001
5019
|
|
|
5002
5020
|
// src/components/Icon/icons/ZoomOutIcon.tsx
|
|
5003
|
-
import { jsx as
|
|
5004
|
-
var ZoomOutIcon = (props) => /* @__PURE__ */
|
|
5021
|
+
import { jsx as jsx159 } from "react/jsx-runtime";
|
|
5022
|
+
var ZoomOutIcon = (props) => /* @__PURE__ */ jsx159(
|
|
5005
5023
|
"svg",
|
|
5006
5024
|
{
|
|
5007
5025
|
...props,
|
|
5008
5026
|
viewBox: "0 0 24 24",
|
|
5009
5027
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5010
|
-
children: /* @__PURE__ */
|
|
5028
|
+
children: /* @__PURE__ */ jsx159(
|
|
5011
5029
|
"path",
|
|
5012
5030
|
{
|
|
5013
5031
|
clipRule: "evenodd",
|
|
@@ -5159,6 +5177,7 @@ var iconMap = {
|
|
|
5159
5177
|
"thumbs-down": ThumbsDownIcon,
|
|
5160
5178
|
"thumbs-up": ThumbsUpIcon,
|
|
5161
5179
|
transitions: TransitionsIcon,
|
|
5180
|
+
transcript: TranscriptIcon,
|
|
5162
5181
|
trim: TrimIcon,
|
|
5163
5182
|
turnstile: TurnstileIcon,
|
|
5164
5183
|
undo: UndoIcon,
|
|
@@ -5193,7 +5212,7 @@ var useResponsiveProp = (values) => {
|
|
|
5193
5212
|
};
|
|
5194
5213
|
|
|
5195
5214
|
// src/components/Icon/Icon.tsx
|
|
5196
|
-
import { jsx as
|
|
5215
|
+
import { jsx as jsx160 } from "react/jsx-runtime";
|
|
5197
5216
|
var iconSizeMap = {
|
|
5198
5217
|
sm: "12",
|
|
5199
5218
|
md: "16",
|
|
@@ -5230,7 +5249,7 @@ var Icon = ({
|
|
|
5230
5249
|
...style
|
|
5231
5250
|
};
|
|
5232
5251
|
const iconColor = invertColor ? "var(--color-icon-on-fill)" : "var(--color-icon)";
|
|
5233
|
-
return /* @__PURE__ */
|
|
5252
|
+
return /* @__PURE__ */ jsx160(
|
|
5234
5253
|
StyledIcon,
|
|
5235
5254
|
{
|
|
5236
5255
|
$colorScheme: colorScheme,
|
|
@@ -5254,7 +5273,7 @@ import { forwardRef as forwardRef2 } from "react";
|
|
|
5254
5273
|
import { isNil as isNil7, isNotNil as isNotNil3, isNotUndefined as isNotUndefined2, isUndefined as isUndefined2 } from "@wistia/type-guards";
|
|
5255
5274
|
import styled6 from "styled-components";
|
|
5256
5275
|
import { Link as RouterLink, useInRouterContext } from "react-router-dom";
|
|
5257
|
-
import { jsx as
|
|
5276
|
+
import { jsx as jsx161 } from "react/jsx-runtime";
|
|
5258
5277
|
var generateHref = (href, type, disabled) => {
|
|
5259
5278
|
if (disabled || isNil7(href)) {
|
|
5260
5279
|
return void 0;
|
|
@@ -5316,7 +5335,7 @@ var Link = forwardRef2(
|
|
|
5316
5335
|
onClick: handleClick
|
|
5317
5336
|
};
|
|
5318
5337
|
if (isButton(props)) {
|
|
5319
|
-
return /* @__PURE__ */
|
|
5338
|
+
return /* @__PURE__ */ jsx161(
|
|
5320
5339
|
StyledLink,
|
|
5321
5340
|
{
|
|
5322
5341
|
ref,
|
|
@@ -5336,7 +5355,7 @@ var Link = forwardRef2(
|
|
|
5336
5355
|
...commonProps,
|
|
5337
5356
|
...externalLinkProps
|
|
5338
5357
|
};
|
|
5339
|
-
return inRouterContext && type !== "external" ? /* @__PURE__ */
|
|
5358
|
+
return inRouterContext && type !== "external" ? /* @__PURE__ */ jsx161(
|
|
5340
5359
|
StyledLink,
|
|
5341
5360
|
{
|
|
5342
5361
|
as: RouterLink,
|
|
@@ -5344,7 +5363,7 @@ var Link = forwardRef2(
|
|
|
5344
5363
|
to: to ?? "",
|
|
5345
5364
|
children
|
|
5346
5365
|
}
|
|
5347
|
-
) : /* @__PURE__ */
|
|
5366
|
+
) : /* @__PURE__ */ jsx161(
|
|
5348
5367
|
StyledLink,
|
|
5349
5368
|
{
|
|
5350
5369
|
as: "a",
|
|
@@ -5360,7 +5379,7 @@ var Link = forwardRef2(
|
|
|
5360
5379
|
Link.displayName = "Link";
|
|
5361
5380
|
|
|
5362
5381
|
// src/components/Button/Button.tsx
|
|
5363
|
-
import { Fragment, jsx as
|
|
5382
|
+
import { Fragment, jsx as jsx162, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
5364
5383
|
var isLink2 = (props) => isNotUndefined3(props.href);
|
|
5365
5384
|
var StyledButton = styled7.button`
|
|
5366
5385
|
${buttonResetCss}
|
|
@@ -5398,7 +5417,7 @@ var ButtonContent = ({
|
|
|
5398
5417
|
children
|
|
5399
5418
|
}) => {
|
|
5400
5419
|
return /* @__PURE__ */ jsxs5(Fragment, { children: [
|
|
5401
|
-
isLoading ? /* @__PURE__ */
|
|
5420
|
+
isLoading ? /* @__PURE__ */ jsx162(StyledButtonLoading, { children: /* @__PURE__ */ jsx162(Icon, { type: "spinner" }) }) : null,
|
|
5402
5421
|
/* @__PURE__ */ jsxs5(
|
|
5403
5422
|
StyledButtonContent,
|
|
5404
5423
|
{
|
|
@@ -5407,7 +5426,7 @@ var ButtonContent = ({
|
|
|
5407
5426
|
$isLoading: isLoading,
|
|
5408
5427
|
children: [
|
|
5409
5428
|
leftIcon ?? null,
|
|
5410
|
-
/* @__PURE__ */
|
|
5429
|
+
/* @__PURE__ */ jsx162(StyledButtonContentLabel, { children }),
|
|
5411
5430
|
rightIcon ?? null
|
|
5412
5431
|
]
|
|
5413
5432
|
}
|
|
@@ -5449,14 +5468,14 @@ var Button = forwardRef3(
|
|
|
5449
5468
|
commonProps.className = `${className ?? ""} force-state-${forceState}`;
|
|
5450
5469
|
}
|
|
5451
5470
|
if (isLink2(props)) {
|
|
5452
|
-
return /* @__PURE__ */
|
|
5471
|
+
return /* @__PURE__ */ jsx162(
|
|
5453
5472
|
StyledButton,
|
|
5454
5473
|
{
|
|
5455
5474
|
ref,
|
|
5456
5475
|
as: Link,
|
|
5457
5476
|
...props,
|
|
5458
5477
|
...commonProps,
|
|
5459
|
-
children: /* @__PURE__ */
|
|
5478
|
+
children: /* @__PURE__ */ jsx162(
|
|
5460
5479
|
ButtonContent,
|
|
5461
5480
|
{
|
|
5462
5481
|
isLoading,
|
|
@@ -5477,7 +5496,7 @@ var Button = forwardRef3(
|
|
|
5477
5496
|
onClick(event);
|
|
5478
5497
|
}
|
|
5479
5498
|
};
|
|
5480
|
-
return /* @__PURE__ */
|
|
5499
|
+
return /* @__PURE__ */ jsx162(
|
|
5481
5500
|
StyledButton,
|
|
5482
5501
|
{
|
|
5483
5502
|
ref,
|
|
@@ -5485,7 +5504,7 @@ var Button = forwardRef3(
|
|
|
5485
5504
|
type: "button",
|
|
5486
5505
|
...props,
|
|
5487
5506
|
...commonProps,
|
|
5488
|
-
children: /* @__PURE__ */
|
|
5507
|
+
children: /* @__PURE__ */ jsx162(
|
|
5489
5508
|
ButtonContent,
|
|
5490
5509
|
{
|
|
5491
5510
|
isLoading,
|
|
@@ -5503,7 +5522,7 @@ Button.displayName = "Button";
|
|
|
5503
5522
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
5504
5523
|
import styled8 from "styled-components";
|
|
5505
5524
|
import { isNil as isNil8 } from "@wistia/type-guards";
|
|
5506
|
-
import { jsx as
|
|
5525
|
+
import { jsx as jsx163 } from "react/jsx-runtime";
|
|
5507
5526
|
var getAlignment = (align) => {
|
|
5508
5527
|
if (align === "center") {
|
|
5509
5528
|
return "center";
|
|
@@ -5545,7 +5564,7 @@ var ButtonGroup = ({
|
|
|
5545
5564
|
if (isNil8(children)) {
|
|
5546
5565
|
return null;
|
|
5547
5566
|
}
|
|
5548
|
-
return /* @__PURE__ */
|
|
5567
|
+
return /* @__PURE__ */ jsx163(
|
|
5549
5568
|
ButtonGroupComponent,
|
|
5550
5569
|
{
|
|
5551
5570
|
$align: align,
|
|
@@ -5559,7 +5578,7 @@ ButtonGroup.displayName = "ButtonGroup";
|
|
|
5559
5578
|
|
|
5560
5579
|
// src/components/Divider/Divider.tsx
|
|
5561
5580
|
import styled9 from "styled-components";
|
|
5562
|
-
import { jsx as
|
|
5581
|
+
import { jsx as jsx164 } from "react/jsx-runtime";
|
|
5563
5582
|
var sizeToPixelMap = {
|
|
5564
5583
|
lg: 4,
|
|
5565
5584
|
sm: 1
|
|
@@ -5579,7 +5598,7 @@ var DividerComponent = styled9.hr`
|
|
|
5579
5598
|
`;
|
|
5580
5599
|
var Divider = ({ size = "sm", ...otherProps }) => {
|
|
5581
5600
|
const responsiveSize = useResponsiveProp(size);
|
|
5582
|
-
return /* @__PURE__ */
|
|
5601
|
+
return /* @__PURE__ */ jsx164(
|
|
5583
5602
|
DividerComponent,
|
|
5584
5603
|
{
|
|
5585
5604
|
$borderHeight: sizeToPixelMap[responsiveSize],
|
|
@@ -5592,7 +5611,7 @@ Divider.displayName = "Divider";
|
|
|
5592
5611
|
// src/components/Ellipsis/Ellipsis.tsx
|
|
5593
5612
|
import { isNotNil as isNotNil5 } from "@wistia/type-guards";
|
|
5594
5613
|
import styled10, { css as css12 } from "styled-components";
|
|
5595
|
-
import { jsx as
|
|
5614
|
+
import { jsx as jsx165 } from "react/jsx-runtime";
|
|
5596
5615
|
var ellipsisStyle = css12`
|
|
5597
5616
|
overflow: hidden;
|
|
5598
5617
|
text-overflow: ellipsis;
|
|
@@ -5633,7 +5652,7 @@ var EllipsisComponent = styled10.div`
|
|
|
5633
5652
|
return void 0;
|
|
5634
5653
|
}}
|
|
5635
5654
|
`;
|
|
5636
|
-
var Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */
|
|
5655
|
+
var Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */ jsx165(
|
|
5637
5656
|
EllipsisComponent,
|
|
5638
5657
|
{
|
|
5639
5658
|
$lines: lines,
|
|
@@ -5653,7 +5672,7 @@ var makePolymorphic = (component) => {
|
|
|
5653
5672
|
};
|
|
5654
5673
|
|
|
5655
5674
|
// src/components/Heading/Heading.tsx
|
|
5656
|
-
import { jsx as
|
|
5675
|
+
import { jsx as jsx166 } from "react/jsx-runtime";
|
|
5657
5676
|
var heroStyle = css13`
|
|
5658
5677
|
--font-family: var(--typography-heading-hero-family);
|
|
5659
5678
|
--font-size: var(--typography-heading-hero-size);
|
|
@@ -5749,7 +5768,7 @@ var HeadingComponent = forwardRef4(
|
|
|
5749
5768
|
variant = "heading1",
|
|
5750
5769
|
renderAs,
|
|
5751
5770
|
...otherProps
|
|
5752
|
-
}, ref) => /* @__PURE__ */
|
|
5771
|
+
}, ref) => /* @__PURE__ */ jsx166(
|
|
5753
5772
|
StyledHeading,
|
|
5754
5773
|
{
|
|
5755
5774
|
ref,
|
|
@@ -5781,7 +5800,7 @@ import {
|
|
|
5781
5800
|
Arrow
|
|
5782
5801
|
} from "@radix-ui/react-tooltip";
|
|
5783
5802
|
import styled12, { css as css14 } from "styled-components";
|
|
5784
|
-
import { jsx as
|
|
5803
|
+
import { jsx as jsx167, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5785
5804
|
var CompactTooltipStyles = css14`
|
|
5786
5805
|
--tooltip-font-size: var(--typography-label-4-size);
|
|
5787
5806
|
--tooltip-line-height: var(--typography-label-4-line-height);
|
|
@@ -5853,8 +5872,8 @@ var Tooltip = ({
|
|
|
5853
5872
|
delayDuration: delay,
|
|
5854
5873
|
...rootProps,
|
|
5855
5874
|
children: [
|
|
5856
|
-
/* @__PURE__ */
|
|
5857
|
-
/* @__PURE__ */
|
|
5875
|
+
/* @__PURE__ */ jsx167(Trigger, { asChild: true, children }),
|
|
5876
|
+
/* @__PURE__ */ jsx167(Portal, { children: /* @__PURE__ */ jsxs6(
|
|
5858
5877
|
StyledContent,
|
|
5859
5878
|
{
|
|
5860
5879
|
$compact: compact,
|
|
@@ -5862,7 +5881,7 @@ var Tooltip = ({
|
|
|
5862
5881
|
sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
|
|
5863
5882
|
children: [
|
|
5864
5883
|
content,
|
|
5865
|
-
!hideArrow ? /* @__PURE__ */
|
|
5884
|
+
!hideArrow ? /* @__PURE__ */ jsx167(Arrow, { asChild: true, children: /* @__PURE__ */ jsx167(
|
|
5866
5885
|
"svg",
|
|
5867
5886
|
{
|
|
5868
5887
|
fill: "var(--tooltip-bg)",
|
|
@@ -5871,7 +5890,7 @@ var Tooltip = ({
|
|
|
5871
5890
|
viewBox: "0 0 12 8",
|
|
5872
5891
|
width: "12",
|
|
5873
5892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5874
|
-
children: /* @__PURE__ */
|
|
5893
|
+
children: /* @__PURE__ */ jsx167("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" })
|
|
5875
5894
|
}
|
|
5876
5895
|
) }) : null
|
|
5877
5896
|
]
|
|
@@ -5884,7 +5903,7 @@ var Tooltip = ({
|
|
|
5884
5903
|
Tooltip.displayName = "Tooltip";
|
|
5885
5904
|
|
|
5886
5905
|
// src/components/IconButton/IconButton.tsx
|
|
5887
|
-
import { jsx as
|
|
5906
|
+
import { jsx as jsx168 } from "react/jsx-runtime";
|
|
5888
5907
|
var StyledButton2 = styled13(Button)`
|
|
5889
5908
|
--icon-button-size-sm: 24px;
|
|
5890
5909
|
--icon-button-size-md: 32px;
|
|
@@ -5902,7 +5921,7 @@ var StyledButton2 = styled13(Button)`
|
|
|
5902
5921
|
var IconButton = forwardRef5(
|
|
5903
5922
|
({ children, label, disableTooltip = false, size = "md", ...props }, ref) => {
|
|
5904
5923
|
const responsiveSize = useResponsiveProp(size);
|
|
5905
|
-
const button = /* @__PURE__ */
|
|
5924
|
+
const button = /* @__PURE__ */ jsx168(
|
|
5906
5925
|
StyledButton2,
|
|
5907
5926
|
{
|
|
5908
5927
|
...props,
|
|
@@ -5918,14 +5937,14 @@ var IconButton = forwardRef5(
|
|
|
5918
5937
|
if (disableTooltip) {
|
|
5919
5938
|
return button;
|
|
5920
5939
|
}
|
|
5921
|
-
return /* @__PURE__ */
|
|
5940
|
+
return /* @__PURE__ */ jsx168(Tooltip, { content: label, children: button });
|
|
5922
5941
|
}
|
|
5923
5942
|
);
|
|
5924
5943
|
IconButton.displayName = "IconButton";
|
|
5925
5944
|
|
|
5926
5945
|
// src/components/Label/Label.tsx
|
|
5927
5946
|
import styled14, { css as css15 } from "styled-components";
|
|
5928
|
-
import { jsx as
|
|
5947
|
+
import { jsx as jsx169 } from "react/jsx-runtime";
|
|
5929
5948
|
var requiredStyle = css15`
|
|
5930
5949
|
&::after {
|
|
5931
5950
|
color: red; /* TODO need a color for this */
|
|
@@ -5969,7 +5988,7 @@ var Label = ({
|
|
|
5969
5988
|
required = false,
|
|
5970
5989
|
screenReaderOnly = false,
|
|
5971
5990
|
...otherProps
|
|
5972
|
-
}) => /* @__PURE__ */
|
|
5991
|
+
}) => /* @__PURE__ */ jsx169(
|
|
5973
5992
|
StyledLabel,
|
|
5974
5993
|
{
|
|
5975
5994
|
disabled,
|
|
@@ -5984,7 +6003,7 @@ Label.displayName = "Label";
|
|
|
5984
6003
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
5985
6004
|
import styled15 from "styled-components";
|
|
5986
6005
|
import { isNotNil as isNotNil6 } from "@wistia/type-guards";
|
|
5987
|
-
import { jsx as
|
|
6006
|
+
import { jsx as jsx170 } from "react/jsx-runtime";
|
|
5988
6007
|
var VisuallyHidden = styled15.div({ ...visuallyHiddenStyle });
|
|
5989
6008
|
var VisuallyHiddenButFocusable = styled15.div({
|
|
5990
6009
|
"&:not(:focus-within)": visuallyHiddenStyle
|
|
@@ -5997,16 +6016,16 @@ var ScreenReaderOnly = ({
|
|
|
5997
6016
|
}) => {
|
|
5998
6017
|
const accessibleText = isNotNil6(text) ? text : children;
|
|
5999
6018
|
if (focusable) {
|
|
6000
|
-
return /* @__PURE__ */
|
|
6019
|
+
return /* @__PURE__ */ jsx170(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
|
|
6001
6020
|
}
|
|
6002
|
-
return /* @__PURE__ */
|
|
6021
|
+
return /* @__PURE__ */ jsx170(VisuallyHidden, { ...otherProps, children: accessibleText });
|
|
6003
6022
|
};
|
|
6004
6023
|
ScreenReaderOnly.displayName = "ScreenReaderOnly";
|
|
6005
6024
|
|
|
6006
6025
|
// src/components/Stack/Stack.tsx
|
|
6007
6026
|
import { forwardRef as forwardRef6 } from "react";
|
|
6008
6027
|
import styled16 from "styled-components";
|
|
6009
|
-
import { jsx as
|
|
6028
|
+
import { jsx as jsx171 } from "react/jsx-runtime";
|
|
6010
6029
|
var DEFAULT_ELEMENT2 = "div";
|
|
6011
6030
|
var StyledStack = styled16.div`
|
|
6012
6031
|
display: flex;
|
|
@@ -6021,7 +6040,7 @@ var StackComponent = forwardRef6(
|
|
|
6021
6040
|
({ renderAs, direction = "vertical", gap = "space-02", ...props }, ref) => {
|
|
6022
6041
|
const responsiveGap = useResponsiveProp(gap);
|
|
6023
6042
|
const responsiveDirection = useResponsiveProp(direction);
|
|
6024
|
-
return /* @__PURE__ */
|
|
6043
|
+
return /* @__PURE__ */ jsx171(
|
|
6025
6044
|
StyledStack,
|
|
6026
6045
|
{
|
|
6027
6046
|
ref,
|
|
@@ -6039,7 +6058,7 @@ var Stack = makePolymorphic(StackComponent);
|
|
|
6039
6058
|
// src/components/Text/Text.tsx
|
|
6040
6059
|
import { forwardRef as forwardRef7 } from "react";
|
|
6041
6060
|
import styled17, { css as css16 } from "styled-components";
|
|
6042
|
-
import { jsx as
|
|
6061
|
+
import { jsx as jsx172 } from "react/jsx-runtime";
|
|
6043
6062
|
var bodyBoldStyles = css16`
|
|
6044
6063
|
> strong,
|
|
6045
6064
|
b {
|
|
@@ -6194,7 +6213,7 @@ var TextComponent = forwardRef7(
|
|
|
6194
6213
|
renderAs,
|
|
6195
6214
|
...otherProps
|
|
6196
6215
|
}, ref) => {
|
|
6197
|
-
return /* @__PURE__ */
|
|
6216
|
+
return /* @__PURE__ */ jsx172(
|
|
6198
6217
|
StyledText,
|
|
6199
6218
|
{
|
|
6200
6219
|
ref,
|
|
@@ -6218,18 +6237,18 @@ var Text = makePolymorphic(TextComponent);
|
|
|
6218
6237
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
6219
6238
|
import styled18 from "styled-components";
|
|
6220
6239
|
import { isNotNil as isNotNil7 } from "@wistia/type-guards";
|
|
6221
|
-
import { jsx as
|
|
6240
|
+
import { jsx as jsx173, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
6222
6241
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
6223
6242
|
if (iconOnly) {
|
|
6224
|
-
return /* @__PURE__ */
|
|
6243
|
+
return /* @__PURE__ */ jsx173("g", { fill: brandmarkColor, children: /* @__PURE__ */ jsx173("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" }) });
|
|
6225
6244
|
}
|
|
6226
|
-
return /* @__PURE__ */
|
|
6245
|
+
return /* @__PURE__ */ jsx173("g", { fill: brandmarkColor, children: /* @__PURE__ */ jsx173("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" }) });
|
|
6227
6246
|
};
|
|
6228
6247
|
var renderLogotype = (logotypeColor, iconOnly) => {
|
|
6229
6248
|
if (iconOnly) {
|
|
6230
6249
|
return null;
|
|
6231
6250
|
}
|
|
6232
|
-
return /* @__PURE__ */
|
|
6251
|
+
return /* @__PURE__ */ jsx173("g", { fill: logotypeColor, children: /* @__PURE__ */ jsx173("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" }) });
|
|
6233
6252
|
};
|
|
6234
6253
|
var computedViewBox = (iconOnly) => {
|
|
6235
6254
|
if (iconOnly) {
|
|
@@ -6289,14 +6308,14 @@ var WistiaLogo = ({
|
|
|
6289
6308
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6290
6309
|
...otherProps,
|
|
6291
6310
|
children: [
|
|
6292
|
-
/* @__PURE__ */
|
|
6293
|
-
isNotNil7(description) ? /* @__PURE__ */
|
|
6311
|
+
/* @__PURE__ */ jsx173("title", { children: title }),
|
|
6312
|
+
isNotNil7(description) ? /* @__PURE__ */ jsx173("desc", { children: description }) : null,
|
|
6294
6313
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
6295
6314
|
renderLogotype(logotypeColor, iconOnly)
|
|
6296
6315
|
]
|
|
6297
6316
|
}
|
|
6298
6317
|
);
|
|
6299
|
-
return href !== void 0 ? /* @__PURE__ */
|
|
6318
|
+
return href !== void 0 ? /* @__PURE__ */ jsx173("a", { href, children: Logo }) : Logo;
|
|
6300
6319
|
};
|
|
6301
6320
|
WistiaLogo.displayName = "WistiaLogo";
|
|
6302
6321
|
export {
|