@wistia/ui 0.9.1-beta.6bb01d7e.ea7fbf5 → 0.9.1-beta.986bb714.e261908
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 +262 -201
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +255 -194
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.9.1-beta.
|
|
3
|
+
* @license @wistia/ui v0.9.1-beta.986bb714.e261908
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -588,6 +588,18 @@ var lightGlobalTokens = import_styled_components2.css`
|
|
|
588
588
|
--wui-vendor-hubspot-10: #f24d25;
|
|
589
589
|
--wui-vendor-hubspot-11: #d93a0f;
|
|
590
590
|
--wui-vendor-hubspot-12: #5b2a1e;
|
|
591
|
+
--wui-vendor-hubspot-alpha-1: #c0400004;
|
|
592
|
+
--wui-vendor-hubspot-alpha-2: #ff3b000d;
|
|
593
|
+
--wui-vendor-hubspot-alpha-3: #ff3e001d;
|
|
594
|
+
--wui-vendor-hubspot-alpha-4: #ff430036;
|
|
595
|
+
--wui-vendor-hubspot-alpha-5: #ff3d0048;
|
|
596
|
+
--wui-vendor-hubspot-alpha-6: #ff3b005c;
|
|
597
|
+
--wui-vendor-hubspot-alpha-7: #ff340072;
|
|
598
|
+
--wui-vendor-hubspot-alpha-8: #ef2f008f;
|
|
599
|
+
--wui-vendor-hubspot-alpha-9: #ff3000c9;
|
|
600
|
+
--wui-vendor-hubspot-alpha-10: #f02f00da;
|
|
601
|
+
--wui-vendor-hubspot-alpha-11: #d72e00f0;
|
|
602
|
+
--wui-vendor-hubspot-alpha-12: #450e00e1;
|
|
591
603
|
--wui-vendor-hubspot-surface: #fff3efcc;
|
|
592
604
|
--wui-vendor-hubspot-contrast: #ffffff;
|
|
593
605
|
--wui-vendor-marketo-1: #fdfdff;
|
|
@@ -602,6 +614,18 @@ var lightGlobalTokens = import_styled_components2.css`
|
|
|
602
614
|
--wui-vendor-marketo-10: #4040bb;
|
|
603
615
|
--wui-vendor-marketo-11: #4f55c7;
|
|
604
616
|
--wui-vendor-marketo-12: #252a62;
|
|
617
|
+
--wui-vendor-marketo-alpha-1: #0000ff02;
|
|
618
|
+
--wui-vendor-marketo-alpha-2: #0020ff08;
|
|
619
|
+
--wui-vendor-marketo-alpha-3: #0030ff10;
|
|
620
|
+
--wui-vendor-marketo-alpha-4: #002eff1c;
|
|
621
|
+
--wui-vendor-marketo-alpha-5: #0031ff2a;
|
|
622
|
+
--wui-vendor-marketo-alpha-6: #002cff3a;
|
|
623
|
+
--wui-vendor-marketo-alpha-7: #0027ef4f;
|
|
624
|
+
--wui-vendor-marketo-alpha-8: #001fe16c;
|
|
625
|
+
--wui-vendor-marketo-alpha-9: #0006b7b3;
|
|
626
|
+
--wui-vendor-marketo-alpha-10: #0000a4bf;
|
|
627
|
+
--wui-vendor-marketo-alpha-11: #0009aeb0;
|
|
628
|
+
--wui-vendor-marketo-alpha-12: #000647da;
|
|
605
629
|
--wui-vendor-marketo-surface: #f5f6ffcc;
|
|
606
630
|
--wui-vendor-marketo-contrast: #ffffff;
|
|
607
631
|
--wui-vendor-pardot-1: #fafdff;
|
|
@@ -616,6 +640,18 @@ var lightGlobalTokens = import_styled_components2.css`
|
|
|
616
640
|
--wui-vendor-pardot-10: #0094cf;
|
|
617
641
|
--wui-vendor-pardot-11: #0079b5;
|
|
618
642
|
--wui-vendor-pardot-12: #0c3a51;
|
|
643
|
+
--wui-vendor-pardot-alpha-1: #0099ff05;
|
|
644
|
+
--wui-vendor-pardot-alpha-2: #0095ea0c;
|
|
645
|
+
--wui-vendor-pardot-alpha-3: #00aaff1e;
|
|
646
|
+
--wui-vendor-pardot-alpha-4: #00a7ff31;
|
|
647
|
+
--wui-vendor-pardot-alpha-5: #009fff45;
|
|
648
|
+
--wui-vendor-pardot-alpha-6: #0195f15b;
|
|
649
|
+
--wui-vendor-pardot-alpha-7: #018fe27a;
|
|
650
|
+
--wui-vendor-pardot-alpha-8: #0091deb0;
|
|
651
|
+
--wui-vendor-pardot-alpha-9: #00a1e0;
|
|
652
|
+
--wui-vendor-pardot-alpha-10: #0094cf;
|
|
653
|
+
--wui-vendor-pardot-alpha-11: #0079b5;
|
|
654
|
+
--wui-vendor-pardot-alpha-12: #003048f3;
|
|
619
655
|
--wui-vendor-pardot-surface: #f0f9fecc;
|
|
620
656
|
--wui-vendor-pardot-contrast: #ffffff;
|
|
621
657
|
`;
|
|
@@ -919,6 +955,18 @@ var darkGlobalTokens = import_styled_components2.css`
|
|
|
919
955
|
--wui-vendor-hubspot-10: #f14f28;
|
|
920
956
|
--wui-vendor-hubspot-11: #ff9578;
|
|
921
957
|
--wui-vendor-hubspot-12: #ffd5ca;
|
|
958
|
+
--wui-vendor-hubspot-alpha-1: #fd04000e;
|
|
959
|
+
--wui-vendor-hubspot-alpha-2: #f72f0015;
|
|
960
|
+
--wui-vendor-hubspot-alpha-3: #ff2d002e;
|
|
961
|
+
--wui-vendor-hubspot-alpha-4: #fd160046;
|
|
962
|
+
--wui-vendor-hubspot-alpha-5: #fd2a0056;
|
|
963
|
+
--wui-vendor-hubspot-alpha-6: #fd480467;
|
|
964
|
+
--wui-vendor-hubspot-alpha-7: #fe5d2681;
|
|
965
|
+
--wui-vendor-hubspot-alpha-8: #ff6538aa;
|
|
966
|
+
--wui-vendor-hubspot-alpha-9: #ff5c36;
|
|
967
|
+
--wui-vendor-hubspot-alpha-10: #fe5328f1;
|
|
968
|
+
--wui-vendor-hubspot-alpha-11: #ff9578;
|
|
969
|
+
--wui-vendor-hubspot-alpha-12: #ffd5ca;
|
|
922
970
|
--wui-vendor-hubspot-surface: #361a0280;
|
|
923
971
|
--wui-vendor-hubspot-contrast: #ffffff;
|
|
924
972
|
--wui-vendor-marketo-1: #141621;
|
|
@@ -933,6 +981,18 @@ var darkGlobalTokens = import_styled_components2.css`
|
|
|
933
981
|
--wui-vendor-marketo-10: #4040bb;
|
|
934
982
|
--wui-vendor-marketo-11: #9faeff;
|
|
935
983
|
--wui-vendor-marketo-12: #dae1ff;
|
|
984
|
+
--wui-vendor-marketo-alpha-1: #dd170005;
|
|
985
|
+
--wui-vendor-marketo-alpha-2: #eb5f0007;
|
|
986
|
+
--wui-vendor-marketo-alpha-3: #7069fb28;
|
|
987
|
+
--wui-vendor-marketo-alpha-4: #5d5cff49;
|
|
988
|
+
--wui-vendor-marketo-alpha-5: #666aff5c;
|
|
989
|
+
--wui-vendor-marketo-alpha-6: #6f77fd6c;
|
|
990
|
+
--wui-vendor-marketo-alpha-7: #747efe84;
|
|
991
|
+
--wui-vendor-marketo-alpha-8: #737effa6;
|
|
992
|
+
--wui-vendor-marketo-alpha-9: #5e62fec3;
|
|
993
|
+
--wui-vendor-marketo-alpha-10: #5754ffae;
|
|
994
|
+
--wui-vendor-marketo-alpha-11: #9faeff;
|
|
995
|
+
--wui-vendor-marketo-alpha-12: #dae1ff;
|
|
936
996
|
--wui-vendor-marketo-surface: #1c1a2680;
|
|
937
997
|
--wui-vendor-marketo-contrast: #ffffff;
|
|
938
998
|
--wui-vendor-pardot-1: #0e191f;
|
|
@@ -947,26 +1007,38 @@ var darkGlobalTokens = import_styled_components2.css`
|
|
|
947
1007
|
--wui-vendor-pardot-10: #0095d3;
|
|
948
1008
|
--wui-vendor-pardot-11: #62c3f8;
|
|
949
1009
|
--wui-vendor-pardot-12: #bfe7ff;
|
|
1010
|
+
--wui-vendor-pardot-alpha-1: #00d60004;
|
|
1011
|
+
--wui-vendor-pardot-alpha-2: #30f60008;
|
|
1012
|
+
--wui-vendor-pardot-alpha-3: #00f7f519;
|
|
1013
|
+
--wui-vendor-pardot-alpha-4: #00c2ff31;
|
|
1014
|
+
--wui-vendor-pardot-alpha-5: #00befd46;
|
|
1015
|
+
--wui-vendor-pardot-alpha-6: #00c0fd5a;
|
|
1016
|
+
--wui-vendor-pardot-alpha-7: #1bc2ff74;
|
|
1017
|
+
--wui-vendor-pardot-alpha-8: #20beff99;
|
|
1018
|
+
--wui-vendor-pardot-alpha-9: #00b8fedb;
|
|
1019
|
+
--wui-vendor-pardot-alpha-10: #00b6ffcb;
|
|
1020
|
+
--wui-vendor-pardot-alpha-11: #64c8fff7;
|
|
1021
|
+
--wui-vendor-pardot-alpha-12: #bfe7ff;
|
|
950
1022
|
--wui-vendor-pardot-surface: #12242080;
|
|
951
1023
|
--wui-vendor-pardot-contrast: #ffffff;
|
|
952
1024
|
`;
|
|
953
1025
|
|
|
954
1026
|
// src/css/designTokens/colorAlias.tsx
|
|
955
1027
|
var import_styled_components3 = require("styled-components");
|
|
956
|
-
var
|
|
957
|
-
--wui-color-bg-app: var(--wui-app-background);
|
|
958
|
-
|
|
959
|
-
/* --- default --- */
|
|
1028
|
+
var defaultColorAliasTokens = import_styled_components3.css`
|
|
960
1029
|
--wui-color-bg-fill: var(--wui-blue-9);
|
|
961
1030
|
--wui-color-bg-fill-active: var(--wui-blue-11);
|
|
962
1031
|
--wui-color-bg-fill-hover: var(--wui-blue-10);
|
|
963
|
-
--wui-color-bg-surface: var(--wui-gray-1);
|
|
964
|
-
--wui-color-bg-surface-
|
|
965
|
-
--wui-color-bg-surface-
|
|
966
|
-
--wui-color-bg-surface-
|
|
967
|
-
--wui-color-bg-surface-secondary
|
|
968
|
-
--wui-color-bg-surface-secondary-
|
|
969
|
-
--wui-color-bg-surface-
|
|
1032
|
+
--wui-color-bg-surface: var(--wui-gray-alpha-1);
|
|
1033
|
+
--wui-color-bg-surface-solid: var(--wui-gray-1);
|
|
1034
|
+
--wui-color-bg-surface-active: var(--wui-gray-alpha-4);
|
|
1035
|
+
--wui-color-bg-surface-hover: var(--wui-gray-alpha-3);
|
|
1036
|
+
--wui-color-bg-surface-secondary: var(--wui-gray-alpha-3);
|
|
1037
|
+
--wui-color-bg-surface-secondary-solid: var(--wui-gray-3);
|
|
1038
|
+
--wui-color-bg-surface-secondary-active: var(--wui-gray-alpha-5);
|
|
1039
|
+
--wui-color-bg-surface-secondary-hover: var(--wui-gray-alpha-4);
|
|
1040
|
+
--wui-color-bg-surface-tertiary: var(--wui-gray-alpha-5);
|
|
1041
|
+
--wui-color-bg-surface-tertiary-solid: var(--wui-gray-5);
|
|
970
1042
|
--wui-color-border: var(--wui-gray-6);
|
|
971
1043
|
--wui-color-border-hover: var(--wui-gray-8);
|
|
972
1044
|
--wui-color-border-active: var(--wui-gray-9);
|
|
@@ -981,6 +1053,11 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
981
1053
|
--wui-color-text-on-fill: var(--wui-gray-contrast);
|
|
982
1054
|
--wui-color-text-secondary: var(--wui-gray-11);
|
|
983
1055
|
--wui-color-focus-ring: var(--wui-blue-9);
|
|
1056
|
+
`;
|
|
1057
|
+
var colorAliasTokens = import_styled_components3.css`
|
|
1058
|
+
--wui-color-bg-app: var(--wui-app-background);
|
|
1059
|
+
|
|
1060
|
+
${defaultColorAliasTokens}
|
|
984
1061
|
|
|
985
1062
|
/* --- Semantic --- */
|
|
986
1063
|
|
|
@@ -988,13 +1065,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
988
1065
|
--wui-color-bg-fill-active-error: var(--wui-error-11);
|
|
989
1066
|
--wui-color-bg-fill-error: var(--wui-error-9);
|
|
990
1067
|
--wui-color-bg-fill-hover-error: var(--wui-error-10);
|
|
991
|
-
--wui-color-bg-surface-active-error: var(--wui-error-4);
|
|
992
|
-
--wui-color-bg-surface-error: var(--wui-error-2);
|
|
993
|
-
--wui-color-bg-surface-
|
|
994
|
-
--wui-color-bg-surface-
|
|
995
|
-
--wui-color-bg-surface-secondary-error: var(--wui-error-
|
|
996
|
-
--wui-color-bg-surface-secondary-
|
|
997
|
-
--wui-color-bg-surface-
|
|
1068
|
+
--wui-color-bg-surface-active-error: var(--wui-error-alpha-4);
|
|
1069
|
+
--wui-color-bg-surface-error: var(--wui-error-alpha-2);
|
|
1070
|
+
--wui-color-bg-surface-error-solid: var(--wui-error-2);
|
|
1071
|
+
--wui-color-bg-surface-hover-error: var(--wui-error-alpha-3);
|
|
1072
|
+
--wui-color-bg-surface-secondary-active-error: var(--wui-error-alpha-5);
|
|
1073
|
+
--wui-color-bg-surface-secondary-error: var(--wui-error-alpha-3);
|
|
1074
|
+
--wui-color-bg-surface-secondary-error-solid: var(--wui-error-3);
|
|
1075
|
+
--wui-color-bg-surface-secondary-hover-error: var(--wui-error-alpha-4);
|
|
1076
|
+
--wui-color-bg-surface-tertiary-error: var(--wui-error-alpha-5);
|
|
1077
|
+
--wui-color-bg-surface-tertiary-error-solid: var(--wui-error-5);
|
|
998
1078
|
--wui-color-border-error: var(--wui-error-6);
|
|
999
1079
|
--wui-color-border-hover-errror: var(--wui-error-8);
|
|
1000
1080
|
--wui-color-border-active-error: var(--wui-error-9);
|
|
@@ -1014,13 +1094,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1014
1094
|
--wui-color-bg-fill-active-info: var(--wui-blue-11);
|
|
1015
1095
|
--wui-color-bg-fill-hover-info: var(--wui-blue-10);
|
|
1016
1096
|
--wui-color-bg-fill-info: var(--wui-blue-9);
|
|
1017
|
-
--wui-color-bg-surface-active-info: var(--wui-blue-4);
|
|
1018
|
-
--wui-color-bg-surface-hover-info: var(--wui-blue-3);
|
|
1019
|
-
--wui-color-bg-surface-info: var(--wui-blue-2);
|
|
1020
|
-
--wui-color-bg-surface-
|
|
1021
|
-
--wui-color-bg-surface-secondary-
|
|
1022
|
-
--wui-color-bg-surface-secondary-info: var(--wui-blue-
|
|
1023
|
-
--wui-color-bg-surface-
|
|
1097
|
+
--wui-color-bg-surface-active-info: var(--wui-blue-alpha-4);
|
|
1098
|
+
--wui-color-bg-surface-hover-info: var(--wui-blue-alpha-3);
|
|
1099
|
+
--wui-color-bg-surface-info: var(--wui-blue-alpha-2);
|
|
1100
|
+
--wui-color-bg-surface-info-solid: var(--wui-blue-2);
|
|
1101
|
+
--wui-color-bg-surface-secondary-active-info: var(--wui-blue-alpha-5);
|
|
1102
|
+
--wui-color-bg-surface-secondary-hover-info: var(--wui-blue-alpha-4);
|
|
1103
|
+
--wui-color-bg-surface-secondary-info: var(--wui-blue-alpha-3);
|
|
1104
|
+
--wui-color-bg-surface-secondary-info-solid: var(--wui-blue-3);
|
|
1105
|
+
--wui-color-bg-surface-tertiary-info: var(--wui-blue-alpha-6);
|
|
1106
|
+
--wui-color-bg-surface-tertiary-info-solid: var(--wui-blue-6);
|
|
1024
1107
|
--wui-color-border-info: var(--wui-blue-6);
|
|
1025
1108
|
--wui-color-border-hover-info: var(--wui-blue-8);
|
|
1026
1109
|
--wui-color-border-active-info: var(--wui-blue-9);
|
|
@@ -1040,13 +1123,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1040
1123
|
--wui-color-bg-fill-active-success: var(--wui-success-11);
|
|
1041
1124
|
--wui-color-bg-fill-hover-success: var(--wui-success-10);
|
|
1042
1125
|
--wui-color-bg-fill-success: var(--wui-success-9);
|
|
1043
|
-
--wui-color-bg-surface-active-success: var(--wui-success-4);
|
|
1044
|
-
--wui-color-bg-surface-hover-success: var(--wui-success-3);
|
|
1045
|
-
--wui-color-bg-surface-secondary-active-success: var(--wui-success-5);
|
|
1046
|
-
--wui-color-bg-surface-secondary-hover-success: var(--wui-success-4);
|
|
1047
|
-
--wui-color-bg-surface-secondary-success: var(--wui-success-3);
|
|
1048
|
-
--wui-color-bg-surface-success: var(--wui-success-
|
|
1049
|
-
--wui-color-bg-surface-
|
|
1126
|
+
--wui-color-bg-surface-active-success: var(--wui-success-alpha-4);
|
|
1127
|
+
--wui-color-bg-surface-hover-success: var(--wui-success-alpha-3);
|
|
1128
|
+
--wui-color-bg-surface-secondary-active-success: var(--wui-success-alpha-5);
|
|
1129
|
+
--wui-color-bg-surface-secondary-hover-success: var(--wui-success-alpha-4);
|
|
1130
|
+
--wui-color-bg-surface-secondary-success: var(--wui-success-alpha-3);
|
|
1131
|
+
--wui-color-bg-surface-secondary-success-solid: var(--wui-success-3);
|
|
1132
|
+
--wui-color-bg-surface-success: var(--wui-success-alpha-2);
|
|
1133
|
+
--wui-color-bg-surface-success-solid: var(--wui-success-2);
|
|
1134
|
+
--wui-color-bg-surface-tertiary-success: var(--wui-success-alpha-5);
|
|
1135
|
+
--wui-color-bg-surface-tertiary-success-solid: var(--wui-success-5);
|
|
1050
1136
|
--wui-color-border-success: var(--wui-success-6);
|
|
1051
1137
|
--wui-color-border-hover-success: var(--wui-success-8);
|
|
1052
1138
|
--wui-color-border-active-success: var(--wui-success-9);
|
|
@@ -1066,13 +1152,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1066
1152
|
--wui-color-bg-fill-active-warning: var(--wui-warning-11);
|
|
1067
1153
|
--wui-color-bg-fill-hover-warning: var(--wui-warning-10);
|
|
1068
1154
|
--wui-color-bg-fill-warning: var(--wui-warning-9);
|
|
1069
|
-
--wui-color-bg-surface-active-warning: var(--wui-warning-4);
|
|
1070
|
-
--wui-color-bg-surface-hover-warning: var(--wui-warning-3);
|
|
1071
|
-
--wui-color-bg-surface-secondary-active-warning: var(--wui-warning-5);
|
|
1072
|
-
--wui-color-bg-surface-secondary-hover-warning: var(--wui-warning-4);
|
|
1073
|
-
--wui-color-bg-surface-secondary-warning: var(--wui-warning-3);
|
|
1074
|
-
--wui-color-bg-surface-
|
|
1075
|
-
--wui-color-bg-surface-warning: var(--wui-warning-
|
|
1155
|
+
--wui-color-bg-surface-active-warning: var(--wui-warning-alpha-4);
|
|
1156
|
+
--wui-color-bg-surface-hover-warning: var(--wui-warning-alpha-3);
|
|
1157
|
+
--wui-color-bg-surface-secondary-active-warning: var(--wui-warning-alpha-5);
|
|
1158
|
+
--wui-color-bg-surface-secondary-hover-warning: var(--wui-warning-alpha-4);
|
|
1159
|
+
--wui-color-bg-surface-secondary-warning: var(--wui-warning-alpha-3);
|
|
1160
|
+
--wui-color-bg-surface-secondary-warning-solid: var(--wui-warning-3);
|
|
1161
|
+
--wui-color-bg-surface-tertiary-warning: var(--wui-warning-alpha-5);
|
|
1162
|
+
--wui-color-bg-surface-tertiary-warning-solid: var(--wui-warning-5);
|
|
1163
|
+
--wui-color-bg-surface-warning: var(--wui-warning-alpha-2);
|
|
1164
|
+
--wui-color-bg-surface-warning-solid: var(--wui-warning-2);
|
|
1076
1165
|
--wui-color-border-warning: var(--wui-warning-6);
|
|
1077
1166
|
--wui-color-border-hover-warning: var(--wui-warning-8);
|
|
1078
1167
|
--wui-color-border-active-warning: var(--wui-warning-9);
|
|
@@ -1094,13 +1183,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1094
1183
|
--wui-color-bg-fill-active-blue: var(--wui-blue-11);
|
|
1095
1184
|
--wui-color-bg-fill-blue: var(--wui-blue-9);
|
|
1096
1185
|
--wui-color-bg-fill-hover-blue: var(--wui-blue-10);
|
|
1097
|
-
--wui-color-bg-surface-active-blue: var(--wui-blue-4);
|
|
1098
|
-
--wui-color-bg-surface-blue: var(--wui-blue-2);
|
|
1099
|
-
--wui-color-bg-surface-
|
|
1100
|
-
--wui-color-bg-surface-
|
|
1101
|
-
--wui-color-bg-surface-secondary-blue: var(--wui-blue-
|
|
1102
|
-
--wui-color-bg-surface-secondary-
|
|
1103
|
-
--wui-color-bg-surface-
|
|
1186
|
+
--wui-color-bg-surface-active-blue: var(--wui-blue-alpha-4);
|
|
1187
|
+
--wui-color-bg-surface-blue: var(--wui-blue-alpha-2);
|
|
1188
|
+
--wui-color-bg-surface-blue-solid: var(--wui-blue-2);
|
|
1189
|
+
--wui-color-bg-surface-hover-blue: var(--wui-blue-alpha-3);
|
|
1190
|
+
--wui-color-bg-surface-secondary-active-blue: var(--wui-blue-alpha-5);
|
|
1191
|
+
--wui-color-bg-surface-secondary-blue: var(--wui-blue-alpha-3);
|
|
1192
|
+
--wui-color-bg-surface-secondary-blue-solid: var(--wui-blue-3);
|
|
1193
|
+
--wui-color-bg-surface-secondary-hover-blue: var(--wui-blue-alpha-4);
|
|
1194
|
+
--wui-color-bg-surface-tertiary-blue: var(--wui-blue-alpha-5);
|
|
1195
|
+
--wui-color-bg-surface-tertiary-blue-solid: var(--wui-blue-5);
|
|
1104
1196
|
--wui-color-border-blue: var(--wui-blue-6);
|
|
1105
1197
|
--wui-color-border-hover-blue: var(--wui-blue-8);
|
|
1106
1198
|
--wui-color-border-active-blue: var(--wui-blue-9);
|
|
@@ -1120,13 +1212,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1120
1212
|
--wui-color-bg-fill-active-green: var(--wui-green-11);
|
|
1121
1213
|
--wui-color-bg-fill-green: var(--wui-green-9);
|
|
1122
1214
|
--wui-color-bg-fill-hover-green: var(--wui-green-10);
|
|
1123
|
-
--wui-color-bg-surface-active-green: var(--wui-green-4);
|
|
1124
|
-
--wui-color-bg-surface-green: var(--wui-green-2);
|
|
1125
|
-
--wui-color-bg-surface-
|
|
1126
|
-
--wui-color-bg-surface-
|
|
1127
|
-
--wui-color-bg-surface-secondary-green: var(--wui-green-
|
|
1128
|
-
--wui-color-bg-surface-secondary-
|
|
1129
|
-
--wui-color-bg-surface-
|
|
1215
|
+
--wui-color-bg-surface-active-green: var(--wui-green-alpha-4);
|
|
1216
|
+
--wui-color-bg-surface-green: var(--wui-green-alpha-2);
|
|
1217
|
+
--wui-color-bg-surface-green-solid: var(--wui-green-2);
|
|
1218
|
+
--wui-color-bg-surface-hover-green: var(--wui-green-alpha-3);
|
|
1219
|
+
--wui-color-bg-surface-secondary-active-green: var(--wui-green-alpha-5);
|
|
1220
|
+
--wui-color-bg-surface-secondary-green: var(--wui-green-alpha-3);
|
|
1221
|
+
--wui-color-bg-surface-secondary-green-solid: var(--wui-green-3);
|
|
1222
|
+
--wui-color-bg-surface-secondary-hover-green: var(--wui-green-alpha-4);
|
|
1223
|
+
--wui-color-bg-surface-tertiary-green: var(--wui-green-alpha-5);
|
|
1224
|
+
--wui-color-bg-surface-tertiary-green-solid: var(--wui-green-5);
|
|
1130
1225
|
--wui-color-border-green: var(--wui-green-6);
|
|
1131
1226
|
--wui-color-border-hover-green: var(--wui-green-8);
|
|
1132
1227
|
--wui-color-border-active-green: var(--wui-green-9);
|
|
@@ -1146,13 +1241,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1146
1241
|
--wui-color-bg-fill-active-orange: var(--wui-orange-11);
|
|
1147
1242
|
--wui-color-bg-fill-hover-orange: var(--wui-orange-10);
|
|
1148
1243
|
--wui-color-bg-fill-orange: var(--wui-orange-9);
|
|
1149
|
-
--wui-color-bg-surface-active-orange: var(--wui-orange-4);
|
|
1150
|
-
--wui-color-bg-surface-hover-orange: var(--wui-orange-3);
|
|
1151
|
-
--wui-color-bg-surface-orange: var(--wui-orange-2);
|
|
1152
|
-
--wui-color-bg-surface-
|
|
1153
|
-
--wui-color-bg-surface-secondary-
|
|
1154
|
-
--wui-color-bg-surface-secondary-orange: var(--wui-orange-
|
|
1155
|
-
--wui-color-bg-surface-
|
|
1244
|
+
--wui-color-bg-surface-active-orange: var(--wui-orange-alpha-4);
|
|
1245
|
+
--wui-color-bg-surface-hover-orange: var(--wui-orange-alpha-3);
|
|
1246
|
+
--wui-color-bg-surface-orange: var(--wui-orange-alpha-2);
|
|
1247
|
+
--wui-color-bg-surface-orange-solid: var(--wui-orange-2);
|
|
1248
|
+
--wui-color-bg-surface-secondary-active-orange: var(--wui-orange-alpha-5);
|
|
1249
|
+
--wui-color-bg-surface-secondary-hover-orange: var(--wui-orange-alpha-4);
|
|
1250
|
+
--wui-color-bg-surface-secondary-orange: var(--wui-orange-alpha-3);
|
|
1251
|
+
--wui-color-bg-surface-secondary-orange-solid: var(--wui-orange-3);
|
|
1252
|
+
--wui-color-bg-surface-tertiary-orange: var(--wui-orange-alpha-5);
|
|
1253
|
+
--wui-color-bg-surface-tertiary-orange-solid: var(--wui-orange-5);
|
|
1156
1254
|
--wui-color-border-orange: var(--wui-orange-6);
|
|
1157
1255
|
--wui-color-border-hover-orange: var(--wui-orange-8);
|
|
1158
1256
|
--wui-color-border-active-orange: var(--wui-orange-9);
|
|
@@ -1172,13 +1270,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1172
1270
|
--wui-color-bg-fill-active-pink: var(--wui-pink-11);
|
|
1173
1271
|
--wui-color-bg-fill-hover-pink: var(--wui-pink-10);
|
|
1174
1272
|
--wui-color-bg-fill-pink: var(--wui-pink-9);
|
|
1175
|
-
--wui-color-bg-surface-active-pink: var(--wui-pink-4);
|
|
1176
|
-
--wui-color-bg-surface-hover-pink: var(--wui-pink-3);
|
|
1177
|
-
--wui-color-bg-surface-pink: var(--wui-pink-2);
|
|
1178
|
-
--wui-color-bg-surface-
|
|
1179
|
-
--wui-color-bg-surface-secondary-
|
|
1180
|
-
--wui-color-bg-surface-secondary-pink: var(--wui-pink-
|
|
1181
|
-
--wui-color-bg-surface-
|
|
1273
|
+
--wui-color-bg-surface-active-pink: var(--wui-pink-alpha-4);
|
|
1274
|
+
--wui-color-bg-surface-hover-pink: var(--wui-pink-alpha-3);
|
|
1275
|
+
--wui-color-bg-surface-pink: var(--wui-pink-alpha-2);
|
|
1276
|
+
--wui-color-bg-surface-pink-solid: var(--wui-pink-2);
|
|
1277
|
+
--wui-color-bg-surface-secondary-active-pink: var(--wui-pink-alpha-5);
|
|
1278
|
+
--wui-color-bg-surface-secondary-hover-pink: var(--wui-pink-alpha-4);
|
|
1279
|
+
--wui-color-bg-surface-secondary-pink: var(--wui-pink-alpha-3);
|
|
1280
|
+
--wui-color-bg-surface-secondary-pink-solid: var(--wui-pink-3);
|
|
1281
|
+
--wui-color-bg-surface-tertiary-pink: var(--wui-pink-alpha-5);
|
|
1282
|
+
--wui-color-bg-surface-tertiary-pink-solid: var(--wui-pink-5);
|
|
1182
1283
|
--wui-color-border-pink: var(--wui-pink-6);
|
|
1183
1284
|
--wui-color-border-hover-pink: var(--wui-pink-8);
|
|
1184
1285
|
--wui-color-border-active-pink: var(--wui-pink-9);
|
|
@@ -1198,13 +1299,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1198
1299
|
--wui-color-bg-fill-active-purple: var(--wui-purple-11);
|
|
1199
1300
|
--wui-color-bg-fill-hover-purple: var(--wui-purple-10);
|
|
1200
1301
|
--wui-color-bg-fill-purple: var(--wui-purple-9);
|
|
1201
|
-
--wui-color-bg-surface-active-purple: var(--wui-purple-4);
|
|
1202
|
-
--wui-color-bg-surface-hover-purple: var(--wui-purple-3);
|
|
1203
|
-
--wui-color-bg-surface-purple: var(--wui-purple-2);
|
|
1204
|
-
--wui-color-bg-surface-
|
|
1205
|
-
--wui-color-bg-surface-secondary-
|
|
1206
|
-
--wui-color-bg-surface-secondary-purple: var(--wui-purple-
|
|
1207
|
-
--wui-color-bg-surface-
|
|
1302
|
+
--wui-color-bg-surface-active-purple: var(--wui-purple-alpha-4);
|
|
1303
|
+
--wui-color-bg-surface-hover-purple: var(--wui-purple-alpha-3);
|
|
1304
|
+
--wui-color-bg-surface-purple: var(--wui-purple-alpha-2);
|
|
1305
|
+
--wui-color-bg-surface-purple-solid: var(--wui-purple-2);
|
|
1306
|
+
--wui-color-bg-surface-secondary-active-purple: var(--wui-purple-alpha-5);
|
|
1307
|
+
--wui-color-bg-surface-secondary-hover-purple: var(--wui-purple-alpha-4);
|
|
1308
|
+
--wui-color-bg-surface-secondary-purple: var(--wui-purple-alpha-3);
|
|
1309
|
+
--wui-color-bg-surface-secondary-purple-solid: var(--wui-purple-3);
|
|
1310
|
+
--wui-color-bg-surface-tertiary-purple: var(--wui-purple-alpha-5);
|
|
1311
|
+
--wui-color-bg-surface-tertiary-purple-solid: var(--wui-purple-5);
|
|
1208
1312
|
--wui-color-border-purple: var(--wui-purple-6);
|
|
1209
1313
|
--wui-color-border-hover-purple: var(--wui-purple-8);
|
|
1210
1314
|
--wui-color-border-active-purple: var(--wui-purple-9);
|
|
@@ -1224,13 +1328,16 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1224
1328
|
--wui-color-bg-fill-active-yellow: var(--wui-yellow-11);
|
|
1225
1329
|
--wui-color-bg-fill-hover-yellow: var(--wui-yellow-10);
|
|
1226
1330
|
--wui-color-bg-fill-yellow: var(--wui-yellow-9);
|
|
1227
|
-
--wui-color-bg-surface-active-yellow: var(--wui-yellow-4);
|
|
1228
|
-
--wui-color-bg-surface-hover-yellow: var(--wui-yellow-3);
|
|
1229
|
-
--wui-color-bg-surface-secondary-active-yellow: var(--wui-yellow-5);
|
|
1230
|
-
--wui-color-bg-surface-secondary-hover-yellow: var(--wui-yellow-4);
|
|
1231
|
-
--wui-color-bg-surface-secondary-yellow: var(--wui-yellow-3);
|
|
1232
|
-
--wui-color-bg-surface-
|
|
1233
|
-
--wui-color-bg-surface-yellow: var(--wui-yellow-
|
|
1331
|
+
--wui-color-bg-surface-active-yellow: var(--wui-yellow-alpha-4);
|
|
1332
|
+
--wui-color-bg-surface-hover-yellow: var(--wui-yellow-alpha-3);
|
|
1333
|
+
--wui-color-bg-surface-secondary-active-yellow: var(--wui-yellow-alpha-5);
|
|
1334
|
+
--wui-color-bg-surface-secondary-hover-yellow: var(--wui-yellow-alpha-4);
|
|
1335
|
+
--wui-color-bg-surface-secondary-yellow: var(--wui-yellow-alpha-3);
|
|
1336
|
+
--wui-color-bg-surface-secondary-yellow-solid: var(--wui-yellow-3);
|
|
1337
|
+
--wui-color-bg-surface-tertiary-yellow: var(--wui-yellow-alpha-5);
|
|
1338
|
+
--wui-color-bg-surface-tertiary-yellow-solid: var(--wui-yellow-5);
|
|
1339
|
+
--wui-color-bg-surface-yellow: var(--wui-yellow-alpha-2);
|
|
1340
|
+
--wui-color-bg-surface-yellow-solid: var(--wui-yellow-2);
|
|
1234
1341
|
--wui-color-border-yellow: var(--wui-yellow-6);
|
|
1235
1342
|
--wui-color-border-hover-yellow: var(--wui-yellow-8);
|
|
1236
1343
|
--wui-color-border-active-yellow: var(--wui-yellow-9);
|
|
@@ -1260,16 +1367,18 @@ var colorAliasTokens = import_styled_components3.css`
|
|
|
1260
1367
|
/* --- State --- */
|
|
1261
1368
|
|
|
1262
1369
|
/* Disabled */
|
|
1263
|
-
--wui-color-bg-surface-disabled: var(--wui-gray-3);
|
|
1370
|
+
--wui-color-bg-surface-disabled: var(--wui-gray-alpha-3);
|
|
1371
|
+
--wui-color-bg-surface-disabled-solid: var(--wui-gray-3);
|
|
1264
1372
|
--wui-color-border-disabled: var(--wui-gray-4);
|
|
1265
1373
|
--wui-color-icon-disabled: var(--wui-gray-8);
|
|
1266
1374
|
--wui-color-text-disabled: var(--wui-gray-10);
|
|
1267
1375
|
--wui-color-focus-ring-disabled: var(--wui-gray-6);
|
|
1268
1376
|
|
|
1269
1377
|
/* Selected */
|
|
1270
|
-
--wui-color-bg-surface-selected: var(--wui-blue-3);
|
|
1271
|
-
--wui-color-bg-surface-selected-
|
|
1272
|
-
--wui-color-bg-surface-selected-
|
|
1378
|
+
--wui-color-bg-surface-selected: var(--wui-blue-alpha-3);
|
|
1379
|
+
--wui-color-bg-surface-selected-solid: var(--wui-blue-3);
|
|
1380
|
+
--wui-color-bg-surface-selected-active: var(--wui-blue-alpha-5);
|
|
1381
|
+
--wui-color-bg-surface-selected-hover: var(--wui-blue-alpha-4);
|
|
1273
1382
|
--wui-color-icon-selected: var(--wui-blue-9);
|
|
1274
1383
|
--wui-color-text-selected: var(--wui-blue-9);
|
|
1275
1384
|
--wui-color-border-selected: var(--wui-blue-6);
|
|
@@ -2703,13 +2812,16 @@ Ellipsis.displayName = "Ellipsis";
|
|
|
2703
2812
|
// src/private/helpers/getColorScheme/getColorScheme.ts
|
|
2704
2813
|
var import_styled_components15 = require("styled-components");
|
|
2705
2814
|
var colorSchemeSchema = [
|
|
2706
|
-
{ token: "bg-surface", step: "
|
|
2707
|
-
{ token: "bg-surface-
|
|
2708
|
-
{ token: "bg-surface-
|
|
2709
|
-
{ token: "bg-surface-
|
|
2710
|
-
{ token: "bg-surface-secondary
|
|
2711
|
-
{ token: "bg-surface-secondary-
|
|
2712
|
-
{ token: "bg-surface-
|
|
2815
|
+
{ token: "bg-surface", step: "alpha-1" },
|
|
2816
|
+
{ token: "bg-surface-solid", step: "1" },
|
|
2817
|
+
{ token: "bg-surface-hover", step: "alpha-3" },
|
|
2818
|
+
{ token: "bg-surface-active", step: "alpha-4" },
|
|
2819
|
+
{ token: "bg-surface-secondary", step: "alpha-3" },
|
|
2820
|
+
{ token: "bg-surface-secondary-solid", step: "3" },
|
|
2821
|
+
{ token: "bg-surface-secondary-hover", step: "alpha-4" },
|
|
2822
|
+
{ token: "bg-surface-secondary-active", step: "alpha-5" },
|
|
2823
|
+
{ token: "bg-surface-tertiary", step: "alpha-5" },
|
|
2824
|
+
{ token: "bg-surface-tertiary-solid", step: "5" },
|
|
2713
2825
|
{ token: "bg-fill", step: "9" },
|
|
2714
2826
|
{ token: "bg-fill-hover", step: "10" },
|
|
2715
2827
|
{ token: "bg-fill-active", step: "11" },
|
|
@@ -2728,32 +2840,6 @@ var colorSchemeSchema = [
|
|
|
2728
2840
|
{ token: "icon-on-fill", step: "contrast" },
|
|
2729
2841
|
{ token: "focus-ring", step: "9" }
|
|
2730
2842
|
];
|
|
2731
|
-
var defaultScheme = import_styled_components15.css`
|
|
2732
|
-
--wui-color-bg-surface: var(--wui-gray-1);
|
|
2733
|
-
--wui-color-bg-surface-hover: var(--wui-gray-3);
|
|
2734
|
-
--wui-color-bg-surface-active: var(--wui-gray-4);
|
|
2735
|
-
--wui-color-bg-surface-secondary: var(--wui-gray-3);
|
|
2736
|
-
--wui-color-bg-surface-secondary-hover: var(--wui-gray-4);
|
|
2737
|
-
--wui-color-bg-surface-secondary-active: var(--wui-gray-5);
|
|
2738
|
-
--wui-color-bg-surface-tertiary: var(--wui-gray-5);
|
|
2739
|
-
--wui-color-bg-fill: var(--wui-blue-9);
|
|
2740
|
-
--wui-color-bg-fill-hover: var(--wui-blue-10);
|
|
2741
|
-
--wui-color-bg-fill-active: var(--wui-blue-11);
|
|
2742
|
-
--wui-color-text: var(--wui-gray-12);
|
|
2743
|
-
--wui-color-text-button: var(--wui-gray-12);
|
|
2744
|
-
--wui-color-text-link: var(--wui-blue-9);
|
|
2745
|
-
--wui-color-text-secondary: var(--wui-gray-11);
|
|
2746
|
-
--wui-color-text-on-fill: var(--wui-gray-contrast);
|
|
2747
|
-
--wui-color-border: var(--wui-gray-6);
|
|
2748
|
-
--wui-color-border-hover: var(--wui-gray-8);
|
|
2749
|
-
--wui-color-border-active: var(--wui-gray-9);
|
|
2750
|
-
--wui-color-border-secondary: var(--wui-gray-8);
|
|
2751
|
-
--wui-color-border-secondary-hover: var(--wui-gray-10);
|
|
2752
|
-
--wui-color-border-secondary-active: var(--wui-gray-11);
|
|
2753
|
-
--wui-color-icon: var(--wui-gray-11);
|
|
2754
|
-
--wui-color-icon-on-fill: var(--wui-gray-contrast);
|
|
2755
|
-
--wui-color-focus-ring: var(--wui-blue-9);
|
|
2756
|
-
`;
|
|
2757
2843
|
var navScheme = import_styled_components15.css`
|
|
2758
2844
|
--wui-color-bg-app: #1e3399;
|
|
2759
2845
|
|
|
@@ -2813,7 +2899,7 @@ var getColorScheme = (colorScheme) => {
|
|
|
2813
2899
|
return null;
|
|
2814
2900
|
}
|
|
2815
2901
|
if (colorScheme === "default") {
|
|
2816
|
-
return
|
|
2902
|
+
return defaultColorAliasTokens;
|
|
2817
2903
|
}
|
|
2818
2904
|
return import_styled_components15.css`
|
|
2819
2905
|
${colorSchemeSchema.map(({ token, step }) => {
|
|
@@ -2858,7 +2944,7 @@ var StyledToast = import_styled_components16.default.div`
|
|
|
2858
2944
|
min-height: 56px;
|
|
2859
2945
|
width: 356px;
|
|
2860
2946
|
border-radius: var(--wui-border-radius-01);
|
|
2861
|
-
background-color: var(--wui-color-bg-surface);
|
|
2947
|
+
background-color: var(--wui-color-bg-surface-solid);
|
|
2862
2948
|
border: 1px solid var(--wui-color-border);
|
|
2863
2949
|
color: var(--wui-color-text);
|
|
2864
2950
|
padding-top: var(--wui-space-02);
|
|
@@ -8133,15 +8219,15 @@ var StyledCard = (0, import_styled_components31.default)(Box)`
|
|
|
8133
8219
|
`;
|
|
8134
8220
|
var prominenceMap = {
|
|
8135
8221
|
default: {
|
|
8136
|
-
backgroundColor: "var(--wui-color-bg-surface)",
|
|
8222
|
+
backgroundColor: "var(--wui-color-bg-surface-solid)",
|
|
8137
8223
|
borderColor: "var(--wui-color-border)"
|
|
8138
8224
|
},
|
|
8139
8225
|
secondary: {
|
|
8140
|
-
backgroundColor: "var(--wui-color-bg-surface-secondary)",
|
|
8226
|
+
backgroundColor: "var(--wui-color-bg-surface-secondary-solid)",
|
|
8141
8227
|
borderColor: "var(--wui-color-border-secondary)"
|
|
8142
8228
|
},
|
|
8143
8229
|
tertiary: {
|
|
8144
|
-
backgroundColor: "var(--wui-color-bg-surface-tertiary)",
|
|
8230
|
+
backgroundColor: "var(--wui-color-bg-surface-tertiary-solid)",
|
|
8145
8231
|
borderColor: "var(--wui-color-border-secondary)"
|
|
8146
8232
|
}
|
|
8147
8233
|
};
|
|
@@ -8402,7 +8488,7 @@ var StyledCheckboxInput = import_styled_components36.default.div`
|
|
|
8402
8488
|
border-width: 1px;
|
|
8403
8489
|
border-style: solid;
|
|
8404
8490
|
border-color: ${({ $disabled }) => $disabled ? "var(--wui-color-border-disabled)" : "var(--wui-color-border)"};
|
|
8405
|
-
background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-surface)"};
|
|
8491
|
+
background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-surface-solid)"};
|
|
8406
8492
|
|
|
8407
8493
|
/* checkmark icon */
|
|
8408
8494
|
svg {
|
|
@@ -9299,7 +9385,7 @@ var import_type_guards31 = require("@wistia/type-guards");
|
|
|
9299
9385
|
var import_styled_components46 = require("styled-components");
|
|
9300
9386
|
var inputCssVariables = import_styled_components46.css`
|
|
9301
9387
|
/* Colors */
|
|
9302
|
-
--wui-input-color-bg: var(--wui-color-bg-surface);
|
|
9388
|
+
--wui-input-color-bg: var(--wui-color-bg-surface-solid);
|
|
9303
9389
|
--wui-input-color-bg-disabled: var(--wui-color-bg-surface-disabled);
|
|
9304
9390
|
--wui-input-color-border: var(--wui-color-border-secondary);
|
|
9305
9391
|
--wui-input-color-border-focus: var(--wui-color-focus-ring);
|
|
@@ -10236,7 +10322,7 @@ var StyledKeyboardShortcut = import_styled_components56.default.div`
|
|
|
10236
10322
|
`;
|
|
10237
10323
|
var StyledKey = import_styled_components56.default.kbd`
|
|
10238
10324
|
align-items: center;
|
|
10239
|
-
background: var(--wui-color-bg-surface-secondary);
|
|
10325
|
+
background: var(--wui-color-bg-surface-secondary-solid);
|
|
10240
10326
|
border-bottom: 1px solid var(--wui-color-border-secondary);
|
|
10241
10327
|
border-radius: 4px;
|
|
10242
10328
|
color: var(--wui-color-text);
|
|
@@ -10390,7 +10476,7 @@ var compactMenuItemCss = import_styled_components57.css`
|
|
|
10390
10476
|
`;
|
|
10391
10477
|
var menuContentCss = import_styled_components57.css`
|
|
10392
10478
|
--menu-font-family: var(--wui-typography-family-default);
|
|
10393
|
-
--menu-bg: var(--wui-color-bg-surface);
|
|
10479
|
+
--menu-bg: var(--wui-color-bg-surface-solid);
|
|
10394
10480
|
--menu-shadow: var(--wui-elevation-01);
|
|
10395
10481
|
--menu-border-radius: var(--wui-border-radius-02);
|
|
10396
10482
|
--menu-padding: var(--wui-space-02);
|
|
@@ -11293,7 +11379,7 @@ var StyledContent2 = (0, import_styled_components68.default)(import_react_popove
|
|
|
11293
11379
|
padding: var(--wui-space-04);
|
|
11294
11380
|
max-width: var(--wui-popover-max-width, 320px);
|
|
11295
11381
|
max-height: var(--wui-popover-max-height, auto);
|
|
11296
|
-
background-color: var(--wui-color-bg-surface);
|
|
11382
|
+
background-color: var(--wui-color-bg-surface-solid);
|
|
11297
11383
|
box-shadow: var(--wui-elevation-01);
|
|
11298
11384
|
border: 1px solid var(--wui-color-border);
|
|
11299
11385
|
overflow: auto;
|
|
@@ -11512,7 +11598,7 @@ var StyledRadioInput = import_styled_components70.default.div`
|
|
|
11512
11598
|
border-width: 1px;
|
|
11513
11599
|
border-style: solid;
|
|
11514
11600
|
border-color: ${({ $disabled }) => $disabled ? "var(--wui-color-border-disabled)" : "var(--wui-color-border)"};
|
|
11515
|
-
background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-surface)"};
|
|
11601
|
+
background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-surface-solid)"};
|
|
11516
11602
|
|
|
11517
11603
|
/* radio button circle icon */
|
|
11518
11604
|
svg {
|
|
@@ -11906,7 +11992,7 @@ var StyledTrigger = (0, import_styled_components74.default)(import_react_select.
|
|
|
11906
11992
|
`;
|
|
11907
11993
|
var StyledContent3 = (0, import_styled_components74.default)(import_react_select.Content)`
|
|
11908
11994
|
--wui-select-content-border: var(--wui-color-border);
|
|
11909
|
-
--wui-select-content-bg: var(--wui-color-bg-surface);
|
|
11995
|
+
--wui-select-content-bg: var(--wui-color-bg-surface-solid);
|
|
11910
11996
|
--wui-select-content-border-radius: var(--wui-border-radius-02);
|
|
11911
11997
|
--wui-select-option-padding: var(--wui-space-02);
|
|
11912
11998
|
--wui-select-option-inner-gap: var(--wui-space-03);
|
|
@@ -12809,8 +12895,8 @@ ThumbnailBadge.displayName = "ThumbnailBadge";
|
|
|
12809
12895
|
|
|
12810
12896
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
12811
12897
|
var import_react71 = require("react");
|
|
12812
|
-
var
|
|
12813
|
-
var
|
|
12898
|
+
var import_styled_components92 = __toESM(require("styled-components"));
|
|
12899
|
+
var import_type_guards55 = require("@wistia/type-guards");
|
|
12814
12900
|
|
|
12815
12901
|
// src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
|
|
12816
12902
|
var import_type_guards54 = require("@wistia/type-guards");
|
|
@@ -12945,17 +13031,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
|
|
|
12945
13031
|
};
|
|
12946
13032
|
|
|
12947
13033
|
// src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
|
|
12948
|
-
var import_styled_components92 = __toESM(require("styled-components"));
|
|
12949
|
-
var import_type_guards55 = require("@wistia/type-guards");
|
|
12950
13034
|
var import_jsx_runtime272 = require("react/jsx-runtime");
|
|
12951
|
-
var ScrubLine = import_styled_components92.default.div`
|
|
12952
|
-
position: absolute;
|
|
12953
|
-
top: 0;
|
|
12954
|
-
height: 100%;
|
|
12955
|
-
width: 2px;
|
|
12956
|
-
background-color: var(--wui-color-bg-surface-selected-active);
|
|
12957
|
-
z-index: 1;
|
|
12958
|
-
`;
|
|
12959
13035
|
var getScaledDimensions = (originalAspectRatio, targetAspectRatio, viewerWidth, viewerHeight) => {
|
|
12960
13036
|
let scaledHeight = viewerHeight;
|
|
12961
13037
|
let scaledWidth = viewerWidth;
|
|
@@ -12995,7 +13071,7 @@ var ThumbnailStoryboardViewer = ({
|
|
|
12995
13071
|
targetAspectRatio,
|
|
12996
13072
|
scaleFactor = 1,
|
|
12997
13073
|
framesPerRow = 10,
|
|
12998
|
-
|
|
13074
|
+
shouldLoadStoryboard = true,
|
|
12999
13075
|
...props
|
|
13000
13076
|
}) => {
|
|
13001
13077
|
const originalAspectRatio = frameWidth / frameHeight;
|
|
@@ -13031,9 +13107,7 @@ var ThumbnailStoryboardViewer = ({
|
|
|
13031
13107
|
storyboardHeight * scaleFactorFromAspectRatioFit * scaleFactor
|
|
13032
13108
|
);
|
|
13033
13109
|
const backgroundSize = `${scaledStoryboardWidth}px ${scaledStoryboardHeight}px`;
|
|
13034
|
-
const backgroundImage = `url(${storyboardUrl})
|
|
13035
|
-
const showScrubLine = (0, import_type_guards55.isNotNil)(cursorPosition);
|
|
13036
|
-
const scrubLinePosition = (0, import_type_guards55.isNotNil)(cursorPosition) ? `${cursorPosition - 1}px` : "0";
|
|
13110
|
+
const backgroundImage = shouldLoadStoryboard ? `url(${storyboardUrl})` : "";
|
|
13037
13111
|
const viewerStyles = {
|
|
13038
13112
|
position: "relative",
|
|
13039
13113
|
overflow: "hidden",
|
|
@@ -13050,34 +13124,24 @@ var ThumbnailStoryboardViewer = ({
|
|
|
13050
13124
|
backgroundPosition,
|
|
13051
13125
|
backgroundSize
|
|
13052
13126
|
};
|
|
13053
|
-
return /* @__PURE__ */ (0, import_jsx_runtime272.
|
|
13127
|
+
return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
|
|
13054
13128
|
"div",
|
|
13055
13129
|
{
|
|
13056
13130
|
...props,
|
|
13057
13131
|
style: viewerStyles,
|
|
13058
|
-
children:
|
|
13059
|
-
/* @__PURE__ */ (0, import_jsx_runtime272.jsx)("div", { style: storyboardStyles }),
|
|
13060
|
-
showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
|
|
13061
|
-
ScrubLine,
|
|
13062
|
-
{
|
|
13063
|
-
style: {
|
|
13064
|
-
left: scrubLinePosition
|
|
13065
|
-
}
|
|
13066
|
-
}
|
|
13067
|
-
) : null
|
|
13068
|
-
]
|
|
13132
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)("div", { style: storyboardStyles })
|
|
13069
13133
|
}
|
|
13070
13134
|
);
|
|
13071
13135
|
};
|
|
13072
13136
|
|
|
13073
13137
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
13074
13138
|
var import_jsx_runtime273 = require("react/jsx-runtime");
|
|
13075
|
-
var WideThumbnailImage =
|
|
13139
|
+
var WideThumbnailImage = import_styled_components92.default.img`
|
|
13076
13140
|
height: 100%;
|
|
13077
13141
|
object-fit: cover;
|
|
13078
13142
|
width: 100%;
|
|
13079
13143
|
`;
|
|
13080
|
-
var SquareThumbnailImage =
|
|
13144
|
+
var SquareThumbnailImage = import_styled_components92.default.img`
|
|
13081
13145
|
backdrop-filter: blur(8px);
|
|
13082
13146
|
object-fit: contain;
|
|
13083
13147
|
width: 100%;
|
|
@@ -13088,6 +13152,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
|
|
|
13088
13152
|
WideThumbnailImage,
|
|
13089
13153
|
{
|
|
13090
13154
|
alt: "",
|
|
13155
|
+
role: "img",
|
|
13091
13156
|
src: thumbnailUrl
|
|
13092
13157
|
}
|
|
13093
13158
|
);
|
|
@@ -13096,15 +13161,16 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
|
|
|
13096
13161
|
SquareThumbnailImage,
|
|
13097
13162
|
{
|
|
13098
13163
|
alt: "",
|
|
13164
|
+
role: "img",
|
|
13099
13165
|
src: thumbnailUrl
|
|
13100
13166
|
}
|
|
13101
13167
|
);
|
|
13102
13168
|
};
|
|
13103
|
-
var StyledThumbnail =
|
|
13104
|
-
background-image: ${({ $backgroundUrl }) => (0,
|
|
13169
|
+
var StyledThumbnail = import_styled_components92.default.div`
|
|
13170
|
+
background-image: ${({ $backgroundUrl }) => (0, import_type_guards55.isNotNil)($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
|
|
13105
13171
|
${({ $backgroundUrl, $gradientBackground }) => (
|
|
13106
13172
|
// if we don't have $backgroundUrl show a gradient
|
|
13107
|
-
(0,
|
|
13173
|
+
(0, import_type_guards55.isNil)($backgroundUrl) ? getBackgroundGradient($gradientBackground) : void 0
|
|
13108
13174
|
)};
|
|
13109
13175
|
background-position: center center;
|
|
13110
13176
|
background-size: cover;
|
|
@@ -13113,7 +13179,7 @@ var StyledThumbnail = import_styled_components93.default.div`
|
|
|
13113
13179
|
overflow: hidden;
|
|
13114
13180
|
position: relative;
|
|
13115
13181
|
width: ${({ $width }) => $width};
|
|
13116
|
-
${({ $isScrubbable }) => $isScrubbable && "cursor:
|
|
13182
|
+
${({ $isScrubbable }) => $isScrubbable && "cursor: ew-resize;"}
|
|
13117
13183
|
|
|
13118
13184
|
&,
|
|
13119
13185
|
img {
|
|
@@ -13144,12 +13210,11 @@ var Thumbnail = (0, import_react71.forwardRef)(
|
|
|
13144
13210
|
const [isMouseOver, setIsMouseOver] = (0, import_react71.useState)(false);
|
|
13145
13211
|
const [isStoryboardReady, setIsStoryboardReady] = (0, import_react71.useState)(false);
|
|
13146
13212
|
const storyboardElementRef = (0, import_react71.useRef)(null);
|
|
13147
|
-
const [cursorPosition, setCursorPosition] = (0, import_react71.useState)(null);
|
|
13148
13213
|
const backgroundUrl = (0, import_react71.useMemo)(
|
|
13149
|
-
() => thumbnailImageType === "square" && (0,
|
|
13214
|
+
() => thumbnailImageType === "square" && (0, import_type_guards55.isNotNil)(thumbnailUrl) ? thumbnailUrl : void 0,
|
|
13150
13215
|
[thumbnailImageType, thumbnailUrl]
|
|
13151
13216
|
);
|
|
13152
|
-
const isScrubbable = (0,
|
|
13217
|
+
const isScrubbable = (0, import_type_guards55.isNotNil)(storyboard);
|
|
13153
13218
|
const trackStoryboardLoadStatus = (0, import_react71.useCallback)(() => {
|
|
13154
13219
|
if (storyboardElementRef.current || !storyboard) {
|
|
13155
13220
|
return storyboardElementRef.current;
|
|
@@ -13168,7 +13233,6 @@ var Thumbnail = (0, import_react71.forwardRef)(
|
|
|
13168
13233
|
const newPercent = relMousePos.left / elem.clientWidth;
|
|
13169
13234
|
trackStoryboardLoadStatus();
|
|
13170
13235
|
setPercent(newPercent);
|
|
13171
|
-
setCursorPosition(relMousePos.left);
|
|
13172
13236
|
setIsMouseOver(true);
|
|
13173
13237
|
},
|
|
13174
13238
|
[isScrubbable, trackStoryboardLoadStatus]
|
|
@@ -13176,13 +13240,12 @@ var Thumbnail = (0, import_react71.forwardRef)(
|
|
|
13176
13240
|
const handleMouseOut = (0, import_react71.useCallback)(() => {
|
|
13177
13241
|
if (!isScrubbable) return;
|
|
13178
13242
|
setIsMouseOver(false);
|
|
13179
|
-
setCursorPosition(null);
|
|
13180
13243
|
}, [isScrubbable]);
|
|
13181
13244
|
const shouldRenderStoryboard = (0, import_react71.useMemo)(() => {
|
|
13182
13245
|
return Boolean(isScrubbable && isMouseOver && isStoryboardReady);
|
|
13183
13246
|
}, [isScrubbable, isMouseOver, isStoryboardReady]);
|
|
13184
13247
|
const renderStoryboard = (0, import_react71.useCallback)(() => {
|
|
13185
|
-
if (!storyboard || (0,
|
|
13248
|
+
if (!storyboard || (0, import_type_guards55.isUndefined)(height) || (0, import_type_guards55.isEmptyString)(height)) return null;
|
|
13186
13249
|
const {
|
|
13187
13250
|
url,
|
|
13188
13251
|
width: sbWidth,
|
|
@@ -13192,12 +13255,10 @@ var Thumbnail = (0, import_react71.forwardRef)(
|
|
|
13192
13255
|
frameCount,
|
|
13193
13256
|
aspectRatio
|
|
13194
13257
|
} = storyboard;
|
|
13195
|
-
const targetWidth = (0,
|
|
13196
|
-
const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
|
|
13258
|
+
const targetWidth = (0, import_type_guards55.isString)(width) ? parseInt(width, 10) : Number(width);
|
|
13197
13259
|
return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
|
|
13198
13260
|
ThumbnailStoryboardViewer,
|
|
13199
13261
|
{
|
|
13200
|
-
cursorPosition: effectiveCursorPosition,
|
|
13201
13262
|
frameCount,
|
|
13202
13263
|
frameHeight,
|
|
13203
13264
|
frameWidth,
|
|
@@ -13209,11 +13270,11 @@ var Thumbnail = (0, import_react71.forwardRef)(
|
|
|
13209
13270
|
targetWidth
|
|
13210
13271
|
}
|
|
13211
13272
|
);
|
|
13212
|
-
}, [storyboard, percent, width, height
|
|
13273
|
+
}, [storyboard, percent, width, height]);
|
|
13213
13274
|
let thumbnailContent = null;
|
|
13214
13275
|
if (shouldRenderStoryboard) {
|
|
13215
13276
|
thumbnailContent = renderStoryboard();
|
|
13216
|
-
} else if ((0,
|
|
13277
|
+
} else if ((0, import_type_guards55.isNotNil)(thumbnailUrl)) {
|
|
13217
13278
|
thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
|
|
13218
13279
|
ThumbnailImage,
|
|
13219
13280
|
{
|
|
@@ -13238,7 +13299,7 @@ var Thumbnail = (0, import_react71.forwardRef)(
|
|
|
13238
13299
|
onMouseOut: handleMouseOut,
|
|
13239
13300
|
role: "presentation",
|
|
13240
13301
|
children: [
|
|
13241
|
-
(0,
|
|
13302
|
+
(0, import_type_guards55.isNotNil)(children) ? children : null,
|
|
13242
13303
|
thumbnailContent
|
|
13243
13304
|
]
|
|
13244
13305
|
}
|
|
@@ -13249,13 +13310,13 @@ Thumbnail.displayName = "Thumbnail";
|
|
|
13249
13310
|
|
|
13250
13311
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
13251
13312
|
var import_react72 = __toESM(require("react"));
|
|
13252
|
-
var
|
|
13253
|
-
var
|
|
13313
|
+
var import_styled_components93 = __toESM(require("styled-components"));
|
|
13314
|
+
var import_type_guards56 = require("@wistia/type-guards");
|
|
13254
13315
|
var import_jsx_runtime274 = (
|
|
13255
13316
|
// ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
|
|
13256
13317
|
require("react/jsx-runtime")
|
|
13257
13318
|
);
|
|
13258
|
-
var StyledThumbnailCollage =
|
|
13319
|
+
var StyledThumbnailCollage = import_styled_components93.default.div`
|
|
13259
13320
|
display: grid;
|
|
13260
13321
|
gap: var(--wui-space-01);
|
|
13261
13322
|
width: 100%;
|
|
@@ -13330,7 +13391,7 @@ var ThumbnailCollage = ({
|
|
|
13330
13391
|
}) => {
|
|
13331
13392
|
const thumbnailArray = import_react72.default.Children.toArray(children);
|
|
13332
13393
|
const truncatedThumbnails = thumbnailArray.slice(0, 3);
|
|
13333
|
-
const thumbnails = (0,
|
|
13394
|
+
const thumbnails = (0, import_type_guards56.isNonEmptyArray)(thumbnailArray) ? truncatedThumbnails.map((child) => {
|
|
13334
13395
|
return import_react72.default.cloneElement(child, {
|
|
13335
13396
|
...child.props,
|
|
13336
13397
|
children: void 0
|
|
@@ -13357,8 +13418,8 @@ var ThumbnailCollage = ({
|
|
|
13357
13418
|
};
|
|
13358
13419
|
|
|
13359
13420
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
13360
|
-
var
|
|
13361
|
-
var
|
|
13421
|
+
var import_styled_components94 = __toESM(require("styled-components"));
|
|
13422
|
+
var import_type_guards57 = require("@wistia/type-guards");
|
|
13362
13423
|
var import_jsx_runtime275 = require("react/jsx-runtime");
|
|
13363
13424
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
13364
13425
|
if (iconOnly) {
|
|
@@ -13399,7 +13460,7 @@ var computedViewBox = (iconOnly) => {
|
|
|
13399
13460
|
}
|
|
13400
13461
|
return "0 0 144 31.47";
|
|
13401
13462
|
};
|
|
13402
|
-
var WistiaLogoComponent =
|
|
13463
|
+
var WistiaLogoComponent = import_styled_components94.default.svg`
|
|
13403
13464
|
height: ${({ height }) => `${height}px`};
|
|
13404
13465
|
|
|
13405
13466
|
/* ensure it will always fit on mobile */
|
|
@@ -13415,12 +13476,12 @@ var WistiaLogoComponent = import_styled_components95.default.svg`
|
|
|
13415
13476
|
${({ $opticallyCentered, $iconOnly }) => {
|
|
13416
13477
|
if ($opticallyCentered) {
|
|
13417
13478
|
if ($iconOnly) {
|
|
13418
|
-
return
|
|
13479
|
+
return import_styled_components94.css`
|
|
13419
13480
|
aspect-ratio: 1;
|
|
13420
13481
|
padding: 11.85% 3.12% 13.91%;
|
|
13421
13482
|
`;
|
|
13422
13483
|
}
|
|
13423
|
-
return
|
|
13484
|
+
return import_styled_components94.css`
|
|
13424
13485
|
aspect-ratio: 127 / 32;
|
|
13425
13486
|
`;
|
|
13426
13487
|
}
|
|
@@ -13471,7 +13532,7 @@ var WistiaLogo = ({
|
|
|
13471
13532
|
...props,
|
|
13472
13533
|
children: [
|
|
13473
13534
|
/* @__PURE__ */ (0, import_jsx_runtime275.jsx)("title", { children: title }),
|
|
13474
|
-
(0,
|
|
13535
|
+
(0, import_type_guards57.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime275.jsx)("desc", { children: description }) : null,
|
|
13475
13536
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
13476
13537
|
renderLogotype(logotypeColor, iconOnly)
|
|
13477
13538
|
]
|
|
@@ -13482,18 +13543,18 @@ var WistiaLogo = ({
|
|
|
13482
13543
|
WistiaLogo.displayName = "WistiaLogo";
|
|
13483
13544
|
|
|
13484
13545
|
// src/components/List/List.tsx
|
|
13485
|
-
var
|
|
13486
|
-
var
|
|
13546
|
+
var import_type_guards59 = require("@wistia/type-guards");
|
|
13547
|
+
var import_styled_components96 = __toESM(require("styled-components"));
|
|
13487
13548
|
|
|
13488
13549
|
// src/components/List/ListItem.tsx
|
|
13489
|
-
var
|
|
13490
|
-
var
|
|
13550
|
+
var import_styled_components95 = __toESM(require("styled-components"));
|
|
13551
|
+
var import_type_guards58 = require("@wistia/type-guards");
|
|
13491
13552
|
var import_jsx_runtime276 = require("react/jsx-runtime");
|
|
13492
|
-
var ListItemComponent =
|
|
13553
|
+
var ListItemComponent = import_styled_components95.default.li`
|
|
13493
13554
|
margin-bottom: var(--wui-space-02);
|
|
13494
13555
|
`;
|
|
13495
13556
|
var ListItem = ({ children }) => {
|
|
13496
|
-
if ((0,
|
|
13557
|
+
if ((0, import_type_guards58.isNil)(children)) {
|
|
13497
13558
|
return null;
|
|
13498
13559
|
}
|
|
13499
13560
|
return /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(ListItemComponent, { children });
|
|
@@ -13502,7 +13563,7 @@ ListItem.displayName = "ListItem";
|
|
|
13502
13563
|
|
|
13503
13564
|
// src/components/List/List.tsx
|
|
13504
13565
|
var import_jsx_runtime277 = require("react/jsx-runtime");
|
|
13505
|
-
var spacesStyle =
|
|
13566
|
+
var spacesStyle = import_styled_components96.css`
|
|
13506
13567
|
overflow: hidden;
|
|
13507
13568
|
padding-left: 0;
|
|
13508
13569
|
vertical-align: bottom;
|
|
@@ -13524,7 +13585,7 @@ var spacesStyle = import_styled_components97.css`
|
|
|
13524
13585
|
}
|
|
13525
13586
|
}
|
|
13526
13587
|
`;
|
|
13527
|
-
var commasStyle =
|
|
13588
|
+
var commasStyle = import_styled_components96.css`
|
|
13528
13589
|
${spacesStyle};
|
|
13529
13590
|
|
|
13530
13591
|
li {
|
|
@@ -13534,7 +13595,7 @@ var commasStyle = import_styled_components97.css`
|
|
|
13534
13595
|
}
|
|
13535
13596
|
}
|
|
13536
13597
|
`;
|
|
13537
|
-
var slashesStyle =
|
|
13598
|
+
var slashesStyle = import_styled_components96.css`
|
|
13538
13599
|
${spacesStyle};
|
|
13539
13600
|
|
|
13540
13601
|
li {
|
|
@@ -13545,7 +13606,7 @@ var slashesStyle = import_styled_components97.css`
|
|
|
13545
13606
|
}
|
|
13546
13607
|
}
|
|
13547
13608
|
`;
|
|
13548
|
-
var breadcrumbsStyle =
|
|
13609
|
+
var breadcrumbsStyle = import_styled_components96.css`
|
|
13549
13610
|
${spacesStyle};
|
|
13550
13611
|
|
|
13551
13612
|
li {
|
|
@@ -13556,11 +13617,11 @@ var breadcrumbsStyle = import_styled_components97.css`
|
|
|
13556
13617
|
}
|
|
13557
13618
|
}
|
|
13558
13619
|
`;
|
|
13559
|
-
var unbulletedStyle =
|
|
13620
|
+
var unbulletedStyle = import_styled_components96.css`
|
|
13560
13621
|
list-style: none;
|
|
13561
13622
|
padding-left: 0;
|
|
13562
13623
|
`;
|
|
13563
|
-
var ListComponent =
|
|
13624
|
+
var ListComponent = import_styled_components96.default.ul`
|
|
13564
13625
|
list-style-position: outside;
|
|
13565
13626
|
margin: 0 0 var(--wui-space-01);
|
|
13566
13627
|
padding: 0 0 0 var(--wui-space-04);
|
|
@@ -13623,13 +13684,13 @@ var List = ({
|
|
|
13623
13684
|
...otherProps
|
|
13624
13685
|
}) => {
|
|
13625
13686
|
const listVariant = variant ?? "bullets";
|
|
13626
|
-
if ((0,
|
|
13687
|
+
if ((0, import_type_guards59.isNotNil)(children)) {
|
|
13627
13688
|
if (Array.isArray(children) && !children.length) {
|
|
13628
13689
|
return null;
|
|
13629
13690
|
}
|
|
13630
13691
|
return renderListComponent(children, listVariant, otherProps);
|
|
13631
13692
|
}
|
|
13632
|
-
if ((0,
|
|
13693
|
+
if ((0, import_type_guards59.isNotNil)(items)) {
|
|
13633
13694
|
if (!items.length) {
|
|
13634
13695
|
return null;
|
|
13635
13696
|
}
|