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