@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
@@ -0,0 +1,64 @@
1
+ const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
+ const require_index = require('../../../../../@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');
3
+ let react = require("react");
4
+ react = require_rolldown_runtime.__toESM(react);
5
+
6
+ //#region ../../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.mjs
7
+ var useInsertionEffect = react[" useInsertionEffect ".trim().toString()] || require_index.useLayoutEffect2;
8
+ function useControllableState({ prop, defaultProp, onChange = () => {}, caller }) {
9
+ const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
10
+ defaultProp,
11
+ onChange
12
+ });
13
+ const isControlled = prop !== void 0;
14
+ const value = isControlled ? prop : uncontrolledProp;
15
+ {
16
+ const isControlledRef = react.useRef(prop !== void 0);
17
+ react.useEffect(() => {
18
+ const wasControlled = isControlledRef.current;
19
+ if (wasControlled !== isControlled) {
20
+ const from = wasControlled ? "controlled" : "uncontrolled";
21
+ const to = isControlled ? "controlled" : "uncontrolled";
22
+ console.warn(`${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);
23
+ }
24
+ isControlledRef.current = isControlled;
25
+ }, [isControlled, caller]);
26
+ }
27
+ return [value, react.useCallback((nextValue) => {
28
+ if (isControlled) {
29
+ const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
30
+ if (value2 !== prop) onChangeRef.current?.(value2);
31
+ } else setUncontrolledProp(nextValue);
32
+ }, [
33
+ isControlled,
34
+ prop,
35
+ setUncontrolledProp,
36
+ onChangeRef
37
+ ])];
38
+ }
39
+ function useUncontrolledState({ defaultProp, onChange }) {
40
+ const [value, setValue] = react.useState(defaultProp);
41
+ const prevValueRef = react.useRef(value);
42
+ const onChangeRef = react.useRef(onChange);
43
+ useInsertionEffect(() => {
44
+ onChangeRef.current = onChange;
45
+ }, [onChange]);
46
+ react.useEffect(() => {
47
+ if (prevValueRef.current !== value) {
48
+ onChangeRef.current?.(value);
49
+ prevValueRef.current = value;
50
+ }
51
+ }, [value, prevValueRef]);
52
+ return [
53
+ value,
54
+ setValue,
55
+ onChangeRef
56
+ ];
57
+ }
58
+ function isFunction(value) {
59
+ return typeof value === "function";
60
+ }
61
+ var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
62
+
63
+ //#endregion
64
+ exports.useControllableState = useControllableState;
@@ -0,0 +1,62 @@
1
+ import { useLayoutEffect2 } from "../../../../../@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";
2
+ import * as React$1 from "react";
3
+
4
+ //#region ../../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.mjs
5
+ var useInsertionEffect = React$1[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
6
+ function useControllableState({ prop, defaultProp, onChange = () => {}, caller }) {
7
+ const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
8
+ defaultProp,
9
+ onChange
10
+ });
11
+ const isControlled = prop !== void 0;
12
+ const value = isControlled ? prop : uncontrolledProp;
13
+ {
14
+ const isControlledRef = React$1.useRef(prop !== void 0);
15
+ React$1.useEffect(() => {
16
+ const wasControlled = isControlledRef.current;
17
+ if (wasControlled !== isControlled) {
18
+ const from = wasControlled ? "controlled" : "uncontrolled";
19
+ const to = isControlled ? "controlled" : "uncontrolled";
20
+ console.warn(`${caller} is changing from ${from} to ${to}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);
21
+ }
22
+ isControlledRef.current = isControlled;
23
+ }, [isControlled, caller]);
24
+ }
25
+ return [value, React$1.useCallback((nextValue) => {
26
+ if (isControlled) {
27
+ const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
28
+ if (value2 !== prop) onChangeRef.current?.(value2);
29
+ } else setUncontrolledProp(nextValue);
30
+ }, [
31
+ isControlled,
32
+ prop,
33
+ setUncontrolledProp,
34
+ onChangeRef
35
+ ])];
36
+ }
37
+ function useUncontrolledState({ defaultProp, onChange }) {
38
+ const [value, setValue] = React$1.useState(defaultProp);
39
+ const prevValueRef = React$1.useRef(value);
40
+ const onChangeRef = React$1.useRef(onChange);
41
+ useInsertionEffect(() => {
42
+ onChangeRef.current = onChange;
43
+ }, [onChange]);
44
+ React$1.useEffect(() => {
45
+ if (prevValueRef.current !== value) {
46
+ onChangeRef.current?.(value);
47
+ prevValueRef.current = value;
48
+ }
49
+ }, [value, prevValueRef]);
50
+ return [
51
+ value,
52
+ setValue,
53
+ onChangeRef
54
+ ];
55
+ }
56
+ function isFunction(value) {
57
+ return typeof value === "function";
58
+ }
59
+ var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
60
+
61
+ //#endregion
62
+ export { useControllableState };
@@ -0,0 +1,19 @@
1
+ const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
+ const require_index = require('../../../../../@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');
3
+ let react = require("react");
4
+ react = require_rolldown_runtime.__toESM(react);
5
+
6
+ //#region ../../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.mjs
7
+ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
8
+ const onEscapeKeyDown = require_index.useCallbackRef(onEscapeKeyDownProp);
9
+ react.useEffect(() => {
10
+ const handleKeyDown = (event) => {
11
+ if (event.key === "Escape") onEscapeKeyDown(event);
12
+ };
13
+ ownerDocument.addEventListener("keydown", handleKeyDown, { capture: true });
14
+ return () => ownerDocument.removeEventListener("keydown", handleKeyDown, { capture: true });
15
+ }, [onEscapeKeyDown, ownerDocument]);
16
+ }
17
+
18
+ //#endregion
19
+ exports.useEscapeKeydown = useEscapeKeydown;
@@ -0,0 +1,17 @@
1
+ import { useCallbackRef } from "../../../../../@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";
2
+ import * as React$1 from "react";
3
+
4
+ //#region ../../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.mjs
5
+ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
6
+ const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
7
+ React$1.useEffect(() => {
8
+ const handleKeyDown = (event) => {
9
+ if (event.key === "Escape") onEscapeKeyDown(event);
10
+ };
11
+ ownerDocument.addEventListener("keydown", handleKeyDown, { capture: true });
12
+ return () => ownerDocument.removeEventListener("keydown", handleKeyDown, { capture: true });
13
+ }, [onEscapeKeyDown, ownerDocument]);
14
+ }
15
+
16
+ //#endregion
17
+ export { useEscapeKeydown };
@@ -0,0 +1,9 @@
1
+ const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
+ let react = require("react");
3
+ react = require_rolldown_runtime.__toESM(react);
4
+
5
+ //#region ../../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.mjs
6
+ var useLayoutEffect2 = globalThis?.document ? react.useLayoutEffect : () => {};
7
+
8
+ //#endregion
9
+ exports.useLayoutEffect2 = useLayoutEffect2;
@@ -0,0 +1,7 @@
1
+ import * as React$1 from "react";
2
+
3
+ //#region ../../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.mjs
4
+ var useLayoutEffect2 = globalThis?.document ? React$1.useLayoutEffect : () => {};
5
+
6
+ //#endregion
7
+ export { useLayoutEffect2 };
@@ -0,0 +1,108 @@
1
+ //#region ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
2
+ var getDefaultParent = function(originalTarget) {
3
+ if (typeof document === "undefined") return null;
4
+ return (Array.isArray(originalTarget) ? originalTarget[0] : originalTarget).ownerDocument.body;
5
+ };
6
+ var counterMap = /* @__PURE__ */ new WeakMap();
7
+ var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
8
+ var markerMap = {};
9
+ var lockCount = 0;
10
+ var unwrapHost = function(node) {
11
+ return node && (node.host || unwrapHost(node.parentNode));
12
+ };
13
+ var correctTargets = function(parent, targets) {
14
+ return targets.map(function(target) {
15
+ if (parent.contains(target)) return target;
16
+ var correctedTarget = unwrapHost(target);
17
+ if (correctedTarget && parent.contains(correctedTarget)) return correctedTarget;
18
+ console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
19
+ return null;
20
+ }).filter(function(x) {
21
+ return Boolean(x);
22
+ });
23
+ };
24
+ /**
25
+ * Marks everything except given node(or nodes) as aria-hidden
26
+ * @param {Element | Element[]} originalTarget - elements to keep on the page
27
+ * @param [parentNode] - top element, defaults to document.body
28
+ * @param {String} [markerName] - a special attribute to mark every node
29
+ * @param {String} [controlAttribute] - html Attribute to control
30
+ * @return {Undo} undo command
31
+ */
32
+ var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {
33
+ var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
34
+ if (!markerMap[markerName]) markerMap[markerName] = /* @__PURE__ */ new WeakMap();
35
+ var markerCounter = markerMap[markerName];
36
+ var hiddenNodes = [];
37
+ var elementsToKeep = /* @__PURE__ */ new Set();
38
+ var elementsToStop = new Set(targets);
39
+ var keep = function(el) {
40
+ if (!el || elementsToKeep.has(el)) return;
41
+ elementsToKeep.add(el);
42
+ keep(el.parentNode);
43
+ };
44
+ targets.forEach(keep);
45
+ var deep = function(parent) {
46
+ if (!parent || elementsToStop.has(parent)) return;
47
+ Array.prototype.forEach.call(parent.children, function(node) {
48
+ if (elementsToKeep.has(node)) deep(node);
49
+ else try {
50
+ var attr = node.getAttribute(controlAttribute);
51
+ var alreadyHidden = attr !== null && attr !== "false";
52
+ var counterValue = (counterMap.get(node) || 0) + 1;
53
+ var markerValue = (markerCounter.get(node) || 0) + 1;
54
+ counterMap.set(node, counterValue);
55
+ markerCounter.set(node, markerValue);
56
+ hiddenNodes.push(node);
57
+ if (counterValue === 1 && alreadyHidden) uncontrolledNodes.set(node, true);
58
+ if (markerValue === 1) node.setAttribute(markerName, "true");
59
+ if (!alreadyHidden) node.setAttribute(controlAttribute, "true");
60
+ } catch (e) {
61
+ console.error("aria-hidden: cannot operate on ", node, e);
62
+ }
63
+ });
64
+ };
65
+ deep(parentNode);
66
+ elementsToKeep.clear();
67
+ lockCount++;
68
+ return function() {
69
+ hiddenNodes.forEach(function(node) {
70
+ var counterValue = counterMap.get(node) - 1;
71
+ var markerValue = markerCounter.get(node) - 1;
72
+ counterMap.set(node, counterValue);
73
+ markerCounter.set(node, markerValue);
74
+ if (!counterValue) {
75
+ if (!uncontrolledNodes.has(node)) node.removeAttribute(controlAttribute);
76
+ uncontrolledNodes.delete(node);
77
+ }
78
+ if (!markerValue) node.removeAttribute(markerName);
79
+ });
80
+ lockCount--;
81
+ if (!lockCount) {
82
+ counterMap = /* @__PURE__ */ new WeakMap();
83
+ counterMap = /* @__PURE__ */ new WeakMap();
84
+ uncontrolledNodes = /* @__PURE__ */ new WeakMap();
85
+ markerMap = {};
86
+ }
87
+ };
88
+ };
89
+ /**
90
+ * Marks everything except given node(or nodes) as aria-hidden
91
+ * @param {Element | Element[]} originalTarget - elements to keep on the page
92
+ * @param [parentNode] - top element, defaults to document.body
93
+ * @param {String} [markerName] - a special attribute to mark every node
94
+ * @return {Undo} undo command
95
+ */
96
+ var hideOthers = function(originalTarget, parentNode, markerName) {
97
+ if (markerName === void 0) markerName = "data-aria-hidden";
98
+ var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
99
+ var activeParentNode = parentNode || getDefaultParent(originalTarget);
100
+ if (!activeParentNode) return function() {
101
+ return null;
102
+ };
103
+ targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
104
+ return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
105
+ };
106
+
107
+ //#endregion
108
+ export { hideOthers };
@@ -0,0 +1,155 @@
1
+ const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.js
4
+ var require_es5 = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.js": ((exports) => {
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.suppressOthers = exports.supportsInert = exports.inertOthers = exports.hideOthers = void 0;
7
+ var getDefaultParent = function(originalTarget) {
8
+ if (typeof document === "undefined") return null;
9
+ return (Array.isArray(originalTarget) ? originalTarget[0] : originalTarget).ownerDocument.body;
10
+ };
11
+ var counterMap = /* @__PURE__ */ new WeakMap();
12
+ var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
13
+ var markerMap = {};
14
+ var lockCount = 0;
15
+ var unwrapHost = function(node) {
16
+ return node && (node.host || unwrapHost(node.parentNode));
17
+ };
18
+ var correctTargets = function(parent, targets) {
19
+ return targets.map(function(target) {
20
+ if (parent.contains(target)) return target;
21
+ var correctedTarget = unwrapHost(target);
22
+ if (correctedTarget && parent.contains(correctedTarget)) return correctedTarget;
23
+ console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
24
+ return null;
25
+ }).filter(function(x) {
26
+ return Boolean(x);
27
+ });
28
+ };
29
+ /**
30
+ * Marks everything except given node(or nodes) as aria-hidden
31
+ * @param {Element | Element[]} originalTarget - elements to keep on the page
32
+ * @param [parentNode] - top element, defaults to document.body
33
+ * @param {String} [markerName] - a special attribute to mark every node
34
+ * @param {String} [controlAttribute] - html Attribute to control
35
+ * @return {Undo} undo command
36
+ */
37
+ var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {
38
+ var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
39
+ if (!markerMap[markerName]) markerMap[markerName] = /* @__PURE__ */ new WeakMap();
40
+ var markerCounter = markerMap[markerName];
41
+ var hiddenNodes = [];
42
+ var elementsToKeep = /* @__PURE__ */ new Set();
43
+ var elementsToStop = new Set(targets);
44
+ var keep = function(el) {
45
+ if (!el || elementsToKeep.has(el)) return;
46
+ elementsToKeep.add(el);
47
+ keep(el.parentNode);
48
+ };
49
+ targets.forEach(keep);
50
+ var deep = function(parent) {
51
+ if (!parent || elementsToStop.has(parent)) return;
52
+ Array.prototype.forEach.call(parent.children, function(node) {
53
+ if (elementsToKeep.has(node)) deep(node);
54
+ else try {
55
+ var attr = node.getAttribute(controlAttribute);
56
+ var alreadyHidden = attr !== null && attr !== "false";
57
+ var counterValue = (counterMap.get(node) || 0) + 1;
58
+ var markerValue = (markerCounter.get(node) || 0) + 1;
59
+ counterMap.set(node, counterValue);
60
+ markerCounter.set(node, markerValue);
61
+ hiddenNodes.push(node);
62
+ if (counterValue === 1 && alreadyHidden) uncontrolledNodes.set(node, true);
63
+ if (markerValue === 1) node.setAttribute(markerName, "true");
64
+ if (!alreadyHidden) node.setAttribute(controlAttribute, "true");
65
+ } catch (e) {
66
+ console.error("aria-hidden: cannot operate on ", node, e);
67
+ }
68
+ });
69
+ };
70
+ deep(parentNode);
71
+ elementsToKeep.clear();
72
+ lockCount++;
73
+ return function() {
74
+ hiddenNodes.forEach(function(node) {
75
+ var counterValue = counterMap.get(node) - 1;
76
+ var markerValue = markerCounter.get(node) - 1;
77
+ counterMap.set(node, counterValue);
78
+ markerCounter.set(node, markerValue);
79
+ if (!counterValue) {
80
+ if (!uncontrolledNodes.has(node)) node.removeAttribute(controlAttribute);
81
+ uncontrolledNodes.delete(node);
82
+ }
83
+ if (!markerValue) node.removeAttribute(markerName);
84
+ });
85
+ lockCount--;
86
+ if (!lockCount) {
87
+ counterMap = /* @__PURE__ */ new WeakMap();
88
+ counterMap = /* @__PURE__ */ new WeakMap();
89
+ uncontrolledNodes = /* @__PURE__ */ new WeakMap();
90
+ markerMap = {};
91
+ }
92
+ };
93
+ };
94
+ /**
95
+ * Marks everything except given node(or nodes) as aria-hidden
96
+ * @param {Element | Element[]} originalTarget - elements to keep on the page
97
+ * @param [parentNode] - top element, defaults to document.body
98
+ * @param {String} [markerName] - a special attribute to mark every node
99
+ * @return {Undo} undo command
100
+ */
101
+ var hideOthers = function(originalTarget, parentNode, markerName) {
102
+ if (markerName === void 0) markerName = "data-aria-hidden";
103
+ var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
104
+ var activeParentNode = parentNode || getDefaultParent(originalTarget);
105
+ if (!activeParentNode) return function() {
106
+ return null;
107
+ };
108
+ targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
109
+ return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
110
+ };
111
+ exports.hideOthers = hideOthers;
112
+ /**
113
+ * Marks everything except given node(or nodes) as inert
114
+ * @param {Element | Element[]} originalTarget - elements to keep on the page
115
+ * @param [parentNode] - top element, defaults to document.body
116
+ * @param {String} [markerName] - a special attribute to mark every node
117
+ * @return {Undo} undo command
118
+ */
119
+ var inertOthers = function(originalTarget, parentNode, markerName) {
120
+ if (markerName === void 0) markerName = "data-inert-ed";
121
+ var activeParentNode = parentNode || getDefaultParent(originalTarget);
122
+ if (!activeParentNode) return function() {
123
+ return null;
124
+ };
125
+ return applyAttributeToOthers(originalTarget, activeParentNode, markerName, "inert");
126
+ };
127
+ exports.inertOthers = inertOthers;
128
+ /**
129
+ * @returns if current browser supports inert
130
+ */
131
+ var supportsInert = function() {
132
+ return typeof HTMLElement !== "undefined" && HTMLElement.prototype.hasOwnProperty("inert");
133
+ };
134
+ exports.supportsInert = supportsInert;
135
+ /**
136
+ * Automatic function to "suppress" DOM elements - _hide_ or _inert_ in the best possible way
137
+ * @param {Element | Element[]} originalTarget - elements to keep on the page
138
+ * @param [parentNode] - top element, defaults to document.body
139
+ * @param {String} [markerName] - a special attribute to mark every node
140
+ * @return {Undo} undo command
141
+ */
142
+ var suppressOthers = function(originalTarget, parentNode, markerName) {
143
+ if (markerName === void 0) markerName = "data-suppressed";
144
+ return ((0, exports.supportsInert)() ? exports.inertOthers : exports.hideOthers)(originalTarget, parentNode, markerName);
145
+ };
146
+ exports.suppressOthers = suppressOthers;
147
+ }) });
148
+
149
+ //#endregion
150
+ Object.defineProperty(exports, 'default', {
151
+ enumerable: true,
152
+ get: function () {
153
+ return require_es5();
154
+ }
155
+ });
@@ -0,0 +1,19 @@
1
+ const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
4
+ function r(e) {
5
+ var t, f, n = "";
6
+ if ("string" == typeof e || "number" == typeof e) n += e;
7
+ else if ("object" == typeof e) if (Array.isArray(e)) {
8
+ var o = e.length;
9
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
10
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
11
+ return n;
12
+ }
13
+ function clsx() {
14
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
15
+ return n;
16
+ }
17
+
18
+ //#endregion
19
+ exports.clsx = clsx;
@@ -0,0 +1,17 @@
1
+ //#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
2
+ function r(e) {
3
+ var t, f, n = "";
4
+ if ("string" == typeof e || "number" == typeof e) n += e;
5
+ else if ("object" == typeof e) if (Array.isArray(e)) {
6
+ var o = e.length;
7
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
8
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
9
+ return n;
10
+ }
11
+ function clsx() {
12
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
13
+ return n;
14
+ }
15
+
16
+ //#endregion
17
+ export { clsx };
@@ -0,0 +1,14 @@
1
+ const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.js
4
+ var require_node = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.js": ((exports, module) => {
5
+ module.exports.isNode = Object.prototype.toString.call(typeof process !== "undefined" ? process : 0) === "[object process]";
6
+ }) });
7
+
8
+ //#endregion
9
+ Object.defineProperty(exports, 'default', {
10
+ enumerable: true,
11
+ get: function () {
12
+ return require_node();
13
+ }
14
+ });
@@ -0,0 +1,9 @@
1
+ //#region ../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
2
+ var currentNonce;
3
+ var getNonce = function() {
4
+ if (currentNonce) return currentNonce;
5
+ if (typeof __webpack_nonce__ !== "undefined") return __webpack_nonce__;
6
+ };
7
+
8
+ //#endregion
9
+ export { getNonce };
@@ -0,0 +1,22 @@
1
+ const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.js
4
+ var require_es5 = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.js": ((exports) => {
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ var currentNonce;
7
+ exports.setNonce = function(nonce) {
8
+ currentNonce = nonce;
9
+ };
10
+ exports.getNonce = function() {
11
+ if (currentNonce) return currentNonce;
12
+ if (typeof __webpack_nonce__ !== "undefined") return __webpack_nonce__;
13
+ };
14
+ }) });
15
+
16
+ //#endregion
17
+ Object.defineProperty(exports, 'default', {
18
+ enumerable: true,
19
+ get: function () {
20
+ return require_es5();
21
+ }
22
+ });
@@ -0,0 +1,46 @@
1
+ import { fullWidthClassName, noScrollbarsClassName, removedBarSizeVariable, zeroRightClassName } from "./constants.js";
2
+ import { styleSingleton } from "../../../../../react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/component.js";
3
+ import "../../../../../react-style-singleton@2.2.3_@types_react@19.2.6_react@19.2.0/node_modules/react-style-singleton/dist/es2015/index.js";
4
+ import { getGapWidth } from "./utils.js";
5
+ import * as React$1 from "react";
6
+
7
+ //#region ../../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
8
+ var Style = styleSingleton();
9
+ var lockAttribute = "data-scroll-locked";
10
+ var getStyles = function(_a, allowRelative, gapMode, important) {
11
+ var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;
12
+ if (gapMode === void 0) gapMode = "margin";
13
+ return "\n .".concat(noScrollbarsClassName, " {\n overflow: hidden ").concat(important, ";\n padding-right: ").concat(gap, "px ").concat(important, ";\n }\n body[").concat(lockAttribute, "] {\n overflow: hidden ").concat(important, ";\n overscroll-behavior: contain;\n ").concat([
14
+ allowRelative && "position: relative ".concat(important, ";"),
15
+ gapMode === "margin" && "\n padding-left: ".concat(left, "px;\n padding-top: ").concat(top, "px;\n padding-right: ").concat(right, "px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(gap, "px ").concat(important, ";\n "),
16
+ gapMode === "padding" && "padding-right: ".concat(gap, "px ").concat(important, ";")
17
+ ].filter(Boolean).join(""), "\n }\n \n .").concat(zeroRightClassName, " {\n right: ").concat(gap, "px ").concat(important, ";\n }\n \n .").concat(fullWidthClassName, " {\n margin-right: ").concat(gap, "px ").concat(important, ";\n }\n \n .").concat(zeroRightClassName, " .").concat(zeroRightClassName, " {\n right: 0 ").concat(important, ";\n }\n \n .").concat(fullWidthClassName, " .").concat(fullWidthClassName, " {\n margin-right: 0 ").concat(important, ";\n }\n \n body[").concat(lockAttribute, "] {\n ").concat(removedBarSizeVariable, ": ").concat(gap, "px;\n }\n");
18
+ };
19
+ var getCurrentUseCounter = function() {
20
+ var counter = parseInt(document.body.getAttribute(lockAttribute) || "0", 10);
21
+ return isFinite(counter) ? counter : 0;
22
+ };
23
+ var useLockAttribute = function() {
24
+ React$1.useEffect(function() {
25
+ document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());
26
+ return function() {
27
+ var newCounter = getCurrentUseCounter() - 1;
28
+ if (newCounter <= 0) document.body.removeAttribute(lockAttribute);
29
+ else document.body.setAttribute(lockAttribute, newCounter.toString());
30
+ };
31
+ }, []);
32
+ };
33
+ /**
34
+ * Removes page scrollbar and blocks page scroll when mounted
35
+ */
36
+ var RemoveScrollBar = function(_a) {
37
+ var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? "margin" : _b;
38
+ useLockAttribute();
39
+ var gap = React$1.useMemo(function() {
40
+ return getGapWidth(gapMode);
41
+ }, [gapMode]);
42
+ return React$1.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
43
+ };
44
+
45
+ //#endregion
46
+ export { RemoveScrollBar };
@@ -0,0 +1,12 @@
1
+ //#region ../../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
2
+ var zeroRightClassName = "right-scroll-bar-position";
3
+ var fullWidthClassName = "width-before-scroll-bar";
4
+ var noScrollbarsClassName = "with-scroll-bars-hidden";
5
+ /**
6
+ * Name of a CSS variable containing the amount of "hidden" scrollbar
7
+ * ! might be undefined ! use will fallback!
8
+ */
9
+ var removedBarSizeVariable = "--removed-body-scroll-bar-size";
10
+
11
+ //#endregion
12
+ export { fullWidthClassName, noScrollbarsClassName, removedBarSizeVariable, zeroRightClassName };
@@ -0,0 +1,3 @@
1
+ import { fullWidthClassName, noScrollbarsClassName, removedBarSizeVariable, zeroRightClassName } from "./constants.js";
2
+ import { getGapWidth } from "./utils.js";
3
+ import { RemoveScrollBar } from "./component.js";
@@ -0,0 +1,37 @@
1
+ //#region ../../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
2
+ var zeroGap = {
3
+ left: 0,
4
+ top: 0,
5
+ right: 0,
6
+ gap: 0
7
+ };
8
+ var parse = function(x) {
9
+ return parseInt(x || "", 10) || 0;
10
+ };
11
+ var getOffset = function(gapMode) {
12
+ var cs = window.getComputedStyle(document.body);
13
+ var left = cs[gapMode === "padding" ? "paddingLeft" : "marginLeft"];
14
+ var top = cs[gapMode === "padding" ? "paddingTop" : "marginTop"];
15
+ var right = cs[gapMode === "padding" ? "paddingRight" : "marginRight"];
16
+ return [
17
+ parse(left),
18
+ parse(top),
19
+ parse(right)
20
+ ];
21
+ };
22
+ var getGapWidth = function(gapMode) {
23
+ if (gapMode === void 0) gapMode = "margin";
24
+ if (typeof window === "undefined") return zeroGap;
25
+ var offsets = getOffset(gapMode);
26
+ var documentWidth = document.documentElement.clientWidth;
27
+ var windowWidth = window.innerWidth;
28
+ return {
29
+ left: offsets[0],
30
+ top: offsets[1],
31
+ right: offsets[2],
32
+ gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0])
33
+ };
34
+ };
35
+
36
+ //#endregion
37
+ export { getGapWidth };