@powerhousedao/powerhouse-vetra-packages 6.2.3-dev.8 → 6.2.3-dev.80

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.
Files changed (115) hide show
  1. package/dist/browser/document-models/index.js +2 -1
  2. package/dist/browser/documents-cxt8RRxe.js +18 -0
  3. package/dist/browser/documents-cxt8RRxe.js.map +1 -0
  4. package/dist/browser/{editor-6T4WF2og.js → editor-DXAJ8Mqb.js} +761 -277
  5. package/dist/browser/editor-DXAJ8Mqb.js.map +1 -0
  6. package/dist/browser/{editor-DHysndk4.js → editor-Dmpkd8pQ.js} +4 -5
  7. package/dist/browser/{editor-DHysndk4.js.map → editor-Dmpkd8pQ.js.map} +1 -1
  8. package/dist/browser/editors/document-model-editor/module.js +1 -1
  9. package/dist/browser/editors/document-model-editor/module.js.map +1 -1
  10. package/dist/browser/editors/generic-drive-explorer/index.js +4 -324
  11. package/dist/browser/editors/generic-drive-explorer/index.js.map +1 -1
  12. package/dist/browser/editors/generic-drive-explorer/module.js +1 -1
  13. package/dist/browser/editors/generic-drive-explorer/module.js.map +1 -1
  14. package/dist/browser/{folder-view-DTewe8q8.js → folder-view-CwIU4XEe.js} +17 -12
  15. package/dist/browser/folder-view-CwIU4XEe.js.map +1 -0
  16. package/dist/browser/graphql-editor-CGxwONKl.js +103 -0
  17. package/dist/browser/graphql-editor-CGxwONKl.js.map +1 -0
  18. package/dist/browser/hooks-D15NCia0.js +126 -0
  19. package/dist/browser/hooks-D15NCia0.js.map +1 -0
  20. package/dist/browser/index.js +6 -703
  21. package/dist/browser/index.js.map +1 -1
  22. package/dist/browser/json-editor--jgLEwP2.js +55 -0
  23. package/dist/browser/json-editor--jgLEwP2.js.map +1 -0
  24. package/dist/browser/{schema-context-ZyeclQwy.js → schema-context-CC_WFs1x.js} +10 -6
  25. package/dist/browser/schema-context-CC_WFs1x.js.map +1 -0
  26. package/dist/browser/{state-schemas-CpcWN_Qo.js → state-schemas-DSY44MOd.js} +28 -19
  27. package/dist/browser/state-schemas-DSY44MOd.js.map +1 -0
  28. package/dist/{browser/dist-BAJ5nRDl.js → node/bundle-mjs-Cuu3DEfT.mjs} +1251 -822
  29. package/dist/node/bundle-mjs-Cuu3DEfT.mjs.map +1 -0
  30. package/dist/node/document-models/index.mjs +2 -1
  31. package/dist/node/{graphql-BfAoPeWM.mjs → documents-CNInCxpO.mjs} +66 -50
  32. package/dist/node/documents-CNInCxpO.mjs.map +1 -0
  33. package/dist/node/editor-C54qhQLX.mjs +4762 -0
  34. package/dist/node/editor-C54qhQLX.mjs.map +1 -0
  35. package/dist/node/{editor-DPv5LEug.mjs → editor-NwTlNx8z.mjs} +4 -5
  36. package/dist/node/{editor-DPv5LEug.mjs.map → editor-NwTlNx8z.mjs.map} +1 -1
  37. package/dist/node/editors/document-model-editor/module.mjs +1 -1
  38. package/dist/node/editors/document-model-editor/module.mjs.map +1 -1
  39. package/dist/node/editors/generic-drive-explorer/index.mjs +26 -21
  40. package/dist/node/editors/generic-drive-explorer/index.mjs.map +1 -1
  41. package/dist/node/editors/generic-drive-explorer/module.mjs +1 -1
  42. package/dist/node/editors/generic-drive-explorer/module.mjs.map +1 -1
  43. package/dist/node/folder-view-CkCNU8A_.mjs +966 -0
  44. package/dist/node/folder-view-CkCNU8A_.mjs.map +1 -0
  45. package/dist/node/{graphql-editor-D0CHQeCL.mjs → graphql-editor--ZZPvvGh.mjs} +5130 -63
  46. package/dist/node/graphql-editor--ZZPvvGh.mjs.map +1 -0
  47. package/dist/node/{hooks-D0DcS3MV.mjs → hooks-DI7akiay.mjs} +824 -444
  48. package/dist/node/{hooks-D0DcS3MV.mjs.map → hooks-DI7akiay.mjs.map} +1 -1
  49. package/dist/node/index.mjs +45 -97
  50. package/dist/node/index.mjs.map +1 -1
  51. package/dist/{browser/json-editor-xI_oaxyT.js → node/json-editor-gYEyOVXY.mjs} +8 -9
  52. package/dist/node/{json-editor-Ckaem6ky.mjs.map → json-editor-gYEyOVXY.mjs.map} +1 -1
  53. package/dist/node/rolldown-runtime-Bl3dcgcQ.mjs +16 -0
  54. package/dist/node/{schema-context-DL8jhi_d.mjs → schema-context-DTb0xqgJ.mjs} +9 -6
  55. package/dist/node/schema-context-DTb0xqgJ.mjs.map +1 -0
  56. package/dist/node/state-schemas-Ciq9kway.mjs +1071 -0
  57. package/dist/node/state-schemas-Ciq9kway.mjs.map +1 -0
  58. package/package.json +26 -23
  59. package/style.css +2 -0
  60. package/dist/browser/assets/entry-DSBtQnit.js +0 -314
  61. package/dist/browser/assets/projection-entry-Bem3exmO.js +0 -404
  62. package/dist/browser/button-CuO8Gh3v.js +0 -696
  63. package/dist/browser/button-CuO8Gh3v.js.map +0 -1
  64. package/dist/browser/connect-5NZDVmbb.js +0 -14328
  65. package/dist/browser/connect-5NZDVmbb.js.map +0 -1
  66. package/dist/browser/dist-1yB-AuT-.js +0 -4641
  67. package/dist/browser/dist-1yB-AuT-.js.map +0 -1
  68. package/dist/browser/dist-B4FWbuEM.js +0 -4148
  69. package/dist/browser/dist-B4FWbuEM.js.map +0 -1
  70. package/dist/browser/dist-BAJ5nRDl.js.map +0 -1
  71. package/dist/browser/document-drive-CrvzV1D4.js +0 -8319
  72. package/dist/browser/document-drive-CrvzV1D4.js.map +0 -1
  73. package/dist/browser/documents-J_l59mSV.js +0 -6188
  74. package/dist/browser/documents-J_l59mSV.js.map +0 -1
  75. package/dist/browser/editor-6T4WF2og.js.map +0 -1
  76. package/dist/browser/folder-view-DTewe8q8.js.map +0 -1
  77. package/dist/browser/graphql-editor-C2EtXqb9.js +0 -11698
  78. package/dist/browser/graphql-editor-C2EtXqb9.js.map +0 -1
  79. package/dist/browser/hooks-KKcNp2X0.js +0 -24213
  80. package/dist/browser/hooks-KKcNp2X0.js.map +0 -1
  81. package/dist/browser/json-editor-xI_oaxyT.js.map +0 -1
  82. package/dist/browser/lib-CPkPeg_u.js +0 -209
  83. package/dist/browser/lib-CPkPeg_u.js.map +0 -1
  84. package/dist/browser/parser-CkF6Qt8V.js +0 -2553
  85. package/dist/browser/parser-CkF6Qt8V.js.map +0 -1
  86. package/dist/browser/printer-CEYr4JOg.js +0 -604
  87. package/dist/browser/printer-CEYr4JOg.js.map +0 -1
  88. package/dist/browser/schema-context-ZyeclQwy.js.map +0 -1
  89. package/dist/browser/state-schemas-CpcWN_Qo.js.map +0 -1
  90. package/dist/node/button-Da7CxMn7.mjs +0 -678
  91. package/dist/node/button-Da7CxMn7.mjs.map +0 -1
  92. package/dist/node/connect-cjzsd2cR.mjs +0 -15022
  93. package/dist/node/connect-cjzsd2cR.mjs.map +0 -1
  94. package/dist/node/dist-C30J_pcg.mjs +0 -4649
  95. package/dist/node/dist-C30J_pcg.mjs.map +0 -1
  96. package/dist/node/dist-CzYOpeXN.mjs +0 -2711
  97. package/dist/node/dist-CzYOpeXN.mjs.map +0 -1
  98. package/dist/node/dist-DT7jI9ol.mjs +0 -4148
  99. package/dist/node/dist-DT7jI9ol.mjs.map +0 -1
  100. package/dist/node/document-drive-BByBwg-I.mjs +0 -8336
  101. package/dist/node/document-drive-BByBwg-I.mjs.map +0 -1
  102. package/dist/node/documents-DCf53bzO.mjs +0 -747
  103. package/dist/node/documents-DCf53bzO.mjs.map +0 -1
  104. package/dist/node/editor-B4vhYrmV.mjs +0 -1809
  105. package/dist/node/editor-B4vhYrmV.mjs.map +0 -1
  106. package/dist/node/folder-view-BhackcXO.mjs +0 -232
  107. package/dist/node/folder-view-BhackcXO.mjs.map +0 -1
  108. package/dist/node/graphql-BfAoPeWM.mjs.map +0 -1
  109. package/dist/node/graphql-editor-D0CHQeCL.mjs.map +0 -1
  110. package/dist/node/json-editor-Ckaem6ky.mjs +0 -154
  111. package/dist/node/main-BhH_ajBM.mjs +0 -745
  112. package/dist/node/main-BhH_ajBM.mjs.map +0 -1
  113. package/dist/node/schema-context-DL8jhi_d.mjs.map +0 -1
  114. package/dist/node/state-schemas-B1SNl8Ob.mjs +0 -299
  115. package/dist/node/state-schemas-B1SNl8Ob.mjs.map +0 -1
@@ -1,7 +1,3 @@
1
- import * as React$1 from "react";
2
- import React from "react";
3
- import { jsx } from "react/jsx-runtime";
4
- import * as ReactDOM$1 from "react-dom";
5
1
  //#region ../../node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
6
2
  /**
7
3
  * Concatenates two arrays faster than the array spread operator.
@@ -30,7 +26,8 @@ const createClassGroupUtils = (config) => {
30
26
  const getClassGroupId = (className) => {
31
27
  if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
32
28
  const classParts = className.split(CLASS_PART_SEPARATOR);
33
- return getGroupRecursive(classParts, classParts[0] === "" && classParts.length > 1 ? 1 : 0, classMap);
29
+ const startIndex = classParts[0] === "" && classParts.length > 1 ? 1 : 0;
30
+ return getGroupRecursive(classParts, startIndex, classMap);
34
31
  };
35
32
  const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
36
33
  if (hasPostfixModifier) {
@@ -375,7 +372,8 @@ const createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
375
372
  let cacheSet;
376
373
  let functionToCall;
377
374
  const initTailwindMerge = (classList) => {
378
- configUtils = createConfigUtils(createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst()));
375
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
376
+ configUtils = createConfigUtils(config);
379
377
  cacheGet = configUtils.cache.get;
380
378
  cacheSet = configUtils.cache.set;
381
379
  functionToCall = tailwindMerge;
@@ -773,6 +771,10 @@ const getDefaultConfig = () => {
773
771
  ]
774
772
  },
775
773
  classGroups: {
774
+ /**
775
+ * Aspect Ratio
776
+ * @see https://tailwindcss.com/docs/aspect-ratio
777
+ */
776
778
  aspect: [{ aspect: [
777
779
  "auto",
778
780
  "square",
@@ -781,23 +783,56 @@ const getDefaultConfig = () => {
781
783
  isArbitraryVariable,
782
784
  themeAspect
783
785
  ] }],
786
+ /**
787
+ * Container
788
+ * @see https://tailwindcss.com/docs/container
789
+ * @deprecated since Tailwind CSS v4.0.0
790
+ */
784
791
  container: ["container"],
792
+ /**
793
+ * Columns
794
+ * @see https://tailwindcss.com/docs/columns
795
+ */
785
796
  columns: [{ columns: [
786
797
  isNumber,
787
798
  isArbitraryValue,
788
799
  isArbitraryVariable,
789
800
  themeContainer
790
801
  ] }],
802
+ /**
803
+ * Break After
804
+ * @see https://tailwindcss.com/docs/break-after
805
+ */
791
806
  "break-after": [{ "break-after": scaleBreak() }],
807
+ /**
808
+ * Break Before
809
+ * @see https://tailwindcss.com/docs/break-before
810
+ */
792
811
  "break-before": [{ "break-before": scaleBreak() }],
812
+ /**
813
+ * Break Inside
814
+ * @see https://tailwindcss.com/docs/break-inside
815
+ */
793
816
  "break-inside": [{ "break-inside": [
794
817
  "auto",
795
818
  "avoid",
796
819
  "avoid-page",
797
820
  "avoid-column"
798
821
  ] }],
822
+ /**
823
+ * Box Decoration Break
824
+ * @see https://tailwindcss.com/docs/box-decoration-break
825
+ */
799
826
  "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
827
+ /**
828
+ * Box Sizing
829
+ * @see https://tailwindcss.com/docs/box-sizing
830
+ */
800
831
  box: [{ box: ["border", "content"] }],
832
+ /**
833
+ * Display
834
+ * @see https://tailwindcss.com/docs/display
835
+ */
801
836
  display: [
802
837
  "block",
803
838
  "inline-block",
@@ -821,7 +856,15 @@ const getDefaultConfig = () => {
821
856
  "list-item",
822
857
  "hidden"
823
858
  ],
859
+ /**
860
+ * Screen Reader Only
861
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
862
+ */
824
863
  sr: ["sr-only", "not-sr-only"],
864
+ /**
865
+ * Floats
866
+ * @see https://tailwindcss.com/docs/float
867
+ */
825
868
  float: [{ float: [
826
869
  "right",
827
870
  "left",
@@ -829,6 +872,10 @@ const getDefaultConfig = () => {
829
872
  "start",
830
873
  "end"
831
874
  ] }],
875
+ /**
876
+ * Clear
877
+ * @see https://tailwindcss.com/docs/clear
878
+ */
832
879
  clear: [{ clear: [
833
880
  "left",
834
881
  "right",
@@ -837,7 +884,15 @@ const getDefaultConfig = () => {
837
884
  "start",
838
885
  "end"
839
886
  ] }],
887
+ /**
888
+ * Isolation
889
+ * @see https://tailwindcss.com/docs/isolation
890
+ */
840
891
  isolation: ["isolate", "isolation-auto"],
892
+ /**
893
+ * Object Fit
894
+ * @see https://tailwindcss.com/docs/object-fit
895
+ */
841
896
  "object-fit": [{ object: [
842
897
  "contain",
843
898
  "cover",
@@ -845,13 +900,45 @@ const getDefaultConfig = () => {
845
900
  "none",
846
901
  "scale-down"
847
902
  ] }],
903
+ /**
904
+ * Object Position
905
+ * @see https://tailwindcss.com/docs/object-position
906
+ */
848
907
  "object-position": [{ object: scalePositionWithArbitrary() }],
908
+ /**
909
+ * Overflow
910
+ * @see https://tailwindcss.com/docs/overflow
911
+ */
849
912
  overflow: [{ overflow: scaleOverflow() }],
913
+ /**
914
+ * Overflow X
915
+ * @see https://tailwindcss.com/docs/overflow
916
+ */
850
917
  "overflow-x": [{ "overflow-x": scaleOverflow() }],
918
+ /**
919
+ * Overflow Y
920
+ * @see https://tailwindcss.com/docs/overflow
921
+ */
851
922
  "overflow-y": [{ "overflow-y": scaleOverflow() }],
923
+ /**
924
+ * Overscroll Behavior
925
+ * @see https://tailwindcss.com/docs/overscroll-behavior
926
+ */
852
927
  overscroll: [{ overscroll: scaleOverscroll() }],
928
+ /**
929
+ * Overscroll Behavior X
930
+ * @see https://tailwindcss.com/docs/overscroll-behavior
931
+ */
853
932
  "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
933
+ /**
934
+ * Overscroll Behavior Y
935
+ * @see https://tailwindcss.com/docs/overscroll-behavior
936
+ */
854
937
  "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
938
+ /**
939
+ * Position
940
+ * @see https://tailwindcss.com/docs/position
941
+ */
855
942
  position: [
856
943
  "static",
857
944
  "fixed",
@@ -859,26 +946,74 @@ const getDefaultConfig = () => {
859
946
  "relative",
860
947
  "sticky"
861
948
  ],
949
+ /**
950
+ * Top / Right / Bottom / Left
951
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
952
+ */
862
953
  inset: [{ inset: scaleInset() }],
954
+ /**
955
+ * Right / Left
956
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
957
+ */
863
958
  "inset-x": [{ "inset-x": scaleInset() }],
959
+ /**
960
+ * Top / Bottom
961
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
962
+ */
864
963
  "inset-y": [{ "inset-y": scaleInset() }],
964
+ /**
965
+ * Start
966
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
967
+ */
865
968
  start: [{ start: scaleInset() }],
969
+ /**
970
+ * End
971
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
972
+ */
866
973
  end: [{ end: scaleInset() }],
974
+ /**
975
+ * Top
976
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
977
+ */
867
978
  top: [{ top: scaleInset() }],
979
+ /**
980
+ * Right
981
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
982
+ */
868
983
  right: [{ right: scaleInset() }],
984
+ /**
985
+ * Bottom
986
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
987
+ */
869
988
  bottom: [{ bottom: scaleInset() }],
989
+ /**
990
+ * Left
991
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
992
+ */
870
993
  left: [{ left: scaleInset() }],
994
+ /**
995
+ * Visibility
996
+ * @see https://tailwindcss.com/docs/visibility
997
+ */
871
998
  visibility: [
872
999
  "visible",
873
1000
  "invisible",
874
1001
  "collapse"
875
1002
  ],
1003
+ /**
1004
+ * Z-Index
1005
+ * @see https://tailwindcss.com/docs/z-index
1006
+ */
876
1007
  z: [{ z: [
877
1008
  isInteger,
878
1009
  "auto",
879
1010
  isArbitraryVariable,
880
1011
  isArbitraryValue
881
1012
  ] }],
1013
+ /**
1014
+ * Flex Basis
1015
+ * @see https://tailwindcss.com/docs/flex-basis
1016
+ */
882
1017
  basis: [{ basis: [
883
1018
  isFraction,
884
1019
  "full",
@@ -886,17 +1021,29 @@ const getDefaultConfig = () => {
886
1021
  themeContainer,
887
1022
  ...scaleUnambiguousSpacing()
888
1023
  ] }],
1024
+ /**
1025
+ * Flex Direction
1026
+ * @see https://tailwindcss.com/docs/flex-direction
1027
+ */
889
1028
  "flex-direction": [{ flex: [
890
1029
  "row",
891
1030
  "row-reverse",
892
1031
  "col",
893
1032
  "col-reverse"
894
1033
  ] }],
1034
+ /**
1035
+ * Flex Wrap
1036
+ * @see https://tailwindcss.com/docs/flex-wrap
1037
+ */
895
1038
  "flex-wrap": [{ flex: [
896
1039
  "nowrap",
897
1040
  "wrap",
898
1041
  "wrap-reverse"
899
1042
  ] }],
1043
+ /**
1044
+ * Flex
1045
+ * @see https://tailwindcss.com/docs/flex
1046
+ */
900
1047
  flex: [{ flex: [
901
1048
  isNumber,
902
1049
  isFraction,
@@ -905,18 +1052,30 @@ const getDefaultConfig = () => {
905
1052
  "none",
906
1053
  isArbitraryValue
907
1054
  ] }],
1055
+ /**
1056
+ * Flex Grow
1057
+ * @see https://tailwindcss.com/docs/flex-grow
1058
+ */
908
1059
  grow: [{ grow: [
909
1060
  "",
910
1061
  isNumber,
911
1062
  isArbitraryVariable,
912
1063
  isArbitraryValue
913
1064
  ] }],
1065
+ /**
1066
+ * Flex Shrink
1067
+ * @see https://tailwindcss.com/docs/flex-shrink
1068
+ */
914
1069
  shrink: [{ shrink: [
915
1070
  "",
916
1071
  isNumber,
917
1072
  isArbitraryVariable,
918
1073
  isArbitraryValue
919
1074
  ] }],
1075
+ /**
1076
+ * Order
1077
+ * @see https://tailwindcss.com/docs/order
1078
+ */
920
1079
  order: [{ order: [
921
1080
  isInteger,
922
1081
  "first",
@@ -925,14 +1084,50 @@ const getDefaultConfig = () => {
925
1084
  isArbitraryVariable,
926
1085
  isArbitraryValue
927
1086
  ] }],
1087
+ /**
1088
+ * Grid Template Columns
1089
+ * @see https://tailwindcss.com/docs/grid-template-columns
1090
+ */
928
1091
  "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
1092
+ /**
1093
+ * Grid Column Start / End
1094
+ * @see https://tailwindcss.com/docs/grid-column
1095
+ */
929
1096
  "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
1097
+ /**
1098
+ * Grid Column Start
1099
+ * @see https://tailwindcss.com/docs/grid-column
1100
+ */
930
1101
  "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
1102
+ /**
1103
+ * Grid Column End
1104
+ * @see https://tailwindcss.com/docs/grid-column
1105
+ */
931
1106
  "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
1107
+ /**
1108
+ * Grid Template Rows
1109
+ * @see https://tailwindcss.com/docs/grid-template-rows
1110
+ */
932
1111
  "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
1112
+ /**
1113
+ * Grid Row Start / End
1114
+ * @see https://tailwindcss.com/docs/grid-row
1115
+ */
933
1116
  "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
1117
+ /**
1118
+ * Grid Row Start
1119
+ * @see https://tailwindcss.com/docs/grid-row
1120
+ */
934
1121
  "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
1122
+ /**
1123
+ * Grid Row End
1124
+ * @see https://tailwindcss.com/docs/grid-row
1125
+ */
935
1126
  "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
1127
+ /**
1128
+ * Grid Auto Flow
1129
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1130
+ */
936
1131
  "grid-flow": [{ "grid-flow": [
937
1132
  "row",
938
1133
  "col",
@@ -940,58 +1135,218 @@ const getDefaultConfig = () => {
940
1135
  "row-dense",
941
1136
  "col-dense"
942
1137
  ] }],
1138
+ /**
1139
+ * Grid Auto Columns
1140
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1141
+ */
943
1142
  "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
1143
+ /**
1144
+ * Grid Auto Rows
1145
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1146
+ */
944
1147
  "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
1148
+ /**
1149
+ * Gap
1150
+ * @see https://tailwindcss.com/docs/gap
1151
+ */
945
1152
  gap: [{ gap: scaleUnambiguousSpacing() }],
1153
+ /**
1154
+ * Gap X
1155
+ * @see https://tailwindcss.com/docs/gap
1156
+ */
946
1157
  "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
1158
+ /**
1159
+ * Gap Y
1160
+ * @see https://tailwindcss.com/docs/gap
1161
+ */
947
1162
  "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
1163
+ /**
1164
+ * Justify Content
1165
+ * @see https://tailwindcss.com/docs/justify-content
1166
+ */
948
1167
  "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
1168
+ /**
1169
+ * Justify Items
1170
+ * @see https://tailwindcss.com/docs/justify-items
1171
+ */
949
1172
  "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
1173
+ /**
1174
+ * Justify Self
1175
+ * @see https://tailwindcss.com/docs/justify-self
1176
+ */
950
1177
  "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1178
+ /**
1179
+ * Align Content
1180
+ * @see https://tailwindcss.com/docs/align-content
1181
+ */
951
1182
  "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
1183
+ /**
1184
+ * Align Items
1185
+ * @see https://tailwindcss.com/docs/align-items
1186
+ */
952
1187
  "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
1188
+ /**
1189
+ * Align Self
1190
+ * @see https://tailwindcss.com/docs/align-self
1191
+ */
953
1192
  "align-self": [{ self: [
954
1193
  "auto",
955
1194
  ...scaleAlignSecondaryAxis(),
956
1195
  { baseline: ["", "last"] }
957
1196
  ] }],
1197
+ /**
1198
+ * Place Content
1199
+ * @see https://tailwindcss.com/docs/place-content
1200
+ */
958
1201
  "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
1202
+ /**
1203
+ * Place Items
1204
+ * @see https://tailwindcss.com/docs/place-items
1205
+ */
959
1206
  "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
1207
+ /**
1208
+ * Place Self
1209
+ * @see https://tailwindcss.com/docs/place-self
1210
+ */
960
1211
  "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1212
+ /**
1213
+ * Padding
1214
+ * @see https://tailwindcss.com/docs/padding
1215
+ */
961
1216
  p: [{ p: scaleUnambiguousSpacing() }],
1217
+ /**
1218
+ * Padding X
1219
+ * @see https://tailwindcss.com/docs/padding
1220
+ */
962
1221
  px: [{ px: scaleUnambiguousSpacing() }],
1222
+ /**
1223
+ * Padding Y
1224
+ * @see https://tailwindcss.com/docs/padding
1225
+ */
963
1226
  py: [{ py: scaleUnambiguousSpacing() }],
1227
+ /**
1228
+ * Padding Start
1229
+ * @see https://tailwindcss.com/docs/padding
1230
+ */
964
1231
  ps: [{ ps: scaleUnambiguousSpacing() }],
1232
+ /**
1233
+ * Padding End
1234
+ * @see https://tailwindcss.com/docs/padding
1235
+ */
965
1236
  pe: [{ pe: scaleUnambiguousSpacing() }],
1237
+ /**
1238
+ * Padding Top
1239
+ * @see https://tailwindcss.com/docs/padding
1240
+ */
966
1241
  pt: [{ pt: scaleUnambiguousSpacing() }],
1242
+ /**
1243
+ * Padding Right
1244
+ * @see https://tailwindcss.com/docs/padding
1245
+ */
967
1246
  pr: [{ pr: scaleUnambiguousSpacing() }],
1247
+ /**
1248
+ * Padding Bottom
1249
+ * @see https://tailwindcss.com/docs/padding
1250
+ */
968
1251
  pb: [{ pb: scaleUnambiguousSpacing() }],
1252
+ /**
1253
+ * Padding Left
1254
+ * @see https://tailwindcss.com/docs/padding
1255
+ */
969
1256
  pl: [{ pl: scaleUnambiguousSpacing() }],
1257
+ /**
1258
+ * Margin
1259
+ * @see https://tailwindcss.com/docs/margin
1260
+ */
970
1261
  m: [{ m: scaleMargin() }],
1262
+ /**
1263
+ * Margin X
1264
+ * @see https://tailwindcss.com/docs/margin
1265
+ */
971
1266
  mx: [{ mx: scaleMargin() }],
1267
+ /**
1268
+ * Margin Y
1269
+ * @see https://tailwindcss.com/docs/margin
1270
+ */
972
1271
  my: [{ my: scaleMargin() }],
1272
+ /**
1273
+ * Margin Start
1274
+ * @see https://tailwindcss.com/docs/margin
1275
+ */
973
1276
  ms: [{ ms: scaleMargin() }],
1277
+ /**
1278
+ * Margin End
1279
+ * @see https://tailwindcss.com/docs/margin
1280
+ */
974
1281
  me: [{ me: scaleMargin() }],
1282
+ /**
1283
+ * Margin Top
1284
+ * @see https://tailwindcss.com/docs/margin
1285
+ */
975
1286
  mt: [{ mt: scaleMargin() }],
1287
+ /**
1288
+ * Margin Right
1289
+ * @see https://tailwindcss.com/docs/margin
1290
+ */
976
1291
  mr: [{ mr: scaleMargin() }],
1292
+ /**
1293
+ * Margin Bottom
1294
+ * @see https://tailwindcss.com/docs/margin
1295
+ */
977
1296
  mb: [{ mb: scaleMargin() }],
1297
+ /**
1298
+ * Margin Left
1299
+ * @see https://tailwindcss.com/docs/margin
1300
+ */
978
1301
  ml: [{ ml: scaleMargin() }],
1302
+ /**
1303
+ * Space Between X
1304
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1305
+ */
979
1306
  "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
1307
+ /**
1308
+ * Space Between X Reverse
1309
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1310
+ */
980
1311
  "space-x-reverse": ["space-x-reverse"],
1312
+ /**
1313
+ * Space Between Y
1314
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1315
+ */
981
1316
  "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
1317
+ /**
1318
+ * Space Between Y Reverse
1319
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1320
+ */
982
1321
  "space-y-reverse": ["space-y-reverse"],
1322
+ /**
1323
+ * Size
1324
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1325
+ */
983
1326
  size: [{ size: scaleSizing() }],
1327
+ /**
1328
+ * Width
1329
+ * @see https://tailwindcss.com/docs/width
1330
+ */
984
1331
  w: [{ w: [
985
1332
  themeContainer,
986
1333
  "screen",
987
1334
  ...scaleSizing()
988
1335
  ] }],
1336
+ /**
1337
+ * Min-Width
1338
+ * @see https://tailwindcss.com/docs/min-width
1339
+ */
989
1340
  "min-w": [{ "min-w": [
990
1341
  themeContainer,
991
1342
  "screen",
992
1343
  "none",
993
1344
  ...scaleSizing()
994
1345
  ] }],
1346
+ /**
1347
+ * Max-Width
1348
+ * @see https://tailwindcss.com/docs/max-width
1349
+ */
995
1350
  "max-w": [{ "max-w": [
996
1351
  themeContainer,
997
1352
  "screen",
@@ -1000,35 +1355,67 @@ const getDefaultConfig = () => {
1000
1355
  { screen: [themeBreakpoint] },
1001
1356
  ...scaleSizing()
1002
1357
  ] }],
1358
+ /**
1359
+ * Height
1360
+ * @see https://tailwindcss.com/docs/height
1361
+ */
1003
1362
  h: [{ h: [
1004
1363
  "screen",
1005
1364
  "lh",
1006
1365
  ...scaleSizing()
1007
1366
  ] }],
1367
+ /**
1368
+ * Min-Height
1369
+ * @see https://tailwindcss.com/docs/min-height
1370
+ */
1008
1371
  "min-h": [{ "min-h": [
1009
1372
  "screen",
1010
1373
  "lh",
1011
1374
  "none",
1012
1375
  ...scaleSizing()
1013
1376
  ] }],
1377
+ /**
1378
+ * Max-Height
1379
+ * @see https://tailwindcss.com/docs/max-height
1380
+ */
1014
1381
  "max-h": [{ "max-h": [
1015
1382
  "screen",
1016
1383
  "lh",
1017
1384
  ...scaleSizing()
1018
1385
  ] }],
1386
+ /**
1387
+ * Font Size
1388
+ * @see https://tailwindcss.com/docs/font-size
1389
+ */
1019
1390
  "font-size": [{ text: [
1020
1391
  "base",
1021
1392
  themeText,
1022
1393
  isArbitraryVariableLength,
1023
1394
  isArbitraryLength
1024
1395
  ] }],
1396
+ /**
1397
+ * Font Smoothing
1398
+ * @see https://tailwindcss.com/docs/font-smoothing
1399
+ */
1025
1400
  "font-smoothing": ["antialiased", "subpixel-antialiased"],
1401
+ /**
1402
+ * Font Style
1403
+ * @see https://tailwindcss.com/docs/font-style
1404
+ */
1026
1405
  "font-style": ["italic", "not-italic"],
1406
+ /**
1407
+ * Font Weight
1408
+ * @see https://tailwindcss.com/docs/font-weight
1409
+ */
1027
1410
  "font-weight": [{ font: [
1028
1411
  themeFontWeight,
1029
1412
  isArbitraryVariable,
1030
1413
  isArbitraryNumber
1031
1414
  ] }],
1415
+ /**
1416
+ * Font Stretch
1417
+ * @see https://tailwindcss.com/docs/font-stretch
1418
+ */
1032
1419
  "font-stretch": [{ "font-stretch": [
1033
1420
  "ultra-condensed",
1034
1421
  "extra-condensed",
@@ -1042,35 +1429,87 @@ const getDefaultConfig = () => {
1042
1429
  isPercent,
1043
1430
  isArbitraryValue
1044
1431
  ] }],
1432
+ /**
1433
+ * Font Family
1434
+ * @see https://tailwindcss.com/docs/font-family
1435
+ */
1045
1436
  "font-family": [{ font: [
1046
1437
  isArbitraryVariableFamilyName,
1047
1438
  isArbitraryValue,
1048
1439
  themeFont
1049
1440
  ] }],
1441
+ /**
1442
+ * Font Variant Numeric
1443
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1444
+ */
1050
1445
  "fvn-normal": ["normal-nums"],
1446
+ /**
1447
+ * Font Variant Numeric
1448
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1449
+ */
1051
1450
  "fvn-ordinal": ["ordinal"],
1451
+ /**
1452
+ * Font Variant Numeric
1453
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1454
+ */
1052
1455
  "fvn-slashed-zero": ["slashed-zero"],
1456
+ /**
1457
+ * Font Variant Numeric
1458
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1459
+ */
1053
1460
  "fvn-figure": ["lining-nums", "oldstyle-nums"],
1461
+ /**
1462
+ * Font Variant Numeric
1463
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1464
+ */
1054
1465
  "fvn-spacing": ["proportional-nums", "tabular-nums"],
1466
+ /**
1467
+ * Font Variant Numeric
1468
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1469
+ */
1055
1470
  "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1471
+ /**
1472
+ * Letter Spacing
1473
+ * @see https://tailwindcss.com/docs/letter-spacing
1474
+ */
1056
1475
  tracking: [{ tracking: [
1057
1476
  themeTracking,
1058
1477
  isArbitraryVariable,
1059
1478
  isArbitraryValue
1060
1479
  ] }],
1480
+ /**
1481
+ * Line Clamp
1482
+ * @see https://tailwindcss.com/docs/line-clamp
1483
+ */
1061
1484
  "line-clamp": [{ "line-clamp": [
1062
1485
  isNumber,
1063
1486
  "none",
1064
1487
  isArbitraryVariable,
1065
1488
  isArbitraryNumber
1066
1489
  ] }],
1490
+ /**
1491
+ * Line Height
1492
+ * @see https://tailwindcss.com/docs/line-height
1493
+ */
1067
1494
  leading: [{ leading: [themeLeading, ...scaleUnambiguousSpacing()] }],
1495
+ /**
1496
+ * List Style Image
1497
+ * @see https://tailwindcss.com/docs/list-style-image
1498
+ */
1068
1499
  "list-image": [{ "list-image": [
1069
1500
  "none",
1070
1501
  isArbitraryVariable,
1071
1502
  isArbitraryValue
1072
1503
  ] }],
1504
+ /**
1505
+ * List Style Position
1506
+ * @see https://tailwindcss.com/docs/list-style-position
1507
+ */
1073
1508
  "list-style-position": [{ list: ["inside", "outside"] }],
1509
+ /**
1510
+ * List Style Type
1511
+ * @see https://tailwindcss.com/docs/list-style-type
1512
+ */
1074
1513
  "list-style-type": [{ list: [
1075
1514
  "disc",
1076
1515
  "decimal",
@@ -1078,6 +1517,10 @@ const getDefaultConfig = () => {
1078
1517
  isArbitraryVariable,
1079
1518
  isArbitraryValue
1080
1519
  ] }],
1520
+ /**
1521
+ * Text Alignment
1522
+ * @see https://tailwindcss.com/docs/text-align
1523
+ */
1081
1524
  "text-alignment": [{ text: [
1082
1525
  "left",
1083
1526
  "center",
@@ -1086,15 +1529,36 @@ const getDefaultConfig = () => {
1086
1529
  "start",
1087
1530
  "end"
1088
1531
  ] }],
1532
+ /**
1533
+ * Placeholder Color
1534
+ * @deprecated since Tailwind CSS v3.0.0
1535
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1536
+ */
1089
1537
  "placeholder-color": [{ placeholder: scaleColor() }],
1538
+ /**
1539
+ * Text Color
1540
+ * @see https://tailwindcss.com/docs/text-color
1541
+ */
1090
1542
  "text-color": [{ text: scaleColor() }],
1543
+ /**
1544
+ * Text Decoration
1545
+ * @see https://tailwindcss.com/docs/text-decoration
1546
+ */
1091
1547
  "text-decoration": [
1092
1548
  "underline",
1093
1549
  "overline",
1094
1550
  "line-through",
1095
1551
  "no-underline"
1096
1552
  ],
1553
+ /**
1554
+ * Text Decoration Style
1555
+ * @see https://tailwindcss.com/docs/text-decoration-style
1556
+ */
1097
1557
  "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
1558
+ /**
1559
+ * Text Decoration Thickness
1560
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1561
+ */
1098
1562
  "text-decoration-thickness": [{ decoration: [
1099
1563
  isNumber,
1100
1564
  "from-font",
@@ -1102,31 +1566,59 @@ const getDefaultConfig = () => {
1102
1566
  isArbitraryVariable,
1103
1567
  isArbitraryLength
1104
1568
  ] }],
1569
+ /**
1570
+ * Text Decoration Color
1571
+ * @see https://tailwindcss.com/docs/text-decoration-color
1572
+ */
1105
1573
  "text-decoration-color": [{ decoration: scaleColor() }],
1574
+ /**
1575
+ * Text Underline Offset
1576
+ * @see https://tailwindcss.com/docs/text-underline-offset
1577
+ */
1106
1578
  "underline-offset": [{ "underline-offset": [
1107
1579
  isNumber,
1108
1580
  "auto",
1109
1581
  isArbitraryVariable,
1110
1582
  isArbitraryValue
1111
1583
  ] }],
1584
+ /**
1585
+ * Text Transform
1586
+ * @see https://tailwindcss.com/docs/text-transform
1587
+ */
1112
1588
  "text-transform": [
1113
1589
  "uppercase",
1114
1590
  "lowercase",
1115
1591
  "capitalize",
1116
1592
  "normal-case"
1117
1593
  ],
1594
+ /**
1595
+ * Text Overflow
1596
+ * @see https://tailwindcss.com/docs/text-overflow
1597
+ */
1118
1598
  "text-overflow": [
1119
1599
  "truncate",
1120
1600
  "text-ellipsis",
1121
1601
  "text-clip"
1122
1602
  ],
1603
+ /**
1604
+ * Text Wrap
1605
+ * @see https://tailwindcss.com/docs/text-wrap
1606
+ */
1123
1607
  "text-wrap": [{ text: [
1124
1608
  "wrap",
1125
1609
  "nowrap",
1126
1610
  "balance",
1127
1611
  "pretty"
1128
1612
  ] }],
1613
+ /**
1614
+ * Text Indent
1615
+ * @see https://tailwindcss.com/docs/text-indent
1616
+ */
1129
1617
  indent: [{ indent: scaleUnambiguousSpacing() }],
1618
+ /**
1619
+ * Vertical Alignment
1620
+ * @see https://tailwindcss.com/docs/vertical-align
1621
+ */
1130
1622
  "vertical-align": [{ align: [
1131
1623
  "baseline",
1132
1624
  "top",
@@ -1139,6 +1631,10 @@ const getDefaultConfig = () => {
1139
1631
  isArbitraryVariable,
1140
1632
  isArbitraryValue
1141
1633
  ] }],
1634
+ /**
1635
+ * Whitespace
1636
+ * @see https://tailwindcss.com/docs/whitespace
1637
+ */
1142
1638
  whitespace: [{ whitespace: [
1143
1639
  "normal",
1144
1640
  "nowrap",
@@ -1147,46 +1643,90 @@ const getDefaultConfig = () => {
1147
1643
  "pre-wrap",
1148
1644
  "break-spaces"
1149
1645
  ] }],
1646
+ /**
1647
+ * Word Break
1648
+ * @see https://tailwindcss.com/docs/word-break
1649
+ */
1150
1650
  break: [{ break: [
1151
1651
  "normal",
1152
1652
  "words",
1153
1653
  "all",
1154
1654
  "keep"
1155
1655
  ] }],
1656
+ /**
1657
+ * Overflow Wrap
1658
+ * @see https://tailwindcss.com/docs/overflow-wrap
1659
+ */
1156
1660
  wrap: [{ wrap: [
1157
1661
  "break-word",
1158
1662
  "anywhere",
1159
1663
  "normal"
1160
1664
  ] }],
1665
+ /**
1666
+ * Hyphens
1667
+ * @see https://tailwindcss.com/docs/hyphens
1668
+ */
1161
1669
  hyphens: [{ hyphens: [
1162
1670
  "none",
1163
1671
  "manual",
1164
1672
  "auto"
1165
1673
  ] }],
1674
+ /**
1675
+ * Content
1676
+ * @see https://tailwindcss.com/docs/content
1677
+ */
1166
1678
  content: [{ content: [
1167
1679
  "none",
1168
1680
  isArbitraryVariable,
1169
1681
  isArbitraryValue
1170
1682
  ] }],
1683
+ /**
1684
+ * Background Attachment
1685
+ * @see https://tailwindcss.com/docs/background-attachment
1686
+ */
1171
1687
  "bg-attachment": [{ bg: [
1172
1688
  "fixed",
1173
1689
  "local",
1174
1690
  "scroll"
1175
1691
  ] }],
1692
+ /**
1693
+ * Background Clip
1694
+ * @see https://tailwindcss.com/docs/background-clip
1695
+ */
1176
1696
  "bg-clip": [{ "bg-clip": [
1177
1697
  "border",
1178
1698
  "padding",
1179
1699
  "content",
1180
1700
  "text"
1181
1701
  ] }],
1702
+ /**
1703
+ * Background Origin
1704
+ * @see https://tailwindcss.com/docs/background-origin
1705
+ */
1182
1706
  "bg-origin": [{ "bg-origin": [
1183
1707
  "border",
1184
1708
  "padding",
1185
1709
  "content"
1186
1710
  ] }],
1711
+ /**
1712
+ * Background Position
1713
+ * @see https://tailwindcss.com/docs/background-position
1714
+ */
1187
1715
  "bg-position": [{ bg: scaleBgPosition() }],
1716
+ /**
1717
+ * Background Repeat
1718
+ * @see https://tailwindcss.com/docs/background-repeat
1719
+ */
1188
1720
  "bg-repeat": [{ bg: scaleBgRepeat() }],
1721
+ /**
1722
+ * Background Size
1723
+ * @see https://tailwindcss.com/docs/background-size
1724
+ */
1189
1725
  "bg-size": [{ bg: scaleBgSize() }],
1726
+ /**
1727
+ * Background Image
1728
+ * @see https://tailwindcss.com/docs/background-image
1729
+ */
1190
1730
  "bg-image": [{ bg: [
1191
1731
  "none",
1192
1732
  {
@@ -1219,78 +1759,286 @@ const getDefaultConfig = () => {
1219
1759
  isArbitraryVariableImage,
1220
1760
  isArbitraryImage
1221
1761
  ] }],
1762
+ /**
1763
+ * Background Color
1764
+ * @see https://tailwindcss.com/docs/background-color
1765
+ */
1222
1766
  "bg-color": [{ bg: scaleColor() }],
1767
+ /**
1768
+ * Gradient Color Stops From Position
1769
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1770
+ */
1223
1771
  "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
1772
+ /**
1773
+ * Gradient Color Stops Via Position
1774
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1775
+ */
1224
1776
  "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
1777
+ /**
1778
+ * Gradient Color Stops To Position
1779
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1780
+ */
1225
1781
  "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
1782
+ /**
1783
+ * Gradient Color Stops From
1784
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1785
+ */
1226
1786
  "gradient-from": [{ from: scaleColor() }],
1787
+ /**
1788
+ * Gradient Color Stops Via
1789
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1790
+ */
1227
1791
  "gradient-via": [{ via: scaleColor() }],
1792
+ /**
1793
+ * Gradient Color Stops To
1794
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1795
+ */
1228
1796
  "gradient-to": [{ to: scaleColor() }],
1797
+ /**
1798
+ * Border Radius
1799
+ * @see https://tailwindcss.com/docs/border-radius
1800
+ */
1229
1801
  rounded: [{ rounded: scaleRadius() }],
1802
+ /**
1803
+ * Border Radius Start
1804
+ * @see https://tailwindcss.com/docs/border-radius
1805
+ */
1230
1806
  "rounded-s": [{ "rounded-s": scaleRadius() }],
1807
+ /**
1808
+ * Border Radius End
1809
+ * @see https://tailwindcss.com/docs/border-radius
1810
+ */
1231
1811
  "rounded-e": [{ "rounded-e": scaleRadius() }],
1812
+ /**
1813
+ * Border Radius Top
1814
+ * @see https://tailwindcss.com/docs/border-radius
1815
+ */
1232
1816
  "rounded-t": [{ "rounded-t": scaleRadius() }],
1817
+ /**
1818
+ * Border Radius Right
1819
+ * @see https://tailwindcss.com/docs/border-radius
1820
+ */
1233
1821
  "rounded-r": [{ "rounded-r": scaleRadius() }],
1822
+ /**
1823
+ * Border Radius Bottom
1824
+ * @see https://tailwindcss.com/docs/border-radius
1825
+ */
1234
1826
  "rounded-b": [{ "rounded-b": scaleRadius() }],
1827
+ /**
1828
+ * Border Radius Left
1829
+ * @see https://tailwindcss.com/docs/border-radius
1830
+ */
1235
1831
  "rounded-l": [{ "rounded-l": scaleRadius() }],
1832
+ /**
1833
+ * Border Radius Start Start
1834
+ * @see https://tailwindcss.com/docs/border-radius
1835
+ */
1236
1836
  "rounded-ss": [{ "rounded-ss": scaleRadius() }],
1837
+ /**
1838
+ * Border Radius Start End
1839
+ * @see https://tailwindcss.com/docs/border-radius
1840
+ */
1237
1841
  "rounded-se": [{ "rounded-se": scaleRadius() }],
1842
+ /**
1843
+ * Border Radius End End
1844
+ * @see https://tailwindcss.com/docs/border-radius
1845
+ */
1238
1846
  "rounded-ee": [{ "rounded-ee": scaleRadius() }],
1847
+ /**
1848
+ * Border Radius End Start
1849
+ * @see https://tailwindcss.com/docs/border-radius
1850
+ */
1239
1851
  "rounded-es": [{ "rounded-es": scaleRadius() }],
1852
+ /**
1853
+ * Border Radius Top Left
1854
+ * @see https://tailwindcss.com/docs/border-radius
1855
+ */
1240
1856
  "rounded-tl": [{ "rounded-tl": scaleRadius() }],
1857
+ /**
1858
+ * Border Radius Top Right
1859
+ * @see https://tailwindcss.com/docs/border-radius
1860
+ */
1241
1861
  "rounded-tr": [{ "rounded-tr": scaleRadius() }],
1862
+ /**
1863
+ * Border Radius Bottom Right
1864
+ * @see https://tailwindcss.com/docs/border-radius
1865
+ */
1242
1866
  "rounded-br": [{ "rounded-br": scaleRadius() }],
1867
+ /**
1868
+ * Border Radius Bottom Left
1869
+ * @see https://tailwindcss.com/docs/border-radius
1870
+ */
1243
1871
  "rounded-bl": [{ "rounded-bl": scaleRadius() }],
1872
+ /**
1873
+ * Border Width
1874
+ * @see https://tailwindcss.com/docs/border-width
1875
+ */
1244
1876
  "border-w": [{ border: scaleBorderWidth() }],
1877
+ /**
1878
+ * Border Width X
1879
+ * @see https://tailwindcss.com/docs/border-width
1880
+ */
1245
1881
  "border-w-x": [{ "border-x": scaleBorderWidth() }],
1882
+ /**
1883
+ * Border Width Y
1884
+ * @see https://tailwindcss.com/docs/border-width
1885
+ */
1246
1886
  "border-w-y": [{ "border-y": scaleBorderWidth() }],
1887
+ /**
1888
+ * Border Width Start
1889
+ * @see https://tailwindcss.com/docs/border-width
1890
+ */
1247
1891
  "border-w-s": [{ "border-s": scaleBorderWidth() }],
1892
+ /**
1893
+ * Border Width End
1894
+ * @see https://tailwindcss.com/docs/border-width
1895
+ */
1248
1896
  "border-w-e": [{ "border-e": scaleBorderWidth() }],
1897
+ /**
1898
+ * Border Width Top
1899
+ * @see https://tailwindcss.com/docs/border-width
1900
+ */
1249
1901
  "border-w-t": [{ "border-t": scaleBorderWidth() }],
1902
+ /**
1903
+ * Border Width Right
1904
+ * @see https://tailwindcss.com/docs/border-width
1905
+ */
1250
1906
  "border-w-r": [{ "border-r": scaleBorderWidth() }],
1907
+ /**
1908
+ * Border Width Bottom
1909
+ * @see https://tailwindcss.com/docs/border-width
1910
+ */
1251
1911
  "border-w-b": [{ "border-b": scaleBorderWidth() }],
1912
+ /**
1913
+ * Border Width Left
1914
+ * @see https://tailwindcss.com/docs/border-width
1915
+ */
1252
1916
  "border-w-l": [{ "border-l": scaleBorderWidth() }],
1917
+ /**
1918
+ * Divide Width X
1919
+ * @see https://tailwindcss.com/docs/border-width#between-children
1920
+ */
1253
1921
  "divide-x": [{ "divide-x": scaleBorderWidth() }],
1922
+ /**
1923
+ * Divide Width X Reverse
1924
+ * @see https://tailwindcss.com/docs/border-width#between-children
1925
+ */
1254
1926
  "divide-x-reverse": ["divide-x-reverse"],
1927
+ /**
1928
+ * Divide Width Y
1929
+ * @see https://tailwindcss.com/docs/border-width#between-children
1930
+ */
1255
1931
  "divide-y": [{ "divide-y": scaleBorderWidth() }],
1932
+ /**
1933
+ * Divide Width Y Reverse
1934
+ * @see https://tailwindcss.com/docs/border-width#between-children
1935
+ */
1256
1936
  "divide-y-reverse": ["divide-y-reverse"],
1937
+ /**
1938
+ * Border Style
1939
+ * @see https://tailwindcss.com/docs/border-style
1940
+ */
1257
1941
  "border-style": [{ border: [
1258
1942
  ...scaleLineStyle(),
1259
1943
  "hidden",
1260
1944
  "none"
1261
1945
  ] }],
1946
+ /**
1947
+ * Divide Style
1948
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1949
+ */
1262
1950
  "divide-style": [{ divide: [
1263
1951
  ...scaleLineStyle(),
1264
1952
  "hidden",
1265
1953
  "none"
1266
1954
  ] }],
1955
+ /**
1956
+ * Border Color
1957
+ * @see https://tailwindcss.com/docs/border-color
1958
+ */
1267
1959
  "border-color": [{ border: scaleColor() }],
1960
+ /**
1961
+ * Border Color X
1962
+ * @see https://tailwindcss.com/docs/border-color
1963
+ */
1268
1964
  "border-color-x": [{ "border-x": scaleColor() }],
1965
+ /**
1966
+ * Border Color Y
1967
+ * @see https://tailwindcss.com/docs/border-color
1968
+ */
1269
1969
  "border-color-y": [{ "border-y": scaleColor() }],
1970
+ /**
1971
+ * Border Color S
1972
+ * @see https://tailwindcss.com/docs/border-color
1973
+ */
1270
1974
  "border-color-s": [{ "border-s": scaleColor() }],
1975
+ /**
1976
+ * Border Color E
1977
+ * @see https://tailwindcss.com/docs/border-color
1978
+ */
1271
1979
  "border-color-e": [{ "border-e": scaleColor() }],
1980
+ /**
1981
+ * Border Color Top
1982
+ * @see https://tailwindcss.com/docs/border-color
1983
+ */
1272
1984
  "border-color-t": [{ "border-t": scaleColor() }],
1985
+ /**
1986
+ * Border Color Right
1987
+ * @see https://tailwindcss.com/docs/border-color
1988
+ */
1273
1989
  "border-color-r": [{ "border-r": scaleColor() }],
1990
+ /**
1991
+ * Border Color Bottom
1992
+ * @see https://tailwindcss.com/docs/border-color
1993
+ */
1274
1994
  "border-color-b": [{ "border-b": scaleColor() }],
1995
+ /**
1996
+ * Border Color Left
1997
+ * @see https://tailwindcss.com/docs/border-color
1998
+ */
1275
1999
  "border-color-l": [{ "border-l": scaleColor() }],
2000
+ /**
2001
+ * Divide Color
2002
+ * @see https://tailwindcss.com/docs/divide-color
2003
+ */
1276
2004
  "divide-color": [{ divide: scaleColor() }],
2005
+ /**
2006
+ * Outline Style
2007
+ * @see https://tailwindcss.com/docs/outline-style
2008
+ */
1277
2009
  "outline-style": [{ outline: [
1278
2010
  ...scaleLineStyle(),
1279
2011
  "none",
1280
2012
  "hidden"
1281
2013
  ] }],
2014
+ /**
2015
+ * Outline Offset
2016
+ * @see https://tailwindcss.com/docs/outline-offset
2017
+ */
1282
2018
  "outline-offset": [{ "outline-offset": [
1283
2019
  isNumber,
1284
2020
  isArbitraryVariable,
1285
2021
  isArbitraryValue
1286
2022
  ] }],
2023
+ /**
2024
+ * Outline Width
2025
+ * @see https://tailwindcss.com/docs/outline-width
2026
+ */
1287
2027
  "outline-w": [{ outline: [
1288
2028
  "",
1289
2029
  isNumber,
1290
2030
  isArbitraryVariableLength,
1291
2031
  isArbitraryLength
1292
2032
  ] }],
2033
+ /**
2034
+ * Outline Color
2035
+ * @see https://tailwindcss.com/docs/outline-color
2036
+ */
1293
2037
  "outline-color": [{ outline: scaleColor() }],
2038
+ /**
2039
+ * Box Shadow
2040
+ * @see https://tailwindcss.com/docs/box-shadow
2041
+ */
1294
2042
  shadow: [{ shadow: [
1295
2043
  "",
1296
2044
  "none",
@@ -1298,39 +2046,109 @@ const getDefaultConfig = () => {
1298
2046
  isArbitraryVariableShadow,
1299
2047
  isArbitraryShadow
1300
2048
  ] }],
2049
+ /**
2050
+ * Box Shadow Color
2051
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2052
+ */
1301
2053
  "shadow-color": [{ shadow: scaleColor() }],
2054
+ /**
2055
+ * Inset Box Shadow
2056
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2057
+ */
1302
2058
  "inset-shadow": [{ "inset-shadow": [
1303
2059
  "none",
1304
2060
  themeInsetShadow,
1305
2061
  isArbitraryVariableShadow,
1306
2062
  isArbitraryShadow
1307
2063
  ] }],
2064
+ /**
2065
+ * Inset Box Shadow Color
2066
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2067
+ */
1308
2068
  "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
2069
+ /**
2070
+ * Ring Width
2071
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2072
+ */
1309
2073
  "ring-w": [{ ring: scaleBorderWidth() }],
2074
+ /**
2075
+ * Ring Width Inset
2076
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2077
+ * @deprecated since Tailwind CSS v4.0.0
2078
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2079
+ */
1310
2080
  "ring-w-inset": ["ring-inset"],
2081
+ /**
2082
+ * Ring Color
2083
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2084
+ */
1311
2085
  "ring-color": [{ ring: scaleColor() }],
2086
+ /**
2087
+ * Ring Offset Width
2088
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2089
+ * @deprecated since Tailwind CSS v4.0.0
2090
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2091
+ */
1312
2092
  "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
2093
+ /**
2094
+ * Ring Offset Color
2095
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2096
+ * @deprecated since Tailwind CSS v4.0.0
2097
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2098
+ */
1313
2099
  "ring-offset-color": [{ "ring-offset": scaleColor() }],
2100
+ /**
2101
+ * Inset Ring Width
2102
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2103
+ */
1314
2104
  "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
2105
+ /**
2106
+ * Inset Ring Color
2107
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2108
+ */
1315
2109
  "inset-ring-color": [{ "inset-ring": scaleColor() }],
2110
+ /**
2111
+ * Text Shadow
2112
+ * @see https://tailwindcss.com/docs/text-shadow
2113
+ */
1316
2114
  "text-shadow": [{ "text-shadow": [
1317
2115
  "none",
1318
2116
  themeTextShadow,
1319
2117
  isArbitraryVariableShadow,
1320
2118
  isArbitraryShadow
1321
2119
  ] }],
2120
+ /**
2121
+ * Text Shadow Color
2122
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2123
+ */
1322
2124
  "text-shadow-color": [{ "text-shadow": scaleColor() }],
2125
+ /**
2126
+ * Opacity
2127
+ * @see https://tailwindcss.com/docs/opacity
2128
+ */
1323
2129
  opacity: [{ opacity: [
1324
2130
  isNumber,
1325
2131
  isArbitraryVariable,
1326
2132
  isArbitraryValue
1327
2133
  ] }],
2134
+ /**
2135
+ * Mix Blend Mode
2136
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2137
+ */
1328
2138
  "mix-blend": [{ "mix-blend": [
1329
2139
  ...scaleBlendMode(),
1330
2140
  "plus-darker",
1331
2141
  "plus-lighter"
1332
2142
  ] }],
2143
+ /**
2144
+ * Background Blend Mode
2145
+ * @see https://tailwindcss.com/docs/background-blend-mode
2146
+ */
1333
2147
  "bg-blend": [{ "bg-blend": scaleBlendMode() }],
2148
+ /**
2149
+ * Mask Clip
2150
+ * @see https://tailwindcss.com/docs/mask-clip
2151
+ */
1334
2152
  "mask-clip": [{ "mask-clip": [
1335
2153
  "border",
1336
2154
  "padding",
@@ -1339,12 +2157,20 @@ const getDefaultConfig = () => {
1339
2157
  "stroke",
1340
2158
  "view"
1341
2159
  ] }, "mask-no-clip"],
2160
+ /**
2161
+ * Mask Composite
2162
+ * @see https://tailwindcss.com/docs/mask-composite
2163
+ */
1342
2164
  "mask-composite": [{ mask: [
1343
2165
  "add",
1344
2166
  "subtract",
1345
2167
  "intersect",
1346
2168
  "exclude"
1347
2169
  ] }],
2170
+ /**
2171
+ * Mask Image
2172
+ * @see https://tailwindcss.com/docs/mask-image
2173
+ */
1348
2174
  "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
1349
2175
  "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
1350
2176
  "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
@@ -1390,11 +2216,19 @@ const getDefaultConfig = () => {
1390
2216
  "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
1391
2217
  "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
1392
2218
  "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
2219
+ /**
2220
+ * Mask Mode
2221
+ * @see https://tailwindcss.com/docs/mask-mode
2222
+ */
1393
2223
  "mask-mode": [{ mask: [
1394
2224
  "alpha",
1395
2225
  "luminance",
1396
2226
  "match"
1397
2227
  ] }],
2228
+ /**
2229
+ * Mask Origin
2230
+ * @see https://tailwindcss.com/docs/mask-origin
2231
+ */
1398
2232
  "mask-origin": [{ "mask-origin": [
1399
2233
  "border",
1400
2234
  "padding",
@@ -1403,32 +2237,72 @@ const getDefaultConfig = () => {
1403
2237
  "stroke",
1404
2238
  "view"
1405
2239
  ] }],
2240
+ /**
2241
+ * Mask Position
2242
+ * @see https://tailwindcss.com/docs/mask-position
2243
+ */
1406
2244
  "mask-position": [{ mask: scaleBgPosition() }],
2245
+ /**
2246
+ * Mask Repeat
2247
+ * @see https://tailwindcss.com/docs/mask-repeat
2248
+ */
1407
2249
  "mask-repeat": [{ mask: scaleBgRepeat() }],
2250
+ /**
2251
+ * Mask Size
2252
+ * @see https://tailwindcss.com/docs/mask-size
2253
+ */
1408
2254
  "mask-size": [{ mask: scaleBgSize() }],
2255
+ /**
2256
+ * Mask Type
2257
+ * @see https://tailwindcss.com/docs/mask-type
2258
+ */
1409
2259
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
2260
+ /**
2261
+ * Mask Image
2262
+ * @see https://tailwindcss.com/docs/mask-image
2263
+ */
1410
2264
  "mask-image": [{ mask: [
1411
2265
  "none",
1412
2266
  isArbitraryVariable,
1413
2267
  isArbitraryValue
1414
2268
  ] }],
2269
+ /**
2270
+ * Filter
2271
+ * @see https://tailwindcss.com/docs/filter
2272
+ */
1415
2273
  filter: [{ filter: [
1416
2274
  "",
1417
2275
  "none",
1418
2276
  isArbitraryVariable,
1419
2277
  isArbitraryValue
1420
2278
  ] }],
2279
+ /**
2280
+ * Blur
2281
+ * @see https://tailwindcss.com/docs/blur
2282
+ */
1421
2283
  blur: [{ blur: scaleBlur() }],
2284
+ /**
2285
+ * Brightness
2286
+ * @see https://tailwindcss.com/docs/brightness
2287
+ */
1422
2288
  brightness: [{ brightness: [
1423
2289
  isNumber,
1424
2290
  isArbitraryVariable,
1425
2291
  isArbitraryValue
1426
2292
  ] }],
2293
+ /**
2294
+ * Contrast
2295
+ * @see https://tailwindcss.com/docs/contrast
2296
+ */
1427
2297
  contrast: [{ contrast: [
1428
2298
  isNumber,
1429
2299
  isArbitraryVariable,
1430
2300
  isArbitraryValue
1431
2301
  ] }],
2302
+ /**
2303
+ * Drop Shadow
2304
+ * @see https://tailwindcss.com/docs/drop-shadow
2305
+ */
1432
2306
  "drop-shadow": [{ "drop-shadow": [
1433
2307
  "",
1434
2308
  "none",
@@ -1436,91 +2310,183 @@ const getDefaultConfig = () => {
1436
2310
  isArbitraryVariableShadow,
1437
2311
  isArbitraryShadow
1438
2312
  ] }],
2313
+ /**
2314
+ * Drop Shadow Color
2315
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2316
+ */
1439
2317
  "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
2318
+ /**
2319
+ * Grayscale
2320
+ * @see https://tailwindcss.com/docs/grayscale
2321
+ */
1440
2322
  grayscale: [{ grayscale: [
1441
2323
  "",
1442
2324
  isNumber,
1443
2325
  isArbitraryVariable,
1444
2326
  isArbitraryValue
1445
2327
  ] }],
2328
+ /**
2329
+ * Hue Rotate
2330
+ * @see https://tailwindcss.com/docs/hue-rotate
2331
+ */
1446
2332
  "hue-rotate": [{ "hue-rotate": [
1447
2333
  isNumber,
1448
2334
  isArbitraryVariable,
1449
2335
  isArbitraryValue
1450
2336
  ] }],
2337
+ /**
2338
+ * Invert
2339
+ * @see https://tailwindcss.com/docs/invert
2340
+ */
1451
2341
  invert: [{ invert: [
1452
2342
  "",
1453
2343
  isNumber,
1454
2344
  isArbitraryVariable,
1455
2345
  isArbitraryValue
1456
2346
  ] }],
2347
+ /**
2348
+ * Saturate
2349
+ * @see https://tailwindcss.com/docs/saturate
2350
+ */
1457
2351
  saturate: [{ saturate: [
1458
2352
  isNumber,
1459
2353
  isArbitraryVariable,
1460
2354
  isArbitraryValue
1461
2355
  ] }],
2356
+ /**
2357
+ * Sepia
2358
+ * @see https://tailwindcss.com/docs/sepia
2359
+ */
1462
2360
  sepia: [{ sepia: [
1463
2361
  "",
1464
2362
  isNumber,
1465
2363
  isArbitraryVariable,
1466
2364
  isArbitraryValue
1467
2365
  ] }],
2366
+ /**
2367
+ * Backdrop Filter
2368
+ * @see https://tailwindcss.com/docs/backdrop-filter
2369
+ */
1468
2370
  "backdrop-filter": [{ "backdrop-filter": [
1469
2371
  "",
1470
2372
  "none",
1471
2373
  isArbitraryVariable,
1472
2374
  isArbitraryValue
1473
2375
  ] }],
2376
+ /**
2377
+ * Backdrop Blur
2378
+ * @see https://tailwindcss.com/docs/backdrop-blur
2379
+ */
1474
2380
  "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
2381
+ /**
2382
+ * Backdrop Brightness
2383
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2384
+ */
1475
2385
  "backdrop-brightness": [{ "backdrop-brightness": [
1476
2386
  isNumber,
1477
2387
  isArbitraryVariable,
1478
2388
  isArbitraryValue
1479
2389
  ] }],
2390
+ /**
2391
+ * Backdrop Contrast
2392
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2393
+ */
1480
2394
  "backdrop-contrast": [{ "backdrop-contrast": [
1481
2395
  isNumber,
1482
2396
  isArbitraryVariable,
1483
2397
  isArbitraryValue
1484
2398
  ] }],
2399
+ /**
2400
+ * Backdrop Grayscale
2401
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2402
+ */
1485
2403
  "backdrop-grayscale": [{ "backdrop-grayscale": [
1486
2404
  "",
1487
2405
  isNumber,
1488
2406
  isArbitraryVariable,
1489
2407
  isArbitraryValue
1490
2408
  ] }],
2409
+ /**
2410
+ * Backdrop Hue Rotate
2411
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2412
+ */
1491
2413
  "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1492
2414
  isNumber,
1493
2415
  isArbitraryVariable,
1494
2416
  isArbitraryValue
1495
2417
  ] }],
2418
+ /**
2419
+ * Backdrop Invert
2420
+ * @see https://tailwindcss.com/docs/backdrop-invert
2421
+ */
1496
2422
  "backdrop-invert": [{ "backdrop-invert": [
1497
2423
  "",
1498
2424
  isNumber,
1499
2425
  isArbitraryVariable,
1500
2426
  isArbitraryValue
1501
2427
  ] }],
2428
+ /**
2429
+ * Backdrop Opacity
2430
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2431
+ */
1502
2432
  "backdrop-opacity": [{ "backdrop-opacity": [
1503
2433
  isNumber,
1504
2434
  isArbitraryVariable,
1505
2435
  isArbitraryValue
1506
2436
  ] }],
2437
+ /**
2438
+ * Backdrop Saturate
2439
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2440
+ */
1507
2441
  "backdrop-saturate": [{ "backdrop-saturate": [
1508
2442
  isNumber,
1509
2443
  isArbitraryVariable,
1510
2444
  isArbitraryValue
1511
2445
  ] }],
2446
+ /**
2447
+ * Backdrop Sepia
2448
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2449
+ */
1512
2450
  "backdrop-sepia": [{ "backdrop-sepia": [
1513
2451
  "",
1514
2452
  isNumber,
1515
2453
  isArbitraryVariable,
1516
2454
  isArbitraryValue
1517
2455
  ] }],
2456
+ /**
2457
+ * Border Collapse
2458
+ * @see https://tailwindcss.com/docs/border-collapse
2459
+ */
1518
2460
  "border-collapse": [{ border: ["collapse", "separate"] }],
2461
+ /**
2462
+ * Border Spacing
2463
+ * @see https://tailwindcss.com/docs/border-spacing
2464
+ */
1519
2465
  "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
2466
+ /**
2467
+ * Border Spacing X
2468
+ * @see https://tailwindcss.com/docs/border-spacing
2469
+ */
1520
2470
  "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
2471
+ /**
2472
+ * Border Spacing Y
2473
+ * @see https://tailwindcss.com/docs/border-spacing
2474
+ */
1521
2475
  "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
2476
+ /**
2477
+ * Table Layout
2478
+ * @see https://tailwindcss.com/docs/table-layout
2479
+ */
1522
2480
  "table-layout": [{ table: ["auto", "fixed"] }],
2481
+ /**
2482
+ * Caption Side
2483
+ * @see https://tailwindcss.com/docs/caption-side
2484
+ */
1523
2485
  caption: [{ caption: ["top", "bottom"] }],
2486
+ /**
2487
+ * Transition Property
2488
+ * @see https://tailwindcss.com/docs/transition-property
2489
+ */
1524
2490
  transition: [{ transition: [
1525
2491
  "",
1526
2492
  "all",
@@ -1532,13 +2498,25 @@ const getDefaultConfig = () => {
1532
2498
  isArbitraryVariable,
1533
2499
  isArbitraryValue
1534
2500
  ] }],
2501
+ /**
2502
+ * Transition Behavior
2503
+ * @see https://tailwindcss.com/docs/transition-behavior
2504
+ */
1535
2505
  "transition-behavior": [{ transition: ["normal", "discrete"] }],
2506
+ /**
2507
+ * Transition Duration
2508
+ * @see https://tailwindcss.com/docs/transition-duration
2509
+ */
1536
2510
  duration: [{ duration: [
1537
2511
  isNumber,
1538
2512
  "initial",
1539
2513
  isArbitraryVariable,
1540
2514
  isArbitraryValue
1541
2515
  ] }],
2516
+ /**
2517
+ * Transition Timing Function
2518
+ * @see https://tailwindcss.com/docs/transition-timing-function
2519
+ */
1542
2520
  ease: [{ ease: [
1543
2521
  "linear",
1544
2522
  "initial",
@@ -1546,36 +2524,108 @@ const getDefaultConfig = () => {
1546
2524
  isArbitraryVariable,
1547
2525
  isArbitraryValue
1548
2526
  ] }],
2527
+ /**
2528
+ * Transition Delay
2529
+ * @see https://tailwindcss.com/docs/transition-delay
2530
+ */
1549
2531
  delay: [{ delay: [
1550
2532
  isNumber,
1551
2533
  isArbitraryVariable,
1552
2534
  isArbitraryValue
1553
2535
  ] }],
2536
+ /**
2537
+ * Animation
2538
+ * @see https://tailwindcss.com/docs/animation
2539
+ */
1554
2540
  animate: [{ animate: [
1555
2541
  "none",
1556
2542
  themeAnimate,
1557
2543
  isArbitraryVariable,
1558
2544
  isArbitraryValue
1559
2545
  ] }],
2546
+ /**
2547
+ * Backface Visibility
2548
+ * @see https://tailwindcss.com/docs/backface-visibility
2549
+ */
1560
2550
  backface: [{ backface: ["hidden", "visible"] }],
2551
+ /**
2552
+ * Perspective
2553
+ * @see https://tailwindcss.com/docs/perspective
2554
+ */
1561
2555
  perspective: [{ perspective: [
1562
2556
  themePerspective,
1563
2557
  isArbitraryVariable,
1564
2558
  isArbitraryValue
1565
2559
  ] }],
2560
+ /**
2561
+ * Perspective Origin
2562
+ * @see https://tailwindcss.com/docs/perspective-origin
2563
+ */
1566
2564
  "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
2565
+ /**
2566
+ * Rotate
2567
+ * @see https://tailwindcss.com/docs/rotate
2568
+ */
1567
2569
  rotate: [{ rotate: scaleRotate() }],
2570
+ /**
2571
+ * Rotate X
2572
+ * @see https://tailwindcss.com/docs/rotate
2573
+ */
1568
2574
  "rotate-x": [{ "rotate-x": scaleRotate() }],
2575
+ /**
2576
+ * Rotate Y
2577
+ * @see https://tailwindcss.com/docs/rotate
2578
+ */
1569
2579
  "rotate-y": [{ "rotate-y": scaleRotate() }],
2580
+ /**
2581
+ * Rotate Z
2582
+ * @see https://tailwindcss.com/docs/rotate
2583
+ */
1570
2584
  "rotate-z": [{ "rotate-z": scaleRotate() }],
2585
+ /**
2586
+ * Scale
2587
+ * @see https://tailwindcss.com/docs/scale
2588
+ */
1571
2589
  scale: [{ scale: scaleScale() }],
2590
+ /**
2591
+ * Scale X
2592
+ * @see https://tailwindcss.com/docs/scale
2593
+ */
1572
2594
  "scale-x": [{ "scale-x": scaleScale() }],
2595
+ /**
2596
+ * Scale Y
2597
+ * @see https://tailwindcss.com/docs/scale
2598
+ */
1573
2599
  "scale-y": [{ "scale-y": scaleScale() }],
2600
+ /**
2601
+ * Scale Z
2602
+ * @see https://tailwindcss.com/docs/scale
2603
+ */
1574
2604
  "scale-z": [{ "scale-z": scaleScale() }],
2605
+ /**
2606
+ * Scale 3D
2607
+ * @see https://tailwindcss.com/docs/scale
2608
+ */
1575
2609
  "scale-3d": ["scale-3d"],
2610
+ /**
2611
+ * Skew
2612
+ * @see https://tailwindcss.com/docs/skew
2613
+ */
1576
2614
  skew: [{ skew: scaleSkew() }],
2615
+ /**
2616
+ * Skew X
2617
+ * @see https://tailwindcss.com/docs/skew
2618
+ */
1577
2619
  "skew-x": [{ "skew-x": scaleSkew() }],
2620
+ /**
2621
+ * Skew Y
2622
+ * @see https://tailwindcss.com/docs/skew
2623
+ */
1578
2624
  "skew-y": [{ "skew-y": scaleSkew() }],
2625
+ /**
2626
+ * Transform
2627
+ * @see https://tailwindcss.com/docs/transform
2628
+ */
1579
2629
  transform: [{ transform: [
1580
2630
  isArbitraryVariable,
1581
2631
  isArbitraryValue,
@@ -1584,16 +2634,60 @@ const getDefaultConfig = () => {
1584
2634
  "gpu",
1585
2635
  "cpu"
1586
2636
  ] }],
2637
+ /**
2638
+ * Transform Origin
2639
+ * @see https://tailwindcss.com/docs/transform-origin
2640
+ */
1587
2641
  "transform-origin": [{ origin: scalePositionWithArbitrary() }],
2642
+ /**
2643
+ * Transform Style
2644
+ * @see https://tailwindcss.com/docs/transform-style
2645
+ */
1588
2646
  "transform-style": [{ transform: ["3d", "flat"] }],
2647
+ /**
2648
+ * Translate
2649
+ * @see https://tailwindcss.com/docs/translate
2650
+ */
1589
2651
  translate: [{ translate: scaleTranslate() }],
2652
+ /**
2653
+ * Translate X
2654
+ * @see https://tailwindcss.com/docs/translate
2655
+ */
1590
2656
  "translate-x": [{ "translate-x": scaleTranslate() }],
2657
+ /**
2658
+ * Translate Y
2659
+ * @see https://tailwindcss.com/docs/translate
2660
+ */
1591
2661
  "translate-y": [{ "translate-y": scaleTranslate() }],
2662
+ /**
2663
+ * Translate Z
2664
+ * @see https://tailwindcss.com/docs/translate
2665
+ */
1592
2666
  "translate-z": [{ "translate-z": scaleTranslate() }],
2667
+ /**
2668
+ * Translate None
2669
+ * @see https://tailwindcss.com/docs/translate
2670
+ */
1593
2671
  "translate-none": ["translate-none"],
2672
+ /**
2673
+ * Accent Color
2674
+ * @see https://tailwindcss.com/docs/accent-color
2675
+ */
1594
2676
  accent: [{ accent: scaleColor() }],
2677
+ /**
2678
+ * Appearance
2679
+ * @see https://tailwindcss.com/docs/appearance
2680
+ */
1595
2681
  appearance: [{ appearance: ["none", "auto"] }],
2682
+ /**
2683
+ * Caret Color
2684
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2685
+ */
1596
2686
  "caret-color": [{ caret: scaleColor() }],
2687
+ /**
2688
+ * Color Scheme
2689
+ * @see https://tailwindcss.com/docs/color-scheme
2690
+ */
1597
2691
  "color-scheme": [{ scheme: [
1598
2692
  "normal",
1599
2693
  "dark",
@@ -1602,6 +2696,10 @@ const getDefaultConfig = () => {
1602
2696
  "only-dark",
1603
2697
  "only-light"
1604
2698
  ] }],
2699
+ /**
2700
+ * Cursor
2701
+ * @see https://tailwindcss.com/docs/cursor
2702
+ */
1605
2703
  cursor: [{ cursor: [
1606
2704
  "auto",
1607
2705
  "default",
@@ -1642,69 +2740,197 @@ const getDefaultConfig = () => {
1642
2740
  isArbitraryVariable,
1643
2741
  isArbitraryValue
1644
2742
  ] }],
2743
+ /**
2744
+ * Field Sizing
2745
+ * @see https://tailwindcss.com/docs/field-sizing
2746
+ */
1645
2747
  "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
2748
+ /**
2749
+ * Pointer Events
2750
+ * @see https://tailwindcss.com/docs/pointer-events
2751
+ */
1646
2752
  "pointer-events": [{ "pointer-events": ["auto", "none"] }],
2753
+ /**
2754
+ * Resize
2755
+ * @see https://tailwindcss.com/docs/resize
2756
+ */
1647
2757
  resize: [{ resize: [
1648
2758
  "none",
1649
2759
  "",
1650
2760
  "y",
1651
2761
  "x"
1652
2762
  ] }],
2763
+ /**
2764
+ * Scroll Behavior
2765
+ * @see https://tailwindcss.com/docs/scroll-behavior
2766
+ */
1653
2767
  "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
2768
+ /**
2769
+ * Scroll Margin
2770
+ * @see https://tailwindcss.com/docs/scroll-margin
2771
+ */
1654
2772
  "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
2773
+ /**
2774
+ * Scroll Margin X
2775
+ * @see https://tailwindcss.com/docs/scroll-margin
2776
+ */
1655
2777
  "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
2778
+ /**
2779
+ * Scroll Margin Y
2780
+ * @see https://tailwindcss.com/docs/scroll-margin
2781
+ */
1656
2782
  "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
2783
+ /**
2784
+ * Scroll Margin Start
2785
+ * @see https://tailwindcss.com/docs/scroll-margin
2786
+ */
1657
2787
  "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
2788
+ /**
2789
+ * Scroll Margin End
2790
+ * @see https://tailwindcss.com/docs/scroll-margin
2791
+ */
1658
2792
  "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
2793
+ /**
2794
+ * Scroll Margin Top
2795
+ * @see https://tailwindcss.com/docs/scroll-margin
2796
+ */
1659
2797
  "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
2798
+ /**
2799
+ * Scroll Margin Right
2800
+ * @see https://tailwindcss.com/docs/scroll-margin
2801
+ */
1660
2802
  "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
2803
+ /**
2804
+ * Scroll Margin Bottom
2805
+ * @see https://tailwindcss.com/docs/scroll-margin
2806
+ */
1661
2807
  "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
2808
+ /**
2809
+ * Scroll Margin Left
2810
+ * @see https://tailwindcss.com/docs/scroll-margin
2811
+ */
1662
2812
  "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
2813
+ /**
2814
+ * Scroll Padding
2815
+ * @see https://tailwindcss.com/docs/scroll-padding
2816
+ */
1663
2817
  "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
2818
+ /**
2819
+ * Scroll Padding X
2820
+ * @see https://tailwindcss.com/docs/scroll-padding
2821
+ */
1664
2822
  "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
2823
+ /**
2824
+ * Scroll Padding Y
2825
+ * @see https://tailwindcss.com/docs/scroll-padding
2826
+ */
1665
2827
  "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
2828
+ /**
2829
+ * Scroll Padding Start
2830
+ * @see https://tailwindcss.com/docs/scroll-padding
2831
+ */
1666
2832
  "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
2833
+ /**
2834
+ * Scroll Padding End
2835
+ * @see https://tailwindcss.com/docs/scroll-padding
2836
+ */
1667
2837
  "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
2838
+ /**
2839
+ * Scroll Padding Top
2840
+ * @see https://tailwindcss.com/docs/scroll-padding
2841
+ */
1668
2842
  "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
2843
+ /**
2844
+ * Scroll Padding Right
2845
+ * @see https://tailwindcss.com/docs/scroll-padding
2846
+ */
1669
2847
  "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
2848
+ /**
2849
+ * Scroll Padding Bottom
2850
+ * @see https://tailwindcss.com/docs/scroll-padding
2851
+ */
1670
2852
  "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
2853
+ /**
2854
+ * Scroll Padding Left
2855
+ * @see https://tailwindcss.com/docs/scroll-padding
2856
+ */
1671
2857
  "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
2858
+ /**
2859
+ * Scroll Snap Align
2860
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2861
+ */
1672
2862
  "snap-align": [{ snap: [
1673
2863
  "start",
1674
2864
  "end",
1675
2865
  "center",
1676
2866
  "align-none"
1677
2867
  ] }],
2868
+ /**
2869
+ * Scroll Snap Stop
2870
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2871
+ */
1678
2872
  "snap-stop": [{ snap: ["normal", "always"] }],
2873
+ /**
2874
+ * Scroll Snap Type
2875
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2876
+ */
1679
2877
  "snap-type": [{ snap: [
1680
2878
  "none",
1681
2879
  "x",
1682
2880
  "y",
1683
2881
  "both"
1684
2882
  ] }],
2883
+ /**
2884
+ * Scroll Snap Type Strictness
2885
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2886
+ */
1685
2887
  "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
2888
+ /**
2889
+ * Touch Action
2890
+ * @see https://tailwindcss.com/docs/touch-action
2891
+ */
1686
2892
  touch: [{ touch: [
1687
2893
  "auto",
1688
2894
  "none",
1689
2895
  "manipulation"
1690
2896
  ] }],
2897
+ /**
2898
+ * Touch Action X
2899
+ * @see https://tailwindcss.com/docs/touch-action
2900
+ */
1691
2901
  "touch-x": [{ "touch-pan": [
1692
2902
  "x",
1693
2903
  "left",
1694
2904
  "right"
1695
2905
  ] }],
2906
+ /**
2907
+ * Touch Action Y
2908
+ * @see https://tailwindcss.com/docs/touch-action
2909
+ */
1696
2910
  "touch-y": [{ "touch-pan": [
1697
2911
  "y",
1698
2912
  "up",
1699
2913
  "down"
1700
2914
  ] }],
2915
+ /**
2916
+ * Touch Action Pinch Zoom
2917
+ * @see https://tailwindcss.com/docs/touch-action
2918
+ */
1701
2919
  "touch-pz": ["touch-pinch-zoom"],
2920
+ /**
2921
+ * User Select
2922
+ * @see https://tailwindcss.com/docs/user-select
2923
+ */
1702
2924
  select: [{ select: [
1703
2925
  "none",
1704
2926
  "text",
1705
2927
  "all",
1706
2928
  "auto"
1707
2929
  ] }],
2930
+ /**
2931
+ * Will Change
2932
+ * @see https://tailwindcss.com/docs/will-change
2933
+ */
1708
2934
  "will-change": [{ "will-change": [
1709
2935
  "auto",
1710
2936
  "scroll",
@@ -1713,14 +2939,30 @@ const getDefaultConfig = () => {
1713
2939
  isArbitraryVariable,
1714
2940
  isArbitraryValue
1715
2941
  ] }],
2942
+ /**
2943
+ * Fill
2944
+ * @see https://tailwindcss.com/docs/fill
2945
+ */
1716
2946
  fill: [{ fill: ["none", ...scaleColor()] }],
2947
+ /**
2948
+ * Stroke Width
2949
+ * @see https://tailwindcss.com/docs/stroke-width
2950
+ */
1717
2951
  "stroke-w": [{ stroke: [
1718
2952
  isNumber,
1719
2953
  isArbitraryVariableLength,
1720
2954
  isArbitraryLength,
1721
2955
  isArbitraryNumber
1722
2956
  ] }],
2957
+ /**
2958
+ * Stroke
2959
+ * @see https://tailwindcss.com/docs/stroke
2960
+ */
1723
2961
  stroke: [{ stroke: ["none", ...scaleColor()] }],
2962
+ /**
2963
+ * Forced Color Adjust
2964
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2965
+ */
1724
2966
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1725
2967
  },
1726
2968
  conflictingClassGroups: {
@@ -1891,821 +3133,8 @@ const getDefaultConfig = () => {
1891
3133
  ]
1892
3134
  };
1893
3135
  };
1894
- const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
1895
- typeof window !== "undefined" && window.document && window.document.createElement;
1896
- function composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {
1897
- return function handleEvent(event) {
1898
- originalEventHandler?.(event);
1899
- if (checkForDefaultPrevented === false || !event.defaultPrevented) return ourEventHandler?.(event);
1900
- };
1901
- }
1902
- //#endregion
1903
- //#region ../../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.2.14_react@19.2.6/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
1904
- function setRef(ref, value) {
1905
- if (typeof ref === "function") return ref(value);
1906
- else if (ref !== null && ref !== void 0) ref.current = value;
1907
- }
1908
- function composeRefs(...refs) {
1909
- return (node) => {
1910
- let hasCleanup = false;
1911
- const cleanups = refs.map((ref) => {
1912
- const cleanup = setRef(ref, node);
1913
- if (!hasCleanup && typeof cleanup == "function") hasCleanup = true;
1914
- return cleanup;
1915
- });
1916
- if (hasCleanup) return () => {
1917
- for (let i = 0; i < cleanups.length; i++) {
1918
- const cleanup = cleanups[i];
1919
- if (typeof cleanup == "function") cleanup();
1920
- else setRef(refs[i], null);
1921
- }
1922
- };
1923
- };
1924
- }
1925
- function useComposedRefs(...refs) {
1926
- return React$1.useCallback(composeRefs(...refs), refs);
1927
- }
1928
- //#endregion
1929
- //#region ../../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.2.14_react@19.2.6/node_modules/@radix-ui/react-context/dist/index.mjs
1930
- function createContext2(rootComponentName, defaultContext) {
1931
- const Context = React$1.createContext(defaultContext);
1932
- const Provider = (props) => {
1933
- const { children, ...context } = props;
1934
- const value = React$1.useMemo(() => context, Object.values(context));
1935
- return /* @__PURE__ */ jsx(Context.Provider, {
1936
- value,
1937
- children
1938
- });
1939
- };
1940
- Provider.displayName = rootComponentName + "Provider";
1941
- function useContext2(consumerName) {
1942
- const context = React$1.useContext(Context);
1943
- if (context) return context;
1944
- if (defaultContext !== void 0) return defaultContext;
1945
- throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
1946
- }
1947
- return [Provider, useContext2];
1948
- }
1949
- function createContextScope(scopeName, createContextScopeDeps = []) {
1950
- let defaultContexts = [];
1951
- function createContext3(rootComponentName, defaultContext) {
1952
- const BaseContext = React$1.createContext(defaultContext);
1953
- const index = defaultContexts.length;
1954
- defaultContexts = [...defaultContexts, defaultContext];
1955
- const Provider = (props) => {
1956
- const { scope, children, ...context } = props;
1957
- const Context = scope?.[scopeName]?.[index] || BaseContext;
1958
- const value = React$1.useMemo(() => context, Object.values(context));
1959
- return /* @__PURE__ */ jsx(Context.Provider, {
1960
- value,
1961
- children
1962
- });
1963
- };
1964
- Provider.displayName = rootComponentName + "Provider";
1965
- function useContext2(consumerName, scope) {
1966
- const Context = scope?.[scopeName]?.[index] || BaseContext;
1967
- const context = React$1.useContext(Context);
1968
- if (context) return context;
1969
- if (defaultContext !== void 0) return defaultContext;
1970
- throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
1971
- }
1972
- return [Provider, useContext2];
1973
- }
1974
- const createScope = () => {
1975
- const scopeContexts = defaultContexts.map((defaultContext) => {
1976
- return React$1.createContext(defaultContext);
1977
- });
1978
- return function useScope(scope) {
1979
- const contexts = scope?.[scopeName] || scopeContexts;
1980
- return React$1.useMemo(() => ({ [`__scope${scopeName}`]: {
1981
- ...scope,
1982
- [scopeName]: contexts
1983
- } }), [scope, contexts]);
1984
- };
1985
- };
1986
- createScope.scopeName = scopeName;
1987
- return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];
1988
- }
1989
- function composeContextScopes(...scopes) {
1990
- const baseScope = scopes[0];
1991
- if (scopes.length === 1) return baseScope;
1992
- const createScope = () => {
1993
- const scopeHooks = scopes.map((createScope2) => ({
1994
- useScope: createScope2(),
1995
- scopeName: createScope2.scopeName
1996
- }));
1997
- return function useComposedScopes(overrideScopes) {
1998
- const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {
1999
- const currentScope = useScope(overrideScopes)[`__scope${scopeName}`];
2000
- return {
2001
- ...nextScopes2,
2002
- ...currentScope
2003
- };
2004
- }, {});
2005
- return React$1.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);
2006
- };
2007
- };
2008
- createScope.scopeName = baseScope.scopeName;
2009
- return createScope;
2010
- }
2011
- //#endregion
2012
- //#region ../../node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.14_react@19.2.6/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
2013
- var useLayoutEffect2 = globalThis?.document ? React$1.useLayoutEffect : () => {};
2014
- //#endregion
2015
- //#region ../../node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.2.14_react@19.2.6/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
2016
- var useInsertionEffect = React$1[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
2017
- function useControllableState({ prop, defaultProp, onChange = () => {}, caller }) {
2018
- const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
2019
- defaultProp,
2020
- onChange
2021
- });
2022
- const isControlled = prop !== void 0;
2023
- const value = isControlled ? prop : uncontrolledProp;
2024
- {
2025
- const isControlledRef = React$1.useRef(prop !== void 0);
2026
- React$1.useEffect(() => {
2027
- const wasControlled = isControlledRef.current;
2028
- if (wasControlled !== isControlled) {
2029
- const from = wasControlled ? "controlled" : "uncontrolled";
2030
- const to = isControlled ? "controlled" : "uncontrolled";
2031
- console.warn(`${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);
2032
- }
2033
- isControlledRef.current = isControlled;
2034
- }, [isControlled, caller]);
2035
- }
2036
- return [value, React$1.useCallback((nextValue) => {
2037
- if (isControlled) {
2038
- const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
2039
- if (value2 !== prop) onChangeRef.current?.(value2);
2040
- } else setUncontrolledProp(nextValue);
2041
- }, [
2042
- isControlled,
2043
- prop,
2044
- setUncontrolledProp,
2045
- onChangeRef
2046
- ])];
2047
- }
2048
- function useUncontrolledState({ defaultProp, onChange }) {
2049
- const [value, setValue] = React$1.useState(defaultProp);
2050
- const prevValueRef = React$1.useRef(value);
2051
- const onChangeRef = React$1.useRef(onChange);
2052
- useInsertionEffect(() => {
2053
- onChangeRef.current = onChange;
2054
- }, [onChange]);
2055
- React$1.useEffect(() => {
2056
- if (prevValueRef.current !== value) {
2057
- onChangeRef.current?.(value);
2058
- prevValueRef.current = value;
2059
- }
2060
- }, [value, prevValueRef]);
2061
- return [
2062
- value,
2063
- setValue,
2064
- onChangeRef
2065
- ];
2066
- }
2067
- function isFunction(value) {
2068
- return typeof value === "function";
2069
- }
2070
- //#endregion
2071
- //#region ../../node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.14_react@19.2.6/node_modules/@radix-ui/react-slot/dist/index.mjs
2072
- /* @__NO_SIDE_EFFECTS__ */
2073
- function createSlot(ownerName) {
2074
- const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
2075
- const Slot2 = React$1.forwardRef((props, forwardedRef) => {
2076
- const { children, ...slotProps } = props;
2077
- const childrenArray = React$1.Children.toArray(children);
2078
- const slottable = childrenArray.find(isSlottable);
2079
- if (slottable) {
2080
- const newElement = slottable.props.children;
2081
- const newChildren = childrenArray.map((child) => {
2082
- if (child === slottable) {
2083
- if (React$1.Children.count(newElement) > 1) return React$1.Children.only(null);
2084
- return React$1.isValidElement(newElement) ? newElement.props.children : null;
2085
- } else return child;
2086
- });
2087
- return /* @__PURE__ */ jsx(SlotClone, {
2088
- ...slotProps,
2089
- ref: forwardedRef,
2090
- children: React$1.isValidElement(newElement) ? React$1.cloneElement(newElement, void 0, newChildren) : null
2091
- });
2092
- }
2093
- return /* @__PURE__ */ jsx(SlotClone, {
2094
- ...slotProps,
2095
- ref: forwardedRef,
2096
- children
2097
- });
2098
- });
2099
- Slot2.displayName = `${ownerName}.Slot`;
2100
- return Slot2;
2101
- }
2102
- /* @__NO_SIDE_EFFECTS__ */
2103
- function createSlotClone(ownerName) {
2104
- const SlotClone = React$1.forwardRef((props, forwardedRef) => {
2105
- const { children, ...slotProps } = props;
2106
- if (React$1.isValidElement(children)) {
2107
- const childrenRef = getElementRef$1(children);
2108
- const props2 = mergeProps(slotProps, children.props);
2109
- if (children.type !== React$1.Fragment) props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
2110
- return React$1.cloneElement(children, props2);
2111
- }
2112
- return React$1.Children.count(children) > 1 ? React$1.Children.only(null) : null;
2113
- });
2114
- SlotClone.displayName = `${ownerName}.SlotClone`;
2115
- return SlotClone;
2116
- }
2117
- var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
2118
- function isSlottable(child) {
2119
- return React$1.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
2120
- }
2121
- function mergeProps(slotProps, childProps) {
2122
- const overrideProps = { ...childProps };
2123
- for (const propName in childProps) {
2124
- const slotPropValue = slotProps[propName];
2125
- const childPropValue = childProps[propName];
2126
- if (/^on[A-Z]/.test(propName)) {
2127
- if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
2128
- const result = childPropValue(...args);
2129
- slotPropValue(...args);
2130
- return result;
2131
- };
2132
- else if (slotPropValue) overrideProps[propName] = slotPropValue;
2133
- } else if (propName === "style") overrideProps[propName] = {
2134
- ...slotPropValue,
2135
- ...childPropValue
2136
- };
2137
- else if (propName === "className") overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
2138
- }
2139
- return {
2140
- ...slotProps,
2141
- ...overrideProps
2142
- };
2143
- }
2144
- function getElementRef$1(element) {
2145
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
2146
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
2147
- if (mayWarn) return element.ref;
2148
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
2149
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
2150
- if (mayWarn) return element.props.ref;
2151
- return element.props.ref || element.ref;
2152
- }
2153
- //#endregion
2154
- //#region ../../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.14__@types+re_0935c7b95cefcdb4f10a34e92035e5e3/node_modules/@radix-ui/react-primitive/dist/index.mjs
2155
- var Primitive = [
2156
- "a",
2157
- "button",
2158
- "div",
2159
- "form",
2160
- "h2",
2161
- "h3",
2162
- "img",
2163
- "input",
2164
- "label",
2165
- "li",
2166
- "nav",
2167
- "ol",
2168
- "p",
2169
- "select",
2170
- "span",
2171
- "svg",
2172
- "ul"
2173
- ].reduce((primitive, node) => {
2174
- const Slot = /* @__PURE__ */ createSlot(`Primitive.${node}`);
2175
- const Node = React$1.forwardRef((props, forwardedRef) => {
2176
- const { asChild, ...primitiveProps } = props;
2177
- const Comp = asChild ? Slot : node;
2178
- if (typeof window !== "undefined") window[Symbol.for("radix-ui")] = true;
2179
- return /* @__PURE__ */ jsx(Comp, {
2180
- ...primitiveProps,
2181
- ref: forwardedRef
2182
- });
2183
- });
2184
- Node.displayName = `Primitive.${node}`;
2185
- return {
2186
- ...primitive,
2187
- [node]: Node
2188
- };
2189
- }, {});
2190
- function dispatchDiscreteCustomEvent(target, event) {
2191
- if (target) ReactDOM$1.flushSync(() => target.dispatchEvent(event));
2192
- }
2193
- //#endregion
2194
- //#region ../../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+r_b94f5365b88697a700662930c56ccffc/node_modules/@radix-ui/react-collection/dist/index.mjs
2195
- function createCollection(name) {
2196
- const PROVIDER_NAME = name + "CollectionProvider";
2197
- const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);
2198
- const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(PROVIDER_NAME, {
2199
- collectionRef: { current: null },
2200
- itemMap: /* @__PURE__ */ new Map()
2201
- });
2202
- const CollectionProvider = (props) => {
2203
- const { scope, children } = props;
2204
- const ref = React.useRef(null);
2205
- const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;
2206
- return /* @__PURE__ */ jsx(CollectionProviderImpl, {
2207
- scope,
2208
- itemMap,
2209
- collectionRef: ref,
2210
- children
2211
- });
2212
- };
2213
- CollectionProvider.displayName = PROVIDER_NAME;
2214
- const COLLECTION_SLOT_NAME = name + "CollectionSlot";
2215
- const CollectionSlotImpl = /* @__PURE__ */ createSlot(COLLECTION_SLOT_NAME);
2216
- const CollectionSlot = React.forwardRef((props, forwardedRef) => {
2217
- const { scope, children } = props;
2218
- return /* @__PURE__ */ jsx(CollectionSlotImpl, {
2219
- ref: useComposedRefs(forwardedRef, useCollectionContext(COLLECTION_SLOT_NAME, scope).collectionRef),
2220
- children
2221
- });
2222
- });
2223
- CollectionSlot.displayName = COLLECTION_SLOT_NAME;
2224
- const ITEM_SLOT_NAME = name + "CollectionItemSlot";
2225
- const ITEM_DATA_ATTR = "data-radix-collection-item";
2226
- const CollectionItemSlotImpl = /* @__PURE__ */ createSlot(ITEM_SLOT_NAME);
2227
- const CollectionItemSlot = React.forwardRef((props, forwardedRef) => {
2228
- const { scope, children, ...itemData } = props;
2229
- const ref = React.useRef(null);
2230
- const composedRefs = useComposedRefs(forwardedRef, ref);
2231
- const context = useCollectionContext(ITEM_SLOT_NAME, scope);
2232
- React.useEffect(() => {
2233
- context.itemMap.set(ref, {
2234
- ref,
2235
- ...itemData
2236
- });
2237
- return () => void context.itemMap.delete(ref);
2238
- });
2239
- return /* @__PURE__ */ jsx(CollectionItemSlotImpl, {
2240
- [ITEM_DATA_ATTR]: "",
2241
- ref: composedRefs,
2242
- children
2243
- });
2244
- });
2245
- CollectionItemSlot.displayName = ITEM_SLOT_NAME;
2246
- function useCollection(scope) {
2247
- const context = useCollectionContext(name + "CollectionConsumer", scope);
2248
- return React.useCallback(() => {
2249
- const collectionNode = context.collectionRef.current;
2250
- if (!collectionNode) return [];
2251
- const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));
2252
- return Array.from(context.itemMap.values()).sort((a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current));
2253
- }, [context.collectionRef, context.itemMap]);
2254
- }
2255
- return [
2256
- {
2257
- Provider: CollectionProvider,
2258
- Slot: CollectionSlot,
2259
- ItemSlot: CollectionItemSlot
2260
- },
2261
- useCollection,
2262
- createCollectionScope
2263
- ];
2264
- }
2265
- //#endregion
2266
- //#region ../../node_modules/.pnpm/@radix-ui+react-direction@1.1.1_@types+react@19.2.14_react@19.2.6/node_modules/@radix-ui/react-direction/dist/index.mjs
2267
- var DirectionContext = React$1.createContext(void 0);
2268
- function useDirection(localDir) {
2269
- const globalDir = React$1.useContext(DirectionContext);
2270
- return localDir || globalDir || "ltr";
2271
- }
2272
- //#endregion
2273
- //#region ../../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.14_react@19.2.6/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
2274
- function useCallbackRef(callback) {
2275
- const callbackRef = React$1.useRef(callback);
2276
- React$1.useEffect(() => {
2277
- callbackRef.current = callback;
2278
- });
2279
- return React$1.useMemo(() => (...args) => callbackRef.current?.(...args), []);
2280
- }
2281
- //#endregion
2282
- //#region ../../node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.14_react@19.2.6/node_modules/@radix-ui/react-id/dist/index.mjs
2283
- var useReactId = React$1[" useId ".trim().toString()] || (() => void 0);
2284
- var count = 0;
2285
- function useId$1(deterministicId) {
2286
- const [id, setId] = React$1.useState(useReactId());
2287
- useLayoutEffect2(() => {
2288
- if (!deterministicId) setId((reactId) => reactId ?? String(count++));
2289
- }, [deterministicId]);
2290
- return deterministicId || (id ? `radix-${id}` : "");
2291
- }
2292
- //#endregion
2293
- //#region ../../node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_abbc8bcf75333b39bfe32b13ef7abc0e/node_modules/@radix-ui/react-presence/dist/index.mjs
2294
- function useStateMachine(initialState, machine) {
2295
- return React$1.useReducer((state, event) => {
2296
- return machine[state][event] ?? state;
2297
- }, initialState);
2298
- }
2299
- var Presence = (props) => {
2300
- const { present, children } = props;
2301
- const presence = usePresence(present);
2302
- const child = typeof children === "function" ? children({ present: presence.isPresent }) : React$1.Children.only(children);
2303
- const ref = useComposedRefs(presence.ref, getElementRef(child));
2304
- return typeof children === "function" || presence.isPresent ? React$1.cloneElement(child, { ref }) : null;
2305
- };
2306
- Presence.displayName = "Presence";
2307
- function usePresence(present) {
2308
- const [node, setNode] = React$1.useState();
2309
- const stylesRef = React$1.useRef(null);
2310
- const prevPresentRef = React$1.useRef(present);
2311
- const prevAnimationNameRef = React$1.useRef("none");
2312
- const [state, send] = useStateMachine(present ? "mounted" : "unmounted", {
2313
- mounted: {
2314
- UNMOUNT: "unmounted",
2315
- ANIMATION_OUT: "unmountSuspended"
2316
- },
2317
- unmountSuspended: {
2318
- MOUNT: "mounted",
2319
- ANIMATION_END: "unmounted"
2320
- },
2321
- unmounted: { MOUNT: "mounted" }
2322
- });
2323
- React$1.useEffect(() => {
2324
- const currentAnimationName = getAnimationName(stylesRef.current);
2325
- prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
2326
- }, [state]);
2327
- useLayoutEffect2(() => {
2328
- const styles = stylesRef.current;
2329
- const wasPresent = prevPresentRef.current;
2330
- if (wasPresent !== present) {
2331
- const prevAnimationName = prevAnimationNameRef.current;
2332
- const currentAnimationName = getAnimationName(styles);
2333
- if (present) send("MOUNT");
2334
- else if (currentAnimationName === "none" || styles?.display === "none") send("UNMOUNT");
2335
- else if (wasPresent && prevAnimationName !== currentAnimationName) send("ANIMATION_OUT");
2336
- else send("UNMOUNT");
2337
- prevPresentRef.current = present;
2338
- }
2339
- }, [present, send]);
2340
- useLayoutEffect2(() => {
2341
- if (node) {
2342
- let timeoutId;
2343
- const ownerWindow = node.ownerDocument.defaultView ?? window;
2344
- const handleAnimationEnd = (event) => {
2345
- const isCurrentAnimation = getAnimationName(stylesRef.current).includes(CSS.escape(event.animationName));
2346
- if (event.target === node && isCurrentAnimation) {
2347
- send("ANIMATION_END");
2348
- if (!prevPresentRef.current) {
2349
- const currentFillMode = node.style.animationFillMode;
2350
- node.style.animationFillMode = "forwards";
2351
- timeoutId = ownerWindow.setTimeout(() => {
2352
- if (node.style.animationFillMode === "forwards") node.style.animationFillMode = currentFillMode;
2353
- });
2354
- }
2355
- }
2356
- };
2357
- const handleAnimationStart = (event) => {
2358
- if (event.target === node) prevAnimationNameRef.current = getAnimationName(stylesRef.current);
2359
- };
2360
- node.addEventListener("animationstart", handleAnimationStart);
2361
- node.addEventListener("animationcancel", handleAnimationEnd);
2362
- node.addEventListener("animationend", handleAnimationEnd);
2363
- return () => {
2364
- ownerWindow.clearTimeout(timeoutId);
2365
- node.removeEventListener("animationstart", handleAnimationStart);
2366
- node.removeEventListener("animationcancel", handleAnimationEnd);
2367
- node.removeEventListener("animationend", handleAnimationEnd);
2368
- };
2369
- } else send("ANIMATION_END");
2370
- }, [node, send]);
2371
- return {
2372
- isPresent: ["mounted", "unmountSuspended"].includes(state),
2373
- ref: React$1.useCallback((node2) => {
2374
- stylesRef.current = node2 ? getComputedStyle(node2) : null;
2375
- setNode(node2);
2376
- }, [])
2377
- };
2378
- }
2379
- function getAnimationName(styles) {
2380
- return styles?.animationName || "none";
2381
- }
2382
- function getElementRef(element) {
2383
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
2384
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
2385
- if (mayWarn) return element.ref;
2386
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
2387
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
2388
- if (mayWarn) return element.props.ref;
2389
- return element.props.ref || element.ref;
2390
- }
2391
- //#endregion
2392
- //#region ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.14__@type_b849ea542e77d5b397b1fe12d9f00b2e/node_modules/@radix-ui/react-roving-focus/dist/index.mjs
2393
- var ENTRY_FOCUS = "rovingFocusGroup.onEntryFocus";
2394
- var EVENT_OPTIONS = {
2395
- bubbles: false,
2396
- cancelable: true
2397
- };
2398
- var GROUP_NAME = "RovingFocusGroup";
2399
- var [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);
2400
- var [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(GROUP_NAME, [createCollectionScope]);
2401
- var [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);
2402
- var RovingFocusGroup = React$1.forwardRef((props, forwardedRef) => {
2403
- return /* @__PURE__ */ jsx(Collection.Provider, {
2404
- scope: props.__scopeRovingFocusGroup,
2405
- children: /* @__PURE__ */ jsx(Collection.Slot, {
2406
- scope: props.__scopeRovingFocusGroup,
2407
- children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, {
2408
- ...props,
2409
- ref: forwardedRef
2410
- })
2411
- })
2412
- });
2413
- });
2414
- RovingFocusGroup.displayName = GROUP_NAME;
2415
- var RovingFocusGroupImpl = React$1.forwardRef((props, forwardedRef) => {
2416
- const { __scopeRovingFocusGroup, orientation, loop = false, dir, currentTabStopId: currentTabStopIdProp, defaultCurrentTabStopId, onCurrentTabStopIdChange, onEntryFocus, preventScrollOnEntryFocus = false, ...groupProps } = props;
2417
- const ref = React$1.useRef(null);
2418
- const composedRefs = useComposedRefs(forwardedRef, ref);
2419
- const direction = useDirection(dir);
2420
- const [currentTabStopId, setCurrentTabStopId] = useControllableState({
2421
- prop: currentTabStopIdProp,
2422
- defaultProp: defaultCurrentTabStopId ?? null,
2423
- onChange: onCurrentTabStopIdChange,
2424
- caller: GROUP_NAME
2425
- });
2426
- const [isTabbingBackOut, setIsTabbingBackOut] = React$1.useState(false);
2427
- const handleEntryFocus = useCallbackRef(onEntryFocus);
2428
- const getItems = useCollection(__scopeRovingFocusGroup);
2429
- const isClickFocusRef = React$1.useRef(false);
2430
- const [focusableItemsCount, setFocusableItemsCount] = React$1.useState(0);
2431
- React$1.useEffect(() => {
2432
- const node = ref.current;
2433
- if (node) {
2434
- node.addEventListener(ENTRY_FOCUS, handleEntryFocus);
2435
- return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);
2436
- }
2437
- }, [handleEntryFocus]);
2438
- return /* @__PURE__ */ jsx(RovingFocusProvider, {
2439
- scope: __scopeRovingFocusGroup,
2440
- orientation,
2441
- dir: direction,
2442
- loop,
2443
- currentTabStopId,
2444
- onItemFocus: React$1.useCallback((tabStopId) => setCurrentTabStopId(tabStopId), [setCurrentTabStopId]),
2445
- onItemShiftTab: React$1.useCallback(() => setIsTabbingBackOut(true), []),
2446
- onFocusableItemAdd: React$1.useCallback(() => setFocusableItemsCount((prevCount) => prevCount + 1), []),
2447
- onFocusableItemRemove: React$1.useCallback(() => setFocusableItemsCount((prevCount) => prevCount - 1), []),
2448
- children: /* @__PURE__ */ jsx(Primitive.div, {
2449
- tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,
2450
- "data-orientation": orientation,
2451
- ...groupProps,
2452
- ref: composedRefs,
2453
- style: {
2454
- outline: "none",
2455
- ...props.style
2456
- },
2457
- onMouseDown: composeEventHandlers(props.onMouseDown, () => {
2458
- isClickFocusRef.current = true;
2459
- }),
2460
- onFocus: composeEventHandlers(props.onFocus, (event) => {
2461
- const isKeyboardFocus = !isClickFocusRef.current;
2462
- if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {
2463
- const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);
2464
- event.currentTarget.dispatchEvent(entryFocusEvent);
2465
- if (!entryFocusEvent.defaultPrevented) {
2466
- const items = getItems().filter((item) => item.focusable);
2467
- focusFirst([
2468
- items.find((item) => item.active),
2469
- items.find((item) => item.id === currentTabStopId),
2470
- ...items
2471
- ].filter(Boolean).map((item) => item.ref.current), preventScrollOnEntryFocus);
2472
- }
2473
- }
2474
- isClickFocusRef.current = false;
2475
- }),
2476
- onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))
2477
- })
2478
- });
2479
- });
2480
- var ITEM_NAME = "RovingFocusGroupItem";
2481
- var RovingFocusGroupItem = React$1.forwardRef((props, forwardedRef) => {
2482
- const { __scopeRovingFocusGroup, focusable = true, active = false, tabStopId, children, ...itemProps } = props;
2483
- const autoId = useId$1();
2484
- const id = tabStopId || autoId;
2485
- const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);
2486
- const isCurrentTabStop = context.currentTabStopId === id;
2487
- const getItems = useCollection(__scopeRovingFocusGroup);
2488
- const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;
2489
- React$1.useEffect(() => {
2490
- if (focusable) {
2491
- onFocusableItemAdd();
2492
- return () => onFocusableItemRemove();
2493
- }
2494
- }, [
2495
- focusable,
2496
- onFocusableItemAdd,
2497
- onFocusableItemRemove
2498
- ]);
2499
- return /* @__PURE__ */ jsx(Collection.ItemSlot, {
2500
- scope: __scopeRovingFocusGroup,
2501
- id,
2502
- focusable,
2503
- active,
2504
- children: /* @__PURE__ */ jsx(Primitive.span, {
2505
- tabIndex: isCurrentTabStop ? 0 : -1,
2506
- "data-orientation": context.orientation,
2507
- ...itemProps,
2508
- ref: forwardedRef,
2509
- onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
2510
- if (!focusable) event.preventDefault();
2511
- else context.onItemFocus(id);
2512
- }),
2513
- onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),
2514
- onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
2515
- if (event.key === "Tab" && event.shiftKey) {
2516
- context.onItemShiftTab();
2517
- return;
2518
- }
2519
- if (event.target !== event.currentTarget) return;
2520
- const focusIntent = getFocusIntent(event, context.orientation, context.dir);
2521
- if (focusIntent !== void 0) {
2522
- if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;
2523
- event.preventDefault();
2524
- let candidateNodes = getItems().filter((item) => item.focusable).map((item) => item.ref.current);
2525
- if (focusIntent === "last") candidateNodes.reverse();
2526
- else if (focusIntent === "prev" || focusIntent === "next") {
2527
- if (focusIntent === "prev") candidateNodes.reverse();
2528
- const currentIndex = candidateNodes.indexOf(event.currentTarget);
2529
- candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);
2530
- }
2531
- setTimeout(() => focusFirst(candidateNodes));
2532
- }
2533
- }),
2534
- children: typeof children === "function" ? children({
2535
- isCurrentTabStop,
2536
- hasTabStop: currentTabStopId != null
2537
- }) : children
2538
- })
2539
- });
2540
- });
2541
- RovingFocusGroupItem.displayName = ITEM_NAME;
2542
- var MAP_KEY_TO_FOCUS_INTENT = {
2543
- ArrowLeft: "prev",
2544
- ArrowUp: "prev",
2545
- ArrowRight: "next",
2546
- ArrowDown: "next",
2547
- PageUp: "first",
2548
- Home: "first",
2549
- PageDown: "last",
2550
- End: "last"
2551
- };
2552
- function getDirectionAwareKey(key, dir) {
2553
- if (dir !== "rtl") return key;
2554
- return key === "ArrowLeft" ? "ArrowRight" : key === "ArrowRight" ? "ArrowLeft" : key;
2555
- }
2556
- function getFocusIntent(event, orientation, dir) {
2557
- const key = getDirectionAwareKey(event.key, dir);
2558
- if (orientation === "vertical" && ["ArrowLeft", "ArrowRight"].includes(key)) return void 0;
2559
- if (orientation === "horizontal" && ["ArrowUp", "ArrowDown"].includes(key)) return void 0;
2560
- return MAP_KEY_TO_FOCUS_INTENT[key];
2561
- }
2562
- function focusFirst(candidates, preventScroll = false) {
2563
- const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;
2564
- for (const candidate of candidates) {
2565
- if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;
2566
- candidate.focus({ preventScroll });
2567
- if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;
2568
- }
2569
- }
2570
- function wrapArray(array, startIndex) {
2571
- return array.map((_, index) => array[(startIndex + index) % array.length]);
2572
- }
2573
- var Root = RovingFocusGroup;
2574
- var Item = RovingFocusGroupItem;
2575
- //#endregion
2576
- //#region ../../node_modules/.pnpm/@radix-ui+react-tabs@1.1.13_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react@_08684373bbac196273bdefb5472f93a8/node_modules/@radix-ui/react-tabs/dist/index.mjs
2577
- var TABS_NAME = "Tabs";
2578
- var [createTabsContext, createTabsScope] = createContextScope(TABS_NAME, [createRovingFocusGroupScope]);
2579
- var useRovingFocusGroupScope = createRovingFocusGroupScope();
2580
- var [TabsProvider, useTabsContext] = createTabsContext(TABS_NAME);
2581
- var Tabs = React$1.forwardRef((props, forwardedRef) => {
2582
- const { __scopeTabs, value: valueProp, onValueChange, defaultValue, orientation = "horizontal", dir, activationMode = "automatic", ...tabsProps } = props;
2583
- const direction = useDirection(dir);
2584
- const [value, setValue] = useControllableState({
2585
- prop: valueProp,
2586
- onChange: onValueChange,
2587
- defaultProp: defaultValue ?? "",
2588
- caller: TABS_NAME
2589
- });
2590
- return /* @__PURE__ */ jsx(TabsProvider, {
2591
- scope: __scopeTabs,
2592
- baseId: useId$1(),
2593
- value,
2594
- onValueChange: setValue,
2595
- orientation,
2596
- dir: direction,
2597
- activationMode,
2598
- children: /* @__PURE__ */ jsx(Primitive.div, {
2599
- dir: direction,
2600
- "data-orientation": orientation,
2601
- ...tabsProps,
2602
- ref: forwardedRef
2603
- })
2604
- });
2605
- });
2606
- Tabs.displayName = TABS_NAME;
2607
- var TAB_LIST_NAME = "TabsList";
2608
- var TabsList = React$1.forwardRef((props, forwardedRef) => {
2609
- const { __scopeTabs, loop = true, ...listProps } = props;
2610
- const context = useTabsContext(TAB_LIST_NAME, __scopeTabs);
2611
- return /* @__PURE__ */ jsx(Root, {
2612
- asChild: true,
2613
- ...useRovingFocusGroupScope(__scopeTabs),
2614
- orientation: context.orientation,
2615
- dir: context.dir,
2616
- loop,
2617
- children: /* @__PURE__ */ jsx(Primitive.div, {
2618
- role: "tablist",
2619
- "aria-orientation": context.orientation,
2620
- ...listProps,
2621
- ref: forwardedRef
2622
- })
2623
- });
2624
- });
2625
- TabsList.displayName = TAB_LIST_NAME;
2626
- var TRIGGER_NAME = "TabsTrigger";
2627
- var TabsTrigger = React$1.forwardRef((props, forwardedRef) => {
2628
- const { __scopeTabs, value, disabled = false, ...triggerProps } = props;
2629
- const context = useTabsContext(TRIGGER_NAME, __scopeTabs);
2630
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeTabs);
2631
- const triggerId = makeTriggerId(context.baseId, value);
2632
- const contentId = makeContentId(context.baseId, value);
2633
- const isSelected = value === context.value;
2634
- return /* @__PURE__ */ jsx(Item, {
2635
- asChild: true,
2636
- ...rovingFocusGroupScope,
2637
- focusable: !disabled,
2638
- active: isSelected,
2639
- children: /* @__PURE__ */ jsx(Primitive.button, {
2640
- type: "button",
2641
- role: "tab",
2642
- "aria-selected": isSelected,
2643
- "aria-controls": contentId,
2644
- "data-state": isSelected ? "active" : "inactive",
2645
- "data-disabled": disabled ? "" : void 0,
2646
- disabled,
2647
- id: triggerId,
2648
- ...triggerProps,
2649
- ref: forwardedRef,
2650
- onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {
2651
- if (!disabled && event.button === 0 && event.ctrlKey === false) context.onValueChange(value);
2652
- else event.preventDefault();
2653
- }),
2654
- onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
2655
- if ([" ", "Enter"].includes(event.key)) context.onValueChange(value);
2656
- }),
2657
- onFocus: composeEventHandlers(props.onFocus, () => {
2658
- const isAutomaticActivation = context.activationMode !== "manual";
2659
- if (!isSelected && !disabled && isAutomaticActivation) context.onValueChange(value);
2660
- })
2661
- })
2662
- });
2663
- });
2664
- TabsTrigger.displayName = TRIGGER_NAME;
2665
- var CONTENT_NAME = "TabsContent";
2666
- var TabsContent = React$1.forwardRef((props, forwardedRef) => {
2667
- const { __scopeTabs, value, forceMount, children, ...contentProps } = props;
2668
- const context = useTabsContext(CONTENT_NAME, __scopeTabs);
2669
- const triggerId = makeTriggerId(context.baseId, value);
2670
- const contentId = makeContentId(context.baseId, value);
2671
- const isSelected = value === context.value;
2672
- const isMountAnimationPreventedRef = React$1.useRef(isSelected);
2673
- React$1.useEffect(() => {
2674
- const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);
2675
- return () => cancelAnimationFrame(rAF);
2676
- }, []);
2677
- return /* @__PURE__ */ jsx(Presence, {
2678
- present: forceMount || isSelected,
2679
- children: ({ present }) => /* @__PURE__ */ jsx(Primitive.div, {
2680
- "data-state": isSelected ? "active" : "inactive",
2681
- "data-orientation": context.orientation,
2682
- role: "tabpanel",
2683
- "aria-labelledby": triggerId,
2684
- hidden: !present,
2685
- id: contentId,
2686
- tabIndex: 0,
2687
- ...contentProps,
2688
- ref: forwardedRef,
2689
- style: {
2690
- ...props.style,
2691
- animationDuration: isMountAnimationPreventedRef.current ? "0s" : void 0
2692
- },
2693
- children: present && children
2694
- })
2695
- });
2696
- });
2697
- TabsContent.displayName = CONTENT_NAME;
2698
- function makeTriggerId(baseId, value) {
2699
- return `${baseId}-trigger-${value}`;
2700
- }
2701
- function makeContentId(baseId, value) {
2702
- return `${baseId}-content-${value}`;
2703
- }
2704
- var Root2 = Tabs;
2705
- var List = TabsList;
2706
- var Trigger = TabsTrigger;
2707
- var Content = TabsContent;
3136
+ const twMerge = /*#__PURE__*/ createTailwindMerge(getDefaultConfig);
2708
3137
  //#endregion
2709
- export { twJoin as C, composeEventHandlers as S, useLayoutEffect2 as _, Item as a, composeRefs as b, Presence as c, useDirection as d, createCollection as f, useControllableState as g, createSlot as h, Trigger as i, useId$1 as l, dispatchDiscreteCustomEvent as m, List as n, Root as o, Primitive as p, Root2 as r, createRovingFocusGroupScope as s, Content as t, useCallbackRef as u, createContext2 as v, twMerge as w, useComposedRefs as x, createContextScope as y };
3138
+ export { twMerge as t };
2710
3139
 
2711
- //# sourceMappingURL=dist-BAJ5nRDl.js.map
3140
+ //# sourceMappingURL=bundle-mjs-Cuu3DEfT.mjs.map