@pixpilot/shadcn-ui 0.4.0 → 0.4.1

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 (320) hide show
  1. package/dist/AbsoluteFill.cjs +24 -1
  2. package/dist/AbsoluteFill.d.ts +2 -2
  3. package/dist/AbsoluteFill.js +21 -1
  4. package/dist/Alert.cjs +81 -1
  5. package/dist/Alert.js +77 -1
  6. package/dist/Button.cjs +84 -1
  7. package/dist/Button.d.ts +1 -1
  8. package/dist/Button.js +79 -1
  9. package/dist/CloseButtonAbsolute.cjs +20 -1
  10. package/dist/CloseButtonAbsolute.js +16 -1
  11. package/dist/CloseButtonRounded.cjs +22 -1
  12. package/dist/CloseButtonRounded.js +17 -1
  13. package/dist/Combobox.cjs +53 -1
  14. package/dist/Combobox.js +48 -1
  15. package/dist/CommandOptionList.cjs +29 -1
  16. package/dist/CommandOptionList.js +25 -1
  17. package/dist/ContentCard.cjs +27 -1
  18. package/dist/ContentCard.js +23 -1
  19. package/dist/DatePicker.cjs +38 -1
  20. package/dist/DatePicker.d.ts +2 -2
  21. package/dist/DatePicker.js +33 -1
  22. package/dist/LoadingOverlay.cjs +65 -1
  23. package/dist/LoadingOverlay.js +60 -1
  24. package/dist/Select.cjs +27 -1
  25. package/dist/Select.js +23 -1
  26. package/dist/Slider.cjs +19 -1
  27. package/dist/Slider.js +15 -1
  28. package/dist/ThemeToggle.cjs +98 -1
  29. package/dist/ThemeToggle.js +94 -1
  30. package/dist/_virtual/rolldown_runtime.cjs +44 -1
  31. package/dist/_virtual/rolldown_runtime.js +43 -1
  32. package/dist/confirmation-dialog/ConfirmationDialog.cjs +47 -1
  33. package/dist/confirmation-dialog/ConfirmationDialog.d.cts +1 -0
  34. package/dist/confirmation-dialog/ConfirmationDialog.js +43 -1
  35. package/dist/confirmation-dialog/DialogProvider.cjs +16 -1
  36. package/dist/confirmation-dialog/DialogProvider.js +12 -1
  37. package/dist/confirmation-dialog/confirmation-dialogs.cjs +14 -1
  38. package/dist/confirmation-dialog/confirmation-dialogs.js +12 -1
  39. package/dist/confirmation-dialog/index.cjs +7 -1
  40. package/dist/confirmation-dialog/index.js +6 -1
  41. package/dist/file-upload/FileUpload.cjs +68 -1
  42. package/dist/file-upload/FileUpload.js +63 -1
  43. package/dist/file-upload/FileUploadItems.cjs +36 -1
  44. package/dist/file-upload/FileUploadItems.js +32 -1
  45. package/dist/file-upload/FileUploadListItem.cjs +89 -1
  46. package/dist/file-upload/FileUploadListItem.js +83 -1
  47. package/dist/file-upload/hooks/index.cjs +4 -1
  48. package/dist/file-upload/hooks/index.d.cts +2 -0
  49. package/dist/file-upload/hooks/index.js +3 -1
  50. package/dist/file-upload/hooks/use-file-error.cjs +15 -1
  51. package/dist/file-upload/hooks/use-file-error.js +14 -1
  52. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.cjs +34 -1
  53. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.cts +1 -0
  54. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.js +32 -1
  55. package/dist/file-upload/hooks/use-file-upload-store.cjs +77 -1
  56. package/dist/file-upload/hooks/use-file-upload-store.d.cts +2 -0
  57. package/dist/file-upload/hooks/use-file-upload-store.js +75 -1
  58. package/dist/file-upload/index.cjs +6 -1
  59. package/dist/file-upload/index.d.cts +2 -1
  60. package/dist/file-upload/index.js +5 -1
  61. package/dist/file-upload/utils/create-placeholder-file.cjs +12 -1
  62. package/dist/file-upload/utils/create-placeholder-file.js +10 -1
  63. package/dist/file-upload/utils/get-file-key.cjs +9 -1
  64. package/dist/file-upload/utils/get-file-key.d.cts +1 -0
  65. package/dist/file-upload/utils/get-file-key.js +7 -1
  66. package/dist/file-upload/utils/get-file-meta.cjs +24 -1
  67. package/dist/file-upload/utils/get-file-meta.d.cts +1 -0
  68. package/dist/file-upload/utils/get-file-meta.js +21 -1
  69. package/dist/file-upload/utils/index.d.cts +4 -0
  70. package/dist/file-upload/utils/is-file-equal.cjs +10 -1
  71. package/dist/file-upload/utils/is-file-equal.d.cts +1 -0
  72. package/dist/file-upload/utils/is-file-equal.js +8 -1
  73. package/dist/file-upload/utils/merge-file-metadata.cjs +27 -1
  74. package/dist/file-upload/utils/merge-file-metadata.d.cts +1 -0
  75. package/dist/file-upload/utils/merge-file-metadata.js +26 -1
  76. package/dist/file-upload-inline/FileUploadInline.cjs +71 -1
  77. package/dist/file-upload-inline/FileUploadInline.js +66 -1
  78. package/dist/file-upload-inline/FileUploadInlineItem.cjs +96 -1
  79. package/dist/file-upload-inline/FileUploadInlineItem.js +90 -1
  80. package/dist/file-upload-inline/defaults.cjs +12 -1
  81. package/dist/file-upload-inline/defaults.js +10 -1
  82. package/dist/file-upload-inline/index.cjs +2 -1
  83. package/dist/file-upload-inline/index.js +1 -1
  84. package/dist/file-upload-inline/utils.cjs +37 -1
  85. package/dist/file-upload-inline/utils.js +34 -1
  86. package/dist/hooks/index.cjs +2 -1
  87. package/dist/hooks/index.js +1 -1
  88. package/dist/hooks/use-media-query.cjs +9 -1
  89. package/dist/hooks/use-media-query.js +7 -1
  90. package/dist/icon-selector/IconPicker.cjs +93 -1
  91. package/dist/icon-selector/IconPicker.js +88 -1
  92. package/dist/icon-selector/constants.cjs +7 -1
  93. package/dist/icon-selector/constants.js +5 -0
  94. package/dist/icon-selector/icon-picker-container.cjs +35 -1
  95. package/dist/icon-selector/icon-picker-container.js +32 -1
  96. package/dist/icon-selector/icon-picker-content.cjs +146 -1
  97. package/dist/icon-selector/icon-picker-content.js +141 -1
  98. package/dist/icon-selector/index.cjs +2 -1
  99. package/dist/icon-selector/index.js +1 -1
  100. package/dist/icon-selector/use-async-providers.cjs +69 -1
  101. package/dist/icon-selector/use-async-providers.js +67 -1
  102. package/dist/icon-selector/utils/is-valid-provider.cjs +12 -1
  103. package/dist/icon-selector/utils/is-valid-provider.js +10 -1
  104. package/dist/icon-selector/virtualized-icon-grid.cjs +137 -1
  105. package/dist/icon-selector/virtualized-icon-grid.js +132 -1
  106. package/dist/index.cjs +76 -1
  107. package/dist/index.js +37 -1
  108. package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.cjs +558 -1
  109. package/dist/node_modules/.pnpm/@diceui_shared@0.12.0_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@1_2c51ffe880f01dd537d5b6a13313daf4/node_modules/@diceui/shared/dist/index.js +555 -1
  110. package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.cjs +566 -1
  111. package/dist/node_modules/.pnpm/@diceui_tags-input@0.7.2_@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__reac_e193dc2ff0d426ed009417f8d89778fd/node_modules/@diceui/tags-input/dist/index.js +565 -1
  112. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +695 -1
  113. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +679 -1
  114. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +521 -1
  115. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +503 -1
  116. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +282 -1
  117. package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +266 -1
  118. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.cjs +3767 -1
  119. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.esm.js +3747 -1
  120. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.cjs +426 -1
  121. package/dist/node_modules/.pnpm/@floating-ui_react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +379 -1
  122. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +165 -1
  123. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +175 -1
  124. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +151 -1
  125. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +138 -1
  126. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +13 -0
  127. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +11 -0
  128. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +33 -0
  129. package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
  130. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +92 -0
  131. package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-context/dist/index.js +88 -0
  132. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.cjs +310 -0
  133. package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.15_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react_4f1d9653b0e2175502748f45fd432185/node_modules/@radix-ui/react-dialog/dist/index.js +299 -0
  134. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +190 -0
  135. package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.11_@types_react-dom@19.2.3_@types_react@19.2.6__@_9ee1db7daf927866cf505b31d40047ad/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +187 -0
  136. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +34 -0
  137. package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.js +32 -0
  138. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +203 -0
  139. package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@19.2.3_@types_react@19.2.6__@types_r_0a31b7f987af9482d13505312e1a1be9/node_modules/@radix-ui/react-focus-scope/dist/index.js +200 -0
  140. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +18 -0
  141. package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  142. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.cjs +29 -0
  143. package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@19.2.3_@types_react@19.2.6__@types_react@_1bb4e0f97f86496802d28a2e74e2a8b9/node_modules/@radix-ui/react-portal/dist/index.js +25 -0
  144. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.cjs +110 -0
  145. package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.5_@types_react-dom@19.2.3_@types_react@19.2.6__@types_reac_90f8e5c12233caef3399d5fd66452a13/node_modules/@radix-ui/react-presence/dist/index.js +108 -0
  146. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.cjs +52 -0
  147. package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@19.2.3_@types_react@19.2.6__@types_rea_a92a69cb1cb39305138539e4fa72f596/node_modules/@radix-ui/react-primitive/dist/index.js +47 -0
  148. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +92 -0
  149. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +89 -0
  150. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +103 -0
  151. package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.4_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-slot/dist/index.js +100 -0
  152. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +15 -0
  153. package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
  154. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +64 -0
  155. package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.2_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +62 -0
  156. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +19 -0
  157. package/dist/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +17 -0
  158. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +9 -0
  159. package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.1_@types_react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
  160. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +108 -0
  161. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.cjs +155 -0
  162. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +19 -0
  163. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +17 -0
  164. package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.cjs +14 -0
  165. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +9 -0
  166. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.cjs +22 -0
  167. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/component.js +46 -0
  168. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +12 -0
  169. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
  170. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +37 -0
  171. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/component.cjs +61 -0
  172. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/constants.cjs +23 -0
  173. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/index.cjs +57 -0
  174. package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll-bar/dist/es5/utils.cjs +49 -0
  175. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +17 -0
  176. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +163 -0
  177. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js +64 -0
  178. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +16 -0
  179. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +85 -0
  180. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js +7 -0
  181. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js +9 -0
  182. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/Combination.cjs +29 -0
  183. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/SideEffect.cjs +179 -0
  184. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/UI.cjs +79 -0
  185. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/aggresiveCapture.cjs +27 -0
  186. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/handleScroll.cjs +98 -0
  187. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/index.cjs +19 -0
  188. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/medium.cjs +18 -0
  189. package/dist/node_modules/.pnpm/react-remove-scroll@2.7.1_@types_react@19.2.6_react@19.2.0/node_modules/react-remove-scroll/dist/es5/sidecar.cjs +21 -0
  190. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/component.js +21 -0
  191. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/hook.js +27 -0
  192. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
  193. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/singleton.js +43 -0
  194. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/component.cjs +33 -0
  195. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/hook.cjs +40 -0
  196. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/index.cjs +39 -0
  197. package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es5/singleton.cjs +55 -0
  198. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.cjs +347 -1
  199. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +268 -1
  200. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +1895 -0
  201. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1893 -0
  202. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +557 -0
  203. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +31 -0
  204. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/assignRef.js +22 -0
  205. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +47 -0
  206. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es2015/useRef.js +42 -0
  207. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/assignRef.cjs +34 -0
  208. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/createRef.cjs +39 -0
  209. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/index.cjs +85 -0
  210. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/mergeRef.cjs +40 -0
  211. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/refToCallback.cjs +59 -0
  212. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/transformRef.cjs +34 -0
  213. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useMergeRef.cjs +61 -0
  214. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useRef.cjs +53 -0
  215. package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.2.6_react@19.2.0/node_modules/use-callback-ref/dist/es5/useTransformRef.cjs +38 -0
  216. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/exports.js +19 -0
  217. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es2015/medium.js +84 -0
  218. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/config.cjs +22 -0
  219. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/env.cjs +21 -0
  220. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/exports.cjs +31 -0
  221. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hoc.cjs +31 -0
  222. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/hook.cjs +60 -0
  223. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/index.cjs +69 -0
  224. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/medium.cjs +101 -0
  225. package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.2.6_react@19.2.0/node_modules/use-sidecar/dist/es5/renderProp.cjs +58 -0
  226. package/dist/packages/shadcn/src/components/index.cjs +6 -1
  227. package/dist/packages/shadcn/src/components/index.js +5 -1
  228. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.cjs +6 -1
  229. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.js +3 -1
  230. package/dist/packages/shadcn/src/components/ui/alert-dialog.cjs +10 -1
  231. package/dist/packages/shadcn/src/components/ui/alert-dialog.js +6 -1
  232. package/dist/packages/shadcn/src/components/ui/alert.cjs +44 -1
  233. package/dist/packages/shadcn/src/components/ui/alert.js +38 -1
  234. package/dist/packages/shadcn/src/components/ui/avatar.cjs +5 -1
  235. package/dist/packages/shadcn/src/components/ui/avatar.js +2 -1
  236. package/dist/packages/shadcn/src/components/ui/badge.cjs +20 -1
  237. package/dist/packages/shadcn/src/components/ui/badge.js +16 -1
  238. package/dist/packages/shadcn/src/components/ui/button.cjs +50 -1
  239. package/dist/packages/shadcn/src/components/ui/button.js +45 -1
  240. package/dist/packages/shadcn/src/components/ui/calendar.cjs +8 -1
  241. package/dist/packages/shadcn/src/components/ui/calendar.js +4 -1
  242. package/dist/packages/shadcn/src/components/ui/card.cjs +5 -1
  243. package/dist/packages/shadcn/src/components/ui/card.js +2 -1
  244. package/dist/packages/shadcn/src/components/ui/checkbox.cjs +10 -1
  245. package/dist/packages/shadcn/src/components/ui/checkbox.js +6 -1
  246. package/dist/packages/shadcn/src/components/ui/command.cjs +11 -1
  247. package/dist/packages/shadcn/src/components/ui/command.js +7 -1
  248. package/dist/packages/shadcn/src/components/ui/dialog.cjs +93 -1
  249. package/dist/packages/shadcn/src/components/ui/dialog.js +81 -1
  250. package/dist/packages/shadcn/src/components/ui/dropdown-menu.cjs +7 -1
  251. package/dist/packages/shadcn/src/components/ui/dropdown-menu.js +3 -1
  252. package/dist/packages/shadcn/src/components/ui/file-upload.cjs +49 -1
  253. package/dist/packages/shadcn/src/components/ui/file-upload.js +45 -1
  254. package/dist/packages/shadcn/src/components/ui/form.cjs +12 -1
  255. package/dist/packages/shadcn/src/components/ui/form.js +9 -1
  256. package/dist/packages/shadcn/src/components/ui/index.cjs +30 -1
  257. package/dist/packages/shadcn/src/components/ui/index.js +29 -1
  258. package/dist/packages/shadcn/src/components/ui/input.cjs +5 -1
  259. package/dist/packages/shadcn/src/components/ui/input.js +2 -1
  260. package/dist/packages/shadcn/src/components/ui/label.cjs +5 -1
  261. package/dist/packages/shadcn/src/components/ui/label.js +2 -1
  262. package/dist/packages/shadcn/src/components/ui/pagination.cjs +9 -1
  263. package/dist/packages/shadcn/src/components/ui/pagination.js +4 -1
  264. package/dist/packages/shadcn/src/components/ui/popover.cjs +5 -1
  265. package/dist/packages/shadcn/src/components/ui/popover.js +2 -1
  266. package/dist/packages/shadcn/src/components/ui/radio-group.cjs +7 -1
  267. package/dist/packages/shadcn/src/components/ui/radio-group.js +3 -1
  268. package/dist/packages/shadcn/src/components/ui/select.cjs +10 -1
  269. package/dist/packages/shadcn/src/components/ui/select.js +6 -1
  270. package/dist/packages/shadcn/src/components/ui/separator.cjs +5 -1
  271. package/dist/packages/shadcn/src/components/ui/separator.js +2 -1
  272. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.cjs +26 -1
  273. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.js +22 -1
  274. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.cjs +6 -1
  275. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.js +3 -1
  276. package/dist/packages/shadcn/src/components/ui/sheet.cjs +7 -1
  277. package/dist/packages/shadcn/src/components/ui/sheet.js +3 -1
  278. package/dist/packages/shadcn/src/components/ui/slider.cjs +5 -1
  279. package/dist/packages/shadcn/src/components/ui/slider.js +2 -1
  280. package/dist/packages/shadcn/src/components/ui/switch.cjs +8 -1
  281. package/dist/packages/shadcn/src/components/ui/switch.js +5 -1
  282. package/dist/packages/shadcn/src/components/ui/tabs.cjs +5 -1
  283. package/dist/packages/shadcn/src/components/ui/tabs.js +2 -1
  284. package/dist/packages/shadcn/src/components/ui/textarea.cjs +5 -1
  285. package/dist/packages/shadcn/src/components/ui/textarea.js +2 -1
  286. package/dist/packages/shadcn/src/components/ui/tooltip.cjs +5 -1
  287. package/dist/packages/shadcn/src/components/ui/tooltip.js +2 -1
  288. package/dist/packages/shadcn/src/lib/utils.cjs +11 -1
  289. package/dist/packages/shadcn/src/lib/utils.js +10 -1
  290. package/dist/pagination/Pagination.cjs +156 -1
  291. package/dist/pagination/Pagination.js +151 -1
  292. package/dist/pagination/index.cjs +2 -1
  293. package/dist/pagination/index.js +1 -1
  294. package/dist/rich-text-editor/RichTextEditor.cjs +132 -1
  295. package/dist/rich-text-editor/RichTextEditor.js +126 -1
  296. package/dist/rich-text-editor/index.cjs +2 -1
  297. package/dist/rich-text-editor/index.js +1 -1
  298. package/dist/rich-text-editor/predefined-toolbar-options.cjs +84 -1
  299. package/dist/rich-text-editor/predefined-toolbar-options.js +81 -1
  300. package/dist/spinner/index.cjs +2 -1
  301. package/dist/spinner/index.js +1 -1
  302. package/dist/spinner/spinner.cjs +73 -6
  303. package/dist/spinner/spinner.js +70 -6
  304. package/dist/spinner/styles.cjs +25 -12
  305. package/dist/spinner/styles.js +23 -12
  306. package/dist/tags-input.cjs +226 -1
  307. package/dist/tags-input.js +222 -1
  308. package/dist/theme-provider/ThemeProvider.cjs +27 -1
  309. package/dist/theme-provider/ThemeProvider.js +23 -1
  310. package/dist/theme-provider/index.cjs +4 -1
  311. package/dist/theme-provider/index.js +4 -1
  312. package/dist/toast/AlertToast.cjs +36 -1
  313. package/dist/toast/AlertToast.js +31 -1
  314. package/dist/toast/index.cjs +2 -1
  315. package/dist/toast/index.js +1 -1
  316. package/dist/toast/toast.cjs +75 -1
  317. package/dist/toast/toast.js +66 -1
  318. package/package.json +3 -3
  319. package/dist/packages/shadcn/src/lib/index.cjs +0 -1
  320. package/dist/packages/shadcn/src/lib/index.js +0 -1
@@ -1 +1,426 @@
1
- const e=require(`../../../../../../../_virtual/rolldown_runtime.cjs`),t=require(`../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs`),n=require(`../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs`),r=require(`../../../../../tabbable@6.3.0/node_modules/tabbable/dist/index.cjs`);let i=require(`react`);i=e.__toESM(i);function a(){let e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function o(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+`/`+n}).join(` `):navigator.userAgent}function s(){return/apple/i.test(navigator.vendor)}function c(){let e=/android/i;return e.test(a())||e.test(o())}function l(){return a().toLowerCase().startsWith(`mac`)&&!navigator.maxTouchPoints}function u(){return o().includes(`jsdom/`)}function d(e){let t=e.activeElement;for(;((n=t)==null||(n=n.shadowRoot)==null?void 0:n.activeElement)!=null;){var n;t=t.shadowRoot.activeElement}return t}function f(e,n){if(!e||!n)return!1;let r=n.getRootNode==null?void 0:n.getRootNode();if(e.contains(n))return!0;if(r&&t.isShadowRoot(r)){let t=n;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1}function p(e){return`composedPath`in e?e.composedPath()[0]:e.target}function ee(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function m(e){return e.matches(`html,body`)}function h(e){return e?.ownerDocument||document}function g(e){return t.isHTMLElement(e)&&e.matches(W)}function _(e){return e?e.getAttribute(`role`)===`combobox`&&g(e):!1}function v(e){if(!e||u())return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function y(e){return e?e.hasAttribute(U)?e:e.querySelector(`[`+U+`]`)||e:null}function b(e,t,n){return n===void 0&&(n=!0),e.filter(e=>e.parentId===t&&(!n||e.context?.open)).flatMap(t=>[t,...b(e,t.id,n)])}function te(e,t){let n,r=-1;function i(t,a){a>r&&(n=t,r=a),b(e,t).forEach(e=>{i(e.id,a+1)})}return i(t,0),e.find(e=>e.id===n)}function ne(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function x(e){e.preventDefault(),e.stopPropagation()}function re(e){return`nativeEvent`in e}function ie(e){return e.mozInputSource===0&&e.isTrusted?!0:c()&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function S(e){return u()?!1:!c()&&e.width===0&&e.height===0||c()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function C(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function w(e){let t=i.useRef(e);return Y(()=>{t.current=e}),t}function T(e){let t=i.useRef(()=>{if(process.env.NODE_ENV!==`production`)throw Error(`Cannot call an event handler while rendering.`)});return Z(()=>{t.current=e}),i.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}function E(e,t,n){return Math.floor(e/t)!==n}function D(e,t){return t<0||t>=e.current.length}function O(e,t){return A(e,{disabledIndices:t})}function k(e,t){return A(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function A(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:i,amount:a=1}=t===void 0?{}:t,o=n;do o+=r?-a:a;while(o>=0&&o<=e.current.length-1&&F(e,o,i));return o}function j(e,t){let{event:r,orientation:i,loop:a,rtl:o,cols:s,disabledIndices:c,minIndex:l,maxIndex:u,prevIndex:d,stopEvent:f=!1}=t,p=d;if(r.key===q){if(f&&x(r),d===-1)p=u;else if(p=A(e,{startingIndex:p,amount:s,decrement:!0,disabledIndices:c}),a&&(d-s<l||p<0)){let e=d%s,t=u%s,n=u-(t-e);p=t===e?u:t>e?n:n-s}D(e,p)&&(p=d)}if(r.key===J&&(f&&x(r),d===-1?p=l:(p=A(e,{startingIndex:d,amount:s,disabledIndices:c}),a&&d+s>u&&(p=A(e,{startingIndex:d%s-s,amount:s,disabledIndices:c}))),D(e,p)&&(p=d)),i===`both`){let t=n.floor(d/s);r.key===(o?G:K)&&(f&&x(r),d%s===s-1?a&&(p=A(e,{startingIndex:d-d%s-1,disabledIndices:c})):(p=A(e,{startingIndex:d,disabledIndices:c}),a&&E(p,s,t)&&(p=A(e,{startingIndex:d-d%s-1,disabledIndices:c}))),E(p,s,t)&&(p=d)),r.key===(o?K:G)&&(f&&x(r),d%s===0?a&&(p=A(e,{startingIndex:d+(s-d%s),decrement:!0,disabledIndices:c})):(p=A(e,{startingIndex:d,decrement:!0,disabledIndices:c}),a&&E(p,s,t)&&(p=A(e,{startingIndex:d+(s-d%s),decrement:!0,disabledIndices:c}))),E(p,s,t)&&(p=d));let i=n.floor(u/s)===t;D(e,p)&&(p=a&&i?r.key===(o?K:G)?u:A(e,{startingIndex:d-d%s-1,disabledIndices:c}):d)}return p}function M(e,t,n){let r=[],i=0;return e.forEach((e,a)=>{let{width:o,height:s}=e;if(o>t&&process.env.NODE_ENV!==`production`)throw Error(`[Floating UI]: Invalid grid - item width at index `+a+` is greater than grid columns`);let c=!1;for(n&&(i=0);!c;){let e=[];for(let n=0;n<o;n++)for(let r=0;r<s;r++)e.push(i+n+r*t);i%t+o<=t&&e.every(e=>r[e]==null)?(e.forEach(e=>{r[e]=a}),c=!0):i++}}),[...r]}function N(e,t,n,r,i){if(e===-1)return-1;let a=n.indexOf(e),o=t[e];switch(i){case`tl`:return a;case`tr`:return o?a+o.width-1:a;case`bl`:return o?a+(o.height-1)*r:a;case`br`:return n.lastIndexOf(e)}}function P(e,t){return t.flatMap((t,n)=>e.includes(t)?[n]:[])}function F(e,t,n){if(typeof n==`function`)return n(t);if(n)return n.includes(t);let r=e.current[t];return r==null||r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`}function I(e,t){let n=(0,H.tabbable)(e,Q()),r=n.length;if(r===0)return;let i=d(h(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function L(e){return I(h(e).body,1)||e}function R(e){return I(h(e).body,-1)||e}function z(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!f(n,r)}function B(e){(0,H.tabbable)(e,Q()).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function V(e){e.querySelectorAll(`[data-tabindex]`).forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}var H,U,W,G,K,q,J,Y,X,Z,Q,$=e.__esmMin((()=>{t.init_floating_ui_utils_dom(),n.init_floating_ui_utils(),H=e.__toESM(r.require_dist(),1),U=`data-floating-ui-focusable`,W=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,G=`ArrowLeft`,K=`ArrowRight`,q=`ArrowUp`,J=`ArrowDown`,Y=typeof document<`u`?i.useLayoutEffect:function(){},X={...i},Z=X.useInsertionEffect||(e=>e()),Q=()=>({getShadowRoot:!0,displayCheck:typeof ResizeObserver==`function`&&ResizeObserver.toString().includes(`[native code]`)?`full`:`none`})}));$(),exports.activeElement=d,exports.contains=f,exports.createGridCellMap=M,exports.disableFocusInside=B,exports.enableFocusInside=V,exports.findNonDisabledListIndex=A,exports.getDeepestNode=te,exports.getDocument=h,exports.getFloatingFocusElement=y,exports.getGridCellIndexOfCorner=N,exports.getGridCellIndices=P,exports.getGridNavigatedIndex=j,exports.getMaxListIndex=k,exports.getMinListIndex=O,exports.getNextTabbable=L,exports.getNodeAncestors=ne,exports.getNodeChildren=b,exports.getPlatform=a,exports.getPreviousTabbable=R,exports.getTabbableOptions=Q,exports.getTarget=p,exports.getUserAgent=o,exports.index=Y,Object.defineProperty(exports,`init_floating_ui_react_utils`,{enumerable:!0,get:function(){return $}}),exports.isEventTargetWithin=ee,exports.isIndexOutOfListBounds=D,exports.isListIndexDisabled=F,exports.isMac=l,exports.isMouseLikePointerType=C,exports.isOutsideEvent=z,exports.isReactEvent=re,exports.isRootElement=m,exports.isSafari=s,exports.isTypeableCombobox=_,exports.isTypeableElement=g,exports.isVirtualClick=ie,exports.isVirtualPointerEvent=S,exports.matchesFocusVisible=v,exports.stopEvent=x,exports.useEffectEvent=T,exports.useLatestRef=w;
1
+ const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
+ const require_floating_ui_utils = require('../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs');
3
+ const require_floating_ui_utils_dom = require('../../../../../@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs');
4
+ const require_index = require('../../../../../tabbable@6.3.0/node_modules/tabbable/dist/index.cjs');
5
+ let react = require("react");
6
+ react = require_rolldown_runtime.__toESM(react);
7
+
8
+ //#region ../../node_modules/.pnpm/@floating-ui+react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs
9
+ function getPlatform() {
10
+ const uaData = navigator.userAgentData;
11
+ if (uaData != null && uaData.platform) return uaData.platform;
12
+ return navigator.platform;
13
+ }
14
+ function getUserAgent() {
15
+ const uaData = navigator.userAgentData;
16
+ if (uaData && Array.isArray(uaData.brands)) return uaData.brands.map((_ref) => {
17
+ let { brand, version } = _ref;
18
+ return brand + "/" + version;
19
+ }).join(" ");
20
+ return navigator.userAgent;
21
+ }
22
+ function isSafari() {
23
+ return /apple/i.test(navigator.vendor);
24
+ }
25
+ function isAndroid() {
26
+ const re = /android/i;
27
+ return re.test(getPlatform()) || re.test(getUserAgent());
28
+ }
29
+ function isMac() {
30
+ return getPlatform().toLowerCase().startsWith("mac") && !navigator.maxTouchPoints;
31
+ }
32
+ function isJSDOM() {
33
+ return getUserAgent().includes("jsdom/");
34
+ }
35
+ function activeElement(doc) {
36
+ let activeElement$1 = doc.activeElement;
37
+ while (((_activeElement = activeElement$1) == null || (_activeElement = _activeElement.shadowRoot) == null ? void 0 : _activeElement.activeElement) != null) {
38
+ var _activeElement;
39
+ activeElement$1 = activeElement$1.shadowRoot.activeElement;
40
+ }
41
+ return activeElement$1;
42
+ }
43
+ function contains(parent, child) {
44
+ if (!parent || !child) return false;
45
+ const rootNode = child.getRootNode == null ? void 0 : child.getRootNode();
46
+ if (parent.contains(child)) return true;
47
+ if (rootNode && require_floating_ui_utils_dom.isShadowRoot(rootNode)) {
48
+ let next = child;
49
+ while (next) {
50
+ if (parent === next) return true;
51
+ next = next.parentNode || next.host;
52
+ }
53
+ }
54
+ return false;
55
+ }
56
+ function getTarget(event) {
57
+ if ("composedPath" in event) return event.composedPath()[0];
58
+ return event.target;
59
+ }
60
+ function isEventTargetWithin(event, node) {
61
+ if (node == null) return false;
62
+ if ("composedPath" in event) return event.composedPath().includes(node);
63
+ const e = event;
64
+ return e.target != null && node.contains(e.target);
65
+ }
66
+ function isRootElement(element) {
67
+ return element.matches("html,body");
68
+ }
69
+ function getDocument(node) {
70
+ return (node == null ? void 0 : node.ownerDocument) || document;
71
+ }
72
+ function isTypeableElement(element) {
73
+ return require_floating_ui_utils_dom.isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);
74
+ }
75
+ function isTypeableCombobox(element) {
76
+ if (!element) return false;
77
+ return element.getAttribute("role") === "combobox" && isTypeableElement(element);
78
+ }
79
+ function matchesFocusVisible(element) {
80
+ if (!element || isJSDOM()) return true;
81
+ try {
82
+ return element.matches(":focus-visible");
83
+ } catch (_e) {
84
+ return true;
85
+ }
86
+ }
87
+ function getFloatingFocusElement(floatingElement) {
88
+ if (!floatingElement) return null;
89
+ return floatingElement.hasAttribute(FOCUSABLE_ATTRIBUTE) ? floatingElement : floatingElement.querySelector("[" + FOCUSABLE_ATTRIBUTE + "]") || floatingElement;
90
+ }
91
+ function getNodeChildren(nodes, id, onlyOpenChildren) {
92
+ if (onlyOpenChildren === void 0) onlyOpenChildren = true;
93
+ return nodes.filter((node) => {
94
+ var _node$context;
95
+ return node.parentId === id && (!onlyOpenChildren || ((_node$context = node.context) == null ? void 0 : _node$context.open));
96
+ }).flatMap((child) => [child, ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);
97
+ }
98
+ function getDeepestNode(nodes, id) {
99
+ let deepestNodeId;
100
+ let maxDepth = -1;
101
+ function findDeepest(nodeId, depth) {
102
+ if (depth > maxDepth) {
103
+ deepestNodeId = nodeId;
104
+ maxDepth = depth;
105
+ }
106
+ getNodeChildren(nodes, nodeId).forEach((child) => {
107
+ findDeepest(child.id, depth + 1);
108
+ });
109
+ }
110
+ findDeepest(id, 0);
111
+ return nodes.find((node) => node.id === deepestNodeId);
112
+ }
113
+ function getNodeAncestors(nodes, id) {
114
+ var _nodes$find;
115
+ let allAncestors = [];
116
+ let currentParentId = (_nodes$find = nodes.find((node) => node.id === id)) == null ? void 0 : _nodes$find.parentId;
117
+ while (currentParentId) {
118
+ const currentNode = nodes.find((node) => node.id === currentParentId);
119
+ currentParentId = currentNode == null ? void 0 : currentNode.parentId;
120
+ if (currentNode) allAncestors = allAncestors.concat(currentNode);
121
+ }
122
+ return allAncestors;
123
+ }
124
+ function stopEvent(event) {
125
+ event.preventDefault();
126
+ event.stopPropagation();
127
+ }
128
+ function isReactEvent(event) {
129
+ return "nativeEvent" in event;
130
+ }
131
+ function isVirtualClick(event) {
132
+ if (event.mozInputSource === 0 && event.isTrusted) return true;
133
+ if (isAndroid() && event.pointerType) return event.type === "click" && event.buttons === 1;
134
+ return event.detail === 0 && !event.pointerType;
135
+ }
136
+ function isVirtualPointerEvent(event) {
137
+ if (isJSDOM()) return false;
138
+ return !isAndroid() && event.width === 0 && event.height === 0 || isAndroid() && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse" || event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "touch";
139
+ }
140
+ function isMouseLikePointerType(pointerType, strict) {
141
+ const values = ["mouse", "pen"];
142
+ if (!strict) values.push("", void 0);
143
+ return values.includes(pointerType);
144
+ }
145
+ function useLatestRef(value) {
146
+ const ref = react.useRef(value);
147
+ index(() => {
148
+ ref.current = value;
149
+ });
150
+ return ref;
151
+ }
152
+ function useEffectEvent(callback) {
153
+ const ref = react.useRef(() => {
154
+ if (process.env.NODE_ENV !== "production") throw new Error("Cannot call an event handler while rendering.");
155
+ });
156
+ useSafeInsertionEffect(() => {
157
+ ref.current = callback;
158
+ });
159
+ return react.useCallback(function() {
160
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
161
+ return ref.current == null ? void 0 : ref.current(...args);
162
+ }, []);
163
+ }
164
+ function isDifferentGridRow(index$1, cols, prevRow) {
165
+ return Math.floor(index$1 / cols) !== prevRow;
166
+ }
167
+ function isIndexOutOfListBounds(listRef, index$1) {
168
+ return index$1 < 0 || index$1 >= listRef.current.length;
169
+ }
170
+ function getMinListIndex(listRef, disabledIndices) {
171
+ return findNonDisabledListIndex(listRef, { disabledIndices });
172
+ }
173
+ function getMaxListIndex(listRef, disabledIndices) {
174
+ return findNonDisabledListIndex(listRef, {
175
+ decrement: true,
176
+ startingIndex: listRef.current.length,
177
+ disabledIndices
178
+ });
179
+ }
180
+ function findNonDisabledListIndex(listRef, _temp) {
181
+ let { startingIndex = -1, decrement = false, disabledIndices, amount = 1 } = _temp === void 0 ? {} : _temp;
182
+ let index$1 = startingIndex;
183
+ do
184
+ index$1 += decrement ? -amount : amount;
185
+ while (index$1 >= 0 && index$1 <= listRef.current.length - 1 && isListIndexDisabled(listRef, index$1, disabledIndices));
186
+ return index$1;
187
+ }
188
+ function getGridNavigatedIndex(listRef, _ref) {
189
+ let { event, orientation, loop, rtl, cols, disabledIndices, minIndex, maxIndex, prevIndex, stopEvent: stop = false } = _ref;
190
+ let nextIndex = prevIndex;
191
+ if (event.key === ARROW_UP) {
192
+ stop && stopEvent(event);
193
+ if (prevIndex === -1) nextIndex = maxIndex;
194
+ else {
195
+ nextIndex = findNonDisabledListIndex(listRef, {
196
+ startingIndex: nextIndex,
197
+ amount: cols,
198
+ decrement: true,
199
+ disabledIndices
200
+ });
201
+ if (loop && (prevIndex - cols < minIndex || nextIndex < 0)) {
202
+ const col = prevIndex % cols;
203
+ const maxCol = maxIndex % cols;
204
+ const offset = maxIndex - (maxCol - col);
205
+ if (maxCol === col) nextIndex = maxIndex;
206
+ else nextIndex = maxCol > col ? offset : offset - cols;
207
+ }
208
+ }
209
+ if (isIndexOutOfListBounds(listRef, nextIndex)) nextIndex = prevIndex;
210
+ }
211
+ if (event.key === ARROW_DOWN) {
212
+ stop && stopEvent(event);
213
+ if (prevIndex === -1) nextIndex = minIndex;
214
+ else {
215
+ nextIndex = findNonDisabledListIndex(listRef, {
216
+ startingIndex: prevIndex,
217
+ amount: cols,
218
+ disabledIndices
219
+ });
220
+ if (loop && prevIndex + cols > maxIndex) nextIndex = findNonDisabledListIndex(listRef, {
221
+ startingIndex: prevIndex % cols - cols,
222
+ amount: cols,
223
+ disabledIndices
224
+ });
225
+ }
226
+ if (isIndexOutOfListBounds(listRef, nextIndex)) nextIndex = prevIndex;
227
+ }
228
+ if (orientation === "both") {
229
+ const prevRow = require_floating_ui_utils.floor(prevIndex / cols);
230
+ if (event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT)) {
231
+ stop && stopEvent(event);
232
+ if (prevIndex % cols !== cols - 1) {
233
+ nextIndex = findNonDisabledListIndex(listRef, {
234
+ startingIndex: prevIndex,
235
+ disabledIndices
236
+ });
237
+ if (loop && isDifferentGridRow(nextIndex, cols, prevRow)) nextIndex = findNonDisabledListIndex(listRef, {
238
+ startingIndex: prevIndex - prevIndex % cols - 1,
239
+ disabledIndices
240
+ });
241
+ } else if (loop) nextIndex = findNonDisabledListIndex(listRef, {
242
+ startingIndex: prevIndex - prevIndex % cols - 1,
243
+ disabledIndices
244
+ });
245
+ if (isDifferentGridRow(nextIndex, cols, prevRow)) nextIndex = prevIndex;
246
+ }
247
+ if (event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT)) {
248
+ stop && stopEvent(event);
249
+ if (prevIndex % cols !== 0) {
250
+ nextIndex = findNonDisabledListIndex(listRef, {
251
+ startingIndex: prevIndex,
252
+ decrement: true,
253
+ disabledIndices
254
+ });
255
+ if (loop && isDifferentGridRow(nextIndex, cols, prevRow)) nextIndex = findNonDisabledListIndex(listRef, {
256
+ startingIndex: prevIndex + (cols - prevIndex % cols),
257
+ decrement: true,
258
+ disabledIndices
259
+ });
260
+ } else if (loop) nextIndex = findNonDisabledListIndex(listRef, {
261
+ startingIndex: prevIndex + (cols - prevIndex % cols),
262
+ decrement: true,
263
+ disabledIndices
264
+ });
265
+ if (isDifferentGridRow(nextIndex, cols, prevRow)) nextIndex = prevIndex;
266
+ }
267
+ const lastRow = require_floating_ui_utils.floor(maxIndex / cols) === prevRow;
268
+ if (isIndexOutOfListBounds(listRef, nextIndex)) if (loop && lastRow) nextIndex = event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT) ? maxIndex : findNonDisabledListIndex(listRef, {
269
+ startingIndex: prevIndex - prevIndex % cols - 1,
270
+ disabledIndices
271
+ });
272
+ else nextIndex = prevIndex;
273
+ }
274
+ return nextIndex;
275
+ }
276
+ /** For each cell index, gets the item index that occupies that cell */
277
+ function createGridCellMap(sizes, cols, dense) {
278
+ const cellMap = [];
279
+ let startIndex = 0;
280
+ sizes.forEach((_ref2, index$1) => {
281
+ let { width, height } = _ref2;
282
+ if (width > cols) {
283
+ if (process.env.NODE_ENV !== "production") throw new Error("[Floating UI]: Invalid grid - item width at index " + index$1 + " is greater than grid columns");
284
+ }
285
+ let itemPlaced = false;
286
+ if (dense) startIndex = 0;
287
+ while (!itemPlaced) {
288
+ const targetCells = [];
289
+ for (let i = 0; i < width; i++) for (let j = 0; j < height; j++) targetCells.push(startIndex + i + j * cols);
290
+ if (startIndex % cols + width <= cols && targetCells.every((cell) => cellMap[cell] == null)) {
291
+ targetCells.forEach((cell) => {
292
+ cellMap[cell] = index$1;
293
+ });
294
+ itemPlaced = true;
295
+ } else startIndex++;
296
+ }
297
+ });
298
+ return [...cellMap];
299
+ }
300
+ /** Gets cell index of an item's corner or -1 when index is -1. */
301
+ function getGridCellIndexOfCorner(index$1, sizes, cellMap, cols, corner) {
302
+ if (index$1 === -1) return -1;
303
+ const firstCellIndex = cellMap.indexOf(index$1);
304
+ const sizeItem = sizes[index$1];
305
+ switch (corner) {
306
+ case "tl": return firstCellIndex;
307
+ case "tr":
308
+ if (!sizeItem) return firstCellIndex;
309
+ return firstCellIndex + sizeItem.width - 1;
310
+ case "bl":
311
+ if (!sizeItem) return firstCellIndex;
312
+ return firstCellIndex + (sizeItem.height - 1) * cols;
313
+ case "br": return cellMap.lastIndexOf(index$1);
314
+ }
315
+ }
316
+ /** Gets all cell indices that correspond to the specified indices */
317
+ function getGridCellIndices(indices, cellMap) {
318
+ return cellMap.flatMap((index$1, cellIndex) => indices.includes(index$1) ? [cellIndex] : []);
319
+ }
320
+ function isListIndexDisabled(listRef, index$1, disabledIndices) {
321
+ if (typeof disabledIndices === "function") return disabledIndices(index$1);
322
+ else if (disabledIndices) return disabledIndices.includes(index$1);
323
+ const element = listRef.current[index$1];
324
+ return element == null || element.hasAttribute("disabled") || element.getAttribute("aria-disabled") === "true";
325
+ }
326
+ function getTabbableIn(container, dir) {
327
+ const list = (0, import_dist.tabbable)(container, getTabbableOptions());
328
+ const len = list.length;
329
+ if (len === 0) return;
330
+ const active = activeElement(getDocument(container));
331
+ const index$1 = list.indexOf(active);
332
+ return list[index$1 === -1 ? dir === 1 ? 0 : len - 1 : index$1 + dir];
333
+ }
334
+ function getNextTabbable(referenceElement) {
335
+ return getTabbableIn(getDocument(referenceElement).body, 1) || referenceElement;
336
+ }
337
+ function getPreviousTabbable(referenceElement) {
338
+ return getTabbableIn(getDocument(referenceElement).body, -1) || referenceElement;
339
+ }
340
+ function isOutsideEvent(event, container) {
341
+ const containerElement = container || event.currentTarget;
342
+ const relatedTarget = event.relatedTarget;
343
+ return !relatedTarget || !contains(containerElement, relatedTarget);
344
+ }
345
+ function disableFocusInside(container) {
346
+ (0, import_dist.tabbable)(container, getTabbableOptions()).forEach((element) => {
347
+ element.dataset.tabindex = element.getAttribute("tabindex") || "";
348
+ element.setAttribute("tabindex", "-1");
349
+ });
350
+ }
351
+ function enableFocusInside(container) {
352
+ container.querySelectorAll("[data-tabindex]").forEach((element) => {
353
+ const tabindex = element.dataset.tabindex;
354
+ delete element.dataset.tabindex;
355
+ if (tabindex) element.setAttribute("tabindex", tabindex);
356
+ else element.removeAttribute("tabindex");
357
+ });
358
+ }
359
+ var import_dist, FOCUSABLE_ATTRIBUTE, TYPEABLE_SELECTOR, ARROW_LEFT, ARROW_RIGHT, ARROW_UP, ARROW_DOWN, index, SafeReact, useSafeInsertionEffect, getTabbableOptions;
360
+ var init_floating_ui_react_utils = require_rolldown_runtime.__esm({ "../../node_modules/.pnpm/@floating-ui+react@0.27.16_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs": (() => {
361
+ require_floating_ui_utils_dom.init_floating_ui_utils_dom();
362
+ require_floating_ui_utils.init_floating_ui_utils();
363
+ import_dist = /* @__PURE__ */ require_rolldown_runtime.__toESM(require_index.require_dist(), 1);
364
+ FOCUSABLE_ATTRIBUTE = "data-floating-ui-focusable";
365
+ TYPEABLE_SELECTOR = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
366
+ ARROW_LEFT = "ArrowLeft";
367
+ ARROW_RIGHT = "ArrowRight";
368
+ ARROW_UP = "ArrowUp";
369
+ ARROW_DOWN = "ArrowDown";
370
+ index = typeof document !== "undefined" ? react.useLayoutEffect : function noop() {};
371
+ SafeReact = { ...react };
372
+ useSafeInsertionEffect = SafeReact.useInsertionEffect || ((fn) => fn());
373
+ getTabbableOptions = () => ({
374
+ getShadowRoot: true,
375
+ displayCheck: typeof ResizeObserver === "function" && ResizeObserver.toString().includes("[native code]") ? "full" : "none"
376
+ });
377
+ }) });
378
+
379
+ //#endregion
380
+ init_floating_ui_react_utils();
381
+ exports.activeElement = activeElement;
382
+ exports.contains = contains;
383
+ exports.createGridCellMap = createGridCellMap;
384
+ exports.disableFocusInside = disableFocusInside;
385
+ exports.enableFocusInside = enableFocusInside;
386
+ exports.findNonDisabledListIndex = findNonDisabledListIndex;
387
+ exports.getDeepestNode = getDeepestNode;
388
+ exports.getDocument = getDocument;
389
+ exports.getFloatingFocusElement = getFloatingFocusElement;
390
+ exports.getGridCellIndexOfCorner = getGridCellIndexOfCorner;
391
+ exports.getGridCellIndices = getGridCellIndices;
392
+ exports.getGridNavigatedIndex = getGridNavigatedIndex;
393
+ exports.getMaxListIndex = getMaxListIndex;
394
+ exports.getMinListIndex = getMinListIndex;
395
+ exports.getNextTabbable = getNextTabbable;
396
+ exports.getNodeAncestors = getNodeAncestors;
397
+ exports.getNodeChildren = getNodeChildren;
398
+ exports.getPlatform = getPlatform;
399
+ exports.getPreviousTabbable = getPreviousTabbable;
400
+ exports.getTabbableOptions = getTabbableOptions;
401
+ exports.getTarget = getTarget;
402
+ exports.getUserAgent = getUserAgent;
403
+ exports.index = index;
404
+ Object.defineProperty(exports, 'init_floating_ui_react_utils', {
405
+ enumerable: true,
406
+ get: function () {
407
+ return init_floating_ui_react_utils;
408
+ }
409
+ });
410
+ exports.isEventTargetWithin = isEventTargetWithin;
411
+ exports.isIndexOutOfListBounds = isIndexOutOfListBounds;
412
+ exports.isListIndexDisabled = isListIndexDisabled;
413
+ exports.isMac = isMac;
414
+ exports.isMouseLikePointerType = isMouseLikePointerType;
415
+ exports.isOutsideEvent = isOutsideEvent;
416
+ exports.isReactEvent = isReactEvent;
417
+ exports.isRootElement = isRootElement;
418
+ exports.isSafari = isSafari;
419
+ exports.isTypeableCombobox = isTypeableCombobox;
420
+ exports.isTypeableElement = isTypeableElement;
421
+ exports.isVirtualClick = isVirtualClick;
422
+ exports.isVirtualPointerEvent = isVirtualPointerEvent;
423
+ exports.matchesFocusVisible = matchesFocusVisible;
424
+ exports.stopEvent = stopEvent;
425
+ exports.useEffectEvent = useEffectEvent;
426
+ exports.useLatestRef = useLatestRef;