cetec-design-system 1.1.0 → 1.2.0
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/{cetec-preset-BCioTXu9.js → cetec-preset-kUkA_FyU.js} +160 -169
- package/dist/cetec-preset-kUkA_FyU.js.map +1 -0
- package/dist/index.js +868 -806
- package/dist/index.js.map +1 -1
- package/dist/panda.buildinfo.json +135 -6
- package/dist/preset.js +1 -1
- package/dist/specs/conditions.json +53 -53
- package/dist/specs/recipes.json +322 -267
- package/dist/styles.css +8192 -7522
- package/dist/types/index.d.ts +60 -55
- package/package.json +1 -1
- package/src/recipes/icon.ts +17 -6
- package/src/recipes/{index.ts → recipes-regular.ts} +0 -16
- package/src/recipes/recipes-slot.ts +14 -0
- package/src/recipes/textInput.ts +22 -0
- package/src/styles/utilities/conditions.ts +57 -53
- package/dist/cetec-preset-BCioTXu9.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { forwardRef, useMemo, createElement, createContext, useContext, useLayoutEffect, useState, useRef, useId as useId$1, useEffect, Children, isValidElement, cloneElement, useReducer, useSyncExternalStore, useCallback } from "react";
|
|
3
3
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
4
4
|
import * as ReactDOM from "react-dom";
|
|
5
|
-
import { b as breakpoints, c as containerSizes } from "./cetec-preset-
|
|
6
|
-
import { a } from "./cetec-preset-
|
|
5
|
+
import { b as breakpoints, c as containerSizes } from "./cetec-preset-kUkA_FyU.js";
|
|
6
|
+
import { a } from "./cetec-preset-kUkA_FyU.js";
|
|
7
7
|
function isObject(value) {
|
|
8
8
|
return typeof value === "object" && value != null && !Array.isArray(value);
|
|
9
9
|
}
|
|
@@ -709,8 +709,81 @@ const heading = /* @__PURE__ */ Object.assign(memo(headingFn.recipeFn), {
|
|
|
709
709
|
},
|
|
710
710
|
getVariantProps: headingFn.getVariantProps
|
|
711
711
|
});
|
|
712
|
-
const
|
|
713
|
-
const
|
|
712
|
+
const highlightTextFn = /* @__PURE__ */ createRecipe("highlightText", {}, []);
|
|
713
|
+
const highlightTextVariantMap = {};
|
|
714
|
+
const highlightTextVariantKeys = Object.keys(highlightTextVariantMap);
|
|
715
|
+
const highlightText = /* @__PURE__ */ Object.assign(memo(highlightTextFn.recipeFn), {
|
|
716
|
+
__recipe__: true,
|
|
717
|
+
__name__: "highlightText",
|
|
718
|
+
__getCompoundVariantCss__: highlightTextFn.__getCompoundVariantCss__,
|
|
719
|
+
raw: (props) => props,
|
|
720
|
+
variantKeys: highlightTextVariantKeys,
|
|
721
|
+
variantMap: highlightTextVariantMap,
|
|
722
|
+
merge(recipe) {
|
|
723
|
+
return mergeRecipes(this, recipe);
|
|
724
|
+
},
|
|
725
|
+
splitVariantProps(props) {
|
|
726
|
+
return splitProps$1(props, highlightTextVariantKeys);
|
|
727
|
+
},
|
|
728
|
+
getVariantProps: highlightTextFn.getVariantProps
|
|
729
|
+
});
|
|
730
|
+
const iconFn = /* @__PURE__ */ createRecipe("icon", {
|
|
731
|
+
"size": "24"
|
|
732
|
+
}, []);
|
|
733
|
+
const iconVariantMap = {
|
|
734
|
+
"size": [
|
|
735
|
+
"0",
|
|
736
|
+
"1",
|
|
737
|
+
"2",
|
|
738
|
+
"3",
|
|
739
|
+
"4",
|
|
740
|
+
"5",
|
|
741
|
+
"6",
|
|
742
|
+
"7",
|
|
743
|
+
"8",
|
|
744
|
+
"9",
|
|
745
|
+
"10",
|
|
746
|
+
"12",
|
|
747
|
+
"14",
|
|
748
|
+
"16",
|
|
749
|
+
"20",
|
|
750
|
+
"22",
|
|
751
|
+
"24",
|
|
752
|
+
"28",
|
|
753
|
+
"32",
|
|
754
|
+
"40",
|
|
755
|
+
"48",
|
|
756
|
+
"56",
|
|
757
|
+
"64",
|
|
758
|
+
"72",
|
|
759
|
+
"80",
|
|
760
|
+
"88",
|
|
761
|
+
"96",
|
|
762
|
+
"104",
|
|
763
|
+
"112",
|
|
764
|
+
"120",
|
|
765
|
+
"128",
|
|
766
|
+
"136",
|
|
767
|
+
"144",
|
|
768
|
+
"152",
|
|
769
|
+
"160",
|
|
770
|
+
"168",
|
|
771
|
+
"176",
|
|
772
|
+
"184",
|
|
773
|
+
"192",
|
|
774
|
+
"200",
|
|
775
|
+
"208",
|
|
776
|
+
"216",
|
|
777
|
+
"224",
|
|
778
|
+
"232",
|
|
779
|
+
"240",
|
|
780
|
+
"248",
|
|
781
|
+
"256",
|
|
782
|
+
"264",
|
|
783
|
+
"272",
|
|
784
|
+
"280"
|
|
785
|
+
]
|
|
786
|
+
};
|
|
714
787
|
const iconVariantKeys = Object.keys(iconVariantMap);
|
|
715
788
|
const icon = /* @__PURE__ */ Object.assign(memo(iconFn.recipeFn), {
|
|
716
789
|
__recipe__: true,
|
|
@@ -859,201 +932,474 @@ const link = /* @__PURE__ */ Object.assign(memo(linkFn.recipeFn), {
|
|
|
859
932
|
},
|
|
860
933
|
getVariantProps: linkFn.getVariantProps
|
|
861
934
|
});
|
|
862
|
-
const
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
const
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
935
|
+
const listItemGroupDefaultVariants = {
|
|
936
|
+
"density": "compact"
|
|
937
|
+
};
|
|
938
|
+
const listItemGroupCompoundVariants = [];
|
|
939
|
+
const listItemGroupSlotNames = [
|
|
940
|
+
[
|
|
941
|
+
"wrapper",
|
|
942
|
+
"listItemGroup__wrapper"
|
|
943
|
+
],
|
|
944
|
+
[
|
|
945
|
+
"groupLabel",
|
|
946
|
+
"listItemGroup__groupLabel"
|
|
947
|
+
],
|
|
948
|
+
[
|
|
949
|
+
"divider",
|
|
950
|
+
"listItemGroup__divider"
|
|
951
|
+
]
|
|
952
|
+
];
|
|
953
|
+
const listItemGroupSlotFns = /* @__PURE__ */ listItemGroupSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, listItemGroupDefaultVariants, getSlotCompoundVariant(listItemGroupCompoundVariants, slotName))]);
|
|
954
|
+
const listItemGroupFn = memo((props = {}) => {
|
|
955
|
+
return Object.fromEntries(listItemGroupSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
879
956
|
});
|
|
880
|
-
const
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
const
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
957
|
+
const listItemGroupVariantKeys = [
|
|
958
|
+
"density"
|
|
959
|
+
];
|
|
960
|
+
const getVariantProps$g = (variants) => ({ ...listItemGroupDefaultVariants, ...compact(variants) });
|
|
961
|
+
const listItemGroup = /* @__PURE__ */ Object.assign(listItemGroupFn, {
|
|
962
|
+
__recipe__: false,
|
|
963
|
+
__name__: "listItemGroup",
|
|
887
964
|
raw: (props) => props,
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
965
|
+
classNameMap: {},
|
|
966
|
+
variantKeys: listItemGroupVariantKeys,
|
|
967
|
+
variantMap: {
|
|
968
|
+
"density": [
|
|
969
|
+
"compact",
|
|
970
|
+
"comfortable",
|
|
971
|
+
"spacious"
|
|
972
|
+
]
|
|
892
973
|
},
|
|
893
974
|
splitVariantProps(props) {
|
|
894
|
-
return splitProps$1(props,
|
|
975
|
+
return splitProps$1(props, listItemGroupVariantKeys);
|
|
895
976
|
},
|
|
896
|
-
getVariantProps:
|
|
977
|
+
getVariantProps: getVariantProps$g
|
|
897
978
|
});
|
|
898
|
-
const
|
|
979
|
+
const listItemDefaultVariants = {
|
|
899
980
|
"variant": "default",
|
|
900
|
-
"
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
"variant": "default",
|
|
905
|
-
"css": {
|
|
906
|
-
"color": {
|
|
907
|
-
"base": "slate.70",
|
|
908
|
-
"_dark": "slate.20"
|
|
909
|
-
},
|
|
910
|
-
"bg": {
|
|
911
|
-
"base": "slate.10",
|
|
912
|
-
"_dark": "slate.70"
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
"hue": "slate",
|
|
918
|
-
"variant": "bold",
|
|
919
|
-
"css": {
|
|
920
|
-
"color": {
|
|
921
|
-
"base": "slate.0",
|
|
922
|
-
"_dark": "slate.80"
|
|
923
|
-
},
|
|
924
|
-
"bg": {
|
|
925
|
-
"base": "slate.50",
|
|
926
|
-
"_dark": "slate.20"
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
},
|
|
981
|
+
"density": "compact",
|
|
982
|
+
"selected": false
|
|
983
|
+
};
|
|
984
|
+
const listItemCompoundVariants = [
|
|
930
985
|
{
|
|
931
|
-
"
|
|
932
|
-
"
|
|
986
|
+
"density": "compact",
|
|
987
|
+
"iconBefore": true,
|
|
933
988
|
"css": {
|
|
934
|
-
"
|
|
935
|
-
"
|
|
936
|
-
"_dark": "tan.20"
|
|
937
|
-
},
|
|
938
|
-
"bg": {
|
|
939
|
-
"base": "tan.10",
|
|
940
|
-
"_dark": "tan.70"
|
|
989
|
+
"wrapper": {
|
|
990
|
+
"ps": "5"
|
|
941
991
|
}
|
|
942
992
|
}
|
|
943
993
|
},
|
|
944
994
|
{
|
|
945
|
-
"
|
|
946
|
-
"
|
|
995
|
+
"density": "compact",
|
|
996
|
+
"iconAfter": true,
|
|
947
997
|
"css": {
|
|
948
|
-
"
|
|
949
|
-
"
|
|
950
|
-
"_dark": "tan.80"
|
|
951
|
-
},
|
|
952
|
-
"bg": {
|
|
953
|
-
"base": "tan.50",
|
|
954
|
-
"_dark": "tan.20"
|
|
998
|
+
"wrapper": {
|
|
999
|
+
"pe": "5"
|
|
955
1000
|
}
|
|
956
1001
|
}
|
|
957
1002
|
},
|
|
958
1003
|
{
|
|
959
|
-
"
|
|
960
|
-
"variant": "
|
|
1004
|
+
"density": "compact",
|
|
1005
|
+
"variant": "checkbox",
|
|
961
1006
|
"css": {
|
|
962
|
-
"
|
|
963
|
-
"
|
|
964
|
-
"_dark": "red.10"
|
|
965
|
-
},
|
|
966
|
-
"bg": {
|
|
967
|
-
"base": "red.10",
|
|
968
|
-
"_dark": "red.70"
|
|
1007
|
+
"wrapper": {
|
|
1008
|
+
"ps": "5"
|
|
969
1009
|
}
|
|
970
1010
|
}
|
|
971
1011
|
},
|
|
972
1012
|
{
|
|
973
|
-
"
|
|
974
|
-
"
|
|
1013
|
+
"density": "comfortable",
|
|
1014
|
+
"iconBefore": true,
|
|
975
1015
|
"css": {
|
|
976
|
-
"
|
|
977
|
-
"
|
|
978
|
-
"_dark": "red.80"
|
|
979
|
-
},
|
|
980
|
-
"bg": {
|
|
981
|
-
"base": "red.50",
|
|
982
|
-
"_dark": "red.20"
|
|
1016
|
+
"wrapper": {
|
|
1017
|
+
"ps": "7"
|
|
983
1018
|
}
|
|
984
1019
|
}
|
|
985
1020
|
},
|
|
986
1021
|
{
|
|
987
|
-
"
|
|
988
|
-
"
|
|
1022
|
+
"density": "comfortable",
|
|
1023
|
+
"iconAfter": true,
|
|
989
1024
|
"css": {
|
|
990
|
-
"
|
|
991
|
-
"
|
|
992
|
-
"_dark": "tomato.20"
|
|
993
|
-
},
|
|
994
|
-
"bg": {
|
|
995
|
-
"base": "tomato.10",
|
|
996
|
-
"_dark": "tomato.70"
|
|
1025
|
+
"wrapper": {
|
|
1026
|
+
"pe": "7"
|
|
997
1027
|
}
|
|
998
1028
|
}
|
|
999
1029
|
},
|
|
1000
1030
|
{
|
|
1001
|
-
"
|
|
1002
|
-
"variant": "
|
|
1031
|
+
"density": "comfortable",
|
|
1032
|
+
"variant": "checkbox",
|
|
1003
1033
|
"css": {
|
|
1004
|
-
"
|
|
1005
|
-
"
|
|
1006
|
-
"_dark": "tomato.80"
|
|
1007
|
-
},
|
|
1008
|
-
"bg": {
|
|
1009
|
-
"base": "tomato.50",
|
|
1010
|
-
"_dark": "tomato.20"
|
|
1034
|
+
"wrapper": {
|
|
1035
|
+
"ps": "7"
|
|
1011
1036
|
}
|
|
1012
1037
|
}
|
|
1013
1038
|
},
|
|
1014
1039
|
{
|
|
1015
|
-
"
|
|
1016
|
-
"
|
|
1040
|
+
"density": "spacious",
|
|
1041
|
+
"iconBefore": true,
|
|
1017
1042
|
"css": {
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1020
|
-
"_dark": "orange.20"
|
|
1021
|
-
},
|
|
1022
|
-
"bg": {
|
|
1023
|
-
"base": "orange.10",
|
|
1024
|
-
"_dark": "orange.70"
|
|
1043
|
+
"wrapper": {
|
|
1044
|
+
"ps": "9"
|
|
1025
1045
|
}
|
|
1026
1046
|
}
|
|
1027
1047
|
},
|
|
1028
1048
|
{
|
|
1029
|
-
"
|
|
1030
|
-
"
|
|
1049
|
+
"density": "spacious",
|
|
1050
|
+
"iconAfter": true,
|
|
1031
1051
|
"css": {
|
|
1032
|
-
"
|
|
1033
|
-
"
|
|
1034
|
-
"_dark": "orange.80"
|
|
1035
|
-
},
|
|
1036
|
-
"bg": {
|
|
1037
|
-
"base": "orange.60",
|
|
1038
|
-
"_dark": "orange.20"
|
|
1052
|
+
"wrapper": {
|
|
1053
|
+
"pe": "9"
|
|
1039
1054
|
}
|
|
1040
1055
|
}
|
|
1041
1056
|
},
|
|
1042
1057
|
{
|
|
1043
|
-
"
|
|
1044
|
-
"variant": "
|
|
1058
|
+
"density": "spacious",
|
|
1059
|
+
"variant": "checkbox",
|
|
1045
1060
|
"css": {
|
|
1046
|
-
"
|
|
1047
|
-
"
|
|
1048
|
-
"_dark": "yellow.10"
|
|
1049
|
-
},
|
|
1050
|
-
"bg": {
|
|
1051
|
-
"base": "yellow.10",
|
|
1052
|
-
"_dark": "yellow.60"
|
|
1061
|
+
"wrapper": {
|
|
1062
|
+
"ps": "9"
|
|
1053
1063
|
}
|
|
1054
1064
|
}
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1065
|
+
}
|
|
1066
|
+
];
|
|
1067
|
+
const listItemSlotNames = [
|
|
1068
|
+
[
|
|
1069
|
+
"wrapper",
|
|
1070
|
+
"listItem__wrapper"
|
|
1071
|
+
],
|
|
1072
|
+
[
|
|
1073
|
+
"icon",
|
|
1074
|
+
"listItem__icon"
|
|
1075
|
+
],
|
|
1076
|
+
[
|
|
1077
|
+
"itemMain",
|
|
1078
|
+
"listItem__itemMain"
|
|
1079
|
+
],
|
|
1080
|
+
[
|
|
1081
|
+
"itemLabel",
|
|
1082
|
+
"listItem__itemLabel"
|
|
1083
|
+
],
|
|
1084
|
+
[
|
|
1085
|
+
"itemDescription",
|
|
1086
|
+
"listItem__itemDescription"
|
|
1087
|
+
],
|
|
1088
|
+
[
|
|
1089
|
+
"divider",
|
|
1090
|
+
"listItem__divider"
|
|
1091
|
+
]
|
|
1092
|
+
];
|
|
1093
|
+
const listItemSlotFns = /* @__PURE__ */ listItemSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, listItemDefaultVariants, getSlotCompoundVariant(listItemCompoundVariants, slotName))]);
|
|
1094
|
+
const listItemFn = memo((props = {}) => {
|
|
1095
|
+
return Object.fromEntries(listItemSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
1096
|
+
});
|
|
1097
|
+
const listItemVariantKeys = [
|
|
1098
|
+
"variant",
|
|
1099
|
+
"density",
|
|
1100
|
+
"selected",
|
|
1101
|
+
"iconBefore",
|
|
1102
|
+
"iconAfter"
|
|
1103
|
+
];
|
|
1104
|
+
const getVariantProps$f = (variants) => ({ ...listItemDefaultVariants, ...compact(variants) });
|
|
1105
|
+
const listItem = /* @__PURE__ */ Object.assign(listItemFn, {
|
|
1106
|
+
__recipe__: false,
|
|
1107
|
+
__name__: "listItem",
|
|
1108
|
+
raw: (props) => props,
|
|
1109
|
+
classNameMap: {},
|
|
1110
|
+
variantKeys: listItemVariantKeys,
|
|
1111
|
+
variantMap: {
|
|
1112
|
+
"variant": [
|
|
1113
|
+
"default",
|
|
1114
|
+
"checkbox",
|
|
1115
|
+
"toggle",
|
|
1116
|
+
"divider"
|
|
1117
|
+
],
|
|
1118
|
+
"density": [
|
|
1119
|
+
"compact",
|
|
1120
|
+
"comfortable",
|
|
1121
|
+
"spacious"
|
|
1122
|
+
],
|
|
1123
|
+
"selected": [
|
|
1124
|
+
"true",
|
|
1125
|
+
"false"
|
|
1126
|
+
],
|
|
1127
|
+
"iconBefore": [
|
|
1128
|
+
"true",
|
|
1129
|
+
"false"
|
|
1130
|
+
],
|
|
1131
|
+
"iconAfter": [
|
|
1132
|
+
"true",
|
|
1133
|
+
"false"
|
|
1134
|
+
]
|
|
1135
|
+
},
|
|
1136
|
+
splitVariantProps(props) {
|
|
1137
|
+
return splitProps$1(props, listItemVariantKeys);
|
|
1138
|
+
},
|
|
1139
|
+
getVariantProps: getVariantProps$f
|
|
1140
|
+
});
|
|
1141
|
+
const listFn = /* @__PURE__ */ createRecipe("list", {}, []);
|
|
1142
|
+
const listVariantMap = {};
|
|
1143
|
+
const listVariantKeys = Object.keys(listVariantMap);
|
|
1144
|
+
const list = /* @__PURE__ */ Object.assign(memo(listFn.recipeFn), {
|
|
1145
|
+
__recipe__: true,
|
|
1146
|
+
__name__: "list",
|
|
1147
|
+
__getCompoundVariantCss__: listFn.__getCompoundVariantCss__,
|
|
1148
|
+
raw: (props) => props,
|
|
1149
|
+
variantKeys: listVariantKeys,
|
|
1150
|
+
variantMap: listVariantMap,
|
|
1151
|
+
merge(recipe) {
|
|
1152
|
+
return mergeRecipes(this, recipe);
|
|
1153
|
+
},
|
|
1154
|
+
splitVariantProps(props) {
|
|
1155
|
+
return splitProps$1(props, listVariantKeys);
|
|
1156
|
+
},
|
|
1157
|
+
getVariantProps: listFn.getVariantProps
|
|
1158
|
+
});
|
|
1159
|
+
const preFn = /* @__PURE__ */ createRecipe("pre", {}, []);
|
|
1160
|
+
const preVariantMap = {};
|
|
1161
|
+
const preVariantKeys = Object.keys(preVariantMap);
|
|
1162
|
+
const pre = /* @__PURE__ */ Object.assign(memo(preFn.recipeFn), {
|
|
1163
|
+
__recipe__: true,
|
|
1164
|
+
__name__: "pre",
|
|
1165
|
+
__getCompoundVariantCss__: preFn.__getCompoundVariantCss__,
|
|
1166
|
+
raw: (props) => props,
|
|
1167
|
+
variantKeys: preVariantKeys,
|
|
1168
|
+
variantMap: preVariantMap,
|
|
1169
|
+
merge(recipe) {
|
|
1170
|
+
return mergeRecipes(this, recipe);
|
|
1171
|
+
},
|
|
1172
|
+
splitVariantProps(props) {
|
|
1173
|
+
return splitProps$1(props, preVariantKeys);
|
|
1174
|
+
},
|
|
1175
|
+
getVariantProps: preFn.getVariantProps
|
|
1176
|
+
});
|
|
1177
|
+
const radioInputFn = /* @__PURE__ */ createRecipe("radioInput", {}, []);
|
|
1178
|
+
const radioInputVariantMap = {};
|
|
1179
|
+
const radioInputVariantKeys = Object.keys(radioInputVariantMap);
|
|
1180
|
+
const radioInput = /* @__PURE__ */ Object.assign(memo(radioInputFn.recipeFn), {
|
|
1181
|
+
__recipe__: true,
|
|
1182
|
+
__name__: "radioInput",
|
|
1183
|
+
__getCompoundVariantCss__: radioInputFn.__getCompoundVariantCss__,
|
|
1184
|
+
raw: (props) => props,
|
|
1185
|
+
variantKeys: radioInputVariantKeys,
|
|
1186
|
+
variantMap: radioInputVariantMap,
|
|
1187
|
+
merge(recipe) {
|
|
1188
|
+
return mergeRecipes(this, recipe);
|
|
1189
|
+
},
|
|
1190
|
+
splitVariantProps(props) {
|
|
1191
|
+
return splitProps$1(props, radioInputVariantKeys);
|
|
1192
|
+
},
|
|
1193
|
+
getVariantProps: radioInputFn.getVariantProps
|
|
1194
|
+
});
|
|
1195
|
+
const spinnerDefaultVariants = {
|
|
1196
|
+
"size": "md"
|
|
1197
|
+
};
|
|
1198
|
+
const spinnerCompoundVariants = [];
|
|
1199
|
+
const spinnerSlotNames = [
|
|
1200
|
+
[
|
|
1201
|
+
"container",
|
|
1202
|
+
"spinner__container"
|
|
1203
|
+
],
|
|
1204
|
+
[
|
|
1205
|
+
"spinnerDiv",
|
|
1206
|
+
"spinner__spinnerDiv"
|
|
1207
|
+
]
|
|
1208
|
+
];
|
|
1209
|
+
const spinnerSlotFns = /* @__PURE__ */ spinnerSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, spinnerDefaultVariants, getSlotCompoundVariant(spinnerCompoundVariants, slotName))]);
|
|
1210
|
+
const spinnerFn = memo((props = {}) => {
|
|
1211
|
+
return Object.fromEntries(spinnerSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
1212
|
+
});
|
|
1213
|
+
const spinnerVariantKeys = [
|
|
1214
|
+
"size",
|
|
1215
|
+
"inverse",
|
|
1216
|
+
"centered"
|
|
1217
|
+
];
|
|
1218
|
+
const getVariantProps$e = (variants) => ({ ...spinnerDefaultVariants, ...compact(variants) });
|
|
1219
|
+
const spinner = /* @__PURE__ */ Object.assign(spinnerFn, {
|
|
1220
|
+
__recipe__: false,
|
|
1221
|
+
__name__: "spinner",
|
|
1222
|
+
raw: (props) => props,
|
|
1223
|
+
classNameMap: {},
|
|
1224
|
+
variantKeys: spinnerVariantKeys,
|
|
1225
|
+
variantMap: {
|
|
1226
|
+
"size": [
|
|
1227
|
+
"xs",
|
|
1228
|
+
"sm",
|
|
1229
|
+
"md",
|
|
1230
|
+
"lg"
|
|
1231
|
+
],
|
|
1232
|
+
"inverse": [
|
|
1233
|
+
"true"
|
|
1234
|
+
],
|
|
1235
|
+
"centered": [
|
|
1236
|
+
"true"
|
|
1237
|
+
]
|
|
1238
|
+
},
|
|
1239
|
+
splitVariantProps(props) {
|
|
1240
|
+
return splitProps$1(props, spinnerVariantKeys);
|
|
1241
|
+
},
|
|
1242
|
+
getVariantProps: getVariantProps$e
|
|
1243
|
+
});
|
|
1244
|
+
const tagFn = /* @__PURE__ */ createRecipe("tag", {
|
|
1245
|
+
"variant": "default",
|
|
1246
|
+
"hue": "slate"
|
|
1247
|
+
}, [
|
|
1248
|
+
{
|
|
1249
|
+
"hue": "slate",
|
|
1250
|
+
"variant": "default",
|
|
1251
|
+
"css": {
|
|
1252
|
+
"color": {
|
|
1253
|
+
"base": "slate.70",
|
|
1254
|
+
"_dark": "slate.20"
|
|
1255
|
+
},
|
|
1256
|
+
"bg": {
|
|
1257
|
+
"base": "slate.10",
|
|
1258
|
+
"_dark": "slate.70"
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"hue": "slate",
|
|
1264
|
+
"variant": "bold",
|
|
1265
|
+
"css": {
|
|
1266
|
+
"color": {
|
|
1267
|
+
"base": "slate.0",
|
|
1268
|
+
"_dark": "slate.80"
|
|
1269
|
+
},
|
|
1270
|
+
"bg": {
|
|
1271
|
+
"base": "slate.50",
|
|
1272
|
+
"_dark": "slate.20"
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"hue": "tan",
|
|
1278
|
+
"variant": "default",
|
|
1279
|
+
"css": {
|
|
1280
|
+
"color": {
|
|
1281
|
+
"base": "tan.70",
|
|
1282
|
+
"_dark": "tan.20"
|
|
1283
|
+
},
|
|
1284
|
+
"bg": {
|
|
1285
|
+
"base": "tan.10",
|
|
1286
|
+
"_dark": "tan.70"
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"hue": "tan",
|
|
1292
|
+
"variant": "bold",
|
|
1293
|
+
"css": {
|
|
1294
|
+
"color": {
|
|
1295
|
+
"base": "slate.0",
|
|
1296
|
+
"_dark": "tan.80"
|
|
1297
|
+
},
|
|
1298
|
+
"bg": {
|
|
1299
|
+
"base": "tan.50",
|
|
1300
|
+
"_dark": "tan.20"
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"hue": "red",
|
|
1306
|
+
"variant": "default",
|
|
1307
|
+
"css": {
|
|
1308
|
+
"color": {
|
|
1309
|
+
"base": "red.70",
|
|
1310
|
+
"_dark": "red.10"
|
|
1311
|
+
},
|
|
1312
|
+
"bg": {
|
|
1313
|
+
"base": "red.10",
|
|
1314
|
+
"_dark": "red.70"
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"hue": "red",
|
|
1320
|
+
"variant": "bold",
|
|
1321
|
+
"css": {
|
|
1322
|
+
"color": {
|
|
1323
|
+
"base": "slate.0",
|
|
1324
|
+
"_dark": "red.80"
|
|
1325
|
+
},
|
|
1326
|
+
"bg": {
|
|
1327
|
+
"base": "red.50",
|
|
1328
|
+
"_dark": "red.20"
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"hue": "tomato",
|
|
1334
|
+
"variant": "default",
|
|
1335
|
+
"css": {
|
|
1336
|
+
"color": {
|
|
1337
|
+
"base": "tomato.70",
|
|
1338
|
+
"_dark": "tomato.20"
|
|
1339
|
+
},
|
|
1340
|
+
"bg": {
|
|
1341
|
+
"base": "tomato.10",
|
|
1342
|
+
"_dark": "tomato.70"
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"hue": "tomato",
|
|
1348
|
+
"variant": "bold",
|
|
1349
|
+
"css": {
|
|
1350
|
+
"color": {
|
|
1351
|
+
"base": "slate.0",
|
|
1352
|
+
"_dark": "tomato.80"
|
|
1353
|
+
},
|
|
1354
|
+
"bg": {
|
|
1355
|
+
"base": "tomato.50",
|
|
1356
|
+
"_dark": "tomato.20"
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"hue": "orange",
|
|
1362
|
+
"variant": "default",
|
|
1363
|
+
"css": {
|
|
1364
|
+
"color": {
|
|
1365
|
+
"base": "orange.70",
|
|
1366
|
+
"_dark": "orange.20"
|
|
1367
|
+
},
|
|
1368
|
+
"bg": {
|
|
1369
|
+
"base": "orange.10",
|
|
1370
|
+
"_dark": "orange.70"
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"hue": "orange",
|
|
1376
|
+
"variant": "bold",
|
|
1377
|
+
"css": {
|
|
1378
|
+
"color": {
|
|
1379
|
+
"base": "orange.5",
|
|
1380
|
+
"_dark": "orange.80"
|
|
1381
|
+
},
|
|
1382
|
+
"bg": {
|
|
1383
|
+
"base": "orange.60",
|
|
1384
|
+
"_dark": "orange.20"
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"hue": "yellow",
|
|
1390
|
+
"variant": "default",
|
|
1391
|
+
"css": {
|
|
1392
|
+
"color": {
|
|
1393
|
+
"base": "yellow.60",
|
|
1394
|
+
"_dark": "yellow.10"
|
|
1395
|
+
},
|
|
1396
|
+
"bg": {
|
|
1397
|
+
"base": "yellow.10",
|
|
1398
|
+
"_dark": "yellow.60"
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1057
1403
|
"hue": "yellow",
|
|
1058
1404
|
"variant": "bold",
|
|
1059
1405
|
"css": {
|
|
@@ -1536,203 +1882,101 @@ const toggleInput = /* @__PURE__ */ Object.assign(memo(toggleInputFn.recipeFn),
|
|
|
1536
1882
|
},
|
|
1537
1883
|
getVariantProps: toggleInputFn.getVariantProps
|
|
1538
1884
|
});
|
|
1539
|
-
const
|
|
1540
|
-
const
|
|
1541
|
-
const
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1885
|
+
const toggleDefaultVariants = {};
|
|
1886
|
+
const toggleCompoundVariants = [];
|
|
1887
|
+
const toggleSlotNames = [
|
|
1888
|
+
[
|
|
1889
|
+
"container",
|
|
1890
|
+
"toggle__container"
|
|
1891
|
+
],
|
|
1892
|
+
[
|
|
1893
|
+
"input",
|
|
1894
|
+
"toggle__input"
|
|
1895
|
+
],
|
|
1896
|
+
[
|
|
1897
|
+
"indicator",
|
|
1898
|
+
"toggle__indicator"
|
|
1899
|
+
]
|
|
1900
|
+
];
|
|
1901
|
+
const toggleSlotFns = /* @__PURE__ */ toggleSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, toggleDefaultVariants, getSlotCompoundVariant(toggleCompoundVariants, slotName))]);
|
|
1902
|
+
const toggleFn = memo((props = {}) => {
|
|
1903
|
+
return Object.fromEntries(toggleSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
1904
|
+
});
|
|
1905
|
+
const toggleVariantKeys = [];
|
|
1906
|
+
const getVariantProps$d = (variants) => ({ ...toggleDefaultVariants, ...compact(variants) });
|
|
1907
|
+
const toggle = /* @__PURE__ */ Object.assign(toggleFn, {
|
|
1908
|
+
__recipe__: false,
|
|
1909
|
+
__name__: "toggle",
|
|
1546
1910
|
raw: (props) => props,
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
return mergeRecipes(this, recipe);
|
|
1551
|
-
},
|
|
1911
|
+
classNameMap: {},
|
|
1912
|
+
variantKeys: toggleVariantKeys,
|
|
1913
|
+
variantMap: {},
|
|
1552
1914
|
splitVariantProps(props) {
|
|
1553
|
-
return splitProps$1(props,
|
|
1915
|
+
return splitProps$1(props, toggleVariantKeys);
|
|
1554
1916
|
},
|
|
1555
|
-
getVariantProps:
|
|
1917
|
+
getVariantProps: getVariantProps$d
|
|
1556
1918
|
});
|
|
1557
|
-
const
|
|
1558
|
-
"
|
|
1559
|
-
"
|
|
1560
|
-
"selected": false
|
|
1919
|
+
const avatarDefaultVariants = {
|
|
1920
|
+
"size": "md",
|
|
1921
|
+
"shape": "circle"
|
|
1561
1922
|
};
|
|
1562
|
-
const
|
|
1563
|
-
|
|
1564
|
-
"density": "compact",
|
|
1565
|
-
"iconBefore": true,
|
|
1566
|
-
"css": {
|
|
1567
|
-
"wrapper": {
|
|
1568
|
-
"ps": "5"
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
"density": "compact",
|
|
1574
|
-
"iconAfter": true,
|
|
1575
|
-
"css": {
|
|
1576
|
-
"wrapper": {
|
|
1577
|
-
"pe": "5"
|
|
1578
|
-
}
|
|
1579
|
-
}
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"density": "compact",
|
|
1583
|
-
"variant": "checkbox",
|
|
1584
|
-
"css": {
|
|
1585
|
-
"wrapper": {
|
|
1586
|
-
"ps": "5"
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"density": "comfortable",
|
|
1592
|
-
"iconBefore": true,
|
|
1593
|
-
"css": {
|
|
1594
|
-
"wrapper": {
|
|
1595
|
-
"ps": "7"
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
},
|
|
1599
|
-
{
|
|
1600
|
-
"density": "comfortable",
|
|
1601
|
-
"iconAfter": true,
|
|
1602
|
-
"css": {
|
|
1603
|
-
"wrapper": {
|
|
1604
|
-
"pe": "7"
|
|
1605
|
-
}
|
|
1606
|
-
}
|
|
1607
|
-
},
|
|
1608
|
-
{
|
|
1609
|
-
"density": "comfortable",
|
|
1610
|
-
"variant": "checkbox",
|
|
1611
|
-
"css": {
|
|
1612
|
-
"wrapper": {
|
|
1613
|
-
"ps": "7"
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1616
|
-
},
|
|
1617
|
-
{
|
|
1618
|
-
"density": "spacious",
|
|
1619
|
-
"iconBefore": true,
|
|
1620
|
-
"css": {
|
|
1621
|
-
"wrapper": {
|
|
1622
|
-
"ps": "9"
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
|
-
},
|
|
1626
|
-
{
|
|
1627
|
-
"density": "spacious",
|
|
1628
|
-
"iconAfter": true,
|
|
1629
|
-
"css": {
|
|
1630
|
-
"wrapper": {
|
|
1631
|
-
"pe": "9"
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"density": "spacious",
|
|
1637
|
-
"variant": "checkbox",
|
|
1638
|
-
"css": {
|
|
1639
|
-
"wrapper": {
|
|
1640
|
-
"ps": "9"
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
];
|
|
1645
|
-
const listItemSlotNames = [
|
|
1646
|
-
[
|
|
1647
|
-
"wrapper",
|
|
1648
|
-
"listItem__wrapper"
|
|
1649
|
-
],
|
|
1923
|
+
const avatarCompoundVariants = [];
|
|
1924
|
+
const avatarSlotNames = [
|
|
1650
1925
|
[
|
|
1651
|
-
"
|
|
1652
|
-
"
|
|
1926
|
+
"root",
|
|
1927
|
+
"avatar__root"
|
|
1653
1928
|
],
|
|
1654
1929
|
[
|
|
1655
|
-
"
|
|
1656
|
-
"
|
|
1930
|
+
"image",
|
|
1931
|
+
"avatar__image"
|
|
1657
1932
|
],
|
|
1658
1933
|
[
|
|
1659
|
-
"
|
|
1660
|
-
"
|
|
1934
|
+
"fallback",
|
|
1935
|
+
"avatar__fallback"
|
|
1661
1936
|
],
|
|
1662
1937
|
[
|
|
1663
|
-
"
|
|
1664
|
-
"
|
|
1938
|
+
"presence",
|
|
1939
|
+
"avatar__presence"
|
|
1665
1940
|
],
|
|
1666
1941
|
[
|
|
1667
|
-
"
|
|
1668
|
-
"
|
|
1942
|
+
"status",
|
|
1943
|
+
"avatar__status"
|
|
1669
1944
|
]
|
|
1670
1945
|
];
|
|
1671
|
-
const
|
|
1672
|
-
const
|
|
1673
|
-
return Object.fromEntries(
|
|
1946
|
+
const avatarSlotFns = /* @__PURE__ */ avatarSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, avatarDefaultVariants, getSlotCompoundVariant(avatarCompoundVariants, slotName))]);
|
|
1947
|
+
const avatarFn = memo((props = {}) => {
|
|
1948
|
+
return Object.fromEntries(avatarSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
1674
1949
|
});
|
|
1675
|
-
const
|
|
1676
|
-
"
|
|
1677
|
-
"
|
|
1678
|
-
"selected",
|
|
1679
|
-
"iconBefore",
|
|
1680
|
-
"iconAfter"
|
|
1950
|
+
const avatarVariantKeys = [
|
|
1951
|
+
"size",
|
|
1952
|
+
"shape"
|
|
1681
1953
|
];
|
|
1682
|
-
const getVariantProps$
|
|
1683
|
-
const
|
|
1684
|
-
__recipe__: false,
|
|
1685
|
-
__name__: "
|
|
1686
|
-
raw: (props) => props,
|
|
1687
|
-
classNameMap: {},
|
|
1688
|
-
variantKeys: listItemVariantKeys,
|
|
1689
|
-
variantMap: {
|
|
1690
|
-
"variant": [
|
|
1691
|
-
"default",
|
|
1692
|
-
"checkbox",
|
|
1693
|
-
"toggle",
|
|
1694
|
-
"divider"
|
|
1695
|
-
],
|
|
1696
|
-
"density": [
|
|
1697
|
-
"compact",
|
|
1698
|
-
"comfortable",
|
|
1699
|
-
"spacious"
|
|
1700
|
-
],
|
|
1701
|
-
"selected": [
|
|
1702
|
-
"true",
|
|
1703
|
-
"false"
|
|
1704
|
-
],
|
|
1705
|
-
"iconBefore": [
|
|
1706
|
-
"true",
|
|
1707
|
-
"false"
|
|
1708
|
-
],
|
|
1709
|
-
"iconAfter": [
|
|
1710
|
-
"true",
|
|
1711
|
-
"false"
|
|
1712
|
-
]
|
|
1713
|
-
},
|
|
1714
|
-
splitVariantProps(props) {
|
|
1715
|
-
return splitProps$1(props, listItemVariantKeys);
|
|
1716
|
-
},
|
|
1717
|
-
getVariantProps: getVariantProps$g
|
|
1718
|
-
});
|
|
1719
|
-
const highlightTextFn = /* @__PURE__ */ createRecipe("highlightText", {}, []);
|
|
1720
|
-
const highlightTextVariantMap = {};
|
|
1721
|
-
const highlightTextVariantKeys = Object.keys(highlightTextVariantMap);
|
|
1722
|
-
const highlightText = /* @__PURE__ */ Object.assign(memo(highlightTextFn.recipeFn), {
|
|
1723
|
-
__recipe__: true,
|
|
1724
|
-
__name__: "highlightText",
|
|
1725
|
-
__getCompoundVariantCss__: highlightTextFn.__getCompoundVariantCss__,
|
|
1954
|
+
const getVariantProps$c = (variants) => ({ ...avatarDefaultVariants, ...compact(variants) });
|
|
1955
|
+
const avatar = /* @__PURE__ */ Object.assign(avatarFn, {
|
|
1956
|
+
__recipe__: false,
|
|
1957
|
+
__name__: "avatar",
|
|
1726
1958
|
raw: (props) => props,
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1959
|
+
classNameMap: {},
|
|
1960
|
+
variantKeys: avatarVariantKeys,
|
|
1961
|
+
variantMap: {
|
|
1962
|
+
"size": [
|
|
1963
|
+
"xs",
|
|
1964
|
+
"sm",
|
|
1965
|
+
"md",
|
|
1966
|
+
"lg",
|
|
1967
|
+
"xl",
|
|
1968
|
+
"2xl"
|
|
1969
|
+
],
|
|
1970
|
+
"shape": [
|
|
1971
|
+
"circle",
|
|
1972
|
+
"square",
|
|
1973
|
+
"hexagon"
|
|
1974
|
+
]
|
|
1731
1975
|
},
|
|
1732
1976
|
splitVariantProps(props) {
|
|
1733
|
-
return splitProps$1(props,
|
|
1977
|
+
return splitProps$1(props, avatarVariantKeys);
|
|
1734
1978
|
},
|
|
1735
|
-
getVariantProps:
|
|
1979
|
+
getVariantProps: getVariantProps$c
|
|
1736
1980
|
});
|
|
1737
1981
|
const badgeDefaultVariants = {
|
|
1738
1982
|
"size": "md",
|
|
@@ -1790,7 +2034,7 @@ const badgeVariantKeys = [
|
|
|
1790
2034
|
"dot",
|
|
1791
2035
|
"variant"
|
|
1792
2036
|
];
|
|
1793
|
-
const getVariantProps$
|
|
2037
|
+
const getVariantProps$b = (variants) => ({ ...badgeDefaultVariants, ...compact(variants) });
|
|
1794
2038
|
const badge = /* @__PURE__ */ Object.assign(badgeFn, {
|
|
1795
2039
|
__recipe__: false,
|
|
1796
2040
|
__name__: "badge",
|
|
@@ -1825,7 +2069,45 @@ const badge = /* @__PURE__ */ Object.assign(badgeFn, {
|
|
|
1825
2069
|
splitVariantProps(props) {
|
|
1826
2070
|
return splitProps$1(props, badgeVariantKeys);
|
|
1827
2071
|
},
|
|
1828
|
-
getVariantProps: getVariantProps$
|
|
2072
|
+
getVariantProps: getVariantProps$b
|
|
2073
|
+
});
|
|
2074
|
+
const breadcrumbsDefaultVariants = {};
|
|
2075
|
+
const breadcrumbsCompoundVariants = [];
|
|
2076
|
+
const breadcrumbsSlotNames = [
|
|
2077
|
+
[
|
|
2078
|
+
"wrapper",
|
|
2079
|
+
"breadcrumbs__wrapper"
|
|
2080
|
+
],
|
|
2081
|
+
[
|
|
2082
|
+
"slash",
|
|
2083
|
+
"breadcrumbs__slash"
|
|
2084
|
+
],
|
|
2085
|
+
[
|
|
2086
|
+
"linkSegment",
|
|
2087
|
+
"breadcrumbs__linkSegment"
|
|
2088
|
+
],
|
|
2089
|
+
[
|
|
2090
|
+
"currentSegment",
|
|
2091
|
+
"breadcrumbs__currentSegment"
|
|
2092
|
+
]
|
|
2093
|
+
];
|
|
2094
|
+
const breadcrumbsSlotFns = /* @__PURE__ */ breadcrumbsSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, breadcrumbsDefaultVariants, getSlotCompoundVariant(breadcrumbsCompoundVariants, slotName))]);
|
|
2095
|
+
const breadcrumbsFn = memo((props = {}) => {
|
|
2096
|
+
return Object.fromEntries(breadcrumbsSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2097
|
+
});
|
|
2098
|
+
const breadcrumbsVariantKeys = [];
|
|
2099
|
+
const getVariantProps$a = (variants) => ({ ...breadcrumbsDefaultVariants, ...compact(variants) });
|
|
2100
|
+
const breadcrumbs = /* @__PURE__ */ Object.assign(breadcrumbsFn, {
|
|
2101
|
+
__recipe__: false,
|
|
2102
|
+
__name__: "breadcrumbs",
|
|
2103
|
+
raw: (props) => props,
|
|
2104
|
+
classNameMap: {},
|
|
2105
|
+
variantKeys: breadcrumbsVariantKeys,
|
|
2106
|
+
variantMap: {},
|
|
2107
|
+
splitVariantProps(props) {
|
|
2108
|
+
return splitProps$1(props, breadcrumbsVariantKeys);
|
|
2109
|
+
},
|
|
2110
|
+
getVariantProps: getVariantProps$a
|
|
1829
2111
|
});
|
|
1830
2112
|
const buttonDefaultVariants = {
|
|
1831
2113
|
"variant": "standard",
|
|
@@ -1908,333 +2190,94 @@ const buttonCompoundVariants = [
|
|
|
1908
2190
|
const buttonSlotNames = [
|
|
1909
2191
|
[
|
|
1910
2192
|
"container",
|
|
1911
|
-
"button__container"
|
|
1912
|
-
],
|
|
1913
|
-
[
|
|
1914
|
-
"icon",
|
|
1915
|
-
"button__icon"
|
|
1916
|
-
]
|
|
1917
|
-
];
|
|
1918
|
-
const buttonSlotFns = /* @__PURE__ */ buttonSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, buttonDefaultVariants, getSlotCompoundVariant(buttonCompoundVariants, slotName))]);
|
|
1919
|
-
const buttonFn = memo((props = {}) => {
|
|
1920
|
-
return Object.fromEntries(buttonSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
1921
|
-
});
|
|
1922
|
-
const buttonVariantKeys = [
|
|
1923
|
-
"variant",
|
|
1924
|
-
"size",
|
|
1925
|
-
"iconBefore",
|
|
1926
|
-
"iconAfter"
|
|
1927
|
-
];
|
|
1928
|
-
const getVariantProps$e = (variants) => ({ ...buttonDefaultVariants, ...compact(variants) });
|
|
1929
|
-
const button = /* @__PURE__ */ Object.assign(buttonFn, {
|
|
1930
|
-
__recipe__: false,
|
|
1931
|
-
__name__: "button",
|
|
1932
|
-
raw: (props) => props,
|
|
1933
|
-
classNameMap: {},
|
|
1934
|
-
variantKeys: buttonVariantKeys,
|
|
1935
|
-
variantMap: {
|
|
1936
|
-
"variant": [
|
|
1937
|
-
"standard",
|
|
1938
|
-
"primary",
|
|
1939
|
-
"hollow",
|
|
1940
|
-
"ghost",
|
|
1941
|
-
"cta",
|
|
1942
|
-
"danger",
|
|
1943
|
-
"selected",
|
|
1944
|
-
"selectedBold"
|
|
1945
|
-
],
|
|
1946
|
-
"size": [
|
|
1947
|
-
"md",
|
|
1948
|
-
"xl",
|
|
1949
|
-
"lg",
|
|
1950
|
-
"sm"
|
|
1951
|
-
],
|
|
1952
|
-
"iconBefore": [
|
|
1953
|
-
"true"
|
|
1954
|
-
],
|
|
1955
|
-
"iconAfter": [
|
|
1956
|
-
"true"
|
|
1957
|
-
]
|
|
1958
|
-
},
|
|
1959
|
-
splitVariantProps(props) {
|
|
1960
|
-
return splitProps$1(props, buttonVariantKeys);
|
|
1961
|
-
},
|
|
1962
|
-
getVariantProps: getVariantProps$e
|
|
1963
|
-
});
|
|
1964
|
-
const iconButtonDefaultVariants = {
|
|
1965
|
-
"variant": "standard",
|
|
1966
|
-
"size": "md"
|
|
1967
|
-
};
|
|
1968
|
-
const iconButtonCompoundVariants = [];
|
|
1969
|
-
const iconButtonSlotNames = [
|
|
1970
|
-
[
|
|
1971
|
-
"container",
|
|
1972
|
-
"iconButton__container"
|
|
1973
|
-
],
|
|
1974
|
-
[
|
|
1975
|
-
"icon",
|
|
1976
|
-
"iconButton__icon"
|
|
1977
|
-
]
|
|
1978
|
-
];
|
|
1979
|
-
const iconButtonSlotFns = /* @__PURE__ */ iconButtonSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, iconButtonDefaultVariants, getSlotCompoundVariant(iconButtonCompoundVariants, slotName))]);
|
|
1980
|
-
const iconButtonFn = memo((props = {}) => {
|
|
1981
|
-
return Object.fromEntries(iconButtonSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
1982
|
-
});
|
|
1983
|
-
const iconButtonVariantKeys = [
|
|
1984
|
-
"variant",
|
|
1985
|
-
"size"
|
|
1986
|
-
];
|
|
1987
|
-
const getVariantProps$d = (variants) => ({ ...iconButtonDefaultVariants, ...compact(variants) });
|
|
1988
|
-
const iconButton = /* @__PURE__ */ Object.assign(iconButtonFn, {
|
|
1989
|
-
__recipe__: false,
|
|
1990
|
-
__name__: "iconButton",
|
|
1991
|
-
raw: (props) => props,
|
|
1992
|
-
classNameMap: {},
|
|
1993
|
-
variantKeys: iconButtonVariantKeys,
|
|
1994
|
-
variantMap: {
|
|
1995
|
-
"variant": [
|
|
1996
|
-
"standard",
|
|
1997
|
-
"primary",
|
|
1998
|
-
"hollow",
|
|
1999
|
-
"ghost",
|
|
2000
|
-
"cta",
|
|
2001
|
-
"danger",
|
|
2002
|
-
"selected",
|
|
2003
|
-
"selectedBold"
|
|
2004
|
-
],
|
|
2005
|
-
"size": [
|
|
2006
|
-
"md",
|
|
2007
|
-
"xl",
|
|
2008
|
-
"lg",
|
|
2009
|
-
"sm"
|
|
2010
|
-
]
|
|
2011
|
-
},
|
|
2012
|
-
splitVariantProps(props) {
|
|
2013
|
-
return splitProps$1(props, iconButtonVariantKeys);
|
|
2014
|
-
},
|
|
2015
|
-
getVariantProps: getVariantProps$d
|
|
2016
|
-
});
|
|
2017
|
-
const checkboxDefaultVariants = {};
|
|
2018
|
-
const checkboxCompoundVariants = [];
|
|
2019
|
-
const checkboxSlotNames = [
|
|
2020
|
-
[
|
|
2021
|
-
"container",
|
|
2022
|
-
"checkbox__container"
|
|
2023
|
-
],
|
|
2024
|
-
[
|
|
2025
|
-
"input",
|
|
2026
|
-
"checkbox__input"
|
|
2027
|
-
],
|
|
2028
|
-
[
|
|
2029
|
-
"indicator",
|
|
2030
|
-
"checkbox__indicator"
|
|
2031
|
-
],
|
|
2032
|
-
[
|
|
2033
|
-
"checkBg",
|
|
2034
|
-
"checkbox__checkBg"
|
|
2035
|
-
]
|
|
2036
|
-
];
|
|
2037
|
-
const checkboxSlotFns = /* @__PURE__ */ checkboxSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, checkboxDefaultVariants, getSlotCompoundVariant(checkboxCompoundVariants, slotName))]);
|
|
2038
|
-
const checkboxFn = memo((props = {}) => {
|
|
2039
|
-
return Object.fromEntries(checkboxSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2040
|
-
});
|
|
2041
|
-
const checkboxVariantKeys = [];
|
|
2042
|
-
const getVariantProps$c = (variants) => ({ ...checkboxDefaultVariants, ...compact(variants) });
|
|
2043
|
-
const checkbox = /* @__PURE__ */ Object.assign(checkboxFn, {
|
|
2044
|
-
__recipe__: false,
|
|
2045
|
-
__name__: "checkbox",
|
|
2046
|
-
raw: (props) => props,
|
|
2047
|
-
classNameMap: {},
|
|
2048
|
-
variantKeys: checkboxVariantKeys,
|
|
2049
|
-
variantMap: {},
|
|
2050
|
-
splitVariantProps(props) {
|
|
2051
|
-
return splitProps$1(props, checkboxVariantKeys);
|
|
2052
|
-
},
|
|
2053
|
-
getVariantProps: getVariantProps$c
|
|
2054
|
-
});
|
|
2055
|
-
const radioDefaultVariants = {};
|
|
2056
|
-
const radioCompoundVariants = [];
|
|
2057
|
-
const radioSlotNames = [
|
|
2058
|
-
[
|
|
2059
|
-
"container",
|
|
2060
|
-
"radio__container"
|
|
2061
|
-
],
|
|
2062
|
-
[
|
|
2063
|
-
"input",
|
|
2064
|
-
"radio__input"
|
|
2065
|
-
],
|
|
2066
|
-
[
|
|
2067
|
-
"indicator",
|
|
2068
|
-
"radio__indicator"
|
|
2069
|
-
],
|
|
2070
|
-
[
|
|
2071
|
-
"radioBg",
|
|
2072
|
-
"radio__radioBg"
|
|
2073
|
-
]
|
|
2074
|
-
];
|
|
2075
|
-
const radioSlotFns = /* @__PURE__ */ radioSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, radioDefaultVariants, getSlotCompoundVariant(radioCompoundVariants, slotName))]);
|
|
2076
|
-
const radioFn = memo((props = {}) => {
|
|
2077
|
-
return Object.fromEntries(radioSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2078
|
-
});
|
|
2079
|
-
const radioVariantKeys = [];
|
|
2080
|
-
const getVariantProps$b = (variants) => ({ ...radioDefaultVariants, ...compact(variants) });
|
|
2081
|
-
const radio = /* @__PURE__ */ Object.assign(radioFn, {
|
|
2082
|
-
__recipe__: false,
|
|
2083
|
-
__name__: "radio",
|
|
2084
|
-
raw: (props) => props,
|
|
2085
|
-
classNameMap: {},
|
|
2086
|
-
variantKeys: radioVariantKeys,
|
|
2087
|
-
variantMap: {},
|
|
2088
|
-
splitVariantProps(props) {
|
|
2089
|
-
return splitProps$1(props, radioVariantKeys);
|
|
2090
|
-
},
|
|
2091
|
-
getVariantProps: getVariantProps$b
|
|
2092
|
-
});
|
|
2093
|
-
const tooltipDefaultVariants = {
|
|
2094
|
-
"size": "md",
|
|
2095
|
-
"hasTitle": false
|
|
2096
|
-
};
|
|
2097
|
-
const tooltipCompoundVariants = [];
|
|
2098
|
-
const tooltipSlotNames = [
|
|
2099
|
-
[
|
|
2100
|
-
"tooltipContent",
|
|
2101
|
-
"tooltip__tooltipContent"
|
|
2102
|
-
],
|
|
2103
|
-
[
|
|
2104
|
-
"title",
|
|
2105
|
-
"tooltip__title"
|
|
2193
|
+
"button__container"
|
|
2106
2194
|
],
|
|
2107
2195
|
[
|
|
2108
|
-
"
|
|
2109
|
-
"
|
|
2196
|
+
"icon",
|
|
2197
|
+
"button__icon"
|
|
2110
2198
|
]
|
|
2111
2199
|
];
|
|
2112
|
-
const
|
|
2113
|
-
const
|
|
2114
|
-
return Object.fromEntries(
|
|
2200
|
+
const buttonSlotFns = /* @__PURE__ */ buttonSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, buttonDefaultVariants, getSlotCompoundVariant(buttonCompoundVariants, slotName))]);
|
|
2201
|
+
const buttonFn = memo((props = {}) => {
|
|
2202
|
+
return Object.fromEntries(buttonSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2115
2203
|
});
|
|
2116
|
-
const
|
|
2204
|
+
const buttonVariantKeys = [
|
|
2205
|
+
"variant",
|
|
2117
2206
|
"size",
|
|
2118
|
-
"
|
|
2207
|
+
"iconBefore",
|
|
2208
|
+
"iconAfter"
|
|
2119
2209
|
];
|
|
2120
|
-
const getVariantProps$
|
|
2121
|
-
const
|
|
2210
|
+
const getVariantProps$9 = (variants) => ({ ...buttonDefaultVariants, ...compact(variants) });
|
|
2211
|
+
const button = /* @__PURE__ */ Object.assign(buttonFn, {
|
|
2122
2212
|
__recipe__: false,
|
|
2123
|
-
__name__: "
|
|
2213
|
+
__name__: "button",
|
|
2124
2214
|
raw: (props) => props,
|
|
2125
2215
|
classNameMap: {},
|
|
2126
|
-
variantKeys:
|
|
2216
|
+
variantKeys: buttonVariantKeys,
|
|
2127
2217
|
variantMap: {
|
|
2218
|
+
"variant": [
|
|
2219
|
+
"standard",
|
|
2220
|
+
"primary",
|
|
2221
|
+
"hollow",
|
|
2222
|
+
"ghost",
|
|
2223
|
+
"cta",
|
|
2224
|
+
"danger",
|
|
2225
|
+
"selected",
|
|
2226
|
+
"selectedBold"
|
|
2227
|
+
],
|
|
2128
2228
|
"size": [
|
|
2129
|
-
"sm",
|
|
2130
2229
|
"md",
|
|
2131
|
-
"
|
|
2230
|
+
"xl",
|
|
2231
|
+
"lg",
|
|
2232
|
+
"sm"
|
|
2132
2233
|
],
|
|
2133
|
-
"
|
|
2134
|
-
"true"
|
|
2135
|
-
"false"
|
|
2136
|
-
]
|
|
2137
|
-
},
|
|
2138
|
-
splitVariantProps(props) {
|
|
2139
|
-
return splitProps$1(props, tooltipVariantKeys);
|
|
2140
|
-
},
|
|
2141
|
-
getVariantProps: getVariantProps$a
|
|
2142
|
-
});
|
|
2143
|
-
const menuDefaultVariants = {
|
|
2144
|
-
"density": "compact"
|
|
2145
|
-
};
|
|
2146
|
-
const menuCompoundVariants = [];
|
|
2147
|
-
const menuSlotNames = [
|
|
2148
|
-
[
|
|
2149
|
-
"wrapper",
|
|
2150
|
-
"menu__wrapper"
|
|
2151
|
-
],
|
|
2152
|
-
[
|
|
2153
|
-
"backHeader",
|
|
2154
|
-
"menu__backHeader"
|
|
2155
|
-
],
|
|
2156
|
-
[
|
|
2157
|
-
"levelsViewport",
|
|
2158
|
-
"menu__levelsViewport"
|
|
2159
|
-
],
|
|
2160
|
-
[
|
|
2161
|
-
"levelsTrack",
|
|
2162
|
-
"menu__levelsTrack"
|
|
2163
|
-
],
|
|
2164
|
-
[
|
|
2165
|
-
"level",
|
|
2166
|
-
"menu__level"
|
|
2167
|
-
],
|
|
2168
|
-
[
|
|
2169
|
-
"sizeProbe",
|
|
2170
|
-
"menu__sizeProbe"
|
|
2171
|
-
],
|
|
2172
|
-
[
|
|
2173
|
-
"noResults",
|
|
2174
|
-
"menu__noResults"
|
|
2175
|
-
]
|
|
2176
|
-
];
|
|
2177
|
-
const menuSlotFns = /* @__PURE__ */ menuSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, menuDefaultVariants, getSlotCompoundVariant(menuCompoundVariants, slotName))]);
|
|
2178
|
-
const menuFn = memo((props = {}) => {
|
|
2179
|
-
return Object.fromEntries(menuSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2180
|
-
});
|
|
2181
|
-
const menuVariantKeys = [
|
|
2182
|
-
"density",
|
|
2183
|
-
"panel"
|
|
2184
|
-
];
|
|
2185
|
-
const getVariantProps$9 = (variants) => ({ ...menuDefaultVariants, ...compact(variants) });
|
|
2186
|
-
const menu = /* @__PURE__ */ Object.assign(menuFn, {
|
|
2187
|
-
__recipe__: false,
|
|
2188
|
-
__name__: "menu",
|
|
2189
|
-
raw: (props) => props,
|
|
2190
|
-
classNameMap: {},
|
|
2191
|
-
variantKeys: menuVariantKeys,
|
|
2192
|
-
variantMap: {
|
|
2193
|
-
"density": [
|
|
2194
|
-
"compact",
|
|
2195
|
-
"comfortable",
|
|
2196
|
-
"spacious"
|
|
2234
|
+
"iconBefore": [
|
|
2235
|
+
"true"
|
|
2197
2236
|
],
|
|
2198
|
-
"
|
|
2237
|
+
"iconAfter": [
|
|
2199
2238
|
"true"
|
|
2200
2239
|
]
|
|
2201
2240
|
},
|
|
2202
2241
|
splitVariantProps(props) {
|
|
2203
|
-
return splitProps$1(props,
|
|
2242
|
+
return splitProps$1(props, buttonVariantKeys);
|
|
2204
2243
|
},
|
|
2205
2244
|
getVariantProps: getVariantProps$9
|
|
2206
2245
|
});
|
|
2207
|
-
const
|
|
2208
|
-
const
|
|
2209
|
-
const
|
|
2246
|
+
const checkboxDefaultVariants = {};
|
|
2247
|
+
const checkboxCompoundVariants = [];
|
|
2248
|
+
const checkboxSlotNames = [
|
|
2210
2249
|
[
|
|
2211
2250
|
"container",
|
|
2212
|
-
"
|
|
2251
|
+
"checkbox__container"
|
|
2213
2252
|
],
|
|
2214
2253
|
[
|
|
2215
2254
|
"input",
|
|
2216
|
-
"
|
|
2255
|
+
"checkbox__input"
|
|
2217
2256
|
],
|
|
2218
2257
|
[
|
|
2219
2258
|
"indicator",
|
|
2220
|
-
"
|
|
2259
|
+
"checkbox__indicator"
|
|
2260
|
+
],
|
|
2261
|
+
[
|
|
2262
|
+
"checkBg",
|
|
2263
|
+
"checkbox__checkBg"
|
|
2221
2264
|
]
|
|
2222
2265
|
];
|
|
2223
|
-
const
|
|
2224
|
-
const
|
|
2225
|
-
return Object.fromEntries(
|
|
2266
|
+
const checkboxSlotFns = /* @__PURE__ */ checkboxSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, checkboxDefaultVariants, getSlotCompoundVariant(checkboxCompoundVariants, slotName))]);
|
|
2267
|
+
const checkboxFn = memo((props = {}) => {
|
|
2268
|
+
return Object.fromEntries(checkboxSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2226
2269
|
});
|
|
2227
|
-
const
|
|
2228
|
-
const getVariantProps$8 = (variants) => ({ ...
|
|
2229
|
-
const
|
|
2270
|
+
const checkboxVariantKeys = [];
|
|
2271
|
+
const getVariantProps$8 = (variants) => ({ ...checkboxDefaultVariants, ...compact(variants) });
|
|
2272
|
+
const checkbox = /* @__PURE__ */ Object.assign(checkboxFn, {
|
|
2230
2273
|
__recipe__: false,
|
|
2231
|
-
__name__: "
|
|
2274
|
+
__name__: "checkbox",
|
|
2232
2275
|
raw: (props) => props,
|
|
2233
2276
|
classNameMap: {},
|
|
2234
|
-
variantKeys:
|
|
2277
|
+
variantKeys: checkboxVariantKeys,
|
|
2235
2278
|
variantMap: {},
|
|
2236
2279
|
splitVariantProps(props) {
|
|
2237
|
-
return splitProps$1(props,
|
|
2280
|
+
return splitProps$1(props, checkboxVariantKeys);
|
|
2238
2281
|
},
|
|
2239
2282
|
getVariantProps: getVariantProps$8
|
|
2240
2283
|
});
|
|
@@ -2341,67 +2384,173 @@ const chip = /* @__PURE__ */ Object.assign(chipFn, {
|
|
|
2341
2384
|
},
|
|
2342
2385
|
getVariantProps: getVariantProps$7
|
|
2343
2386
|
});
|
|
2344
|
-
const
|
|
2345
|
-
"
|
|
2346
|
-
"
|
|
2387
|
+
const formFieldDefaultVariants = {
|
|
2388
|
+
"layout": "default",
|
|
2389
|
+
"size": "md"
|
|
2347
2390
|
};
|
|
2348
|
-
const
|
|
2349
|
-
const
|
|
2391
|
+
const formFieldCompoundVariants = [];
|
|
2392
|
+
const formFieldSlotNames = [
|
|
2393
|
+
[
|
|
2394
|
+
"container",
|
|
2395
|
+
"formField__container"
|
|
2396
|
+
],
|
|
2397
|
+
[
|
|
2398
|
+
"inputs",
|
|
2399
|
+
"formField__inputs"
|
|
2400
|
+
],
|
|
2401
|
+
[
|
|
2402
|
+
"labelWrapper",
|
|
2403
|
+
"formField__labelWrapper"
|
|
2404
|
+
]
|
|
2405
|
+
];
|
|
2406
|
+
const formFieldSlotFns = /* @__PURE__ */ formFieldSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, formFieldDefaultVariants, getSlotCompoundVariant(formFieldCompoundVariants, slotName))]);
|
|
2407
|
+
const formFieldFn = memo((props = {}) => {
|
|
2408
|
+
return Object.fromEntries(formFieldSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2409
|
+
});
|
|
2410
|
+
const formFieldVariantKeys = [
|
|
2411
|
+
"layout",
|
|
2412
|
+
"size"
|
|
2413
|
+
];
|
|
2414
|
+
const getVariantProps$6 = (variants) => ({ ...formFieldDefaultVariants, ...compact(variants) });
|
|
2415
|
+
const formField = /* @__PURE__ */ Object.assign(formFieldFn, {
|
|
2416
|
+
__recipe__: false,
|
|
2417
|
+
__name__: "formField",
|
|
2418
|
+
raw: (props) => props,
|
|
2419
|
+
classNameMap: {},
|
|
2420
|
+
variantKeys: formFieldVariantKeys,
|
|
2421
|
+
variantMap: {
|
|
2422
|
+
"layout": [
|
|
2423
|
+
"default",
|
|
2424
|
+
"inline"
|
|
2425
|
+
],
|
|
2426
|
+
"size": [
|
|
2427
|
+
"sm",
|
|
2428
|
+
"md",
|
|
2429
|
+
"lg",
|
|
2430
|
+
"xl"
|
|
2431
|
+
]
|
|
2432
|
+
},
|
|
2433
|
+
splitVariantProps(props) {
|
|
2434
|
+
return splitProps$1(props, formFieldVariantKeys);
|
|
2435
|
+
},
|
|
2436
|
+
getVariantProps: getVariantProps$6
|
|
2437
|
+
});
|
|
2438
|
+
const iconButtonDefaultVariants = {
|
|
2439
|
+
"variant": "standard",
|
|
2440
|
+
"size": "md"
|
|
2441
|
+
};
|
|
2442
|
+
const iconButtonCompoundVariants = [];
|
|
2443
|
+
const iconButtonSlotNames = [
|
|
2444
|
+
[
|
|
2445
|
+
"container",
|
|
2446
|
+
"iconButton__container"
|
|
2447
|
+
],
|
|
2448
|
+
[
|
|
2449
|
+
"icon",
|
|
2450
|
+
"iconButton__icon"
|
|
2451
|
+
]
|
|
2452
|
+
];
|
|
2453
|
+
const iconButtonSlotFns = /* @__PURE__ */ iconButtonSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, iconButtonDefaultVariants, getSlotCompoundVariant(iconButtonCompoundVariants, slotName))]);
|
|
2454
|
+
const iconButtonFn = memo((props = {}) => {
|
|
2455
|
+
return Object.fromEntries(iconButtonSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2456
|
+
});
|
|
2457
|
+
const iconButtonVariantKeys = [
|
|
2458
|
+
"variant",
|
|
2459
|
+
"size"
|
|
2460
|
+
];
|
|
2461
|
+
const getVariantProps$5 = (variants) => ({ ...iconButtonDefaultVariants, ...compact(variants) });
|
|
2462
|
+
const iconButton = /* @__PURE__ */ Object.assign(iconButtonFn, {
|
|
2463
|
+
__recipe__: false,
|
|
2464
|
+
__name__: "iconButton",
|
|
2465
|
+
raw: (props) => props,
|
|
2466
|
+
classNameMap: {},
|
|
2467
|
+
variantKeys: iconButtonVariantKeys,
|
|
2468
|
+
variantMap: {
|
|
2469
|
+
"variant": [
|
|
2470
|
+
"standard",
|
|
2471
|
+
"primary",
|
|
2472
|
+
"hollow",
|
|
2473
|
+
"ghost",
|
|
2474
|
+
"cta",
|
|
2475
|
+
"danger",
|
|
2476
|
+
"selected",
|
|
2477
|
+
"selectedBold"
|
|
2478
|
+
],
|
|
2479
|
+
"size": [
|
|
2480
|
+
"md",
|
|
2481
|
+
"xl",
|
|
2482
|
+
"lg",
|
|
2483
|
+
"sm"
|
|
2484
|
+
]
|
|
2485
|
+
},
|
|
2486
|
+
splitVariantProps(props) {
|
|
2487
|
+
return splitProps$1(props, iconButtonVariantKeys);
|
|
2488
|
+
},
|
|
2489
|
+
getVariantProps: getVariantProps$5
|
|
2490
|
+
});
|
|
2491
|
+
const menuDefaultVariants = {
|
|
2492
|
+
"density": "compact"
|
|
2493
|
+
};
|
|
2494
|
+
const menuCompoundVariants = [];
|
|
2495
|
+
const menuSlotNames = [
|
|
2496
|
+
[
|
|
2497
|
+
"wrapper",
|
|
2498
|
+
"menu__wrapper"
|
|
2499
|
+
],
|
|
2500
|
+
[
|
|
2501
|
+
"backHeader",
|
|
2502
|
+
"menu__backHeader"
|
|
2503
|
+
],
|
|
2350
2504
|
[
|
|
2351
|
-
"
|
|
2352
|
-
"
|
|
2505
|
+
"levelsViewport",
|
|
2506
|
+
"menu__levelsViewport"
|
|
2353
2507
|
],
|
|
2354
2508
|
[
|
|
2355
|
-
"
|
|
2356
|
-
"
|
|
2509
|
+
"levelsTrack",
|
|
2510
|
+
"menu__levelsTrack"
|
|
2357
2511
|
],
|
|
2358
2512
|
[
|
|
2359
|
-
"
|
|
2360
|
-
"
|
|
2513
|
+
"level",
|
|
2514
|
+
"menu__level"
|
|
2361
2515
|
],
|
|
2362
2516
|
[
|
|
2363
|
-
"
|
|
2364
|
-
"
|
|
2517
|
+
"sizeProbe",
|
|
2518
|
+
"menu__sizeProbe"
|
|
2365
2519
|
],
|
|
2366
2520
|
[
|
|
2367
|
-
"
|
|
2368
|
-
"
|
|
2521
|
+
"noResults",
|
|
2522
|
+
"menu__noResults"
|
|
2369
2523
|
]
|
|
2370
2524
|
];
|
|
2371
|
-
const
|
|
2372
|
-
const
|
|
2373
|
-
return Object.fromEntries(
|
|
2525
|
+
const menuSlotFns = /* @__PURE__ */ menuSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, menuDefaultVariants, getSlotCompoundVariant(menuCompoundVariants, slotName))]);
|
|
2526
|
+
const menuFn = memo((props = {}) => {
|
|
2527
|
+
return Object.fromEntries(menuSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2374
2528
|
});
|
|
2375
|
-
const
|
|
2376
|
-
"
|
|
2377
|
-
"
|
|
2529
|
+
const menuVariantKeys = [
|
|
2530
|
+
"density",
|
|
2531
|
+
"panel"
|
|
2378
2532
|
];
|
|
2379
|
-
const getVariantProps$
|
|
2380
|
-
const
|
|
2533
|
+
const getVariantProps$4 = (variants) => ({ ...menuDefaultVariants, ...compact(variants) });
|
|
2534
|
+
const menu = /* @__PURE__ */ Object.assign(menuFn, {
|
|
2381
2535
|
__recipe__: false,
|
|
2382
|
-
__name__: "
|
|
2536
|
+
__name__: "menu",
|
|
2383
2537
|
raw: (props) => props,
|
|
2384
2538
|
classNameMap: {},
|
|
2385
|
-
variantKeys:
|
|
2539
|
+
variantKeys: menuVariantKeys,
|
|
2386
2540
|
variantMap: {
|
|
2387
|
-
"
|
|
2388
|
-
"
|
|
2389
|
-
"
|
|
2390
|
-
"
|
|
2391
|
-
"lg",
|
|
2392
|
-
"xl",
|
|
2393
|
-
"2xl"
|
|
2541
|
+
"density": [
|
|
2542
|
+
"compact",
|
|
2543
|
+
"comfortable",
|
|
2544
|
+
"spacious"
|
|
2394
2545
|
],
|
|
2395
|
-
"
|
|
2396
|
-
"
|
|
2397
|
-
"square",
|
|
2398
|
-
"hexagon"
|
|
2546
|
+
"panel": [
|
|
2547
|
+
"true"
|
|
2399
2548
|
]
|
|
2400
2549
|
},
|
|
2401
2550
|
splitVariantProps(props) {
|
|
2402
|
-
return splitProps$1(props,
|
|
2551
|
+
return splitProps$1(props, menuVariantKeys);
|
|
2403
2552
|
},
|
|
2404
|
-
getVariantProps: getVariantProps$
|
|
2553
|
+
getVariantProps: getVariantProps$4
|
|
2405
2554
|
});
|
|
2406
2555
|
const modalDefaultVariants = {
|
|
2407
2556
|
"variant": "default",
|
|
@@ -2446,7 +2595,7 @@ const modalVariantKeys = [
|
|
|
2446
2595
|
"size",
|
|
2447
2596
|
"variant"
|
|
2448
2597
|
];
|
|
2449
|
-
const getVariantProps$
|
|
2598
|
+
const getVariantProps$3 = (variants) => ({ ...modalDefaultVariants, ...compact(variants) });
|
|
2450
2599
|
const modal = /* @__PURE__ */ Object.assign(modalFn, {
|
|
2451
2600
|
__recipe__: false,
|
|
2452
2601
|
__name__: "modal",
|
|
@@ -2470,107 +2619,45 @@ const modal = /* @__PURE__ */ Object.assign(modalFn, {
|
|
|
2470
2619
|
splitVariantProps(props) {
|
|
2471
2620
|
return splitProps$1(props, modalVariantKeys);
|
|
2472
2621
|
},
|
|
2473
|
-
getVariantProps: getVariantProps$
|
|
2622
|
+
getVariantProps: getVariantProps$3
|
|
2474
2623
|
});
|
|
2475
|
-
const
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
};
|
|
2479
|
-
const formFieldCompoundVariants = [];
|
|
2480
|
-
const formFieldSlotNames = [
|
|
2624
|
+
const radioDefaultVariants = {};
|
|
2625
|
+
const radioCompoundVariants = [];
|
|
2626
|
+
const radioSlotNames = [
|
|
2481
2627
|
[
|
|
2482
2628
|
"container",
|
|
2483
|
-
"
|
|
2629
|
+
"radio__container"
|
|
2484
2630
|
],
|
|
2485
2631
|
[
|
|
2486
|
-
"
|
|
2487
|
-
"
|
|
2632
|
+
"input",
|
|
2633
|
+
"radio__input"
|
|
2488
2634
|
],
|
|
2489
2635
|
[
|
|
2490
|
-
"
|
|
2491
|
-
"
|
|
2492
|
-
]
|
|
2493
|
-
];
|
|
2494
|
-
const formFieldSlotFns = /* @__PURE__ */ formFieldSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, formFieldDefaultVariants, getSlotCompoundVariant(formFieldCompoundVariants, slotName))]);
|
|
2495
|
-
const formFieldFn = memo((props = {}) => {
|
|
2496
|
-
return Object.fromEntries(formFieldSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2497
|
-
});
|
|
2498
|
-
const formFieldVariantKeys = [
|
|
2499
|
-
"layout",
|
|
2500
|
-
"size"
|
|
2501
|
-
];
|
|
2502
|
-
const getVariantProps$4 = (variants) => ({ ...formFieldDefaultVariants, ...compact(variants) });
|
|
2503
|
-
const formField = /* @__PURE__ */ Object.assign(formFieldFn, {
|
|
2504
|
-
__recipe__: false,
|
|
2505
|
-
__name__: "formField",
|
|
2506
|
-
raw: (props) => props,
|
|
2507
|
-
classNameMap: {},
|
|
2508
|
-
variantKeys: formFieldVariantKeys,
|
|
2509
|
-
variantMap: {
|
|
2510
|
-
"layout": [
|
|
2511
|
-
"default",
|
|
2512
|
-
"inline"
|
|
2513
|
-
],
|
|
2514
|
-
"size": [
|
|
2515
|
-
"sm",
|
|
2516
|
-
"md",
|
|
2517
|
-
"lg",
|
|
2518
|
-
"xl"
|
|
2519
|
-
]
|
|
2520
|
-
},
|
|
2521
|
-
splitVariantProps(props) {
|
|
2522
|
-
return splitProps$1(props, formFieldVariantKeys);
|
|
2523
|
-
},
|
|
2524
|
-
getVariantProps: getVariantProps$4
|
|
2525
|
-
});
|
|
2526
|
-
const spinnerDefaultVariants = {
|
|
2527
|
-
"size": "md"
|
|
2528
|
-
};
|
|
2529
|
-
const spinnerCompoundVariants = [];
|
|
2530
|
-
const spinnerSlotNames = [
|
|
2531
|
-
[
|
|
2532
|
-
"container",
|
|
2533
|
-
"spinner__container"
|
|
2636
|
+
"indicator",
|
|
2637
|
+
"radio__indicator"
|
|
2534
2638
|
],
|
|
2535
2639
|
[
|
|
2536
|
-
"
|
|
2537
|
-
"
|
|
2640
|
+
"radioBg",
|
|
2641
|
+
"radio__radioBg"
|
|
2538
2642
|
]
|
|
2539
2643
|
];
|
|
2540
|
-
const
|
|
2541
|
-
const
|
|
2542
|
-
return Object.fromEntries(
|
|
2644
|
+
const radioSlotFns = /* @__PURE__ */ radioSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, radioDefaultVariants, getSlotCompoundVariant(radioCompoundVariants, slotName))]);
|
|
2645
|
+
const radioFn = memo((props = {}) => {
|
|
2646
|
+
return Object.fromEntries(radioSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2543
2647
|
});
|
|
2544
|
-
const
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
"centered"
|
|
2548
|
-
];
|
|
2549
|
-
const getVariantProps$3 = (variants) => ({ ...spinnerDefaultVariants, ...compact(variants) });
|
|
2550
|
-
const spinner = /* @__PURE__ */ Object.assign(spinnerFn, {
|
|
2648
|
+
const radioVariantKeys = [];
|
|
2649
|
+
const getVariantProps$2 = (variants) => ({ ...radioDefaultVariants, ...compact(variants) });
|
|
2650
|
+
const radio = /* @__PURE__ */ Object.assign(radioFn, {
|
|
2551
2651
|
__recipe__: false,
|
|
2552
|
-
__name__: "
|
|
2652
|
+
__name__: "radio",
|
|
2553
2653
|
raw: (props) => props,
|
|
2554
2654
|
classNameMap: {},
|
|
2555
|
-
variantKeys:
|
|
2556
|
-
variantMap: {
|
|
2557
|
-
"size": [
|
|
2558
|
-
"xs",
|
|
2559
|
-
"sm",
|
|
2560
|
-
"md",
|
|
2561
|
-
"lg"
|
|
2562
|
-
],
|
|
2563
|
-
"inverse": [
|
|
2564
|
-
"true"
|
|
2565
|
-
],
|
|
2566
|
-
"centered": [
|
|
2567
|
-
"true"
|
|
2568
|
-
]
|
|
2569
|
-
},
|
|
2655
|
+
variantKeys: radioVariantKeys,
|
|
2656
|
+
variantMap: {},
|
|
2570
2657
|
splitVariantProps(props) {
|
|
2571
|
-
return splitProps$1(props,
|
|
2658
|
+
return splitProps$1(props, radioVariantKeys);
|
|
2572
2659
|
},
|
|
2573
|
-
getVariantProps: getVariantProps$
|
|
2660
|
+
getVariantProps: getVariantProps$2
|
|
2574
2661
|
});
|
|
2575
2662
|
const textInputDefaultVariants = {
|
|
2576
2663
|
"size": "md"
|
|
@@ -2673,7 +2760,7 @@ const textInputVariantKeys = [
|
|
|
2673
2760
|
"iconAfter",
|
|
2674
2761
|
"autoSize"
|
|
2675
2762
|
];
|
|
2676
|
-
const getVariantProps$
|
|
2763
|
+
const getVariantProps$1 = (variants) => ({ ...textInputDefaultVariants, ...compact(variants) });
|
|
2677
2764
|
const textInput = /* @__PURE__ */ Object.assign(textInputFn, {
|
|
2678
2765
|
__recipe__: false,
|
|
2679
2766
|
__name__: "textInput",
|
|
@@ -2700,87 +2787,55 @@ const textInput = /* @__PURE__ */ Object.assign(textInputFn, {
|
|
|
2700
2787
|
splitVariantProps(props) {
|
|
2701
2788
|
return splitProps$1(props, textInputVariantKeys);
|
|
2702
2789
|
},
|
|
2703
|
-
getVariantProps: getVariantProps$2
|
|
2704
|
-
});
|
|
2705
|
-
const breadcrumbsDefaultVariants = {};
|
|
2706
|
-
const breadcrumbsCompoundVariants = [];
|
|
2707
|
-
const breadcrumbsSlotNames = [
|
|
2708
|
-
[
|
|
2709
|
-
"wrapper",
|
|
2710
|
-
"breadcrumbs__wrapper"
|
|
2711
|
-
],
|
|
2712
|
-
[
|
|
2713
|
-
"slash",
|
|
2714
|
-
"breadcrumbs__slash"
|
|
2715
|
-
],
|
|
2716
|
-
[
|
|
2717
|
-
"linkSegment",
|
|
2718
|
-
"breadcrumbs__linkSegment"
|
|
2719
|
-
],
|
|
2720
|
-
[
|
|
2721
|
-
"currentSegment",
|
|
2722
|
-
"breadcrumbs__currentSegment"
|
|
2723
|
-
]
|
|
2724
|
-
];
|
|
2725
|
-
const breadcrumbsSlotFns = /* @__PURE__ */ breadcrumbsSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, breadcrumbsDefaultVariants, getSlotCompoundVariant(breadcrumbsCompoundVariants, slotName))]);
|
|
2726
|
-
const breadcrumbsFn = memo((props = {}) => {
|
|
2727
|
-
return Object.fromEntries(breadcrumbsSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2728
|
-
});
|
|
2729
|
-
const breadcrumbsVariantKeys = [];
|
|
2730
|
-
const getVariantProps$1 = (variants) => ({ ...breadcrumbsDefaultVariants, ...compact(variants) });
|
|
2731
|
-
const breadcrumbs = /* @__PURE__ */ Object.assign(breadcrumbsFn, {
|
|
2732
|
-
__recipe__: false,
|
|
2733
|
-
__name__: "breadcrumbs",
|
|
2734
|
-
raw: (props) => props,
|
|
2735
|
-
classNameMap: {},
|
|
2736
|
-
variantKeys: breadcrumbsVariantKeys,
|
|
2737
|
-
variantMap: {},
|
|
2738
|
-
splitVariantProps(props) {
|
|
2739
|
-
return splitProps$1(props, breadcrumbsVariantKeys);
|
|
2740
|
-
},
|
|
2741
2790
|
getVariantProps: getVariantProps$1
|
|
2742
2791
|
});
|
|
2743
|
-
const
|
|
2744
|
-
"
|
|
2792
|
+
const tooltipDefaultVariants = {
|
|
2793
|
+
"size": "md",
|
|
2794
|
+
"hasTitle": false
|
|
2745
2795
|
};
|
|
2746
|
-
const
|
|
2747
|
-
const
|
|
2796
|
+
const tooltipCompoundVariants = [];
|
|
2797
|
+
const tooltipSlotNames = [
|
|
2748
2798
|
[
|
|
2749
|
-
"
|
|
2750
|
-
"
|
|
2799
|
+
"tooltipContent",
|
|
2800
|
+
"tooltip__tooltipContent"
|
|
2751
2801
|
],
|
|
2752
2802
|
[
|
|
2753
|
-
"
|
|
2754
|
-
"
|
|
2803
|
+
"title",
|
|
2804
|
+
"tooltip__title"
|
|
2755
2805
|
],
|
|
2756
2806
|
[
|
|
2757
|
-
"
|
|
2758
|
-
"
|
|
2807
|
+
"text",
|
|
2808
|
+
"tooltip__text"
|
|
2759
2809
|
]
|
|
2760
2810
|
];
|
|
2761
|
-
const
|
|
2762
|
-
const
|
|
2763
|
-
return Object.fromEntries(
|
|
2811
|
+
const tooltipSlotFns = /* @__PURE__ */ tooltipSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, tooltipDefaultVariants, getSlotCompoundVariant(tooltipCompoundVariants, slotName))]);
|
|
2812
|
+
const tooltipFn = memo((props = {}) => {
|
|
2813
|
+
return Object.fromEntries(tooltipSlotFns.map(([slotName, slotFn]) => [slotName, slotFn.recipeFn(props)]));
|
|
2764
2814
|
});
|
|
2765
|
-
const
|
|
2766
|
-
"
|
|
2815
|
+
const tooltipVariantKeys = [
|
|
2816
|
+
"size",
|
|
2817
|
+
"hasTitle"
|
|
2767
2818
|
];
|
|
2768
|
-
const getVariantProps = (variants) => ({ ...
|
|
2769
|
-
const
|
|
2819
|
+
const getVariantProps = (variants) => ({ ...tooltipDefaultVariants, ...compact(variants) });
|
|
2820
|
+
const tooltip = /* @__PURE__ */ Object.assign(tooltipFn, {
|
|
2770
2821
|
__recipe__: false,
|
|
2771
|
-
__name__: "
|
|
2822
|
+
__name__: "tooltip",
|
|
2772
2823
|
raw: (props) => props,
|
|
2773
2824
|
classNameMap: {},
|
|
2774
|
-
variantKeys:
|
|
2825
|
+
variantKeys: tooltipVariantKeys,
|
|
2775
2826
|
variantMap: {
|
|
2776
|
-
"
|
|
2777
|
-
"
|
|
2778
|
-
"
|
|
2779
|
-
"
|
|
2827
|
+
"size": [
|
|
2828
|
+
"sm",
|
|
2829
|
+
"md",
|
|
2830
|
+
"lg"
|
|
2831
|
+
],
|
|
2832
|
+
"hasTitle": [
|
|
2833
|
+
"true",
|
|
2834
|
+
"false"
|
|
2780
2835
|
]
|
|
2781
2836
|
},
|
|
2782
2837
|
splitVariantProps(props) {
|
|
2783
|
-
return splitProps$1(props,
|
|
2838
|
+
return splitProps$1(props, tooltipVariantKeys);
|
|
2784
2839
|
},
|
|
2785
2840
|
getVariantProps
|
|
2786
2841
|
});
|
|
@@ -3036,9 +3091,8 @@ const Icon = (props) => {
|
|
|
3036
3091
|
name,
|
|
3037
3092
|
viewBox: "0 0 24 24",
|
|
3038
3093
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3039
|
-
...size2 && { width: size2 },
|
|
3040
3094
|
fill,
|
|
3041
|
-
className: cx(icon(), className),
|
|
3095
|
+
className: cx(icon({ size: size2 }), className),
|
|
3042
3096
|
...otherProps,
|
|
3043
3097
|
children: /* @__PURE__ */ jsx("use", { xlinkHref: spriteHref })
|
|
3044
3098
|
}
|
|
@@ -14511,6 +14565,8 @@ const TextInput = (props) => {
|
|
|
14511
14565
|
iconAfter,
|
|
14512
14566
|
error: error2,
|
|
14513
14567
|
disabled,
|
|
14568
|
+
valid,
|
|
14569
|
+
invalid,
|
|
14514
14570
|
type = "text",
|
|
14515
14571
|
size: size2,
|
|
14516
14572
|
autoSize = false,
|
|
@@ -14531,6 +14587,8 @@ const TextInput = (props) => {
|
|
|
14531
14587
|
"aria-disabled": disabled,
|
|
14532
14588
|
"data-disabled": disabled || void 0,
|
|
14533
14589
|
"data-error": error2,
|
|
14590
|
+
"data-valid": valid,
|
|
14591
|
+
"data-invalid": invalid,
|
|
14534
14592
|
children: [
|
|
14535
14593
|
iconBefore && /* @__PURE__ */ jsx(Icon, { name: iconBefore, className: classes.icon }),
|
|
14536
14594
|
/* @__PURE__ */ jsx(
|
|
@@ -14542,6 +14600,8 @@ const TextInput = (props) => {
|
|
|
14542
14600
|
type,
|
|
14543
14601
|
disabled,
|
|
14544
14602
|
"data-error": error2,
|
|
14603
|
+
"data-valid": valid,
|
|
14604
|
+
"data-invalid": invalid,
|
|
14545
14605
|
className: cx(classes.input, className),
|
|
14546
14606
|
autoComplete,
|
|
14547
14607
|
...otherProps
|
|
@@ -15207,8 +15267,10 @@ const Menu = (props) => {
|
|
|
15207
15267
|
const isOpen = isControlled ? open : uncontrolledOpen;
|
|
15208
15268
|
const isMenuVisible = hasReference ? isOpen : true;
|
|
15209
15269
|
const setOpenState = (nextOpen, _event, reason) => {
|
|
15210
|
-
if (
|
|
15211
|
-
|
|
15270
|
+
if (!nextOpen && (reason === "hover" || reason === "safe-polygon")) {
|
|
15271
|
+
if (triggerInteraction === "hover" || triggerInteraction === "click-and-hover") {
|
|
15272
|
+
return;
|
|
15273
|
+
}
|
|
15212
15274
|
}
|
|
15213
15275
|
if (!isControlled) {
|
|
15214
15276
|
setUncontrolledOpen(nextOpen);
|
|
@@ -15240,7 +15302,7 @@ const Menu = (props) => {
|
|
|
15240
15302
|
const labelsRef = useRef([]);
|
|
15241
15303
|
const [activeIndex, setActiveIndex] = useState(null);
|
|
15242
15304
|
const hover = useHover(floating.context, {
|
|
15243
|
-
enabled: hasReference && triggerInteraction === "hover",
|
|
15305
|
+
enabled: hasReference && (triggerInteraction === "hover" || triggerInteraction === "click-and-hover"),
|
|
15244
15306
|
delay: {
|
|
15245
15307
|
open: triggerOpenDelay,
|
|
15246
15308
|
close: triggerCloseDelay
|
|
@@ -15250,7 +15312,7 @@ const Menu = (props) => {
|
|
|
15250
15312
|
})
|
|
15251
15313
|
});
|
|
15252
15314
|
const click = useClick(floating.context, {
|
|
15253
|
-
enabled: hasReference && triggerInteraction === "click"
|
|
15315
|
+
enabled: hasReference && (triggerInteraction === "click" || triggerInteraction === "click-and-hover")
|
|
15254
15316
|
});
|
|
15255
15317
|
const dismiss = useDismiss(floating.context, { enabled: hasReference });
|
|
15256
15318
|
const role = useRole(floating.context, { role: "menu" });
|