@pixpilot/shadcn-ui 0.4.1 → 0.4.3

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 (246) hide show
  1. package/dist/AbsoluteFill.d.ts +2 -2
  2. package/dist/Alert.cjs +10 -8
  3. package/dist/Alert.js +13 -12
  4. package/dist/Button.d.cts +1 -1
  5. package/dist/ContentCard.d.cts +1 -1
  6. package/dist/DatePicker.d.cts +1 -1
  7. package/dist/DatePicker.d.ts +2 -2
  8. package/dist/Select.d.cts +1 -1
  9. package/dist/_virtual/rolldown_runtime.cjs +0 -19
  10. package/dist/confirmation-dialog/ConfirmationDialog.cjs +2 -3
  11. package/dist/confirmation-dialog/ConfirmationDialog.d.cts +0 -1
  12. package/dist/confirmation-dialog/ConfirmationDialog.js +3 -4
  13. package/dist/confirmation-dialog/index.cjs +0 -1
  14. package/dist/file-upload/FileUploadListItem.cjs +1 -2
  15. package/dist/file-upload/FileUploadListItem.js +2 -3
  16. package/dist/file-upload/hooks/index.cjs +0 -1
  17. package/dist/file-upload/hooks/use-file-error.cjs +3 -3
  18. package/dist/file-upload/hooks/use-file-error.js +2 -3
  19. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.cjs +3 -3
  20. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.js +2 -3
  21. package/dist/file-upload/index.cjs +0 -1
  22. package/dist/file-upload/index.d.cts +1 -2
  23. package/dist/file-upload/utils/create-placeholder-file.cjs +0 -1
  24. package/dist/file-upload/utils/get-file-key.cjs +0 -1
  25. package/dist/file-upload/utils/get-file-meta.cjs +0 -1
  26. package/dist/file-upload/utils/is-file-equal.cjs +0 -1
  27. package/dist/file-upload/utils/merge-file-metadata.cjs +0 -1
  28. package/dist/file-upload-inline/FileUploadInlineItem.cjs +1 -3
  29. package/dist/file-upload-inline/FileUploadInlineItem.js +2 -4
  30. package/dist/file-upload-inline/defaults.cjs +0 -1
  31. package/dist/file-upload-inline/index.cjs +0 -1
  32. package/dist/file-upload-inline/utils.cjs +0 -1
  33. package/dist/hooks/index.cjs +0 -1
  34. package/dist/icon-selector/IconPicker.cjs +1 -1
  35. package/dist/icon-selector/IconPicker.d.cts +0 -1
  36. package/dist/icon-selector/IconPicker.d.ts +0 -1
  37. package/dist/icon-selector/IconPicker.js +1 -1
  38. package/dist/icon-selector/constants.cjs +0 -1
  39. package/dist/icon-selector/index.cjs +0 -1
  40. package/dist/icon-selector/index.d.cts +2 -2
  41. package/dist/icon-selector/index.d.ts +2 -2
  42. package/dist/icon-selector/utils/is-valid-provider.cjs +0 -1
  43. package/dist/index.d.cts +2 -2
  44. package/dist/index.d.ts +2 -2
  45. package/dist/pagination/index.cjs +0 -1
  46. package/dist/rich-text-editor/index.cjs +0 -1
  47. package/dist/shadcn/src/lib/index.cjs +1 -0
  48. package/dist/shadcn/src/lib/index.js +1 -0
  49. package/dist/shadcn/src/lib/utils.cjs +13 -0
  50. package/dist/shadcn/src/lib/utils.js +10 -0
  51. package/dist/spinner/index.cjs +0 -1
  52. package/dist/spinner/styles.cjs +0 -1
  53. package/dist/toast/AlertToast.js +2 -2
  54. package/dist/toast/index.cjs +0 -1
  55. package/package.json +4 -4
  56. package/dist/_virtual/rolldown_runtime.js +0 -43
  57. package/dist/file-upload/hooks/index.d.cts +0 -2
  58. package/dist/file-upload/hooks/use-file-upload-progress-callbacks.d.cts +0 -1
  59. package/dist/file-upload/hooks/use-file-upload-store.d.cts +0 -2
  60. package/dist/file-upload/utils/get-file-key.d.cts +0 -1
  61. package/dist/file-upload/utils/get-file-meta.d.cts +0 -1
  62. package/dist/file-upload/utils/index.d.cts +0 -4
  63. package/dist/file-upload/utils/is-file-equal.d.cts +0 -1
  64. package/dist/file-upload/utils/merge-file-metadata.d.cts +0 -1
  65. 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 +0 -558
  66. 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 +0 -555
  67. 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 +0 -566
  68. 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 +0 -565
  69. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +0 -695
  70. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -679
  71. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +0 -521
  72. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -503
  73. 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 +0 -282
  74. 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 +0 -266
  75. 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 +0 -3767
  76. 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 +0 -3747
  77. 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 +0 -426
  78. 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 +0 -379
  79. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +0 -165
  80. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +0 -175
  81. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -151
  82. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -138
  83. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.cjs +0 -13
  84. package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.3/node_modules/@radix-ui/primitive/dist/index.js +0 -11
  85. 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 +0 -33
  86. 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 +0 -30
  87. 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 +0 -92
  88. 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 +0 -88
  89. 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 +0 -310
  90. 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 +0 -299
  91. 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 +0 -190
  92. 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 +0 -187
  93. 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 +0 -34
  94. 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 +0 -32
  95. 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 +0 -203
  96. 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 +0 -200
  97. 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 +0 -18
  98. 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 +0 -16
  99. 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 +0 -29
  100. 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 +0 -25
  101. 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 +0 -110
  102. 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 +0 -108
  103. 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 +0 -52
  104. 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 +0 -47
  105. 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 +0 -92
  106. 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 +0 -89
  107. 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 +0 -103
  108. 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 +0 -100
  109. 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 +0 -15
  110. 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 +0 -13
  111. 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 +0 -64
  112. 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 +0 -62
  113. 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 +0 -19
  114. 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 +0 -17
  115. 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 +0 -9
  116. 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 +0 -7
  117. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -108
  118. package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es5/index.cjs +0 -155
  119. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs +0 -19
  120. package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -17
  121. package/dist/node_modules/.pnpm/detect-node-es@1.1.0/node_modules/detect-node-es/es5/node.cjs +0 -14
  122. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -9
  123. package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es5/index.cjs +0 -22
  124. 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 +0 -46
  125. 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 +0 -12
  126. 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 +0 -3
  127. 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 +0 -37
  128. 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 +0 -61
  129. 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 +0 -23
  130. 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 +0 -57
  131. 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 +0 -49
  132. 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 +0 -17
  133. 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 +0 -163
  134. 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 +0 -64
  135. 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 +0 -16
  136. 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 +0 -85
  137. 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 +0 -7
  138. 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 +0 -9
  139. 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 +0 -29
  140. 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 +0 -179
  141. 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 +0 -79
  142. 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 +0 -27
  143. 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 +0 -98
  144. 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 +0 -19
  145. 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 +0 -18
  146. 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 +0 -21
  147. 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 +0 -21
  148. 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 +0 -27
  149. 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 +0 -3
  150. 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 +0 -43
  151. 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 +0 -33
  152. 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 +0 -40
  153. 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 +0 -39
  154. 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 +0 -55
  155. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.cjs +0 -347
  156. package/dist/node_modules/.pnpm/tabbable@6.3.0/node_modules/tabbable/dist/index.esm.js +0 -268
  157. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.cjs +0 -1895
  158. package/dist/node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1893
  159. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +0 -557
  160. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -31
  161. 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 +0 -22
  162. 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 +0 -47
  163. 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 +0 -42
  164. 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 +0 -34
  165. 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 +0 -39
  166. 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 +0 -85
  167. 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 +0 -40
  168. 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 +0 -59
  169. 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 +0 -34
  170. 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 +0 -61
  171. 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 +0 -53
  172. 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 +0 -38
  173. 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 +0 -19
  174. 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 +0 -84
  175. 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 +0 -22
  176. 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 +0 -21
  177. 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 +0 -31
  178. 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 +0 -31
  179. 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 +0 -60
  180. 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 +0 -69
  181. 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 +0 -101
  182. 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 +0 -58
  183. package/dist/packages/shadcn/src/components/index.cjs +0 -6
  184. package/dist/packages/shadcn/src/components/index.js +0 -5
  185. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.cjs +0 -6
  186. package/dist/packages/shadcn/src/components/ui/OrContinueWithSeparator.js +0 -3
  187. package/dist/packages/shadcn/src/components/ui/alert-dialog.cjs +0 -10
  188. package/dist/packages/shadcn/src/components/ui/alert-dialog.js +0 -6
  189. package/dist/packages/shadcn/src/components/ui/alert.cjs +0 -44
  190. package/dist/packages/shadcn/src/components/ui/alert.js +0 -38
  191. package/dist/packages/shadcn/src/components/ui/avatar.cjs +0 -5
  192. package/dist/packages/shadcn/src/components/ui/avatar.js +0 -2
  193. package/dist/packages/shadcn/src/components/ui/badge.cjs +0 -20
  194. package/dist/packages/shadcn/src/components/ui/badge.js +0 -16
  195. package/dist/packages/shadcn/src/components/ui/button.cjs +0 -50
  196. package/dist/packages/shadcn/src/components/ui/button.js +0 -45
  197. package/dist/packages/shadcn/src/components/ui/calendar.cjs +0 -8
  198. package/dist/packages/shadcn/src/components/ui/calendar.js +0 -4
  199. package/dist/packages/shadcn/src/components/ui/card.cjs +0 -5
  200. package/dist/packages/shadcn/src/components/ui/card.js +0 -2
  201. package/dist/packages/shadcn/src/components/ui/checkbox.cjs +0 -10
  202. package/dist/packages/shadcn/src/components/ui/checkbox.js +0 -6
  203. package/dist/packages/shadcn/src/components/ui/command.cjs +0 -11
  204. package/dist/packages/shadcn/src/components/ui/command.js +0 -7
  205. package/dist/packages/shadcn/src/components/ui/dialog.cjs +0 -93
  206. package/dist/packages/shadcn/src/components/ui/dialog.js +0 -81
  207. package/dist/packages/shadcn/src/components/ui/dropdown-menu.cjs +0 -7
  208. package/dist/packages/shadcn/src/components/ui/dropdown-menu.js +0 -3
  209. package/dist/packages/shadcn/src/components/ui/file-upload.cjs +0 -49
  210. package/dist/packages/shadcn/src/components/ui/file-upload.js +0 -45
  211. package/dist/packages/shadcn/src/components/ui/form.cjs +0 -12
  212. package/dist/packages/shadcn/src/components/ui/form.js +0 -9
  213. package/dist/packages/shadcn/src/components/ui/index.cjs +0 -30
  214. package/dist/packages/shadcn/src/components/ui/index.js +0 -29
  215. package/dist/packages/shadcn/src/components/ui/input.cjs +0 -5
  216. package/dist/packages/shadcn/src/components/ui/input.js +0 -2
  217. package/dist/packages/shadcn/src/components/ui/label.cjs +0 -5
  218. package/dist/packages/shadcn/src/components/ui/label.js +0 -2
  219. package/dist/packages/shadcn/src/components/ui/pagination.cjs +0 -9
  220. package/dist/packages/shadcn/src/components/ui/pagination.js +0 -4
  221. package/dist/packages/shadcn/src/components/ui/popover.cjs +0 -5
  222. package/dist/packages/shadcn/src/components/ui/popover.js +0 -2
  223. package/dist/packages/shadcn/src/components/ui/radio-group.cjs +0 -7
  224. package/dist/packages/shadcn/src/components/ui/radio-group.js +0 -3
  225. package/dist/packages/shadcn/src/components/ui/select.cjs +0 -10
  226. package/dist/packages/shadcn/src/components/ui/select.js +0 -6
  227. package/dist/packages/shadcn/src/components/ui/separator.cjs +0 -5
  228. package/dist/packages/shadcn/src/components/ui/separator.js +0 -2
  229. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.cjs +0 -26
  230. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags/index.js +0 -22
  231. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.cjs +0 -6
  232. package/dist/packages/shadcn/src/components/ui/shadcn-io/tags-input-inline/index.js +0 -3
  233. package/dist/packages/shadcn/src/components/ui/sheet.cjs +0 -7
  234. package/dist/packages/shadcn/src/components/ui/sheet.js +0 -3
  235. package/dist/packages/shadcn/src/components/ui/slider.cjs +0 -5
  236. package/dist/packages/shadcn/src/components/ui/slider.js +0 -2
  237. package/dist/packages/shadcn/src/components/ui/switch.cjs +0 -8
  238. package/dist/packages/shadcn/src/components/ui/switch.js +0 -5
  239. package/dist/packages/shadcn/src/components/ui/tabs.cjs +0 -5
  240. package/dist/packages/shadcn/src/components/ui/tabs.js +0 -2
  241. package/dist/packages/shadcn/src/components/ui/textarea.cjs +0 -5
  242. package/dist/packages/shadcn/src/components/ui/textarea.js +0 -2
  243. package/dist/packages/shadcn/src/components/ui/tooltip.cjs +0 -5
  244. package/dist/packages/shadcn/src/components/ui/tooltip.js +0 -2
  245. package/dist/packages/shadcn/src/lib/utils.cjs +0 -11
  246. package/dist/packages/shadcn/src/lib/utils.js +0 -10
@@ -1,108 +0,0 @@
1
- "use client";
2
-
3
-
4
- import { useComposedRefs } from "../../../../../@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";
5
- 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";
6
- import * as React2 from "react";
7
-
8
- //#region ../../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.mjs
9
- function useStateMachine(initialState, machine) {
10
- return React2.useReducer((state, event) => {
11
- return machine[state][event] ?? state;
12
- }, initialState);
13
- }
14
- var Presence = (props) => {
15
- const { present, children } = props;
16
- const presence = usePresence(present);
17
- const child = typeof children === "function" ? children({ present: presence.isPresent }) : React2.Children.only(children);
18
- const ref = useComposedRefs(presence.ref, getElementRef(child));
19
- return typeof children === "function" || presence.isPresent ? React2.cloneElement(child, { ref }) : null;
20
- };
21
- Presence.displayName = "Presence";
22
- function usePresence(present) {
23
- const [node, setNode] = React2.useState();
24
- const stylesRef = React2.useRef(null);
25
- const prevPresentRef = React2.useRef(present);
26
- const prevAnimationNameRef = React2.useRef("none");
27
- const [state, send] = useStateMachine(present ? "mounted" : "unmounted", {
28
- mounted: {
29
- UNMOUNT: "unmounted",
30
- ANIMATION_OUT: "unmountSuspended"
31
- },
32
- unmountSuspended: {
33
- MOUNT: "mounted",
34
- ANIMATION_END: "unmounted"
35
- },
36
- unmounted: { MOUNT: "mounted" }
37
- });
38
- React2.useEffect(() => {
39
- const currentAnimationName = getAnimationName(stylesRef.current);
40
- prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
41
- }, [state]);
42
- useLayoutEffect2(() => {
43
- const styles = stylesRef.current;
44
- const wasPresent = prevPresentRef.current;
45
- if (wasPresent !== present) {
46
- const prevAnimationName = prevAnimationNameRef.current;
47
- const currentAnimationName = getAnimationName(styles);
48
- if (present) send("MOUNT");
49
- else if (currentAnimationName === "none" || styles?.display === "none") send("UNMOUNT");
50
- else if (wasPresent && prevAnimationName !== currentAnimationName) send("ANIMATION_OUT");
51
- else send("UNMOUNT");
52
- prevPresentRef.current = present;
53
- }
54
- }, [present, send]);
55
- useLayoutEffect2(() => {
56
- if (node) {
57
- let timeoutId;
58
- const ownerWindow = node.ownerDocument.defaultView ?? window;
59
- const handleAnimationEnd = (event) => {
60
- const isCurrentAnimation = getAnimationName(stylesRef.current).includes(CSS.escape(event.animationName));
61
- if (event.target === node && isCurrentAnimation) {
62
- send("ANIMATION_END");
63
- if (!prevPresentRef.current) {
64
- const currentFillMode = node.style.animationFillMode;
65
- node.style.animationFillMode = "forwards";
66
- timeoutId = ownerWindow.setTimeout(() => {
67
- if (node.style.animationFillMode === "forwards") node.style.animationFillMode = currentFillMode;
68
- });
69
- }
70
- }
71
- };
72
- const handleAnimationStart = (event) => {
73
- if (event.target === node) prevAnimationNameRef.current = getAnimationName(stylesRef.current);
74
- };
75
- node.addEventListener("animationstart", handleAnimationStart);
76
- node.addEventListener("animationcancel", handleAnimationEnd);
77
- node.addEventListener("animationend", handleAnimationEnd);
78
- return () => {
79
- ownerWindow.clearTimeout(timeoutId);
80
- node.removeEventListener("animationstart", handleAnimationStart);
81
- node.removeEventListener("animationcancel", handleAnimationEnd);
82
- node.removeEventListener("animationend", handleAnimationEnd);
83
- };
84
- } else send("ANIMATION_END");
85
- }, [node, send]);
86
- return {
87
- isPresent: ["mounted", "unmountSuspended"].includes(state),
88
- ref: React2.useCallback((node2) => {
89
- stylesRef.current = node2 ? getComputedStyle(node2) : null;
90
- setNode(node2);
91
- }, [])
92
- };
93
- }
94
- function getAnimationName(styles) {
95
- return styles?.animationName || "none";
96
- }
97
- function getElementRef(element) {
98
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
99
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
100
- if (mayWarn) return element.ref;
101
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
102
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
103
- if (mayWarn) return element.props.ref;
104
- return element.props.ref || element.ref;
105
- }
106
-
107
- //#endregion
108
- export { Presence };
@@ -1,52 +0,0 @@
1
- const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_index = require('../../../../../@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');
3
- let react = require("react");
4
- react = require_rolldown_runtime.__toESM(react);
5
- let react_jsx_runtime = require("react/jsx-runtime");
6
- react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
7
- let react_dom = require("react-dom");
8
- react_dom = require_rolldown_runtime.__toESM(react_dom);
9
-
10
- //#region ../../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.mjs
11
- var Primitive = [
12
- "a",
13
- "button",
14
- "div",
15
- "form",
16
- "h2",
17
- "h3",
18
- "img",
19
- "input",
20
- "label",
21
- "li",
22
- "nav",
23
- "ol",
24
- "p",
25
- "select",
26
- "span",
27
- "svg",
28
- "ul"
29
- ].reduce((primitive, node) => {
30
- const Slot = require_index.createSlot(`Primitive.${node}`);
31
- const Node = react.forwardRef((props, forwardedRef) => {
32
- const { asChild,...primitiveProps } = props;
33
- const Comp = asChild ? Slot : node;
34
- if (typeof window !== "undefined") window[Symbol.for("radix-ui")] = true;
35
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Comp, {
36
- ...primitiveProps,
37
- ref: forwardedRef
38
- });
39
- });
40
- Node.displayName = `Primitive.${node}`;
41
- return {
42
- ...primitive,
43
- [node]: Node
44
- };
45
- }, {});
46
- function dispatchDiscreteCustomEvent(target, event) {
47
- if (target) react_dom.flushSync(() => target.dispatchEvent(event));
48
- }
49
-
50
- //#endregion
51
- exports.Primitive = Primitive;
52
- exports.dispatchDiscreteCustomEvent = dispatchDiscreteCustomEvent;
@@ -1,47 +0,0 @@
1
- import { createSlot } from "../../../../../@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";
2
- import * as React$1 from "react";
3
- import { jsx } from "react/jsx-runtime";
4
- import * as ReactDOM$1 from "react-dom";
5
-
6
- //#region ../../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.mjs
7
- var Primitive = [
8
- "a",
9
- "button",
10
- "div",
11
- "form",
12
- "h2",
13
- "h3",
14
- "img",
15
- "input",
16
- "label",
17
- "li",
18
- "nav",
19
- "ol",
20
- "p",
21
- "select",
22
- "span",
23
- "svg",
24
- "ul"
25
- ].reduce((primitive, node) => {
26
- const Slot = createSlot(`Primitive.${node}`);
27
- const Node = React$1.forwardRef((props, forwardedRef) => {
28
- const { asChild,...primitiveProps } = props;
29
- const Comp = asChild ? Slot : node;
30
- if (typeof window !== "undefined") window[Symbol.for("radix-ui")] = true;
31
- return /* @__PURE__ */ jsx(Comp, {
32
- ...primitiveProps,
33
- ref: forwardedRef
34
- });
35
- });
36
- Node.displayName = `Primitive.${node}`;
37
- return {
38
- ...primitive,
39
- [node]: Node
40
- };
41
- }, {});
42
- function dispatchDiscreteCustomEvent(target, event) {
43
- if (target) ReactDOM$1.flushSync(() => target.dispatchEvent(event));
44
- }
45
-
46
- //#endregion
47
- export { Primitive, dispatchDiscreteCustomEvent };
@@ -1,92 +0,0 @@
1
- const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_index = require('../../../../../@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');
3
- let react = require("react");
4
- react = require_rolldown_runtime.__toESM(react);
5
- let react_jsx_runtime = require("react/jsx-runtime");
6
- react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
7
-
8
- //#region ../../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.mjs
9
- /* @__NO_SIDE_EFFECTS__ */
10
- function createSlot(ownerName) {
11
- const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
12
- const Slot2 = react.forwardRef((props, forwardedRef) => {
13
- const { children,...slotProps } = props;
14
- const childrenArray = react.Children.toArray(children);
15
- const slottable = childrenArray.find(isSlottable);
16
- if (slottable) {
17
- const newElement = slottable.props.children;
18
- const newChildren = childrenArray.map((child) => {
19
- if (child === slottable) {
20
- if (react.Children.count(newElement) > 1) return react.Children.only(null);
21
- return react.isValidElement(newElement) ? newElement.props.children : null;
22
- } else return child;
23
- });
24
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SlotClone, {
25
- ...slotProps,
26
- ref: forwardedRef,
27
- children: react.isValidElement(newElement) ? react.cloneElement(newElement, void 0, newChildren) : null
28
- });
29
- }
30
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SlotClone, {
31
- ...slotProps,
32
- ref: forwardedRef,
33
- children
34
- });
35
- });
36
- Slot2.displayName = `${ownerName}.Slot`;
37
- return Slot2;
38
- }
39
- /* @__NO_SIDE_EFFECTS__ */
40
- function createSlotClone(ownerName) {
41
- const SlotClone = react.forwardRef((props, forwardedRef) => {
42
- const { children,...slotProps } = props;
43
- if (react.isValidElement(children)) {
44
- const childrenRef = getElementRef(children);
45
- const props2 = mergeProps(slotProps, children.props);
46
- if (children.type !== react.Fragment) props2.ref = forwardedRef ? require_index.composeRefs(forwardedRef, childrenRef) : childrenRef;
47
- return react.cloneElement(children, props2);
48
- }
49
- return react.Children.count(children) > 1 ? react.Children.only(null) : null;
50
- });
51
- SlotClone.displayName = `${ownerName}.SlotClone`;
52
- return SlotClone;
53
- }
54
- var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
55
- function isSlottable(child) {
56
- return react.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
57
- }
58
- function mergeProps(slotProps, childProps) {
59
- const overrideProps = { ...childProps };
60
- for (const propName in childProps) {
61
- const slotPropValue = slotProps[propName];
62
- const childPropValue = childProps[propName];
63
- if (/^on[A-Z]/.test(propName)) {
64
- if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
65
- const result = childPropValue(...args);
66
- slotPropValue(...args);
67
- return result;
68
- };
69
- else if (slotPropValue) overrideProps[propName] = slotPropValue;
70
- } else if (propName === "style") overrideProps[propName] = {
71
- ...slotPropValue,
72
- ...childPropValue
73
- };
74
- else if (propName === "className") overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
75
- }
76
- return {
77
- ...slotProps,
78
- ...overrideProps
79
- };
80
- }
81
- function getElementRef(element) {
82
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
83
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
84
- if (mayWarn) return element.ref;
85
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
86
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
87
- if (mayWarn) return element.props.ref;
88
- return element.props.ref || element.ref;
89
- }
90
-
91
- //#endregion
92
- exports.createSlot = createSlot;
@@ -1,89 +0,0 @@
1
- import { composeRefs } from "../../../../../@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";
2
- import * as React$1 from "react";
3
- import { Fragment, jsx } from "react/jsx-runtime";
4
-
5
- //#region ../../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.mjs
6
- /* @__NO_SIDE_EFFECTS__ */
7
- function createSlot(ownerName) {
8
- const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
9
- const Slot2 = React$1.forwardRef((props, forwardedRef) => {
10
- const { children,...slotProps } = props;
11
- const childrenArray = React$1.Children.toArray(children);
12
- const slottable = childrenArray.find(isSlottable);
13
- if (slottable) {
14
- const newElement = slottable.props.children;
15
- const newChildren = childrenArray.map((child) => {
16
- if (child === slottable) {
17
- if (React$1.Children.count(newElement) > 1) return React$1.Children.only(null);
18
- return React$1.isValidElement(newElement) ? newElement.props.children : null;
19
- } else return child;
20
- });
21
- return /* @__PURE__ */ jsx(SlotClone, {
22
- ...slotProps,
23
- ref: forwardedRef,
24
- children: React$1.isValidElement(newElement) ? React$1.cloneElement(newElement, void 0, newChildren) : null
25
- });
26
- }
27
- return /* @__PURE__ */ jsx(SlotClone, {
28
- ...slotProps,
29
- ref: forwardedRef,
30
- children
31
- });
32
- });
33
- Slot2.displayName = `${ownerName}.Slot`;
34
- return Slot2;
35
- }
36
- /* @__NO_SIDE_EFFECTS__ */
37
- function createSlotClone(ownerName) {
38
- const SlotClone = React$1.forwardRef((props, forwardedRef) => {
39
- const { children,...slotProps } = props;
40
- if (React$1.isValidElement(children)) {
41
- const childrenRef = getElementRef(children);
42
- const props2 = mergeProps(slotProps, children.props);
43
- if (children.type !== React$1.Fragment) props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
44
- return React$1.cloneElement(children, props2);
45
- }
46
- return React$1.Children.count(children) > 1 ? React$1.Children.only(null) : null;
47
- });
48
- SlotClone.displayName = `${ownerName}.SlotClone`;
49
- return SlotClone;
50
- }
51
- var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
52
- function isSlottable(child) {
53
- return React$1.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
54
- }
55
- function mergeProps(slotProps, childProps) {
56
- const overrideProps = { ...childProps };
57
- for (const propName in childProps) {
58
- const slotPropValue = slotProps[propName];
59
- const childPropValue = childProps[propName];
60
- if (/^on[A-Z]/.test(propName)) {
61
- if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
62
- const result = childPropValue(...args);
63
- slotPropValue(...args);
64
- return result;
65
- };
66
- else if (slotPropValue) overrideProps[propName] = slotPropValue;
67
- } else if (propName === "style") overrideProps[propName] = {
68
- ...slotPropValue,
69
- ...childPropValue
70
- };
71
- else if (propName === "className") overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
72
- }
73
- return {
74
- ...slotProps,
75
- ...overrideProps
76
- };
77
- }
78
- function getElementRef(element) {
79
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
80
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
81
- if (mayWarn) return element.ref;
82
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
83
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
84
- if (mayWarn) return element.props.ref;
85
- return element.props.ref || element.ref;
86
- }
87
-
88
- //#endregion
89
- export { createSlot };
@@ -1,103 +0,0 @@
1
- const require_rolldown_runtime = require('../../../../../../../_virtual/rolldown_runtime.cjs');
2
- const require_index = require('../../../../../@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');
3
- let react = require("react");
4
- react = require_rolldown_runtime.__toESM(react);
5
- let react_jsx_runtime = require("react/jsx-runtime");
6
- react_jsx_runtime = require_rolldown_runtime.__toESM(react_jsx_runtime);
7
-
8
- //#region ../../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.mjs
9
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
10
- var use = react[" use ".trim().toString()];
11
- function isPromiseLike(value) {
12
- return typeof value === "object" && value !== null && "then" in value;
13
- }
14
- function isLazyComponent(element) {
15
- return element != null && typeof element === "object" && "$$typeof" in element && element.$$typeof === REACT_LAZY_TYPE && "_payload" in element && isPromiseLike(element._payload);
16
- }
17
- /* @__NO_SIDE_EFFECTS__ */
18
- function createSlot(ownerName) {
19
- const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
20
- const Slot2 = react.forwardRef((props, forwardedRef) => {
21
- let { children,...slotProps } = props;
22
- if (isLazyComponent(children) && typeof use === "function") children = use(children._payload);
23
- const childrenArray = react.Children.toArray(children);
24
- const slottable = childrenArray.find(isSlottable);
25
- if (slottable) {
26
- const newElement = slottable.props.children;
27
- const newChildren = childrenArray.map((child) => {
28
- if (child === slottable) {
29
- if (react.Children.count(newElement) > 1) return react.Children.only(null);
30
- return react.isValidElement(newElement) ? newElement.props.children : null;
31
- } else return child;
32
- });
33
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SlotClone, {
34
- ...slotProps,
35
- ref: forwardedRef,
36
- children: react.isValidElement(newElement) ? react.cloneElement(newElement, void 0, newChildren) : null
37
- });
38
- }
39
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SlotClone, {
40
- ...slotProps,
41
- ref: forwardedRef,
42
- children
43
- });
44
- });
45
- Slot2.displayName = `${ownerName}.Slot`;
46
- return Slot2;
47
- }
48
- var Slot = /* @__PURE__ */ createSlot("Slot");
49
- /* @__NO_SIDE_EFFECTS__ */
50
- function createSlotClone(ownerName) {
51
- const SlotClone = react.forwardRef((props, forwardedRef) => {
52
- let { children,...slotProps } = props;
53
- if (isLazyComponent(children) && typeof use === "function") children = use(children._payload);
54
- if (react.isValidElement(children)) {
55
- const childrenRef = getElementRef(children);
56
- const props2 = mergeProps(slotProps, children.props);
57
- if (children.type !== react.Fragment) props2.ref = forwardedRef ? require_index.composeRefs(forwardedRef, childrenRef) : childrenRef;
58
- return react.cloneElement(children, props2);
59
- }
60
- return react.Children.count(children) > 1 ? react.Children.only(null) : null;
61
- });
62
- SlotClone.displayName = `${ownerName}.SlotClone`;
63
- return SlotClone;
64
- }
65
- var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
66
- function isSlottable(child) {
67
- return react.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
68
- }
69
- function mergeProps(slotProps, childProps) {
70
- const overrideProps = { ...childProps };
71
- for (const propName in childProps) {
72
- const slotPropValue = slotProps[propName];
73
- const childPropValue = childProps[propName];
74
- if (/^on[A-Z]/.test(propName)) {
75
- if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
76
- const result = childPropValue(...args);
77
- slotPropValue(...args);
78
- return result;
79
- };
80
- else if (slotPropValue) overrideProps[propName] = slotPropValue;
81
- } else if (propName === "style") overrideProps[propName] = {
82
- ...slotPropValue,
83
- ...childPropValue
84
- };
85
- else if (propName === "className") overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
86
- }
87
- return {
88
- ...slotProps,
89
- ...overrideProps
90
- };
91
- }
92
- function getElementRef(element) {
93
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
94
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
95
- if (mayWarn) return element.ref;
96
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
97
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
98
- if (mayWarn) return element.props.ref;
99
- return element.props.ref || element.ref;
100
- }
101
-
102
- //#endregion
103
- exports.Slot = Slot;
@@ -1,100 +0,0 @@
1
- import { composeRefs } from "../../../../../@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";
2
- import * as React$1 from "react";
3
- import { Fragment, jsx } from "react/jsx-runtime";
4
-
5
- //#region ../../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.mjs
6
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
7
- var use = React$1[" use ".trim().toString()];
8
- function isPromiseLike(value) {
9
- return typeof value === "object" && value !== null && "then" in value;
10
- }
11
- function isLazyComponent(element) {
12
- return element != null && typeof element === "object" && "$$typeof" in element && element.$$typeof === REACT_LAZY_TYPE && "_payload" in element && isPromiseLike(element._payload);
13
- }
14
- /* @__NO_SIDE_EFFECTS__ */
15
- function createSlot(ownerName) {
16
- const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
17
- const Slot2 = React$1.forwardRef((props, forwardedRef) => {
18
- let { children,...slotProps } = props;
19
- if (isLazyComponent(children) && typeof use === "function") children = use(children._payload);
20
- const childrenArray = React$1.Children.toArray(children);
21
- const slottable = childrenArray.find(isSlottable);
22
- if (slottable) {
23
- const newElement = slottable.props.children;
24
- const newChildren = childrenArray.map((child) => {
25
- if (child === slottable) {
26
- if (React$1.Children.count(newElement) > 1) return React$1.Children.only(null);
27
- return React$1.isValidElement(newElement) ? newElement.props.children : null;
28
- } else return child;
29
- });
30
- return /* @__PURE__ */ jsx(SlotClone, {
31
- ...slotProps,
32
- ref: forwardedRef,
33
- children: React$1.isValidElement(newElement) ? React$1.cloneElement(newElement, void 0, newChildren) : null
34
- });
35
- }
36
- return /* @__PURE__ */ jsx(SlotClone, {
37
- ...slotProps,
38
- ref: forwardedRef,
39
- children
40
- });
41
- });
42
- Slot2.displayName = `${ownerName}.Slot`;
43
- return Slot2;
44
- }
45
- var Slot = /* @__PURE__ */ createSlot("Slot");
46
- /* @__NO_SIDE_EFFECTS__ */
47
- function createSlotClone(ownerName) {
48
- const SlotClone = React$1.forwardRef((props, forwardedRef) => {
49
- let { children,...slotProps } = props;
50
- if (isLazyComponent(children) && typeof use === "function") children = use(children._payload);
51
- if (React$1.isValidElement(children)) {
52
- const childrenRef = getElementRef(children);
53
- const props2 = mergeProps(slotProps, children.props);
54
- if (children.type !== React$1.Fragment) props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
55
- return React$1.cloneElement(children, props2);
56
- }
57
- return React$1.Children.count(children) > 1 ? React$1.Children.only(null) : null;
58
- });
59
- SlotClone.displayName = `${ownerName}.SlotClone`;
60
- return SlotClone;
61
- }
62
- var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
63
- function isSlottable(child) {
64
- return React$1.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
65
- }
66
- function mergeProps(slotProps, childProps) {
67
- const overrideProps = { ...childProps };
68
- for (const propName in childProps) {
69
- const slotPropValue = slotProps[propName];
70
- const childPropValue = childProps[propName];
71
- if (/^on[A-Z]/.test(propName)) {
72
- if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
73
- const result = childPropValue(...args);
74
- slotPropValue(...args);
75
- return result;
76
- };
77
- else if (slotPropValue) overrideProps[propName] = slotPropValue;
78
- } else if (propName === "style") overrideProps[propName] = {
79
- ...slotPropValue,
80
- ...childPropValue
81
- };
82
- else if (propName === "className") overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
83
- }
84
- return {
85
- ...slotProps,
86
- ...overrideProps
87
- };
88
- }
89
- function getElementRef(element) {
90
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
91
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
92
- if (mayWarn) return element.ref;
93
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
94
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
95
- if (mayWarn) return element.props.ref;
96
- return element.props.ref || element.ref;
97
- }
98
-
99
- //#endregion
100
- export { Slot };
@@ -1,15 +0,0 @@
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-callback-ref@1.1.1_@types+react@19.2.6_react@19.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
6
- function useCallbackRef(callback) {
7
- const callbackRef = react.useRef(callback);
8
- react.useEffect(() => {
9
- callbackRef.current = callback;
10
- });
11
- return react.useMemo(() => (...args) => callbackRef.current?.(...args), []);
12
- }
13
-
14
- //#endregion
15
- exports.useCallbackRef = useCallbackRef;
@@ -1,13 +0,0 @@
1
- import * as React$1 from "react";
2
-
3
- //#region ../../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.mjs
4
- function useCallbackRef(callback) {
5
- const callbackRef = React$1.useRef(callback);
6
- React$1.useEffect(() => {
7
- callbackRef.current = callback;
8
- });
9
- return React$1.useMemo(() => (...args) => callbackRef.current?.(...args), []);
10
- }
11
-
12
- //#endregion
13
- export { useCallbackRef };