@feugene/granularity 0.9.3 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/chunks/{config-d386uO3O.js.map → config-58Mj2rGH.js.map} +1 -1
  2. package/dist/chunks/{config-D4s_QWVP.js.map → config-8f8624RN.js.map} +1 -1
  3. package/dist/chunks/{config-B_nSBc7W.js.map → config-A-iei0Ux.js.map} +1 -1
  4. package/dist/chunks/{config-CFf7xaG1.js → config-B0uUCaJW.js} +1 -1
  5. package/dist/chunks/{config-CFf7xaG1.js.map → config-B0uUCaJW.js.map} +1 -1
  6. package/dist/chunks/{config-Dcb7xK-C.js.map → config-B3dn-gdC.js.map} +1 -1
  7. package/dist/chunks/{config-D6Oe3blW2.js.map → config-BLa1TEGm2.js.map} +1 -1
  8. package/dist/chunks/{config-Dzd6BzIN2.js.map → config-BeBsN0c12.js.map} +1 -1
  9. package/dist/chunks/{config-BU0olrvr.js.map → config-Bh4NWWsQ.js.map} +1 -1
  10. package/dist/chunks/{config-BeQuykDk2.js.map → config-BuoIngj32.js.map} +1 -1
  11. package/dist/chunks/{config-BbKroFtR.js.map → config-C5-ujXCI.js.map} +1 -1
  12. package/dist/chunks/{config-BY81UKv0.js → config-C8MM2Dg0.js} +1 -1
  13. package/dist/chunks/{config-BY81UKv0.js.map → config-C8MM2Dg0.js.map} +1 -1
  14. package/dist/chunks/{config-DF_RlCIO.js.map → config-CPSdAjUi.js.map} +1 -1
  15. package/dist/chunks/{config-iuMz79Mg.js.map → config-CWTfyPNI.js.map} +1 -1
  16. package/dist/chunks/{config-Br_qI3Za.js → config-C_egzT_K.js} +2 -2
  17. package/dist/chunks/config-C_egzT_K.js.map +1 -0
  18. package/dist/chunks/{config-Ci9nXGUV.js.map → config-C_q_4FrU.js.map} +1 -1
  19. package/dist/chunks/{config-O1_FTqD3.js.map → config-CzgNEHKi.js.map} +1 -1
  20. package/dist/chunks/{config-Bcf-8XlK2.js.map → config-DDUPnue12.js.map} +1 -1
  21. package/dist/chunks/{config-DmjwIqx1.js.map → config-DDwBSoc_.js.map} +1 -1
  22. package/dist/chunks/{config-C5OwJM3-.js → config-DRpkoSvq.js} +1 -1
  23. package/dist/chunks/{config-C5OwJM3-.js.map → config-DRpkoSvq.js.map} +1 -1
  24. package/dist/chunks/{config-DaHI5bD_2.js.map → config-DZrlovR42.js.map} +1 -1
  25. package/dist/chunks/{config-72sW9Bag2.js.map → config-D_Pafsjq2.js.map} +1 -1
  26. package/dist/chunks/{config-B1kFmhpM.js.map → config-DhQc1TRY.js.map} +1 -1
  27. package/dist/chunks/{config-CetsgpaZ2.js.map → config-DkeLkzxj2.js.map} +1 -1
  28. package/dist/chunks/{config-BOdu-O_B.js.map → config-Dl5aZ5VR.js.map} +1 -1
  29. package/dist/chunks/{config-CvGdaXvH.js.map → config-Doa_gU40.js.map} +1 -1
  30. package/dist/chunks/{config-CdJpnjDj.js.map → config-DvDNney3.js.map} +1 -1
  31. package/dist/chunks/{config-CpMYmvVT.js.map → config-NkbzVFZo.js.map} +1 -1
  32. package/dist/chunks/{config-_3De4HFf.js.map → config-RjfJFv1Y.js.map} +1 -1
  33. package/dist/chunks/{config-DoBk_CzG.js.map → config-VJuoznpH.js.map} +1 -1
  34. package/dist/chunks/{config-BnWSHTEU.js.map → config-XspHtPsU.js.map} +1 -1
  35. package/dist/chunks/{config-B2YTEe_h.js.map → config-hSlCXHoG.js.map} +1 -1
  36. package/dist/chunks/{config-DSBlHQVa.js.map → config-lMDE_8A5.js.map} +1 -1
  37. package/dist/chunks/{config-Cp_XHsze.js.map → config-nrOj9p6I.js.map} +1 -1
  38. package/dist/chunks/{en-foQA8imU.js → en-B_fSdoTi.js} +9 -2
  39. package/dist/chunks/en-B_fSdoTi.js.map +1 -0
  40. package/dist/chunks/{es-Bx3Kuy6z.js → es-CISK11Nv.js} +3 -3
  41. package/dist/chunks/{es-Bx3Kuy6z.js.map → es-CISK11Nv.js.map} +1 -1
  42. package/dist/chunks/{es-DZFSojYL.js → es-DKP6fLir.js} +9 -2
  43. package/dist/chunks/es-DKP6fLir.js.map +1 -0
  44. package/dist/chunks/{grDropdownStyles-B41mVR1H.js → grDropdownStyles-Bqx9hOzU.js} +10 -7
  45. package/dist/chunks/grDropdownStyles-Bqx9hOzU.js.map +1 -0
  46. package/dist/chunks/{grModalStyles-DS1Vl6EW.js → grModalStyles-FgaKqx50.js} +1 -1
  47. package/dist/chunks/grModalStyles-FgaKqx50.js.map +1 -0
  48. package/dist/chunks/grSelectStyles-AjWWl007.js.map +1 -0
  49. package/dist/chunks/{grStyle-CUaTmpyW.js.map → grStyle-D-gPHdyW.js.map} +1 -1
  50. package/dist/chunks/{granularityI18n-LcJ88Vce.js → granularityI18n-D_7jowK2.js} +17 -2
  51. package/dist/chunks/granularityI18n-D_7jowK2.js.map +1 -0
  52. package/dist/chunks/{ru-LhkPpPIl.js → ru-S6VlnurJ.js} +9 -2
  53. package/dist/chunks/ru-S6VlnurJ.js.map +1 -0
  54. package/dist/chunks/{shared-BiqXd5MW.js → shared-DpjTvFno.js} +34 -34
  55. package/dist/chunks/{shared-BiqXd5MW.js.map → shared-DpjTvFno.js.map} +1 -1
  56. package/dist/chunks/useFloating-CLtbU7eD.js +1234 -0
  57. package/dist/chunks/useFloating-CLtbU7eD.js.map +1 -0
  58. package/dist/components/GrConfirmDialog/chunks/{GrConfirmDialog-Br6WJkLE.js → GrConfirmDialog-Bi2KLumL.js} +2 -2
  59. package/dist/components/GrConfirmDialog/chunks/{GrConfirmDialog-Br6WJkLE.js.map → GrConfirmDialog-Bi2KLumL.js.map} +1 -1
  60. package/dist/components/GrConfirmDialog/index.js +1 -1
  61. package/dist/components/GrDialog/chunks/{GrDialog-C7XLxp8e.js → GrDialog-CxK4Lj4F.js} +1 -1
  62. package/dist/components/GrDialog/chunks/{GrDialog-C7XLxp8e.js.map → GrDialog-CxK4Lj4F.js.map} +1 -1
  63. package/dist/components/GrDialog/index.js +1 -1
  64. package/dist/components/GrDropdown/chunks/{GrDropdown-DOvHKnih.js → GrDropdown-BGKeEfZ1.js} +13 -59
  65. package/dist/components/GrDropdown/chunks/GrDropdown-BGKeEfZ1.js.map +1 -0
  66. package/dist/components/GrDropdown/index.js +2 -2
  67. package/dist/components/GrDropdownMenu/chunks/{GrDropdownMenu-CLPwbiyG.js → GrDropdownMenu-CJom_-c2.js} +1 -1
  68. package/dist/components/GrDropdownMenu/chunks/{GrDropdownMenu-CLPwbiyG.js.map → GrDropdownMenu-CJom_-c2.js.map} +1 -1
  69. package/dist/components/GrDropdownMenu/index.js +2 -2
  70. package/dist/components/GrEmptyState/chunks/{GrEmptyState-Dj2V5GaX.js.map → GrEmptyState-yOuZW7-t.js.map} +1 -1
  71. package/dist/components/GrEmptyState/index.js +2 -2
  72. package/dist/components/GrFileUpload/chunks/{GrFileUpload-BEKNB1RM.js → GrFileUpload-CBKK3dgC.js} +1 -1
  73. package/dist/components/GrFileUpload/chunks/{GrFileUpload-BEKNB1RM.js.map → GrFileUpload-CBKK3dgC.js.map} +1 -1
  74. package/dist/components/GrFileUpload/index.js +2 -2
  75. package/dist/components/GrFormField/index.js +1 -1
  76. package/dist/components/GrFormFile/chunks/{GrFormFile-CIleXnfr.js.map → GrFormFile-CkR6cYqf.js.map} +1 -1
  77. package/dist/components/GrFormFile/index.js +2 -2
  78. package/dist/components/GrFormSection/chunks/{GrFormSection-DpGhY7MX.js.map → GrFormSection-dbyzqxYk.js.map} +1 -1
  79. package/dist/components/GrFormSection/index.js +2 -2
  80. package/dist/components/GrImageViewer/chunks/{GrImageViewer-CsvXQHM9.js.map → GrImageViewer-BG40DsHa.js.map} +1 -1
  81. package/dist/components/GrImageViewer/index.js +2 -2
  82. package/dist/components/GrInput/index.js +1 -1
  83. package/dist/components/GrInputTag/chunks/{GrInputTag-Dcj3F6rQ.js → GrInputTag-g-KdUI_Z.js} +1 -1
  84. package/dist/components/GrInputTag/chunks/{GrInputTag-Dcj3F6rQ.js.map → GrInputTag-g-KdUI_Z.js.map} +1 -1
  85. package/dist/components/GrInputTag/index.js +2 -2
  86. package/dist/components/GrLink/chunks/{GrLink-BMwn2iJ9.js → GrLink-KSTmk9Yq.js} +1 -1
  87. package/dist/components/GrLink/chunks/{GrLink-BMwn2iJ9.js.map → GrLink-KSTmk9Yq.js.map} +1 -1
  88. package/dist/components/GrLink/index.js +2 -2
  89. package/dist/components/GrList/chunks/{GrList-D8nM1FuV.js.map → GrList-CUW2sRm_.js.map} +1 -1
  90. package/dist/components/GrList/index.js +2 -2
  91. package/dist/components/GrLoading/index.js +1 -1
  92. package/dist/components/GrModal/chunks/{GrModal-lh0lOmoi.js → GrModal-CSOL3fHQ.js} +1 -1
  93. package/dist/components/GrModal/chunks/{GrModal-lh0lOmoi.js.map → GrModal-CSOL3fHQ.js.map} +1 -1
  94. package/dist/components/GrModal/index.js +3 -3
  95. package/dist/components/GrNavbar/chunks/{GrNavbar-BH7XiF9q.js → GrNavbar-CHxwtFIR.js} +1 -1
  96. package/dist/components/GrNavbar/chunks/{GrNavbar-BH7XiF9q.js.map → GrNavbar-CHxwtFIR.js.map} +1 -1
  97. package/dist/components/GrNavbar/index.js +2 -2
  98. package/dist/components/GrNumberInput/chunks/{GrNumberInput-YIWhV85S.js → GrNumberInput-ClPBwkxx.js} +1 -1
  99. package/dist/components/GrNumberInput/chunks/{GrNumberInput-YIWhV85S.js.map → GrNumberInput-ClPBwkxx.js.map} +1 -1
  100. package/dist/components/GrNumberInput/index.js +2 -2
  101. package/dist/components/GrPagination/chunks/{GrPagination-cD6rFO9W.js → GrPagination-D2GS0ShQ.js} +4 -4
  102. package/dist/components/GrPagination/chunks/GrPagination-D2GS0ShQ.js.map +1 -0
  103. package/dist/components/GrPagination/index.js +2 -2
  104. package/dist/components/GrProgressBar/chunks/{GrProgressBar-C2HdYjp4.js → GrProgressBar-BBSFpVEq.js} +1 -1
  105. package/dist/components/GrProgressBar/chunks/{GrProgressBar-C2HdYjp4.js.map → GrProgressBar-BBSFpVEq.js.map} +1 -1
  106. package/dist/components/GrProgressBar/index.js +2 -2
  107. package/dist/components/GrPromptDialog/chunks/{GrPromptDialog-BV4EW3XO.js → GrPromptDialog-D_TFqKsF.js} +2 -2
  108. package/dist/components/GrPromptDialog/chunks/{GrPromptDialog-BV4EW3XO.js.map → GrPromptDialog-D_TFqKsF.js.map} +1 -1
  109. package/dist/components/GrPromptDialog/index.js +2 -2
  110. package/dist/components/GrRadio/chunks/{GrRadio-IFU9Hiu2.js → GrRadio-CSbTnrom.js} +1 -1
  111. package/dist/components/GrRadio/chunks/{GrRadio-IFU9Hiu2.js.map → GrRadio-CSbTnrom.js.map} +1 -1
  112. package/dist/components/GrRadio/index.js +2 -2
  113. package/dist/components/GrRadioGroup/chunks/{GrRadioGroup-C8IcJuuF.js → GrRadioGroup-DsrnTygR.js} +1 -1
  114. package/dist/components/GrRadioGroup/chunks/{GrRadioGroup-C8IcJuuF.js.map → GrRadioGroup-DsrnTygR.js.map} +1 -1
  115. package/dist/components/GrRadioGroup/index.js +2 -2
  116. package/dist/components/GrResponseErrorBanner/chunks/{GrResponseErrorBanner-BMvXREcv.js → GrResponseErrorBanner-K1uZ1mYD.js} +1 -1
  117. package/dist/components/GrResponseErrorBanner/chunks/{GrResponseErrorBanner-BMvXREcv.js.map → GrResponseErrorBanner-K1uZ1mYD.js.map} +1 -1
  118. package/dist/components/GrResponseErrorBanner/chunks/{GrResponseErrorBanner-CzdTh4gd.js → GrResponseErrorBanner-bM8FC_Bw.js} +1 -1
  119. package/dist/components/GrResponseErrorBanner/chunks/{GrResponseErrorBanner-CzdTh4gd.js.map → GrResponseErrorBanner-bM8FC_Bw.js.map} +1 -1
  120. package/dist/components/GrResponseErrorBanner/index.js +2 -2
  121. package/dist/components/GrSegmented/chunks/{GrSegmented-BRmwBsEG.js → GrSegmented-DpZGs4VX.js} +1 -1
  122. package/dist/components/GrSegmented/chunks/{GrSegmented-BRmwBsEG.js.map → GrSegmented-DpZGs4VX.js.map} +1 -1
  123. package/dist/components/GrSegmented/index.js +2 -2
  124. package/dist/components/GrSelect/chunks/{GrSelect-W9lbAjRZ.js → GrSelect-DSz7jvUb.js} +132 -106
  125. package/dist/components/GrSelect/chunks/GrSelect-DSz7jvUb.js.map +1 -0
  126. package/dist/components/GrSelect/index.js +2 -2
  127. package/dist/components/GrSidebar/chunks/{GrSidebar-BpBtAGBs.js.map → GrSidebar-BW8LRMZ-.js.map} +1 -1
  128. package/dist/components/GrSidebar/index.js +2 -2
  129. package/dist/components/GrSkeleton/chunks/{GrSkeleton-URyMkBqI.js.map → GrSkeleton-B05K0QKh.js.map} +1 -1
  130. package/dist/components/GrSkeleton/index.js +2 -2
  131. package/dist/components/GrSwitch/chunks/{GrSwitch-29h0QhMO.js → GrSwitch-CSRtcN5-.js} +1 -1
  132. package/dist/components/GrSwitch/chunks/{GrSwitch-29h0QhMO.js.map → GrSwitch-CSRtcN5-.js.map} +1 -1
  133. package/dist/components/GrSwitch/index.js +2 -2
  134. package/dist/components/GrTable/index.js +1 -1
  135. package/dist/components/GrTabs/chunks/{GrTabs-D3ntDdtg.js.map → GrTabs-BfeVNMFJ.js.map} +1 -1
  136. package/dist/components/GrTabs/index.js +2 -2
  137. package/dist/components/GrTextarea/chunks/{GrTextarea-Cv6r2GuC.js → GrTextarea-CBBzpF2S.js} +1 -1
  138. package/dist/components/GrTextarea/chunks/{GrTextarea-Cv6r2GuC.js.map → GrTextarea-CBBzpF2S.js.map} +1 -1
  139. package/dist/components/GrTextarea/index.js +2 -2
  140. package/dist/components/GrToaster/chunks/{GrToaster-DluJmR5D.js → GrToaster-C6_iHk2J.js} +4 -3
  141. package/dist/components/GrToaster/chunks/GrToaster-C6_iHk2J.js.map +1 -0
  142. package/dist/components/GrToaster/index.js +2 -2
  143. package/dist/components/GrTooltip/chunks/GrTooltip-BC-40SA5.js +109 -0
  144. package/dist/components/GrTooltip/chunks/GrTooltip-BC-40SA5.js.map +1 -0
  145. package/dist/components/GrTooltip/index.js +2 -2
  146. package/dist/components/GrTree/chunks/{GrTree-B2SMU5Py.js.map → GrTree-uZr5SyQI.js.map} +1 -1
  147. package/dist/components/GrTree/index.js +2 -2
  148. package/dist/components/GrTreeSelect/chunks/{GrTreeSelect-C1abr5uH.js → GrTreeSelect-CytivcCa.js} +9 -37
  149. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CytivcCa.js.map +1 -0
  150. package/dist/components/GrTreeSelect/index.js +2 -2
  151. package/dist/granular-provider-node.js +2 -2
  152. package/dist/granular-provider.js +1 -1
  153. package/dist/i18n/all.js +1 -1
  154. package/dist/i18n/index.js +1 -1
  155. package/dist/index.js +67 -67
  156. package/dist/types/src/components/GrDropdown/grDropdownStyles.d.ts +3 -2
  157. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenu.vue.d.ts +2 -2
  158. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuGroup.vue.d.ts +1 -1
  159. package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuList.vue.d.ts +2 -2
  160. package/dist/types/src/components/GrFileUpload/GrFileUpload.vue.d.ts +1 -1
  161. package/dist/types/src/components/GrLink/GrLink.vue.d.ts +1 -1
  162. package/dist/types/src/components/GrModal/grModalStyles.d.ts +1 -1
  163. package/dist/types/src/components/GrSegmented/GrSegmented.vue.d.ts +1 -1
  164. package/dist/types/src/components/GrSelect/GrSelect.vue.d.ts +11 -10
  165. package/dist/types/src/components/GrSelect/grSelectStyles.d.ts +7 -0
  166. package/dist/types/src/components/GrSelect/index.d.ts +1 -1
  167. package/dist/types/src/composables/internal/useFloating.d.ts +53 -0
  168. package/dist/types/src/i18n/messages/en.d.ts +12 -0
  169. package/dist/types/src/i18n/messages/es.d.ts +12 -0
  170. package/dist/types/src/i18n/messages/ru.d.ts +12 -0
  171. package/package.json +9 -1
  172. package/dist/chunks/config-Br_qI3Za.js.map +0 -1
  173. package/dist/chunks/en-foQA8imU.js.map +0 -1
  174. package/dist/chunks/es-DZFSojYL.js.map +0 -1
  175. package/dist/chunks/grDropdownStyles-B41mVR1H.js.map +0 -1
  176. package/dist/chunks/grModalStyles-DS1Vl6EW.js.map +0 -1
  177. package/dist/chunks/grSelectStyles-pUt19VGy.js.map +0 -1
  178. package/dist/chunks/granularityI18n-LcJ88Vce.js.map +0 -1
  179. package/dist/chunks/ru-LhkPpPIl.js.map +0 -1
  180. package/dist/components/GrDropdown/chunks/GrDropdown-DOvHKnih.js.map +0 -1
  181. package/dist/components/GrPagination/chunks/GrPagination-cD6rFO9W.js.map +0 -1
  182. package/dist/components/GrSelect/chunks/GrSelect-W9lbAjRZ.js.map +0 -1
  183. package/dist/components/GrToaster/chunks/GrToaster-DluJmR5D.js.map +0 -1
  184. package/dist/components/GrTooltip/chunks/GrTooltip-B7I1AVIC.js +0 -55
  185. package/dist/components/GrTooltip/chunks/GrTooltip-B7I1AVIC.js.map +0 -1
  186. package/dist/components/GrTreeSelect/chunks/GrTreeSelect-C1abr5uH.js.map +0 -1
  187. /package/dist/chunks/{config-d386uO3O.js → config-58Mj2rGH.js} +0 -0
  188. /package/dist/chunks/{config-D4s_QWVP.js → config-8f8624RN.js} +0 -0
  189. /package/dist/chunks/{config-B_nSBc7W.js → config-A-iei0Ux.js} +0 -0
  190. /package/dist/chunks/{config-Dcb7xK-C.js → config-B3dn-gdC.js} +0 -0
  191. /package/dist/chunks/{config-D6Oe3blW2.js → config-BLa1TEGm2.js} +0 -0
  192. /package/dist/chunks/{config-Dzd6BzIN2.js → config-BeBsN0c12.js} +0 -0
  193. /package/dist/chunks/{config-BU0olrvr.js → config-Bh4NWWsQ.js} +0 -0
  194. /package/dist/chunks/{config-BeQuykDk2.js → config-BuoIngj32.js} +0 -0
  195. /package/dist/chunks/{config-BbKroFtR.js → config-C5-ujXCI.js} +0 -0
  196. /package/dist/chunks/{config-DF_RlCIO.js → config-CPSdAjUi.js} +0 -0
  197. /package/dist/chunks/{config-iuMz79Mg.js → config-CWTfyPNI.js} +0 -0
  198. /package/dist/chunks/{config-Ci9nXGUV.js → config-C_q_4FrU.js} +0 -0
  199. /package/dist/chunks/{config-O1_FTqD3.js → config-CzgNEHKi.js} +0 -0
  200. /package/dist/chunks/{config-Bcf-8XlK2.js → config-DDUPnue12.js} +0 -0
  201. /package/dist/chunks/{config-DmjwIqx1.js → config-DDwBSoc_.js} +0 -0
  202. /package/dist/chunks/{config-DaHI5bD_2.js → config-DZrlovR42.js} +0 -0
  203. /package/dist/chunks/{config-72sW9Bag2.js → config-D_Pafsjq2.js} +0 -0
  204. /package/dist/chunks/{config-B1kFmhpM.js → config-DhQc1TRY.js} +0 -0
  205. /package/dist/chunks/{config-CetsgpaZ2.js → config-DkeLkzxj2.js} +0 -0
  206. /package/dist/chunks/{config-BOdu-O_B.js → config-Dl5aZ5VR.js} +0 -0
  207. /package/dist/chunks/{config-CvGdaXvH.js → config-Doa_gU40.js} +0 -0
  208. /package/dist/chunks/{config-CdJpnjDj.js → config-DvDNney3.js} +0 -0
  209. /package/dist/chunks/{config-CpMYmvVT.js → config-NkbzVFZo.js} +0 -0
  210. /package/dist/chunks/{config-_3De4HFf.js → config-RjfJFv1Y.js} +0 -0
  211. /package/dist/chunks/{config-DoBk_CzG.js → config-VJuoznpH.js} +0 -0
  212. /package/dist/chunks/{config-BnWSHTEU.js → config-XspHtPsU.js} +0 -0
  213. /package/dist/chunks/{config-B2YTEe_h.js → config-hSlCXHoG.js} +0 -0
  214. /package/dist/chunks/{config-DSBlHQVa.js → config-lMDE_8A5.js} +0 -0
  215. /package/dist/chunks/{config-Cp_XHsze.js → config-nrOj9p6I.js} +0 -0
  216. /package/dist/chunks/{grSelectStyles-pUt19VGy.js → grSelectStyles-AjWWl007.js} +0 -0
  217. /package/dist/chunks/{grStyle-CUaTmpyW.js → grStyle-D-gPHdyW.js} +0 -0
  218. /package/dist/components/GrEmptyState/chunks/{GrEmptyState-Dj2V5GaX.js → GrEmptyState-yOuZW7-t.js} +0 -0
  219. /package/dist/components/GrFormFile/chunks/{GrFormFile-CIleXnfr.js → GrFormFile-CkR6cYqf.js} +0 -0
  220. /package/dist/components/GrFormSection/chunks/{GrFormSection-DpGhY7MX.js → GrFormSection-dbyzqxYk.js} +0 -0
  221. /package/dist/components/GrImageViewer/chunks/{GrImageViewer-CsvXQHM9.js → GrImageViewer-BG40DsHa.js} +0 -0
  222. /package/dist/components/GrList/chunks/{GrList-D8nM1FuV.js → GrList-CUW2sRm_.js} +0 -0
  223. /package/dist/components/GrSidebar/chunks/{GrSidebar-BpBtAGBs.js → GrSidebar-BW8LRMZ-.js} +0 -0
  224. /package/dist/components/GrSkeleton/chunks/{GrSkeleton-URyMkBqI.js → GrSkeleton-B05K0QKh.js} +0 -0
  225. /package/dist/components/GrTabs/chunks/{GrTabs-D3ntDdtg.js → GrTabs-BfeVNMFJ.js} +0 -0
  226. /package/dist/components/GrTree/chunks/{GrTree-B2SMU5Py.js → GrTree-uZr5SyQI.js} +0 -0
package/dist/index.js CHANGED
@@ -25,12 +25,12 @@ import { n as GrCollapse_default, r as GR_COLLAPSE_CONTEXT, t as GrCollapseItem_
25
25
  import { t as GrIcon_default } from "./components/GrIcon/chunks/GrIcon-BV7RBU_0.js";
26
26
  import { t as grIconConfig } from "./chunks/config-DbghHyY_.js";
27
27
  import { t as grCollapseConfig } from "./chunks/config-D5ek7VSi.js";
28
- import { t as GrModal_default } from "./components/GrModal/chunks/GrModal-lh0lOmoi.js";
29
- import { t as getGrModalPanelClass } from "./chunks/grModalStyles-DS1Vl6EW.js";
28
+ import { t as GrModal_default } from "./components/GrModal/chunks/GrModal-CSOL3fHQ.js";
29
+ import { t as getGrModalPanelClass } from "./chunks/grModalStyles-FgaKqx50.js";
30
30
  import { a as resolveGrDialogTitle, i as resolveGrDialogSectionConfig, n as DEFAULT_GR_DIALOG_FOOTER_CONFIG, r as DEFAULT_GR_DIALOG_HEADER_CONFIG, t as DEFAULT_GR_DIALOG_BODY_CONFIG } from "./chunks/dialogShared-BtXUk6Zc.js";
31
- import { i as GrDialogFooter_default, n as GrDialogHeader_default, r as GrDialogCloseButton_default, t as GrDialog_default } from "./components/GrDialog/chunks/GrDialog-C7XLxp8e.js";
32
- import { _ as DEFAULT_AUTO_HIDE_KINDS, a as extendDefaultParsers, c as problemDetailsParser, d as networkErrorParser, f as laravelValidationParser, g as abortErrorParser, h as fileValidationParser, i as defaultResponseErrorParsers, l as plainMessageParser, m as httpStatusParser, n as coreResponseErrorParsers, o as resolveResponseErrorTitle, p as jsonApiErrorParser, r as createResponseErrorClassifier, s as responseErrorParserPresets, t as GrResponseErrorBanner_default, u as normalizeError, v as DEFAULT_RESPONSE_ERROR_TEXTS, y as DEFAULT_TONE_BY_KIND } from "./components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-CzdTh4gd.js";
33
- import { t as GrConfirmDialog_default } from "./components/GrConfirmDialog/chunks/GrConfirmDialog-Br6WJkLE.js";
31
+ import { i as GrDialogFooter_default, n as GrDialogHeader_default, r as GrDialogCloseButton_default, t as GrDialog_default } from "./components/GrDialog/chunks/GrDialog-CxK4Lj4F.js";
32
+ import { _ as DEFAULT_AUTO_HIDE_KINDS, a as extendDefaultParsers, c as problemDetailsParser, d as networkErrorParser, f as laravelValidationParser, g as abortErrorParser, h as fileValidationParser, i as defaultResponseErrorParsers, l as plainMessageParser, m as httpStatusParser, n as coreResponseErrorParsers, o as resolveResponseErrorTitle, p as jsonApiErrorParser, r as createResponseErrorClassifier, s as responseErrorParserPresets, t as GrResponseErrorBanner_default, u as normalizeError, v as DEFAULT_RESPONSE_ERROR_TEXTS, y as DEFAULT_TONE_BY_KIND } from "./components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-bM8FC_Bw.js";
33
+ import { t as GrConfirmDialog_default } from "./components/GrConfirmDialog/chunks/GrConfirmDialog-Bi2KLumL.js";
34
34
  import { t as grConfirmDialogConfig } from "./chunks/config-BduXEXjt.js";
35
35
  import { t as GrTable_default } from "./components/GrTable/chunks/GrTable-dTWUxzRm.js";
36
36
  import { t as GrDataTable_default } from "./components/GrDataTable/chunks/GrDataTable-ClcYiyc8.js";
@@ -39,8 +39,8 @@ import { t as grDialogSafelist } from "./chunks/safelist-_UVzJrgE2.js";
39
39
  import "./components/GrDialog/index.js";
40
40
  import { t as GrFormField_default } from "./components/GrFormField/chunks/GrFormField-U7c_aDPJ.js";
41
41
  import { t as GrInput_default } from "./components/GrInput/chunks/GrInput-gwFQ1sk4.js";
42
- import { t as GrPromptDialog_default } from "./components/GrPromptDialog/chunks/GrPromptDialog-BV4EW3XO.js";
43
- import { n as GrFormErrorBanner_default, r as GrUploadErrorBanner_default, t as useResponseError } from "./components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-BMvXREcv.js";
42
+ import { t as GrPromptDialog_default } from "./components/GrPromptDialog/chunks/GrPromptDialog-D_TFqKsF.js";
43
+ import { n as GrFormErrorBanner_default, r as GrUploadErrorBanner_default, t as useResponseError } from "./components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-K1uZ1mYD.js";
44
44
  import { n as grDrawerSafelist, t as grDrawerConfig } from "./chunks/config-C6zT56Jc2.js";
45
45
  import { t as GrDrawer_default } from "./components/GrDrawer/chunks/GrDrawer-BW3wtI7h.js";
46
46
  import { vAutofocus } from "./directives/autofocus.js";
@@ -51,75 +51,75 @@ import { vDropzone } from "./directives/dropzone.js";
51
51
  import { vHotkey } from "./directives/hotkey.js";
52
52
  import { t as GrLoading_default } from "./components/GrLoading/chunks/GrLoading-mfyfghxs.js";
53
53
  import { createLoading, vLoading } from "./directives/loading.js";
54
- import { t as GrDropdown_default } from "./components/GrDropdown/chunks/GrDropdown-DOvHKnih.js";
55
- import { n as grDropdownSafelist, t as grDropdownConfig } from "./chunks/config-Br_qI3Za.js";
54
+ import { t as GrDropdown_default } from "./components/GrDropdown/chunks/GrDropdown-BGKeEfZ1.js";
55
+ import { n as grDropdownSafelist, t as grDropdownConfig } from "./chunks/config-C_egzT_K.js";
56
56
  import "./components/GrDropdown/index.js";
57
- import { a as GrDropdownMenuColumns_default, c as GrDropdownMenuList_default, i as GrDropdownMenuDivider_default, n as GrDropdownMenuGroup_default, o as GrDropdownMenuColumn_default, r as GrDropdownMenuHeader_default, s as GrDropdownMenu_default, t as GrDropdownMenuItem_default } from "./components/GrDropdownMenu/chunks/GrDropdownMenu-CLPwbiyG.js";
58
- import { t as grDropdownMenuConfig } from "./chunks/config-DmjwIqx1.js";
59
- import { t as GrEmptyState_default } from "./components/GrEmptyState/chunks/GrEmptyState-Dj2V5GaX.js";
60
- import { t as grEmptyStateConfig } from "./chunks/config-O1_FTqD3.js";
61
- import { t as GrProgressBar_default } from "./components/GrProgressBar/chunks/GrProgressBar-C2HdYjp4.js";
62
- import { i as GrUploadHttpError, n as GR_UPLOAD_STATE_IDLE, r as GrUploadAbortError, t as GrFileUpload_default } from "./components/GrFileUpload/chunks/GrFileUpload-BEKNB1RM.js";
63
- import { t as grFileUploadConfig } from "./chunks/config-DF_RlCIO.js";
64
- import { t as grFormFieldConfig } from "./chunks/config-Dcb7xK-C.js";
57
+ import { a as GrDropdownMenuColumns_default, c as GrDropdownMenuList_default, i as GrDropdownMenuDivider_default, n as GrDropdownMenuGroup_default, o as GrDropdownMenuColumn_default, r as GrDropdownMenuHeader_default, s as GrDropdownMenu_default, t as GrDropdownMenuItem_default } from "./components/GrDropdownMenu/chunks/GrDropdownMenu-CJom_-c2.js";
58
+ import { t as grDropdownMenuConfig } from "./chunks/config-DDwBSoc_.js";
59
+ import { t as GrEmptyState_default } from "./components/GrEmptyState/chunks/GrEmptyState-yOuZW7-t.js";
60
+ import { t as grEmptyStateConfig } from "./chunks/config-CzgNEHKi.js";
61
+ import { t as GrProgressBar_default } from "./components/GrProgressBar/chunks/GrProgressBar-BBSFpVEq.js";
62
+ import { i as GrUploadHttpError, n as GR_UPLOAD_STATE_IDLE, r as GrUploadAbortError, t as GrFileUpload_default } from "./components/GrFileUpload/chunks/GrFileUpload-CBKK3dgC.js";
63
+ import { t as grFileUploadConfig } from "./chunks/config-CPSdAjUi.js";
64
+ import { t as grFormFieldConfig } from "./chunks/config-B3dn-gdC.js";
65
65
  import "./components/GrFormField/index.js";
66
- import { t as GrFormFile_default } from "./components/GrFormFile/chunks/GrFormFile-CIleXnfr.js";
67
- import { t as grFormFileConfig } from "./chunks/config-BbKroFtR.js";
68
- import { t as GrFormSection_default } from "./components/GrFormSection/chunks/GrFormSection-DpGhY7MX.js";
69
- import { t as grFormSectionConfig } from "./chunks/config-DoBk_CzG.js";
70
- import { t as GrImageViewer_default } from "./components/GrImageViewer/chunks/GrImageViewer-CsvXQHM9.js";
71
- import { t as grImageViewerConfig } from "./chunks/config-CvGdaXvH.js";
72
- import { n as grInputSafelist, t as grInputConfig } from "./chunks/config-D4s_QWVP.js";
66
+ import { t as GrFormFile_default } from "./components/GrFormFile/chunks/GrFormFile-CkR6cYqf.js";
67
+ import { t as grFormFileConfig } from "./chunks/config-C5-ujXCI.js";
68
+ import { t as GrFormSection_default } from "./components/GrFormSection/chunks/GrFormSection-dbyzqxYk.js";
69
+ import { t as grFormSectionConfig } from "./chunks/config-VJuoznpH.js";
70
+ import { t as GrImageViewer_default } from "./components/GrImageViewer/chunks/GrImageViewer-BG40DsHa.js";
71
+ import { t as grImageViewerConfig } from "./chunks/config-Doa_gU40.js";
72
+ import { n as grInputSafelist, t as grInputConfig } from "./chunks/config-8f8624RN.js";
73
73
  import "./components/GrInput/index.js";
74
- import { n as grInputTagSafelist, t as grInputTagConfig } from "./chunks/config-BnWSHTEU.js";
75
- import { t as GrInputTag_default } from "./components/GrInputTag/chunks/GrInputTag-Dcj3F6rQ.js";
76
- import { n as grLinkSafelist, t as grLinkConfig } from "./chunks/config-CpMYmvVT.js";
77
- import { t as GrLink_default } from "./components/GrLink/chunks/GrLink-BMwn2iJ9.js";
78
- import { n as GrList_default, t as GrListItem_default } from "./components/GrList/chunks/GrList-D8nM1FuV.js";
79
- import { t as grListConfig } from "./chunks/config-DSBlHQVa.js";
80
- import { n as grLoadingSafelist, t as grLoadingConfig } from "./chunks/config-d386uO3O.js";
74
+ import { n as grInputTagSafelist, t as grInputTagConfig } from "./chunks/config-XspHtPsU.js";
75
+ import { t as GrInputTag_default } from "./components/GrInputTag/chunks/GrInputTag-g-KdUI_Z.js";
76
+ import { n as grLinkSafelist, t as grLinkConfig } from "./chunks/config-NkbzVFZo.js";
77
+ import { t as GrLink_default } from "./components/GrLink/chunks/GrLink-KSTmk9Yq.js";
78
+ import { n as GrList_default, t as GrListItem_default } from "./components/GrList/chunks/GrList-CUW2sRm_.js";
79
+ import { t as grListConfig } from "./chunks/config-lMDE_8A5.js";
80
+ import { n as grLoadingSafelist, t as grLoadingConfig } from "./chunks/config-58Mj2rGH.js";
81
81
  import "./components/GrLoading/index.js";
82
- import { n as grModalClassTokens, r as grModalSafelist, t as grModalConfig } from "./chunks/config-C5OwJM3-.js";
82
+ import { n as grModalClassTokens, r as grModalSafelist, t as grModalConfig } from "./chunks/config-DRpkoSvq.js";
83
83
  import "./components/GrModal/index.js";
84
- import { t as GrNavbar_default } from "./components/GrNavbar/chunks/GrNavbar-BH7XiF9q.js";
85
- import { t as grNavbarConfig } from "./chunks/config-Ci9nXGUV.js";
86
- import { n as grNumberInputSafelist, t as grNumberInputConfig } from "./chunks/config-CdJpnjDj.js";
87
- import { t as GrNumberInput_default } from "./components/GrNumberInput/chunks/GrNumberInput-YIWhV85S.js";
88
- import { t as GrSelect_default } from "./components/GrSelect/chunks/GrSelect-W9lbAjRZ.js";
89
- import { t as GrPagination_default } from "./components/GrPagination/chunks/GrPagination-cD6rFO9W.js";
90
- import { t as grPaginationConfig } from "./chunks/config-iuMz79Mg.js";
91
- import { n as grProgressBarSafelist, t as grProgressBarConfig } from "./chunks/config-CFf7xaG1.js";
84
+ import { t as GrNavbar_default } from "./components/GrNavbar/chunks/GrNavbar-CHxwtFIR.js";
85
+ import { t as grNavbarConfig } from "./chunks/config-C_q_4FrU.js";
86
+ import { n as grNumberInputSafelist, t as grNumberInputConfig } from "./chunks/config-DvDNney3.js";
87
+ import { t as GrNumberInput_default } from "./components/GrNumberInput/chunks/GrNumberInput-ClPBwkxx.js";
88
+ import { t as GrSelect_default } from "./components/GrSelect/chunks/GrSelect-DSz7jvUb.js";
89
+ import { t as GrPagination_default } from "./components/GrPagination/chunks/GrPagination-D2GS0ShQ.js";
90
+ import { t as grPaginationConfig } from "./chunks/config-CWTfyPNI.js";
91
+ import { n as grProgressBarSafelist, t as grProgressBarConfig } from "./chunks/config-B0uUCaJW.js";
92
92
  import "./components/GrProgressBar/index.js";
93
- import { t as grPromptDialogConfig } from "./chunks/config-B1kFmhpM.js";
94
- import { n as grRadioSafelist, t as grRadioConfig } from "./chunks/config-Cp_XHsze.js";
95
- import { n as GR_RADIO_GROUP_CONTEXT, t as GrRadio_default } from "./components/GrRadio/chunks/GrRadio-IFU9Hiu2.js";
96
- import { t as GrRadioGroup_default } from "./components/GrRadioGroup/chunks/GrRadioGroup-C8IcJuuF.js";
97
- import { t as grRadioGroupConfig } from "./chunks/config-BU0olrvr.js";
98
- import { n as grSegmentedSafelist, t as grSegmentedConfig } from "./chunks/config-B2YTEe_h.js";
99
- import { t as GrSegmented_default } from "./components/GrSegmented/chunks/GrSegmented-BRmwBsEG.js";
100
- import { n as grSelectSafelist, t as grSelectConfig } from "./chunks/config-BY81UKv0.js";
93
+ import { t as grPromptDialogConfig } from "./chunks/config-DhQc1TRY.js";
94
+ import { n as grRadioSafelist, t as grRadioConfig } from "./chunks/config-nrOj9p6I.js";
95
+ import { n as GR_RADIO_GROUP_CONTEXT, t as GrRadio_default } from "./components/GrRadio/chunks/GrRadio-CSbTnrom.js";
96
+ import { t as GrRadioGroup_default } from "./components/GrRadioGroup/chunks/GrRadioGroup-DsrnTygR.js";
97
+ import { t as grRadioGroupConfig } from "./chunks/config-Bh4NWWsQ.js";
98
+ import { n as grSegmentedSafelist, t as grSegmentedConfig } from "./chunks/config-hSlCXHoG.js";
99
+ import { t as GrSegmented_default } from "./components/GrSegmented/chunks/GrSegmented-DpZGs4VX.js";
100
+ import { n as grSelectSafelist, t as grSelectConfig } from "./chunks/config-C8MM2Dg0.js";
101
101
  import "./components/GrSelect/index.js";
102
- import { t as GrSidebar_default } from "./components/GrSidebar/chunks/GrSidebar-BpBtAGBs.js";
103
- import { t as grSidebarConfig } from "./chunks/config-BeQuykDk2.js";
104
- import { t as GrSkeleton_default } from "./components/GrSkeleton/chunks/GrSkeleton-URyMkBqI.js";
105
- import { t as grSkeletonConfig } from "./chunks/config-DaHI5bD_2.js";
106
- import { n as grSwitchSafelist, t as grSwitchConfig } from "./chunks/config-_3De4HFf.js";
107
- import { t as GrSwitch_default } from "./components/GrSwitch/chunks/GrSwitch-29h0QhMO.js";
108
- import { t as grTableConfig } from "./chunks/config-Bcf-8XlK2.js";
102
+ import { t as GrSidebar_default } from "./components/GrSidebar/chunks/GrSidebar-BW8LRMZ-.js";
103
+ import { t as grSidebarConfig } from "./chunks/config-BuoIngj32.js";
104
+ import { t as GrSkeleton_default } from "./components/GrSkeleton/chunks/GrSkeleton-B05K0QKh.js";
105
+ import { t as grSkeletonConfig } from "./chunks/config-DZrlovR42.js";
106
+ import { n as grSwitchSafelist, t as grSwitchConfig } from "./chunks/config-RjfJFv1Y.js";
107
+ import { t as GrSwitch_default } from "./components/GrSwitch/chunks/GrSwitch-CSRtcN5-.js";
108
+ import { t as grTableConfig } from "./chunks/config-DDUPnue12.js";
109
109
  import "./components/GrTable/index.js";
110
- import { t as GrTabs_default } from "./components/GrTabs/chunks/GrTabs-D3ntDdtg.js";
111
- import { t as grTabsConfig } from "./chunks/config-Dzd6BzIN2.js";
112
- import { n as grTextareaSafelist, t as grTextareaConfig } from "./chunks/config-B_nSBc7W.js";
113
- import { t as GrTextarea_default } from "./components/GrTextarea/chunks/GrTextarea-Cv6r2GuC.js";
110
+ import { t as GrTabs_default } from "./components/GrTabs/chunks/GrTabs-BfeVNMFJ.js";
111
+ import { t as grTabsConfig } from "./chunks/config-BeBsN0c12.js";
112
+ import { n as grTextareaSafelist, t as grTextareaConfig } from "./chunks/config-A-iei0Ux.js";
113
+ import { t as GrTextarea_default } from "./components/GrTextarea/chunks/GrTextarea-CBBzpF2S.js";
114
114
  import { useToast } from "./composables/useToast.js";
115
- import { n as grToasterSafelist, t as grToasterConfig } from "./chunks/config-CetsgpaZ2.js";
116
- import { t as GrToaster_default } from "./components/GrToaster/chunks/GrToaster-DluJmR5D.js";
117
- import { t as GrTooltip_default } from "./components/GrTooltip/chunks/GrTooltip-B7I1AVIC.js";
118
- import { t as grTooltipConfig } from "./chunks/config-BOdu-O_B.js";
119
- import { t as GrTree_default } from "./components/GrTree/chunks/GrTree-B2SMU5Py.js";
120
- import { n as grTreeSafelist, t as grTreeConfig } from "./chunks/config-D6Oe3blW2.js";
121
- import { n as grTreeSelectSafelist, t as grTreeSelectConfig } from "./chunks/config-72sW9Bag2.js";
122
- import { t as GrTreeSelect_default } from "./components/GrTreeSelect/chunks/GrTreeSelect-C1abr5uH.js";
115
+ import { n as grToasterSafelist, t as grToasterConfig } from "./chunks/config-DkeLkzxj2.js";
116
+ import { t as GrToaster_default } from "./components/GrToaster/chunks/GrToaster-C6_iHk2J.js";
117
+ import { t as GrTooltip_default } from "./components/GrTooltip/chunks/GrTooltip-BC-40SA5.js";
118
+ import { t as grTooltipConfig } from "./chunks/config-Dl5aZ5VR.js";
119
+ import { t as GrTree_default } from "./components/GrTree/chunks/GrTree-uZr5SyQI.js";
120
+ import { n as grTreeSafelist, t as grTreeConfig } from "./chunks/config-BLa1TEGm2.js";
121
+ import { n as grTreeSelectSafelist, t as grTreeSelectConfig } from "./chunks/config-D_Pafsjq2.js";
122
+ import { t as GrTreeSelect_default } from "./components/GrTreeSelect/chunks/GrTreeSelect-CytivcCa.js";
123
123
  import { initThemeEarly, useTheme } from "./composables/useTheme.js";
124
124
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, onBeforeUnmount, openBlock, reactive, ref, render, shallowRef, toDisplayString, watch, withCtx } from "vue";
125
125
  import { defineGranularComponent } from "@feugene/unocss-preset-granular/contract";
@@ -1,7 +1,8 @@
1
+ import type { Placement } from '@floating-ui/dom';
1
2
  export type GrDropdownAlign = 'left' | 'right' | 'center';
2
3
  export type GrDropdownWidth = 'auto' | '20' | '48' | '60' | '64' | '80';
3
4
  export declare const widthClassByWidth: Record<GrDropdownWidth, string>;
4
- export declare const alignmentClassByAlign: Record<GrDropdownAlign, string>;
5
+ export declare const originClassByPlacement: Partial<Record<Placement, string>>;
5
6
  export declare function grDropdownWidthClass(width: GrDropdownWidth): string;
6
- export declare function grDropdownAlignmentClass(align: GrDropdownAlign): string;
7
+ export declare function grDropdownOriginClass(placement: Placement): string;
7
8
  export declare function grDropdownContentClass(contentClass?: string): string;
@@ -51,11 +51,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
51
51
  }>>> & Readonly<{}>, {
52
52
  width: GrDropdownMenuWidth;
53
53
  align: GrDropdownMenuAlign;
54
+ borderBottom: boolean;
55
+ borderTop: boolean;
54
56
  closeOnContentClick: boolean;
55
57
  contentClass: string;
56
58
  dividers: boolean;
57
- borderTop: boolean;
58
- borderBottom: boolean;
59
59
  listClass: string;
60
60
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
61
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -21,8 +21,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
21
21
  uppercase: boolean;
22
22
  }>>> & Readonly<{}>, {
23
23
  title: string;
24
- dividers: boolean;
25
24
  uppercase: boolean;
25
+ dividers: boolean;
26
26
  titleAlign: GrDropdownMenuHeaderAlign;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -16,9 +16,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
16
16
  borderTop: boolean;
17
17
  borderBottom: boolean;
18
18
  }>>> & Readonly<{}>, {
19
- dividers: boolean;
20
- borderTop: boolean;
21
19
  borderBottom: boolean;
20
+ borderTop: boolean;
21
+ dividers: boolean;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
23
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
24
  declare const _default: typeof __VLS_export;
@@ -159,10 +159,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
159
159
  name: string;
160
160
  headers: Record<string, string>;
161
161
  placeholder: string;
162
+ multiple: boolean;
162
163
  withCredentials: boolean;
163
164
  action: string;
164
165
  request: GrFileUploadRequest;
165
- multiple: boolean;
166
166
  limit: number;
167
167
  onExceed: (files: File[], limit: number) => void;
168
168
  beforeUpload: (file: File) => boolean | Promise<unknown>;
@@ -68,9 +68,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
68
68
  as: string | Component;
69
69
  target: string;
70
70
  href: string;
71
+ underline: GrLinkUnderline;
71
72
  external: boolean;
72
73
  rel: string;
73
- underline: GrLinkUnderline;
74
74
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
75
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
76
76
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  export type GrModalSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
2
- export declare const root = "fixed inset-0 z-50";
2
+ export declare const root = "fixed inset-0 z-[var(--gr-z-modal)]";
3
3
  export declare const shell = "fixed inset-0 overflow-y-auto p-4 sm:p-6";
4
4
  export declare const layout = "min-h-full flex items-center justify-center";
5
5
  export declare const overlay = "fixed inset-0 z-0 bg-black/40";
@@ -52,8 +52,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
52
52
  disabled: boolean;
53
53
  ariaLabel: string;
54
54
  name: string;
55
- indicatorDuration: number;
56
55
  block: boolean;
56
+ indicatorDuration: number;
57
57
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
58
58
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
59
59
  declare const _default: typeof __VLS_export;
@@ -1,11 +1,12 @@
1
- import { type GrSelectModelValue, type GrSelectOption, type GrSelectOptionsView, type GrSelectSize, type GrSelectUnderline, type GrSelectVariant, type GrSelectView } from './grSelectStyles';
2
- export type { GrSelectModelValue, GrSelectOption, GrSelectOptionsView, GrSelectSize, GrSelectUnderline, GrSelectVariant, GrSelectView, } from './grSelectStyles';
1
+ import { type GrSelectModelValue, type GrSelectOption, type GrSelectOptionOrGroup, type GrSelectOptionsView, type GrSelectSize, type GrSelectUnderline, type GrSelectVariant, type GrSelectView } from './grSelectStyles';
2
+ export type { GrSelectModelValue, GrSelectOption, GrSelectOptionGroup, GrSelectOptionOrGroup, GrSelectOptionsView, GrSelectSize, GrSelectUnderline, GrSelectVariant, GrSelectView, } from './grSelectStyles';
3
3
  /**
4
4
  * Пропсы публичного DS-примитива «Select».
5
5
  */
6
6
  export interface GrSelectProps {
7
7
  modelValue: GrSelectModelValue;
8
- options?: GrSelectOption[];
8
+ /** Список опций. Поддерживает плоский массив опций и группы опций (`{ label, options }`). */
9
+ options?: GrSelectOptionOrGroup[];
9
10
  disabled?: boolean;
10
11
  ariaLabel?: string;
11
12
  view?: GrSelectView;
@@ -18,7 +19,7 @@ export interface GrSelectProps {
18
19
  optionsView?: GrSelectOptionsView;
19
20
  /** Разрешает ввод/выбор значения, которого нет в `options`. */
20
21
  allowCustomValue?: boolean;
21
- /** Placeholder для инпута кастомного значения (только в `optionsView="panel"`). */
22
+ /** Placeholder для инпута кастомного значения (только в `optionsView="panel"`). i18n-friendly: если не задан — берётся из адаптера перевода (`gr.select.customValuePlaceholder`), иначе — встроенный fallback. */
22
23
  customValuePlaceholder?: string;
23
24
  /** Максимальная высота панели (только в `optionsView="panel"`). */
24
25
  dropdownMaxHeight?: number;
@@ -66,11 +67,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
66
67
  multiple: boolean;
67
68
  optionsView: string;
68
69
  allowCustomValue: boolean;
69
- customValuePlaceholder: string;
70
+ customValuePlaceholder: undefined;
70
71
  dropdownMaxHeight: number;
71
72
  closeOnSelect: boolean;
72
73
  clearable: boolean;
73
- clearLabel: string;
74
+ clearLabel: undefined;
74
75
  variant: string;
75
76
  underline: string;
76
77
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -85,11 +86,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
85
86
  multiple: boolean;
86
87
  optionsView: string;
87
88
  allowCustomValue: boolean;
88
- customValuePlaceholder: string;
89
+ customValuePlaceholder: undefined;
89
90
  dropdownMaxHeight: number;
90
91
  closeOnSelect: boolean;
91
92
  clearable: boolean;
92
- clearLabel: string;
93
+ clearLabel: undefined;
93
94
  variant: string;
94
95
  underline: string;
95
96
  }>>> & Readonly<{
@@ -101,9 +102,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
101
102
  disabled: boolean;
102
103
  ariaLabel: string;
103
104
  placeholder: string;
104
- options: GrSelectOption[];
105
- multiple: boolean;
105
+ options: GrSelectOptionOrGroup[];
106
106
  underline: GrSelectUnderline;
107
+ multiple: boolean;
107
108
  optionsView: GrSelectOptionsView;
108
109
  allowCustomValue: boolean;
109
110
  customValuePlaceholder: string;
@@ -7,6 +7,13 @@ export type GrSelectOption = {
7
7
  value: string;
8
8
  label: string;
9
9
  };
10
+ /** Группа опций: заголовок `label` + вложенные опции `options`. */
11
+ export type GrSelectOptionGroup = {
12
+ label: string;
13
+ options: GrSelectOption[];
14
+ };
15
+ /** Элемент списка опций: либо одиночная опция, либо группа опций. */
16
+ export type GrSelectOptionOrGroup = GrSelectOption | GrSelectOptionGroup;
10
17
  export type GrSelectModelValue = string | string[];
11
18
  export declare const defaultBaseClass = "w-full rounded-md border border-[var(--brd)] bg-[var(--bg)] text-[var(--fg)] transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]";
12
19
  export declare const linkBaseClass = "cursor-pointer inline-block w-auto align-baseline appearance-none bg-transparent border border-transparent px-0 py-0 rounded-[6px] transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]";
@@ -1,5 +1,5 @@
1
1
  export { default } from './GrSelect.vue';
2
2
  export { default as GrSelect } from './GrSelect.vue';
3
3
  export { grSelectConfig } from './config';
4
- export type { GrSelectModelValue, GrSelectOption, GrSelectOptionsView, GrSelectProps, GrSelectSize, GrSelectUnderline, GrSelectVariant, GrSelectView, } from './GrSelect.vue';
4
+ export type { GrSelectModelValue, GrSelectOption, GrSelectOptionGroup, GrSelectOptionOrGroup, GrSelectOptionsView, GrSelectProps, GrSelectSize, GrSelectUnderline, GrSelectVariant, GrSelectView, } from './GrSelect.vue';
5
5
  export { grSelectSafelist } from './safelist';
@@ -0,0 +1,53 @@
1
+ import type { CSSProperties, Ref } from 'vue';
2
+ import type { Placement } from '@floating-ui/dom';
3
+ export type UseFloatingPlacement = Placement;
4
+ export interface UseFloatingOptions {
5
+ /**
6
+ * Предпочитаемое место панели относительно триггера. По умолчанию `bottom-start`.
7
+ * Можно передать функцию-геттер, если место зависит от реактивного пропа
8
+ * (например, `align`) — она вызывается заново при каждом пересчёте позиции.
9
+ */
10
+ placement?: UseFloatingPlacement | (() => UseFloatingPlacement);
11
+ /** Зазор между триггером и панелью, px. По умолчанию `8`. */
12
+ offsetPx?: number;
13
+ /** Минимальный отступ от края viewport при flip/shift, px. По умолчанию `8`. */
14
+ boundaryPadding?: number;
15
+ /**
16
+ * Согласовать ширину панели с шириной триггера (актуально для Select/TreeSelect).
17
+ * Не годится для Dropdown/Tooltip, где ширина панели определяется контентом.
18
+ * - `true` — точная ширина (`width = ширина триггера`);
19
+ * - `'min'` — панель растёт по контенту (`width: max-content`), но не уже триггера
20
+ * (`min-width = ширина триггера`) — режим `GrSelect view="link"`;
21
+ * - функция-геттер — как и `placement`, для реактивной зависимости от пропа.
22
+ */
23
+ matchWidth?: boolean | 'min' | (() => boolean | 'min');
24
+ /** CSS-переменная шкалы слоёв (см. `styles/tokens.css`). По умолчанию `--gr-z-dropdown`. */
25
+ zIndexVar?: string;
26
+ }
27
+ export interface UseFloatingReturn {
28
+ /** Готовый объект для `:style` на плавающем элементе. */
29
+ floatingStyle: Ref<CSSProperties>;
30
+ /**
31
+ * Итоговое место панели ПОСЛЕ применения `flip` — может отличаться от запрошенного
32
+ * `placement`, если места не хватило и панель перевернуло на противоположную сторону.
33
+ * Полезно для выбора `transform-origin`/направления transition в потребителе.
34
+ */
35
+ resolvedPlacement: Ref<Placement>;
36
+ /** Принудительный пересчёт позиции (например, после изменения контента панели). */
37
+ update: () => void;
38
+ }
39
+ /**
40
+ * Единый движок позиционирования floating-панелей (Dropdown/Select/TreeSelect/Tooltip)
41
+ * поверх `@floating-ui/dom`: flip (переворот при нехватке места), shift (клэмп к границам
42
+ * viewport), опциональный `size`-мидлвар для растягивания по ширине триггера.
43
+ *
44
+ * Пересчёт положения при скролле/ресайзе делает `autoUpdate` из `@floating-ui/dom` —
45
+ * он сам использует `ResizeObserver`/`IntersectionObserver` и пассивные слушатели вместо
46
+ * наивного враппера на каждый `scroll`/`resize`, поэтому отдельный rAF-throttling здесь
47
+ * не нужен (в отличие от прежней ручной реализации в `GrSelect`/`GrDropdown`).
48
+ *
49
+ * Требует, чтобы `floatingEl` был примонтирован в DOM на момент открытия (обычно —
50
+ * `<teleport to="body">` + `v-show`, а не `v-if`): позиционирование не может измерить
51
+ * элемент, которого нет в дереве.
52
+ */
53
+ export declare function useFloating(referenceEl: Ref<HTMLElement | null>, floatingEl: Ref<HTMLElement | null>, open: Ref<boolean>, options?: UseFloatingOptions): UseFloatingReturn;
@@ -23,6 +23,10 @@ export declare const en: {
23
23
  filterPlaceholder: string;
24
24
  empty: string;
25
25
  };
26
+ select: {
27
+ customValuePlaceholder: string;
28
+ addOption: string;
29
+ };
26
30
  dialog: {
27
31
  confirm: {
28
32
  title: string;
@@ -34,9 +38,11 @@ export declare const en: {
34
38
  };
35
39
  };
36
40
  pagination: {
41
+ label: string;
37
42
  pageSize: string;
38
43
  prev: string;
39
44
  next: string;
45
+ page: string;
40
46
  };
41
47
  navbar: {
42
48
  openMenu: string;
@@ -82,6 +88,10 @@ export declare const en: {
82
88
  filterPlaceholder: string;
83
89
  empty: string;
84
90
  };
91
+ select: {
92
+ customValuePlaceholder: string;
93
+ addOption: string;
94
+ };
85
95
  dialog: {
86
96
  confirm: {
87
97
  title: string;
@@ -93,9 +103,11 @@ export declare const en: {
93
103
  };
94
104
  };
95
105
  pagination: {
106
+ label: string;
96
107
  pageSize: string;
97
108
  prev: string;
98
109
  next: string;
110
+ page: string;
99
111
  };
100
112
  navbar: {
101
113
  openMenu: string;
@@ -16,6 +16,10 @@ export declare const es: {
16
16
  filterPlaceholder: string;
17
17
  empty: string;
18
18
  };
19
+ select: {
20
+ customValuePlaceholder: string;
21
+ addOption: string;
22
+ };
19
23
  dialog: {
20
24
  confirm: {
21
25
  title: string;
@@ -27,9 +31,11 @@ export declare const es: {
27
31
  };
28
32
  };
29
33
  pagination: {
34
+ label: string;
30
35
  pageSize: string;
31
36
  prev: string;
32
37
  next: string;
38
+ page: string;
33
39
  };
34
40
  navbar: {
35
41
  openMenu: string;
@@ -75,6 +81,10 @@ export declare const es: {
75
81
  filterPlaceholder: string;
76
82
  empty: string;
77
83
  };
84
+ select: {
85
+ customValuePlaceholder: string;
86
+ addOption: string;
87
+ };
78
88
  dialog: {
79
89
  confirm: {
80
90
  title: string;
@@ -86,9 +96,11 @@ export declare const es: {
86
96
  };
87
97
  };
88
98
  pagination: {
99
+ label: string;
89
100
  pageSize: string;
90
101
  prev: string;
91
102
  next: string;
103
+ page: string;
92
104
  };
93
105
  navbar: {
94
106
  openMenu: string;
@@ -16,6 +16,10 @@ export declare const ru: {
16
16
  filterPlaceholder: string;
17
17
  empty: string;
18
18
  };
19
+ select: {
20
+ customValuePlaceholder: string;
21
+ addOption: string;
22
+ };
19
23
  dialog: {
20
24
  confirm: {
21
25
  title: string;
@@ -27,9 +31,11 @@ export declare const ru: {
27
31
  };
28
32
  };
29
33
  pagination: {
34
+ label: string;
30
35
  pageSize: string;
31
36
  prev: string;
32
37
  next: string;
38
+ page: string;
33
39
  };
34
40
  navbar: {
35
41
  openMenu: string;
@@ -75,6 +81,10 @@ export declare const ru: {
75
81
  filterPlaceholder: string;
76
82
  empty: string;
77
83
  };
84
+ select: {
85
+ customValuePlaceholder: string;
86
+ addOption: string;
87
+ };
78
88
  dialog: {
79
89
  confirm: {
80
90
  title: string;
@@ -86,9 +96,11 @@ export declare const ru: {
86
96
  };
87
97
  };
88
98
  pagination: {
99
+ label: string;
89
100
  pageSize: string;
90
101
  prev: string;
91
102
  next: string;
103
+ page: string;
92
104
  };
93
105
  navbar: {
94
106
  openMenu: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@feugene/granularity",
3
3
  "description": "Granularity design system package with Vue 3 components, consumed via the `@feugene/unocss-preset-granular` preset.",
4
- "version": "0.9.3",
4
+ "version": "0.10.0",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": {
7
7
  "name": "Evgeniy Fureev",
@@ -309,11 +309,18 @@
309
309
  }
310
310
  },
311
311
  "peerDependencies": {
312
+ "@feugene/fint-i18n": "^0.3.0",
312
313
  "@feugene/unocss-preset-granular": "^0.3.0",
313
314
  "vue": "^3.5.32"
314
315
  },
316
+ "peerDependenciesMeta": {
317
+ "@feugene/fint-i18n": {
318
+ "optional": true
319
+ }
320
+ },
315
321
  "devDependencies": {
316
322
  "@antfu/eslint-config": "^8.2.0",
323
+ "@feugene/fint-i18n": "^0.3.0",
317
324
  "@feugene/unocss-preset-granular": "^0.3.0",
318
325
  "@iconify-json/lucide": "^1.2.101",
319
326
  "@types/node": "^25.5.2",
@@ -342,6 +349,7 @@
342
349
  "test:run": "vitest run --config vitest.config.ts"
343
350
  },
344
351
  "dependencies": {
352
+ "@floating-ui/dom": "^1.6.0",
345
353
  "@headlessui/vue": "^1.7.23"
346
354
  }
347
355
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"config-Br_qI3Za.js","names":[],"sources":["../../src/components/GrDropdown/safelist.ts","../../src/components/GrDropdown/config.ts"],"sourcesContent":["import { splitClassTokens } from '../shared/classTokens'\nimport {\n alignmentClassByAlign,\n widthClassByWidth,\n} from './grDropdownStyles'\n\n// В safelist кладём только динамические токены, выбираемые по ключам в рантайме\n// (`width`/`align`). Литералы content-класса (`rounded-*`, `border`, `bg-*` и пр.)\n// прописаны статически в исходнике `grDropdownStyles.ts` и находятся UnoCSS'ом сканом.\nexport const grDropdownSafelist = [...new Set([\n ...Object.values(widthClassByWidth).flatMap(splitClassTokens),\n ...Object.values(alignmentClassByAlign).flatMap(splitClassTokens),\n])]\n","import {defineGranularComponent} from '@feugene/unocss-preset-granular/contract'\n\nimport { grDropdownSafelist } from './safelist'\n\nexport const grDropdownConfig = defineGranularComponent(import.meta.url, {\n name: 'GrDropdown',\n safelist: grDropdownSafelist,\n})"],"mappings":";;;;AASA,IAAa,qBAAqB,CAAC,GAAG,IAAI,IAAI,CAC5C,GAAG,OAAO,OAAO,kBAAkB,CAAC,QAAQ,iBAAiB,EAC7D,GAAG,OAAO,OAAO,sBAAsB,CAAC,QAAQ,iBAAiB,CAClE,CAAC,CAAC;;;ACRH,IAAa,mBAAmB,wBAAwB,OAAO,KAAK,KAAK;CACvE,MAAM;CACN,UAAU;CACX,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"en-foQA8imU.js","names":[],"sources":["../../src/i18n/locales/en.json"],"sourcesContent":["{\n \"common\": {\n \"confirm\": \"Confirm\",\n \"cancel\": \"Cancel\",\n \"add\": \"Add\",\n \"clear\": \"Clear\",\n \"close\": \"Close\"\n },\n \"loading\": {\n \"defaultText\": \"Loading...\"\n },\n \"treeSelect\": {\n \"filterPlaceholder\": \"Search…\",\n \"empty\": \"No data\"\n },\n \"dialog\": {\n \"confirm\": {\n \"title\": \"Confirm\"\n },\n \"prompt\": {\n \"title\": \"Prompt\",\n \"label\": \"Value\",\n \"required\": \"Enter a value.\"\n }\n },\n \"pagination\": {\n \"pageSize\": \"Page size\",\n \"prev\": \"Prev\",\n \"next\": \"Next\"\n },\n \"navbar\": {\n \"openMenu\": \"Open menu\"\n },\n \"responseError\": {\n \"networkTitle\": \"No connection to the server\",\n \"networkMessage\": \"Check your internet connection and try again.\",\n \"abortedTitle\": \"Request cancelled\",\n \"abortedMessage\": \"The request was cancelled.\",\n \"validationTitle\": \"Check the data\",\n \"validationMessage\": \"The server returned a validation error. Fix the fields and try again.\",\n \"clientTitle\": \"Request error\",\n \"clientMessage\": \"The server rejected the request.\",\n \"serverTitle\": \"Server error\",\n \"serverMessage\": \"A server error occurred. Please try again.\",\n \"unknownTitle\": \"Something went wrong\",\n \"unknownMessage\": \"The operation could not be completed. Please try again.\",\n \"retryLabel\": \"Retry\",\n \"dismissLabel\": \"Dismiss\"\n },\n \"colors\": {\n \"neutral\": \"Neutral\",\n \"success\": \"Success\",\n \"warning\": \"Warning\",\n \"danger\": \"Danger\",\n \"info\": \"Info\",\n \"primary\": \"Primary\",\n \"slate\": \"Slate\",\n \"azure\": \"Azure\"\n }\n}\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"es-DZFSojYL.js","names":[],"sources":["../../src/i18n/locales/es.json"],"sourcesContent":["{\n \"common\": {\n \"confirm\": \"Confirmar\",\n \"cancel\": \"Cancelar\",\n \"add\": \"Añadir\",\n \"clear\": \"Limpiar\",\n \"close\": \"Cerrar\"\n },\n \"loading\": {\n \"defaultText\": \"Cargando...\"\n },\n \"treeSelect\": {\n \"filterPlaceholder\": \"Buscar…\",\n \"empty\": \"Sin datos\"\n },\n \"dialog\": {\n \"confirm\": {\n \"title\": \"Confirmar\"\n },\n \"prompt\": {\n \"title\": \"Aviso\",\n \"label\": \"Valor\",\n \"required\": \"Introduzca un valor.\"\n }\n },\n \"pagination\": {\n \"pageSize\": \"Tamaño de página\",\n \"prev\": \"Anterior\",\n \"next\": \"Siguiente\"\n },\n \"navbar\": {\n \"openMenu\": \"Abrir menú\"\n },\n \"responseError\": {\n \"networkTitle\": \"Sin conexión con el servidor\",\n \"networkMessage\": \"Compruebe su conexión a internet e inténtelo de nuevo.\",\n \"abortedTitle\": \"Solicitud cancelada\",\n \"abortedMessage\": \"La solicitud fue cancelada.\",\n \"validationTitle\": \"Compruebe los datos\",\n \"validationMessage\": \"El servidor devolvió un error de validación. Corrija los campos e inténtelo de nuevo.\",\n \"clientTitle\": \"Error de solicitud\",\n \"clientMessage\": \"El servidor rechazó la solicitud.\",\n \"serverTitle\": \"Error del servidor\",\n \"serverMessage\": \"Se produjo un error en el servidor. Inténtelo de nuevo.\",\n \"unknownTitle\": \"Algo salió mal\",\n \"unknownMessage\": \"No se pudo completar la operación. Inténtelo de nuevo.\",\n \"retryLabel\": \"Reintentar\",\n \"dismissLabel\": \"Descartar\"\n },\n \"colors\": {\n \"neutral\": \"Neutral\",\n \"success\": \"Éxito\",\n \"warning\": \"Advertencia\",\n \"danger\": \"Peligro\",\n \"info\": \"Info\",\n \"primary\": \"Primario\",\n \"slate\": \"Pizarra\",\n \"azure\": \"Azul celeste\"\n }\n}\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"grDropdownStyles-B41mVR1H.js","names":[],"sources":["../../src/components/GrDropdown/grDropdownStyles.ts"],"sourcesContent":["export type GrDropdownAlign = 'left' | 'right' | 'center'\nexport type GrDropdownWidth = 'auto' | '20' | '48' | '60' | '64' | '80'\n\nexport const widthClassByWidth: Record<GrDropdownWidth, string> = {\n auto: '',\n 20: 'w-20',\n 48: 'w-48',\n 60: 'w-60',\n 64: 'w-64',\n 80: 'w-80',\n}\n\nexport const alignmentClassByAlign: Record<GrDropdownAlign, string> = {\n left: 'origin-top-left',\n right: 'origin-top-right -translate-x-full',\n center: 'origin-top -translate-x-1/2',\n}\n\nexport function grDropdownWidthClass(width: GrDropdownWidth): string {\n return widthClassByWidth[width]\n}\n\nexport function grDropdownAlignmentClass(align: GrDropdownAlign): string {\n return alignmentClassByAlign[align]\n}\n\nexport function grDropdownContentClass(contentClass?: string): string {\n return [\n 'rounded-[var(--ds-radius-xl)]',\n 'border border-[var(--brd)]',\n 'bg-[var(--card)] text-[var(--card-fg)]',\n 'shadow-[var(--ds-shadow-2)]',\n 'p-1',\n contentClass,\n ].filter(Boolean).join(' ')\n}\n"],"mappings":";AAGA,IAAa,oBAAqD;CAChE,MAAM;CACN,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACL;AAED,IAAa,wBAAyD;CACpE,MAAM;CACN,OAAO;CACP,QAAQ;CACT;AAED,SAAgB,qBAAqB,OAAgC;AACnE,QAAO,kBAAkB;;AAG3B,SAAgB,yBAAyB,OAAgC;AACvE,QAAO,sBAAsB;;AAG/B,SAAgB,uBAAuB,cAA+B;AACpE,QAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACD,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI"}