@wistia/ui 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +154 -94
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +150 -90
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.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
|
*
|
|
@@ -750,6 +750,9 @@ var colorAliasTokens = css4`
|
|
|
750
750
|
--color-border: var(--gray-6);
|
|
751
751
|
--color-border-hover: var(--gray-8);
|
|
752
752
|
--color-border-active: var(--gray-9);
|
|
753
|
+
--color-border-secondary: var(--gray-8);
|
|
754
|
+
--color-border-secondary-hover: var(--gray-10);
|
|
755
|
+
--color-border-secondary-active: var(--gray-11);
|
|
753
756
|
--color-icon: var(--gray-11);
|
|
754
757
|
--color-icon-on-fill: var(--gray-contrast);
|
|
755
758
|
--color-text: var(--gray-12);
|
|
@@ -774,6 +777,9 @@ var colorAliasTokens = css4`
|
|
|
774
777
|
--color-border-error: var(--error-6);
|
|
775
778
|
--color-border-hover-errror: var(--error-8);
|
|
776
779
|
--color-border-active-error: var(--error-9);
|
|
780
|
+
--color-border-secondary-error: var(--error-8);
|
|
781
|
+
--color-border-secondary-hover-error: var(--error-10);
|
|
782
|
+
--color-border-secondary-active-error: var(--error-11);
|
|
777
783
|
--color-icon-error: var(--error-11);
|
|
778
784
|
--color-icon-on-fill-error: var(--error-contrast);
|
|
779
785
|
--color-text-error: var(--error-11);
|
|
@@ -796,6 +802,9 @@ var colorAliasTokens = css4`
|
|
|
796
802
|
--color-border-info: var(--blue-6);
|
|
797
803
|
--color-border-hover-info: var(--blue-8);
|
|
798
804
|
--color-border-active-info: var(--blue-9);
|
|
805
|
+
--color-border-secondary-info: var(--blue-8);
|
|
806
|
+
--color-border-secondary-hover-info: var(--blue-10);
|
|
807
|
+
--color-border-secondary-active-info: var(--blue-11);
|
|
799
808
|
--color-icon-info: var(--blue-11);
|
|
800
809
|
--color-icon-on-fill-info: var(--blue-contrast);
|
|
801
810
|
--color-text-high-contrast-info: var(--blue-12);
|
|
@@ -818,6 +827,9 @@ var colorAliasTokens = css4`
|
|
|
818
827
|
--color-border-success: var(--success-6);
|
|
819
828
|
--color-border-hover-success: var(--success-8);
|
|
820
829
|
--color-border-active-success: var(--success-9);
|
|
830
|
+
--color-border-secondary-success: var(--success-8);
|
|
831
|
+
--color-border-secondary-hover-success: var(--success-10);
|
|
832
|
+
--color-border-secondary-active-success: var(--success-11);
|
|
821
833
|
--color-icon-on-fill-success: var(--success-contrast);
|
|
822
834
|
--color-icon-success: var(--success-11);
|
|
823
835
|
--color-text-high-contrast-success: var(--success-12);
|
|
@@ -840,6 +852,9 @@ var colorAliasTokens = css4`
|
|
|
840
852
|
--color-border-warning: var(--warning-6);
|
|
841
853
|
--color-border-hover-warning: var(--warning-8);
|
|
842
854
|
--color-border-active-warning: var(--warning-9);
|
|
855
|
+
--color-border-secondary-warning: var(--warning-8);
|
|
856
|
+
--color-border-secondary-hover-warning: var(--warning-10);
|
|
857
|
+
--color-border-secondary-active-warning: var(--warning-11);
|
|
843
858
|
--color-icon-on-fill-warning: var(--warning-contrast);
|
|
844
859
|
--color-icon-warning: var(--warning-11);
|
|
845
860
|
--color-text-high-contrast-warning: var(--warning-12);
|
|
@@ -864,6 +879,9 @@ var colorAliasTokens = css4`
|
|
|
864
879
|
--color-border-blue: var(--blue-6);
|
|
865
880
|
--color-border-hover-blue: var(--blue-8);
|
|
866
881
|
--color-border-active-blue: var(--blue-9);
|
|
882
|
+
--color-border-secondary-blue: var(--blue-8);
|
|
883
|
+
--color-border-secondary-hover-blue: var(--blue-10);
|
|
884
|
+
--color-border-secondary-active-blue: var(--blue-11);
|
|
867
885
|
--color-icon-blue: var(--blue-11);
|
|
868
886
|
--color-icon-on-fill-blue: var(--blue-contrast);
|
|
869
887
|
--color-text-blue: var(--blue-11);
|
|
@@ -886,6 +904,9 @@ var colorAliasTokens = css4`
|
|
|
886
904
|
--color-border-green: var(--green-6);
|
|
887
905
|
--color-border-hover-green: var(--green-8);
|
|
888
906
|
--color-border-active-green: var(--green-9);
|
|
907
|
+
--color-border-secondary-green: var(--green-8);
|
|
908
|
+
--color-border-secondary-hover-green: var(--green-10);
|
|
909
|
+
--color-border-secondary-active-green: var(--green-11);
|
|
889
910
|
--color-icon-green: var(--green-11);
|
|
890
911
|
--color-icon-on-fill-green: var(--green-contrast);
|
|
891
912
|
--color-text-green: var(--green-11);
|
|
@@ -908,6 +929,9 @@ var colorAliasTokens = css4`
|
|
|
908
929
|
--color-border-orange: var(--orange-6);
|
|
909
930
|
--color-border-hover-orange: var(--orange-8);
|
|
910
931
|
--color-border-active-orange: var(--orange-9);
|
|
932
|
+
--color-border-secondary-orange: var(--orange-8);
|
|
933
|
+
--color-border-secondary-hover-orange: var(--orange-10);
|
|
934
|
+
--color-border-secondary-active-orange: var(--orange-11);
|
|
911
935
|
--color-icon-on-fill-orange: var(--orange-contrast);
|
|
912
936
|
--color-icon-orange: var(--orange-11);
|
|
913
937
|
--color-text-high-contrast-orange: var(--orange-12);
|
|
@@ -930,6 +954,9 @@ var colorAliasTokens = css4`
|
|
|
930
954
|
--color-border-pink: var(--pink-6);
|
|
931
955
|
--color-border-hover-pink: var(--pink-8);
|
|
932
956
|
--color-border-active-pink: var(--pink-9);
|
|
957
|
+
--color-border-secondary-pink: var(--pink-8);
|
|
958
|
+
--color-border-secondary-hover-pink: var(--pink-10);
|
|
959
|
+
--color-border-secondary-active-pink: var(--pink-11);
|
|
933
960
|
--color-icon-on-fill-pink: var(--pink-contrast);
|
|
934
961
|
--color-icon-pink: var(--pink-11);
|
|
935
962
|
--color-text-high-contrast-pink: var(--pink-12);
|
|
@@ -952,6 +979,9 @@ var colorAliasTokens = css4`
|
|
|
952
979
|
--color-border-purple: var(--purple-6);
|
|
953
980
|
--color-border-hover-purple: var(--purple-8);
|
|
954
981
|
--color-border-active-purple: var(--purple-9);
|
|
982
|
+
--color-border-secondary-purple: var(--purple-8);
|
|
983
|
+
--color-border-secondary-hover-purple: var(--purple-10);
|
|
984
|
+
--color-border-secondary-active-purple: var(--purple-11);
|
|
955
985
|
--color-icon-on-fill-purple: var(--purple-contrast);
|
|
956
986
|
--color-icon-purple: var(--purple-11);
|
|
957
987
|
--color-text-high-contrast-purple: var(--purple-12);
|
|
@@ -974,6 +1004,9 @@ var colorAliasTokens = css4`
|
|
|
974
1004
|
--color-border-yellow: var(--yellow-6);
|
|
975
1005
|
--color-border-hover-yellow: var(--yellow-8);
|
|
976
1006
|
--color-border-active-yellow: var(--yellow-9);
|
|
1007
|
+
--color-border-secondary-yellow: var(--yellow-8);
|
|
1008
|
+
--color-border-secondary-hover-yellow: var(--yellow-10);
|
|
1009
|
+
--color-border-secondary-active-yellow: var(--yellow-11);
|
|
977
1010
|
--color-icon-on-fill-yellow: var(--yellow-contrast);
|
|
978
1011
|
--color-icon-yellow: var(--yellow-11);
|
|
979
1012
|
--color-text-high-contrast-yellow: var(--yellow-12);
|
|
@@ -1420,6 +1453,9 @@ var colorSchemeSchema = [
|
|
|
1420
1453
|
{ token: "border", step: "6" },
|
|
1421
1454
|
{ token: "border-hover", step: "8" },
|
|
1422
1455
|
{ token: "border-active", step: "9" },
|
|
1456
|
+
{ token: "border-secondary", step: "8" },
|
|
1457
|
+
{ token: "border-secondary-hover", step: "10" },
|
|
1458
|
+
{ token: "border-secondary-active", step: "11" },
|
|
1423
1459
|
{ token: "icon", step: "11" },
|
|
1424
1460
|
{ token: "icon-on-fill", step: "contrast" }
|
|
1425
1461
|
];
|
|
@@ -1439,6 +1475,11 @@ var defaultScheme = css9`
|
|
|
1439
1475
|
--color-text-secondary: var(--gray-11);
|
|
1440
1476
|
--color-text-on-fill: var(--gray-contrast);
|
|
1441
1477
|
--color-border: var(--gray-6);
|
|
1478
|
+
--color-border-hover: var(--gray-8);
|
|
1479
|
+
--color-border-active: var(--gray-9);
|
|
1480
|
+
--color-border-secondary: var(--gray-8);
|
|
1481
|
+
--color-border-secondary-hover: var(--gray-10);
|
|
1482
|
+
--color-border-secondary-active: var(--gray-11);
|
|
1442
1483
|
--color-icon: var(--gray-11);
|
|
1443
1484
|
--color-icon-on-fill: var(--gray-contrast);
|
|
1444
1485
|
`;
|
|
@@ -4680,15 +4721,33 @@ var ThumbsUpIcon = (props) => /* @__PURE__ */ jsx143(
|
|
|
4680
4721
|
}
|
|
4681
4722
|
);
|
|
4682
4723
|
|
|
4683
|
-
// src/components/Icon/icons/
|
|
4724
|
+
// src/components/Icon/icons/TranscriptIcon.tsx
|
|
4684
4725
|
import { jsx as jsx144 } from "react/jsx-runtime";
|
|
4685
|
-
var
|
|
4726
|
+
var TranscriptIcon = (props) => /* @__PURE__ */ jsx144(
|
|
4686
4727
|
"svg",
|
|
4687
4728
|
{
|
|
4688
4729
|
...props,
|
|
4689
4730
|
viewBox: "0 0 24 24",
|
|
4690
4731
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4691
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(
|
|
4692
4751
|
"path",
|
|
4693
4752
|
{
|
|
4694
4753
|
clipRule: "evenodd",
|
|
@@ -4701,14 +4760,14 @@ var TransitionsIcon = (props) => /* @__PURE__ */ jsx144(
|
|
|
4701
4760
|
);
|
|
4702
4761
|
|
|
4703
4762
|
// src/components/Icon/icons/TrimIcon.tsx
|
|
4704
|
-
import { jsx as
|
|
4705
|
-
var TrimIcon = (props) => /* @__PURE__ */
|
|
4763
|
+
import { jsx as jsx146 } from "react/jsx-runtime";
|
|
4764
|
+
var TrimIcon = (props) => /* @__PURE__ */ jsx146(
|
|
4706
4765
|
"svg",
|
|
4707
4766
|
{
|
|
4708
4767
|
...props,
|
|
4709
4768
|
viewBox: "0 0 24 24",
|
|
4710
4769
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4711
|
-
children: /* @__PURE__ */
|
|
4770
|
+
children: /* @__PURE__ */ jsx146(
|
|
4712
4771
|
"path",
|
|
4713
4772
|
{
|
|
4714
4773
|
clipRule: "evenodd",
|
|
@@ -4721,14 +4780,14 @@ var TrimIcon = (props) => /* @__PURE__ */ jsx145(
|
|
|
4721
4780
|
);
|
|
4722
4781
|
|
|
4723
4782
|
// src/components/Icon/icons/TurnstileIcon.tsx
|
|
4724
|
-
import { jsx as
|
|
4725
|
-
var TurnstileIcon = (props) => /* @__PURE__ */
|
|
4783
|
+
import { jsx as jsx147 } from "react/jsx-runtime";
|
|
4784
|
+
var TurnstileIcon = (props) => /* @__PURE__ */ jsx147(
|
|
4726
4785
|
"svg",
|
|
4727
4786
|
{
|
|
4728
4787
|
...props,
|
|
4729
4788
|
viewBox: "0 0 24 24",
|
|
4730
4789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4731
|
-
children: /* @__PURE__ */
|
|
4790
|
+
children: /* @__PURE__ */ jsx147(
|
|
4732
4791
|
"path",
|
|
4733
4792
|
{
|
|
4734
4793
|
clipRule: "evenodd",
|
|
@@ -4741,14 +4800,14 @@ var TurnstileIcon = (props) => /* @__PURE__ */ jsx146(
|
|
|
4741
4800
|
);
|
|
4742
4801
|
|
|
4743
4802
|
// src/components/Icon/icons/UndoIcon.tsx
|
|
4744
|
-
import { jsx as
|
|
4745
|
-
var UndoIcon = (props) => /* @__PURE__ */
|
|
4803
|
+
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
4804
|
+
var UndoIcon = (props) => /* @__PURE__ */ jsx148(
|
|
4746
4805
|
"svg",
|
|
4747
4806
|
{
|
|
4748
4807
|
...props,
|
|
4749
4808
|
viewBox: "0 0 24 24",
|
|
4750
4809
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4751
|
-
children: /* @__PURE__ */
|
|
4810
|
+
children: /* @__PURE__ */ jsx148(
|
|
4752
4811
|
"path",
|
|
4753
4812
|
{
|
|
4754
4813
|
clipRule: "evenodd",
|
|
@@ -4761,14 +4820,14 @@ var UndoIcon = (props) => /* @__PURE__ */ jsx147(
|
|
|
4761
4820
|
);
|
|
4762
4821
|
|
|
4763
4822
|
// src/components/Icon/icons/UnlockIcon.tsx
|
|
4764
|
-
import { jsx as
|
|
4765
|
-
var UnlockIcon = (props) => /* @__PURE__ */
|
|
4823
|
+
import { jsx as jsx149 } from "react/jsx-runtime";
|
|
4824
|
+
var UnlockIcon = (props) => /* @__PURE__ */ jsx149(
|
|
4766
4825
|
"svg",
|
|
4767
4826
|
{
|
|
4768
4827
|
...props,
|
|
4769
4828
|
viewBox: "0 0 24 24",
|
|
4770
4829
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4771
|
-
children: /* @__PURE__ */
|
|
4830
|
+
children: /* @__PURE__ */ jsx149(
|
|
4772
4831
|
"path",
|
|
4773
4832
|
{
|
|
4774
4833
|
clipRule: "evenodd",
|
|
@@ -4781,14 +4840,14 @@ var UnlockIcon = (props) => /* @__PURE__ */ jsx148(
|
|
|
4781
4840
|
);
|
|
4782
4841
|
|
|
4783
4842
|
// src/components/Icon/icons/UploadIcon.tsx
|
|
4784
|
-
import { jsx as
|
|
4785
|
-
var UploadIcon = (props) => /* @__PURE__ */
|
|
4843
|
+
import { jsx as jsx150 } from "react/jsx-runtime";
|
|
4844
|
+
var UploadIcon = (props) => /* @__PURE__ */ jsx150(
|
|
4786
4845
|
"svg",
|
|
4787
4846
|
{
|
|
4788
4847
|
...props,
|
|
4789
4848
|
viewBox: "0 0 24 24",
|
|
4790
4849
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4791
|
-
children: /* @__PURE__ */
|
|
4850
|
+
children: /* @__PURE__ */ jsx150(
|
|
4792
4851
|
"path",
|
|
4793
4852
|
{
|
|
4794
4853
|
clipRule: "evenodd",
|
|
@@ -4801,14 +4860,14 @@ var UploadIcon = (props) => /* @__PURE__ */ jsx149(
|
|
|
4801
4860
|
);
|
|
4802
4861
|
|
|
4803
4862
|
// src/components/Icon/icons/UsersPermissionsIcon.tsx
|
|
4804
|
-
import { jsx as
|
|
4805
|
-
var UsersPermissionsIcon = (props) => /* @__PURE__ */
|
|
4863
|
+
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
4864
|
+
var UsersPermissionsIcon = (props) => /* @__PURE__ */ jsx151(
|
|
4806
4865
|
"svg",
|
|
4807
4866
|
{
|
|
4808
4867
|
...props,
|
|
4809
4868
|
viewBox: "0 0 24 24",
|
|
4810
4869
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4811
|
-
children: /* @__PURE__ */
|
|
4870
|
+
children: /* @__PURE__ */ jsx151(
|
|
4812
4871
|
"path",
|
|
4813
4872
|
{
|
|
4814
4873
|
clipRule: "evenodd",
|
|
@@ -4821,14 +4880,14 @@ var UsersPermissionsIcon = (props) => /* @__PURE__ */ jsx150(
|
|
|
4821
4880
|
);
|
|
4822
4881
|
|
|
4823
4882
|
// src/components/Icon/icons/ViewStreamIcon.tsx
|
|
4824
|
-
import { jsx as
|
|
4825
|
-
var ViewStreamIcon = (props) => /* @__PURE__ */
|
|
4883
|
+
import { jsx as jsx152 } from "react/jsx-runtime";
|
|
4884
|
+
var ViewStreamIcon = (props) => /* @__PURE__ */ jsx152(
|
|
4826
4885
|
"svg",
|
|
4827
4886
|
{
|
|
4828
4887
|
...props,
|
|
4829
4888
|
viewBox: "0 0 24 24",
|
|
4830
4889
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4831
|
-
children: /* @__PURE__ */
|
|
4890
|
+
children: /* @__PURE__ */ jsx152(
|
|
4832
4891
|
"path",
|
|
4833
4892
|
{
|
|
4834
4893
|
clipRule: "evenodd",
|
|
@@ -4841,14 +4900,14 @@ var ViewStreamIcon = (props) => /* @__PURE__ */ jsx151(
|
|
|
4841
4900
|
);
|
|
4842
4901
|
|
|
4843
4902
|
// src/components/Icon/icons/VolumeIcon.tsx
|
|
4844
|
-
import { jsx as
|
|
4845
|
-
var VolumeIcon = (props) => /* @__PURE__ */
|
|
4903
|
+
import { jsx as jsx153 } from "react/jsx-runtime";
|
|
4904
|
+
var VolumeIcon = (props) => /* @__PURE__ */ jsx153(
|
|
4846
4905
|
"svg",
|
|
4847
4906
|
{
|
|
4848
4907
|
...props,
|
|
4849
4908
|
viewBox: "0 0 24 24",
|
|
4850
4909
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4851
|
-
children: /* @__PURE__ */
|
|
4910
|
+
children: /* @__PURE__ */ jsx153(
|
|
4852
4911
|
"path",
|
|
4853
4912
|
{
|
|
4854
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",
|
|
@@ -4859,14 +4918,14 @@ var VolumeIcon = (props) => /* @__PURE__ */ jsx152(
|
|
|
4859
4918
|
);
|
|
4860
4919
|
|
|
4861
4920
|
// src/components/Icon/icons/VolumeOffIcon.tsx
|
|
4862
|
-
import { jsx as
|
|
4863
|
-
var VolumeOffIcon = (props) => /* @__PURE__ */
|
|
4921
|
+
import { jsx as jsx154 } from "react/jsx-runtime";
|
|
4922
|
+
var VolumeOffIcon = (props) => /* @__PURE__ */ jsx154(
|
|
4864
4923
|
"svg",
|
|
4865
4924
|
{
|
|
4866
4925
|
...props,
|
|
4867
4926
|
viewBox: "0 0 24 24",
|
|
4868
4927
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4869
|
-
children: /* @__PURE__ */
|
|
4928
|
+
children: /* @__PURE__ */ jsx154(
|
|
4870
4929
|
"path",
|
|
4871
4930
|
{
|
|
4872
4931
|
clipRule: "evenodd",
|
|
@@ -4879,14 +4938,14 @@ var VolumeOffIcon = (props) => /* @__PURE__ */ jsx153(
|
|
|
4879
4938
|
);
|
|
4880
4939
|
|
|
4881
4940
|
// src/components/Icon/icons/VolumeUpIcon.tsx
|
|
4882
|
-
import { jsx as
|
|
4883
|
-
var VolumeUpIcon = (props) => /* @__PURE__ */
|
|
4941
|
+
import { jsx as jsx155 } from "react/jsx-runtime";
|
|
4942
|
+
var VolumeUpIcon = (props) => /* @__PURE__ */ jsx155(
|
|
4884
4943
|
"svg",
|
|
4885
4944
|
{
|
|
4886
4945
|
...props,
|
|
4887
4946
|
viewBox: "0 0 24 24",
|
|
4888
4947
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4889
|
-
children: /* @__PURE__ */
|
|
4948
|
+
children: /* @__PURE__ */ jsx155(
|
|
4890
4949
|
"path",
|
|
4891
4950
|
{
|
|
4892
4951
|
clipRule: "evenodd",
|
|
@@ -4899,14 +4958,14 @@ var VolumeUpIcon = (props) => /* @__PURE__ */ jsx154(
|
|
|
4899
4958
|
);
|
|
4900
4959
|
|
|
4901
4960
|
// src/components/Icon/icons/VolumeXIcon.tsx
|
|
4902
|
-
import { jsx as
|
|
4903
|
-
var VolumeXIcon = (props) => /* @__PURE__ */
|
|
4961
|
+
import { jsx as jsx156 } from "react/jsx-runtime";
|
|
4962
|
+
var VolumeXIcon = (props) => /* @__PURE__ */ jsx156(
|
|
4904
4963
|
"svg",
|
|
4905
4964
|
{
|
|
4906
4965
|
...props,
|
|
4907
4966
|
viewBox: "0 0 24 24",
|
|
4908
4967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4909
|
-
children: /* @__PURE__ */
|
|
4968
|
+
children: /* @__PURE__ */ jsx156(
|
|
4910
4969
|
"path",
|
|
4911
4970
|
{
|
|
4912
4971
|
clipRule: "evenodd",
|
|
@@ -4919,14 +4978,14 @@ var VolumeXIcon = (props) => /* @__PURE__ */ jsx155(
|
|
|
4919
4978
|
);
|
|
4920
4979
|
|
|
4921
4980
|
// src/components/Icon/icons/WandIcon.tsx
|
|
4922
|
-
import { jsx as
|
|
4923
|
-
var WandIcon = (props) => /* @__PURE__ */
|
|
4981
|
+
import { jsx as jsx157 } from "react/jsx-runtime";
|
|
4982
|
+
var WandIcon = (props) => /* @__PURE__ */ jsx157(
|
|
4924
4983
|
"svg",
|
|
4925
4984
|
{
|
|
4926
4985
|
...props,
|
|
4927
4986
|
viewBox: "0 0 24 24",
|
|
4928
4987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4929
|
-
children: /* @__PURE__ */
|
|
4988
|
+
children: /* @__PURE__ */ jsx157(
|
|
4930
4989
|
"path",
|
|
4931
4990
|
{
|
|
4932
4991
|
clipRule: "evenodd",
|
|
@@ -4939,14 +4998,14 @@ var WandIcon = (props) => /* @__PURE__ */ jsx156(
|
|
|
4939
4998
|
);
|
|
4940
4999
|
|
|
4941
5000
|
// src/components/Icon/icons/ZoomInIcon.tsx
|
|
4942
|
-
import { jsx as
|
|
4943
|
-
var ZoomInIcon = (props) => /* @__PURE__ */
|
|
5001
|
+
import { jsx as jsx158 } from "react/jsx-runtime";
|
|
5002
|
+
var ZoomInIcon = (props) => /* @__PURE__ */ jsx158(
|
|
4944
5003
|
"svg",
|
|
4945
5004
|
{
|
|
4946
5005
|
...props,
|
|
4947
5006
|
viewBox: "0 0 24 24",
|
|
4948
5007
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4949
|
-
children: /* @__PURE__ */
|
|
5008
|
+
children: /* @__PURE__ */ jsx158(
|
|
4950
5009
|
"path",
|
|
4951
5010
|
{
|
|
4952
5011
|
clipRule: "evenodd",
|
|
@@ -4959,14 +5018,14 @@ var ZoomInIcon = (props) => /* @__PURE__ */ jsx157(
|
|
|
4959
5018
|
);
|
|
4960
5019
|
|
|
4961
5020
|
// src/components/Icon/icons/ZoomOutIcon.tsx
|
|
4962
|
-
import { jsx as
|
|
4963
|
-
var ZoomOutIcon = (props) => /* @__PURE__ */
|
|
5021
|
+
import { jsx as jsx159 } from "react/jsx-runtime";
|
|
5022
|
+
var ZoomOutIcon = (props) => /* @__PURE__ */ jsx159(
|
|
4964
5023
|
"svg",
|
|
4965
5024
|
{
|
|
4966
5025
|
...props,
|
|
4967
5026
|
viewBox: "0 0 24 24",
|
|
4968
5027
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4969
|
-
children: /* @__PURE__ */
|
|
5028
|
+
children: /* @__PURE__ */ jsx159(
|
|
4970
5029
|
"path",
|
|
4971
5030
|
{
|
|
4972
5031
|
clipRule: "evenodd",
|
|
@@ -5118,6 +5177,7 @@ var iconMap = {
|
|
|
5118
5177
|
"thumbs-down": ThumbsDownIcon,
|
|
5119
5178
|
"thumbs-up": ThumbsUpIcon,
|
|
5120
5179
|
transitions: TransitionsIcon,
|
|
5180
|
+
transcript: TranscriptIcon,
|
|
5121
5181
|
trim: TrimIcon,
|
|
5122
5182
|
turnstile: TurnstileIcon,
|
|
5123
5183
|
undo: UndoIcon,
|
|
@@ -5152,7 +5212,7 @@ var useResponsiveProp = (values) => {
|
|
|
5152
5212
|
};
|
|
5153
5213
|
|
|
5154
5214
|
// src/components/Icon/Icon.tsx
|
|
5155
|
-
import { jsx as
|
|
5215
|
+
import { jsx as jsx160 } from "react/jsx-runtime";
|
|
5156
5216
|
var iconSizeMap = {
|
|
5157
5217
|
sm: "12",
|
|
5158
5218
|
md: "16",
|
|
@@ -5189,7 +5249,7 @@ var Icon = ({
|
|
|
5189
5249
|
...style
|
|
5190
5250
|
};
|
|
5191
5251
|
const iconColor = invertColor ? "var(--color-icon-on-fill)" : "var(--color-icon)";
|
|
5192
|
-
return /* @__PURE__ */
|
|
5252
|
+
return /* @__PURE__ */ jsx160(
|
|
5193
5253
|
StyledIcon,
|
|
5194
5254
|
{
|
|
5195
5255
|
$colorScheme: colorScheme,
|
|
@@ -5213,7 +5273,7 @@ import { forwardRef as forwardRef2 } from "react";
|
|
|
5213
5273
|
import { isNil as isNil7, isNotNil as isNotNil3, isNotUndefined as isNotUndefined2, isUndefined as isUndefined2 } from "@wistia/type-guards";
|
|
5214
5274
|
import styled6 from "styled-components";
|
|
5215
5275
|
import { Link as RouterLink, useInRouterContext } from "react-router-dom";
|
|
5216
|
-
import { jsx as
|
|
5276
|
+
import { jsx as jsx161 } from "react/jsx-runtime";
|
|
5217
5277
|
var generateHref = (href, type, disabled) => {
|
|
5218
5278
|
if (disabled || isNil7(href)) {
|
|
5219
5279
|
return void 0;
|
|
@@ -5275,7 +5335,7 @@ var Link = forwardRef2(
|
|
|
5275
5335
|
onClick: handleClick
|
|
5276
5336
|
};
|
|
5277
5337
|
if (isButton(props)) {
|
|
5278
|
-
return /* @__PURE__ */
|
|
5338
|
+
return /* @__PURE__ */ jsx161(
|
|
5279
5339
|
StyledLink,
|
|
5280
5340
|
{
|
|
5281
5341
|
ref,
|
|
@@ -5295,7 +5355,7 @@ var Link = forwardRef2(
|
|
|
5295
5355
|
...commonProps,
|
|
5296
5356
|
...externalLinkProps
|
|
5297
5357
|
};
|
|
5298
|
-
return inRouterContext && type !== "external" ? /* @__PURE__ */
|
|
5358
|
+
return inRouterContext && type !== "external" ? /* @__PURE__ */ jsx161(
|
|
5299
5359
|
StyledLink,
|
|
5300
5360
|
{
|
|
5301
5361
|
as: RouterLink,
|
|
@@ -5303,7 +5363,7 @@ var Link = forwardRef2(
|
|
|
5303
5363
|
to: to ?? "",
|
|
5304
5364
|
children
|
|
5305
5365
|
}
|
|
5306
|
-
) : /* @__PURE__ */
|
|
5366
|
+
) : /* @__PURE__ */ jsx161(
|
|
5307
5367
|
StyledLink,
|
|
5308
5368
|
{
|
|
5309
5369
|
as: "a",
|
|
@@ -5319,7 +5379,7 @@ var Link = forwardRef2(
|
|
|
5319
5379
|
Link.displayName = "Link";
|
|
5320
5380
|
|
|
5321
5381
|
// src/components/Button/Button.tsx
|
|
5322
|
-
import { Fragment, jsx as
|
|
5382
|
+
import { Fragment, jsx as jsx162, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
5323
5383
|
var isLink2 = (props) => isNotUndefined3(props.href);
|
|
5324
5384
|
var StyledButton = styled7.button`
|
|
5325
5385
|
${buttonResetCss}
|
|
@@ -5357,7 +5417,7 @@ var ButtonContent = ({
|
|
|
5357
5417
|
children
|
|
5358
5418
|
}) => {
|
|
5359
5419
|
return /* @__PURE__ */ jsxs5(Fragment, { children: [
|
|
5360
|
-
isLoading ? /* @__PURE__ */
|
|
5420
|
+
isLoading ? /* @__PURE__ */ jsx162(StyledButtonLoading, { children: /* @__PURE__ */ jsx162(Icon, { type: "spinner" }) }) : null,
|
|
5361
5421
|
/* @__PURE__ */ jsxs5(
|
|
5362
5422
|
StyledButtonContent,
|
|
5363
5423
|
{
|
|
@@ -5366,7 +5426,7 @@ var ButtonContent = ({
|
|
|
5366
5426
|
$isLoading: isLoading,
|
|
5367
5427
|
children: [
|
|
5368
5428
|
leftIcon ?? null,
|
|
5369
|
-
/* @__PURE__ */
|
|
5429
|
+
/* @__PURE__ */ jsx162(StyledButtonContentLabel, { children }),
|
|
5370
5430
|
rightIcon ?? null
|
|
5371
5431
|
]
|
|
5372
5432
|
}
|
|
@@ -5408,14 +5468,14 @@ var Button = forwardRef3(
|
|
|
5408
5468
|
commonProps.className = `${className ?? ""} force-state-${forceState}`;
|
|
5409
5469
|
}
|
|
5410
5470
|
if (isLink2(props)) {
|
|
5411
|
-
return /* @__PURE__ */
|
|
5471
|
+
return /* @__PURE__ */ jsx162(
|
|
5412
5472
|
StyledButton,
|
|
5413
5473
|
{
|
|
5414
5474
|
ref,
|
|
5415
5475
|
as: Link,
|
|
5416
5476
|
...props,
|
|
5417
5477
|
...commonProps,
|
|
5418
|
-
children: /* @__PURE__ */
|
|
5478
|
+
children: /* @__PURE__ */ jsx162(
|
|
5419
5479
|
ButtonContent,
|
|
5420
5480
|
{
|
|
5421
5481
|
isLoading,
|
|
@@ -5436,7 +5496,7 @@ var Button = forwardRef3(
|
|
|
5436
5496
|
onClick(event);
|
|
5437
5497
|
}
|
|
5438
5498
|
};
|
|
5439
|
-
return /* @__PURE__ */
|
|
5499
|
+
return /* @__PURE__ */ jsx162(
|
|
5440
5500
|
StyledButton,
|
|
5441
5501
|
{
|
|
5442
5502
|
ref,
|
|
@@ -5444,7 +5504,7 @@ var Button = forwardRef3(
|
|
|
5444
5504
|
type: "button",
|
|
5445
5505
|
...props,
|
|
5446
5506
|
...commonProps,
|
|
5447
|
-
children: /* @__PURE__ */
|
|
5507
|
+
children: /* @__PURE__ */ jsx162(
|
|
5448
5508
|
ButtonContent,
|
|
5449
5509
|
{
|
|
5450
5510
|
isLoading,
|
|
@@ -5462,7 +5522,7 @@ Button.displayName = "Button";
|
|
|
5462
5522
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
5463
5523
|
import styled8 from "styled-components";
|
|
5464
5524
|
import { isNil as isNil8 } from "@wistia/type-guards";
|
|
5465
|
-
import { jsx as
|
|
5525
|
+
import { jsx as jsx163 } from "react/jsx-runtime";
|
|
5466
5526
|
var getAlignment = (align) => {
|
|
5467
5527
|
if (align === "center") {
|
|
5468
5528
|
return "center";
|
|
@@ -5504,7 +5564,7 @@ var ButtonGroup = ({
|
|
|
5504
5564
|
if (isNil8(children)) {
|
|
5505
5565
|
return null;
|
|
5506
5566
|
}
|
|
5507
|
-
return /* @__PURE__ */
|
|
5567
|
+
return /* @__PURE__ */ jsx163(
|
|
5508
5568
|
ButtonGroupComponent,
|
|
5509
5569
|
{
|
|
5510
5570
|
$align: align,
|
|
@@ -5518,7 +5578,7 @@ ButtonGroup.displayName = "ButtonGroup";
|
|
|
5518
5578
|
|
|
5519
5579
|
// src/components/Divider/Divider.tsx
|
|
5520
5580
|
import styled9 from "styled-components";
|
|
5521
|
-
import { jsx as
|
|
5581
|
+
import { jsx as jsx164 } from "react/jsx-runtime";
|
|
5522
5582
|
var sizeToPixelMap = {
|
|
5523
5583
|
lg: 4,
|
|
5524
5584
|
sm: 1
|
|
@@ -5538,7 +5598,7 @@ var DividerComponent = styled9.hr`
|
|
|
5538
5598
|
`;
|
|
5539
5599
|
var Divider = ({ size = "sm", ...otherProps }) => {
|
|
5540
5600
|
const responsiveSize = useResponsiveProp(size);
|
|
5541
|
-
return /* @__PURE__ */
|
|
5601
|
+
return /* @__PURE__ */ jsx164(
|
|
5542
5602
|
DividerComponent,
|
|
5543
5603
|
{
|
|
5544
5604
|
$borderHeight: sizeToPixelMap[responsiveSize],
|
|
@@ -5551,7 +5611,7 @@ Divider.displayName = "Divider";
|
|
|
5551
5611
|
// src/components/Ellipsis/Ellipsis.tsx
|
|
5552
5612
|
import { isNotNil as isNotNil5 } from "@wistia/type-guards";
|
|
5553
5613
|
import styled10, { css as css12 } from "styled-components";
|
|
5554
|
-
import { jsx as
|
|
5614
|
+
import { jsx as jsx165 } from "react/jsx-runtime";
|
|
5555
5615
|
var ellipsisStyle = css12`
|
|
5556
5616
|
overflow: hidden;
|
|
5557
5617
|
text-overflow: ellipsis;
|
|
@@ -5592,7 +5652,7 @@ var EllipsisComponent = styled10.div`
|
|
|
5592
5652
|
return void 0;
|
|
5593
5653
|
}}
|
|
5594
5654
|
`;
|
|
5595
|
-
var Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */
|
|
5655
|
+
var Ellipsis = ({ children, lines, ...otherProps }) => /* @__PURE__ */ jsx165(
|
|
5596
5656
|
EllipsisComponent,
|
|
5597
5657
|
{
|
|
5598
5658
|
$lines: lines,
|
|
@@ -5612,7 +5672,7 @@ var makePolymorphic = (component) => {
|
|
|
5612
5672
|
};
|
|
5613
5673
|
|
|
5614
5674
|
// src/components/Heading/Heading.tsx
|
|
5615
|
-
import { jsx as
|
|
5675
|
+
import { jsx as jsx166 } from "react/jsx-runtime";
|
|
5616
5676
|
var heroStyle = css13`
|
|
5617
5677
|
--font-family: var(--typography-heading-hero-family);
|
|
5618
5678
|
--font-size: var(--typography-heading-hero-size);
|
|
@@ -5708,7 +5768,7 @@ var HeadingComponent = forwardRef4(
|
|
|
5708
5768
|
variant = "heading1",
|
|
5709
5769
|
renderAs,
|
|
5710
5770
|
...otherProps
|
|
5711
|
-
}, ref) => /* @__PURE__ */
|
|
5771
|
+
}, ref) => /* @__PURE__ */ jsx166(
|
|
5712
5772
|
StyledHeading,
|
|
5713
5773
|
{
|
|
5714
5774
|
ref,
|
|
@@ -5740,7 +5800,7 @@ import {
|
|
|
5740
5800
|
Arrow
|
|
5741
5801
|
} from "@radix-ui/react-tooltip";
|
|
5742
5802
|
import styled12, { css as css14 } from "styled-components";
|
|
5743
|
-
import { jsx as
|
|
5803
|
+
import { jsx as jsx167, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
5744
5804
|
var CompactTooltipStyles = css14`
|
|
5745
5805
|
--tooltip-font-size: var(--typography-label-4-size);
|
|
5746
5806
|
--tooltip-line-height: var(--typography-label-4-line-height);
|
|
@@ -5812,8 +5872,8 @@ var Tooltip = ({
|
|
|
5812
5872
|
delayDuration: delay,
|
|
5813
5873
|
...rootProps,
|
|
5814
5874
|
children: [
|
|
5815
|
-
/* @__PURE__ */
|
|
5816
|
-
/* @__PURE__ */
|
|
5875
|
+
/* @__PURE__ */ jsx167(Trigger, { asChild: true, children }),
|
|
5876
|
+
/* @__PURE__ */ jsx167(Portal, { children: /* @__PURE__ */ jsxs6(
|
|
5817
5877
|
StyledContent,
|
|
5818
5878
|
{
|
|
5819
5879
|
$compact: compact,
|
|
@@ -5821,7 +5881,7 @@ var Tooltip = ({
|
|
|
5821
5881
|
sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
|
|
5822
5882
|
children: [
|
|
5823
5883
|
content,
|
|
5824
|
-
!hideArrow ? /* @__PURE__ */
|
|
5884
|
+
!hideArrow ? /* @__PURE__ */ jsx167(Arrow, { asChild: true, children: /* @__PURE__ */ jsx167(
|
|
5825
5885
|
"svg",
|
|
5826
5886
|
{
|
|
5827
5887
|
fill: "var(--tooltip-bg)",
|
|
@@ -5830,7 +5890,7 @@ var Tooltip = ({
|
|
|
5830
5890
|
viewBox: "0 0 12 8",
|
|
5831
5891
|
width: "12",
|
|
5832
5892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5833
|
-
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" })
|
|
5834
5894
|
}
|
|
5835
5895
|
) }) : null
|
|
5836
5896
|
]
|
|
@@ -5843,7 +5903,7 @@ var Tooltip = ({
|
|
|
5843
5903
|
Tooltip.displayName = "Tooltip";
|
|
5844
5904
|
|
|
5845
5905
|
// src/components/IconButton/IconButton.tsx
|
|
5846
|
-
import { jsx as
|
|
5906
|
+
import { jsx as jsx168 } from "react/jsx-runtime";
|
|
5847
5907
|
var StyledButton2 = styled13(Button)`
|
|
5848
5908
|
--icon-button-size-sm: 24px;
|
|
5849
5909
|
--icon-button-size-md: 32px;
|
|
@@ -5861,7 +5921,7 @@ var StyledButton2 = styled13(Button)`
|
|
|
5861
5921
|
var IconButton = forwardRef5(
|
|
5862
5922
|
({ children, label, disableTooltip = false, size = "md", ...props }, ref) => {
|
|
5863
5923
|
const responsiveSize = useResponsiveProp(size);
|
|
5864
|
-
const button = /* @__PURE__ */
|
|
5924
|
+
const button = /* @__PURE__ */ jsx168(
|
|
5865
5925
|
StyledButton2,
|
|
5866
5926
|
{
|
|
5867
5927
|
...props,
|
|
@@ -5877,14 +5937,14 @@ var IconButton = forwardRef5(
|
|
|
5877
5937
|
if (disableTooltip) {
|
|
5878
5938
|
return button;
|
|
5879
5939
|
}
|
|
5880
|
-
return /* @__PURE__ */
|
|
5940
|
+
return /* @__PURE__ */ jsx168(Tooltip, { content: label, children: button });
|
|
5881
5941
|
}
|
|
5882
5942
|
);
|
|
5883
5943
|
IconButton.displayName = "IconButton";
|
|
5884
5944
|
|
|
5885
5945
|
// src/components/Label/Label.tsx
|
|
5886
5946
|
import styled14, { css as css15 } from "styled-components";
|
|
5887
|
-
import { jsx as
|
|
5947
|
+
import { jsx as jsx169 } from "react/jsx-runtime";
|
|
5888
5948
|
var requiredStyle = css15`
|
|
5889
5949
|
&::after {
|
|
5890
5950
|
color: red; /* TODO need a color for this */
|
|
@@ -5928,7 +5988,7 @@ var Label = ({
|
|
|
5928
5988
|
required = false,
|
|
5929
5989
|
screenReaderOnly = false,
|
|
5930
5990
|
...otherProps
|
|
5931
|
-
}) => /* @__PURE__ */
|
|
5991
|
+
}) => /* @__PURE__ */ jsx169(
|
|
5932
5992
|
StyledLabel,
|
|
5933
5993
|
{
|
|
5934
5994
|
disabled,
|
|
@@ -5943,7 +6003,7 @@ Label.displayName = "Label";
|
|
|
5943
6003
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
5944
6004
|
import styled15 from "styled-components";
|
|
5945
6005
|
import { isNotNil as isNotNil6 } from "@wistia/type-guards";
|
|
5946
|
-
import { jsx as
|
|
6006
|
+
import { jsx as jsx170 } from "react/jsx-runtime";
|
|
5947
6007
|
var VisuallyHidden = styled15.div({ ...visuallyHiddenStyle });
|
|
5948
6008
|
var VisuallyHiddenButFocusable = styled15.div({
|
|
5949
6009
|
"&:not(:focus-within)": visuallyHiddenStyle
|
|
@@ -5956,16 +6016,16 @@ var ScreenReaderOnly = ({
|
|
|
5956
6016
|
}) => {
|
|
5957
6017
|
const accessibleText = isNotNil6(text) ? text : children;
|
|
5958
6018
|
if (focusable) {
|
|
5959
|
-
return /* @__PURE__ */
|
|
6019
|
+
return /* @__PURE__ */ jsx170(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
|
|
5960
6020
|
}
|
|
5961
|
-
return /* @__PURE__ */
|
|
6021
|
+
return /* @__PURE__ */ jsx170(VisuallyHidden, { ...otherProps, children: accessibleText });
|
|
5962
6022
|
};
|
|
5963
6023
|
ScreenReaderOnly.displayName = "ScreenReaderOnly";
|
|
5964
6024
|
|
|
5965
6025
|
// src/components/Stack/Stack.tsx
|
|
5966
6026
|
import { forwardRef as forwardRef6 } from "react";
|
|
5967
6027
|
import styled16 from "styled-components";
|
|
5968
|
-
import { jsx as
|
|
6028
|
+
import { jsx as jsx171 } from "react/jsx-runtime";
|
|
5969
6029
|
var DEFAULT_ELEMENT2 = "div";
|
|
5970
6030
|
var StyledStack = styled16.div`
|
|
5971
6031
|
display: flex;
|
|
@@ -5980,7 +6040,7 @@ var StackComponent = forwardRef6(
|
|
|
5980
6040
|
({ renderAs, direction = "vertical", gap = "space-02", ...props }, ref) => {
|
|
5981
6041
|
const responsiveGap = useResponsiveProp(gap);
|
|
5982
6042
|
const responsiveDirection = useResponsiveProp(direction);
|
|
5983
|
-
return /* @__PURE__ */
|
|
6043
|
+
return /* @__PURE__ */ jsx171(
|
|
5984
6044
|
StyledStack,
|
|
5985
6045
|
{
|
|
5986
6046
|
ref,
|
|
@@ -5998,7 +6058,7 @@ var Stack = makePolymorphic(StackComponent);
|
|
|
5998
6058
|
// src/components/Text/Text.tsx
|
|
5999
6059
|
import { forwardRef as forwardRef7 } from "react";
|
|
6000
6060
|
import styled17, { css as css16 } from "styled-components";
|
|
6001
|
-
import { jsx as
|
|
6061
|
+
import { jsx as jsx172 } from "react/jsx-runtime";
|
|
6002
6062
|
var bodyBoldStyles = css16`
|
|
6003
6063
|
> strong,
|
|
6004
6064
|
b {
|
|
@@ -6153,7 +6213,7 @@ var TextComponent = forwardRef7(
|
|
|
6153
6213
|
renderAs,
|
|
6154
6214
|
...otherProps
|
|
6155
6215
|
}, ref) => {
|
|
6156
|
-
return /* @__PURE__ */
|
|
6216
|
+
return /* @__PURE__ */ jsx172(
|
|
6157
6217
|
StyledText,
|
|
6158
6218
|
{
|
|
6159
6219
|
ref,
|
|
@@ -6177,18 +6237,18 @@ var Text = makePolymorphic(TextComponent);
|
|
|
6177
6237
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
6178
6238
|
import styled18 from "styled-components";
|
|
6179
6239
|
import { isNotNil as isNotNil7 } from "@wistia/type-guards";
|
|
6180
|
-
import { jsx as
|
|
6240
|
+
import { jsx as jsx173, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
6181
6241
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
6182
6242
|
if (iconOnly) {
|
|
6183
|
-
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" }) });
|
|
6184
6244
|
}
|
|
6185
|
-
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" }) });
|
|
6186
6246
|
};
|
|
6187
6247
|
var renderLogotype = (logotypeColor, iconOnly) => {
|
|
6188
6248
|
if (iconOnly) {
|
|
6189
6249
|
return null;
|
|
6190
6250
|
}
|
|
6191
|
-
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" }) });
|
|
6192
6252
|
};
|
|
6193
6253
|
var computedViewBox = (iconOnly) => {
|
|
6194
6254
|
if (iconOnly) {
|
|
@@ -6248,14 +6308,14 @@ var WistiaLogo = ({
|
|
|
6248
6308
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6249
6309
|
...otherProps,
|
|
6250
6310
|
children: [
|
|
6251
|
-
/* @__PURE__ */
|
|
6252
|
-
isNotNil7(description) ? /* @__PURE__ */
|
|
6311
|
+
/* @__PURE__ */ jsx173("title", { children: title }),
|
|
6312
|
+
isNotNil7(description) ? /* @__PURE__ */ jsx173("desc", { children: description }) : null,
|
|
6253
6313
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
6254
6314
|
renderLogotype(logotypeColor, iconOnly)
|
|
6255
6315
|
]
|
|
6256
6316
|
}
|
|
6257
6317
|
);
|
|
6258
|
-
return href !== void 0 ? /* @__PURE__ */
|
|
6318
|
+
return href !== void 0 ? /* @__PURE__ */ jsx173("a", { href, children: Logo }) : Logo;
|
|
6259
6319
|
};
|
|
6260
6320
|
WistiaLogo.displayName = "WistiaLogo";
|
|
6261
6321
|
export {
|