@unicom-cloud/ui-common 0.1.13 → 0.1.15

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 (383) hide show
  1. package/Development.js +1 -1
  2. package/Empty.js +1 -1
  3. package/Flex.js +1 -1
  4. package/Motion.js +1 -1
  5. package/Progress.js +1 -1
  6. package/ResizeObserver.js +1 -1
  7. package/Space.js +1 -1
  8. package/SuspenseFallbackTest.js +1 -1
  9. package/Timer.js +1 -1
  10. package/TransitionGroup.js +1 -1
  11. package/development/index.js +1 -1
  12. package/empty/index.js +1 -1
  13. package/flex/index.js +1 -1
  14. package/flex/utils.js +14 -13
  15. package/higher-order/index.js +1 -1
  16. package/higher-order/with-speech-synthesis/index.js +1 -1
  17. package/higher-order/withSpeechSynthesis.js +1 -1
  18. package/hooks/create-deep-compare-effect/index.js +1 -1
  19. package/hooks/create-update-effect/index.js +1 -1
  20. package/hooks/create-use-storage-state/index.js +1 -1
  21. package/hooks/createDeepCompareEffect.js +1 -1
  22. package/hooks/createUpdateEffect.js +1 -1
  23. package/hooks/createUseStorageState.js +1 -1
  24. package/hooks/index.js +1 -1
  25. package/hooks/use-async-effect/index.js +1 -1
  26. package/hooks/use-boolean/index.js +1 -1
  27. package/hooks/use-click-away/index.js +1 -1
  28. package/hooks/use-computed-state/index.js +1 -1
  29. package/hooks/use-controllable-value/index.js +1 -1
  30. package/hooks/use-cookie-state/index.js +1 -1
  31. package/hooks/use-count-down/index.js +1 -1
  32. package/hooks/use-counter/index.js +1 -1
  33. package/hooks/use-create/index.js +1 -1
  34. package/hooks/use-creation/index.js +1 -1
  35. package/hooks/use-debounce/index.js +1 -1
  36. package/hooks/use-debounce-effect/index.js +1 -1
  37. package/hooks/use-debounce-fn/index.js +1 -1
  38. package/hooks/use-deep-compare-effect/index.js +1 -1
  39. package/hooks/use-deep-compare-layout-effect/index.js +1 -1
  40. package/hooks/use-document-visibility/index.js +1 -1
  41. package/hooks/use-drag/index.js +1 -1
  42. package/hooks/use-drop/index.js +1 -1
  43. package/hooks/use-event/index.js +1 -1
  44. package/hooks/use-event-listener/index.js +1 -1
  45. package/hooks/use-event-target/index.js +1 -1
  46. package/hooks/use-external/index.js +1 -1
  47. package/hooks/use-favicon/index.js +1 -1
  48. package/hooks/use-focus-within/index.js +1 -1
  49. package/hooks/use-force-update/index.js +1 -1
  50. package/hooks/use-fullscreen/index.js +1 -1
  51. package/hooks/use-get-state/index.js +1 -1
  52. package/hooks/use-history-travel/index.js +1 -1
  53. package/hooks/use-hover/index.js +1 -1
  54. package/hooks/use-id/index.js +1 -1
  55. package/hooks/use-in-view/index.js +1 -1
  56. package/hooks/use-in-viewport/index.js +1 -1
  57. package/hooks/use-infinite-scroll/index.js +1 -1
  58. package/hooks/use-intersection-observer/index.js +1 -1
  59. package/hooks/use-intersection-observers/index.js +1 -1
  60. package/hooks/use-interval/index.js +1 -1
  61. package/hooks/use-is-first-render/index.js +1 -1
  62. package/hooks/use-isomorphic-layout-effect/index.js +1 -1
  63. package/hooks/use-key-press/index.js +1 -1
  64. package/hooks/use-keyboard-event/index.js +1 -1
  65. package/hooks/use-latest/index.js +1 -1
  66. package/hooks/use-listen-window-resize/index.js +1 -1
  67. package/hooks/use-local-storage-state/index.js +1 -1
  68. package/hooks/use-lock-fn/index.js +1 -1
  69. package/hooks/use-long-press/index.js +1 -1
  70. package/hooks/use-map/index.js +1 -1
  71. package/hooks/use-media/index.js +1 -1
  72. package/hooks/use-memo/index.js +1 -1
  73. package/hooks/use-memoized-fn/index.js +4 -4
  74. package/hooks/use-merge-props/index.js +1 -1
  75. package/hooks/use-merge-value/index.js +13 -13
  76. package/hooks/use-mobile/index.js +1 -1
  77. package/hooks/use-mount/index.js +1 -1
  78. package/hooks/use-mouse/index.js +1 -1
  79. package/hooks/use-move/index.js +1 -1
  80. package/hooks/use-mutation-observer/index.js +1 -1
  81. package/hooks/use-mutation-observers/index.js +5 -4
  82. package/hooks/use-network/index.js +1 -1
  83. package/hooks/use-online-status/index.js +1 -1
  84. package/hooks/use-overflow-hidden/index.js +1 -1
  85. package/hooks/use-override-ref/index.js +1 -1
  86. package/hooks/use-pagination/index.js +1 -1
  87. package/hooks/use-paste-image/index.js +1 -1
  88. package/hooks/use-persist-callback/index.js +1 -1
  89. package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
  90. package/hooks/use-previous/index.js +1 -1
  91. package/hooks/use-raf-interval/index.js +1 -1
  92. package/hooks/use-raf-state/index.js +1 -1
  93. package/hooks/use-raf-timeout/index.js +1 -1
  94. package/hooks/use-reactive/index.js +1 -1
  95. package/hooks/use-ref-latest/index.js +1 -1
  96. package/hooks/use-refs/index.js +1 -1
  97. package/hooks/use-request/index.js +1 -1
  98. package/hooks/use-request/src/Fetch.js +1 -1
  99. package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
  100. package/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
  101. package/hooks/use-request/src/plugins/useDebouncePlugin.js +1 -1
  102. package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
  103. package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
  104. package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
  105. package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
  106. package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
  107. package/hooks/use-request/src/useRequest.js +1 -1
  108. package/hooks/use-request/src/useRequestImplement.js +1 -1
  109. package/hooks/use-request/src/utils/cache.js +1 -1
  110. package/hooks/use-request/src/utils/cachePromise.js +1 -1
  111. package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
  112. package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
  113. package/hooks/use-request/src/utils/isOnline.js +1 -1
  114. package/hooks/use-request/src/utils/limit.js +1 -1
  115. package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
  116. package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
  117. package/hooks/use-reset-state/index.js +1 -1
  118. package/hooks/use-resize-observer/index.js +1 -1
  119. package/hooks/use-resize-observers/index.js +5 -4
  120. package/hooks/use-responsive/index.js +1 -1
  121. package/hooks/use-safe-state/index.js +1 -1
  122. package/hooks/use-scroll/index.js +1 -1
  123. package/hooks/use-selections/index.js +1 -1
  124. package/hooks/use-session-storage-state/index.js +1 -1
  125. package/hooks/use-set/index.js +1 -1
  126. package/hooks/use-set-state/index.js +1 -1
  127. package/hooks/use-size/index.js +1 -1
  128. package/hooks/use-state-callback/index.js +1 -1
  129. package/hooks/use-state-with-promise/index.js +1 -1
  130. package/hooks/use-sync-state/index.js +1 -1
  131. package/hooks/use-text-selection/index.js +1 -1
  132. package/hooks/use-theme/index.js +1 -1
  133. package/hooks/use-throttle/index.js +1 -1
  134. package/hooks/use-throttle-effect/index.js +1 -1
  135. package/hooks/use-throttle-fn/index.js +1 -1
  136. package/hooks/use-timeout/index.js +1 -1
  137. package/hooks/use-title/index.js +1 -1
  138. package/hooks/use-toggle/index.js +1 -1
  139. package/hooks/use-tracked-effect/index.js +1 -1
  140. package/hooks/use-unmount/index.js +1 -1
  141. package/hooks/use-unmounted-ref/index.js +1 -1
  142. package/hooks/use-update/index.js +1 -1
  143. package/hooks/use-update-effect/index.js +1 -1
  144. package/hooks/use-update-layout-effect/index.js +1 -1
  145. package/hooks/use-url-state/index.js +1 -1
  146. package/hooks/use-virtual-list/index.js +1 -1
  147. package/hooks/use-watch/index.js +1 -1
  148. package/hooks/use-web-socket/index.js +1 -1
  149. package/hooks/use-why-did-you-update/index.js +1 -1
  150. package/hooks/use-window-size/index.js +1 -1
  151. package/hooks/useAsyncEffect.js +1 -1
  152. package/hooks/useBoolean.js +1 -1
  153. package/hooks/useClickAway.js +1 -1
  154. package/hooks/useComputedState.js +1 -1
  155. package/hooks/useControllableValue.js +1 -1
  156. package/hooks/useCookieState.js +1 -1
  157. package/hooks/useCountDown.js +1 -1
  158. package/hooks/useCounter.js +1 -1
  159. package/hooks/useCreate.js +1 -1
  160. package/hooks/useCreation.js +1 -1
  161. package/hooks/useDebounce.js +1 -1
  162. package/hooks/useDebounceEffect.js +1 -1
  163. package/hooks/useDebounceFn.js +1 -1
  164. package/hooks/useDeepCompareEffect.js +1 -1
  165. package/hooks/useDeepCompareLayoutEffect.js +1 -1
  166. package/hooks/useDocumentVisibility.js +1 -1
  167. package/hooks/useDrag.js +1 -1
  168. package/hooks/useDrop.js +1 -1
  169. package/hooks/useEvent.js +1 -1
  170. package/hooks/useEventListener.js +1 -1
  171. package/hooks/useEventTarget.js +1 -1
  172. package/hooks/useExternal.js +1 -1
  173. package/hooks/useFavicon.js +1 -1
  174. package/hooks/useFocusWithin.js +1 -1
  175. package/hooks/useForceUpdate.js +1 -1
  176. package/hooks/useFullscreen.js +1 -1
  177. package/hooks/useGetState.js +1 -1
  178. package/hooks/useHistoryTravel.js +1 -1
  179. package/hooks/useHover.js +1 -1
  180. package/hooks/useId.js +1 -1
  181. package/hooks/useInView.js +1 -1
  182. package/hooks/useInViewport.js +1 -1
  183. package/hooks/useInfiniteScroll.js +1 -1
  184. package/hooks/useIntersectionObserver.js +1 -1
  185. package/hooks/useIntersectionObservers.js +1 -1
  186. package/hooks/useInterval.js +1 -1
  187. package/hooks/useIsFirstRender.js +1 -1
  188. package/hooks/useIsomorphicLayoutEffect.js +1 -1
  189. package/hooks/useKeyPress.js +1 -1
  190. package/hooks/useKeyboardEvent.js +1 -1
  191. package/hooks/useLatest.js +1 -1
  192. package/hooks/useListenWindowResize.js +1 -1
  193. package/hooks/useLocalStorageState.js +1 -1
  194. package/hooks/useLockFn.js +1 -1
  195. package/hooks/useLongPress.js +1 -1
  196. package/hooks/useMap.js +1 -1
  197. package/hooks/useMedia.js +1 -1
  198. package/hooks/useMemo.js +1 -1
  199. package/hooks/useMemoizedFn.js +1 -1
  200. package/hooks/useMergeProps.js +1 -1
  201. package/hooks/useMergeValue.js +2 -2
  202. package/hooks/useMobile.js +1 -1
  203. package/hooks/useMount.js +1 -1
  204. package/hooks/useMouse.js +1 -1
  205. package/hooks/useMove.js +1 -1
  206. package/hooks/useMutationObserver.js +1 -1
  207. package/hooks/useMutationObservers.js +5 -4
  208. package/hooks/useNetwork.js +1 -1
  209. package/hooks/useOnlineStatus.js +1 -1
  210. package/hooks/useOverflowHidden.js +1 -1
  211. package/hooks/useOverrideRef.js +1 -1
  212. package/hooks/usePagination.js +1 -1
  213. package/hooks/usePasteImage.js +1 -1
  214. package/hooks/usePersistCallback.js +1 -1
  215. package/hooks/usePrefersColorSchemeDark.js +1 -1
  216. package/hooks/usePrevious.js +1 -1
  217. package/hooks/useRafInterval.js +1 -1
  218. package/hooks/useRafState.js +1 -1
  219. package/hooks/useRafTimeout.js +1 -1
  220. package/hooks/useReactive.js +1 -1
  221. package/hooks/useRefLatest.js +1 -1
  222. package/hooks/useRefs.js +1 -1
  223. package/hooks/useRequest.js +1 -1
  224. package/hooks/useResetState.js +1 -1
  225. package/hooks/useResizeObserver.js +1 -1
  226. package/hooks/useResizeObservers.js +5 -4
  227. package/hooks/useResponsive.js +1 -1
  228. package/hooks/useSafeState.js +1 -1
  229. package/hooks/useScroll.js +1 -1
  230. package/hooks/useSelections.js +1 -1
  231. package/hooks/useSessionStorageState.js +1 -1
  232. package/hooks/useSet.js +1 -1
  233. package/hooks/useSetState.js +1 -1
  234. package/hooks/useSize.js +1 -1
  235. package/hooks/useStateCallback.js +1 -1
  236. package/hooks/useStateWithPromise.js +1 -1
  237. package/hooks/useSyncState.js +1 -1
  238. package/hooks/useTextSelection.js +1 -1
  239. package/hooks/useTheme.js +1 -1
  240. package/hooks/useThrottle.js +1 -1
  241. package/hooks/useThrottleEffect.js +1 -1
  242. package/hooks/useThrottleFn.js +1 -1
  243. package/hooks/useTimeout.js +1 -1
  244. package/hooks/useTitle.js +1 -1
  245. package/hooks/useToggle.js +1 -1
  246. package/hooks/useTrackedEffect.js +1 -1
  247. package/hooks/useUnmount.js +1 -1
  248. package/hooks/useUnmountedRef.js +1 -1
  249. package/hooks/useUpdate.js +1 -1
  250. package/hooks/useUpdateEffect.js +1 -1
  251. package/hooks/useUpdateLayoutEffect.js +1 -1
  252. package/hooks/useUrlState.js +1 -1
  253. package/hooks/useVirtualList.js +1 -1
  254. package/hooks/useWatch.js +1 -1
  255. package/hooks/useWebSocket.js +1 -1
  256. package/hooks/useWhyDidYouUpdate.js +1 -1
  257. package/hooks/useWindowSize.js +1 -1
  258. package/hooks/utils/createEffectWithTarget.js +1 -1
  259. package/hooks/utils/depsAreSame.js +1 -1
  260. package/hooks/utils/depsEqual.js +1 -1
  261. package/hooks/utils/domTarget.js +1 -1
  262. package/hooks/utils/getDocumentOrShadow.js +1 -1
  263. package/hooks/utils/index.js +1 -1
  264. package/hooks/utils/isAppleDevice.js +1 -1
  265. package/hooks/utils/isBrowser.js +1 -1
  266. package/hooks/utils/isDev.js +1 -1
  267. package/hooks/utils/rect.js +1 -1
  268. package/hooks/utils/useDeepCompareWithTarget.js +1 -1
  269. package/hooks/utils/useEffectWithTarget.js +1 -1
  270. package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
  271. package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
  272. package/hooks/utils.js +1 -1
  273. package/icons/file/index.js +1 -1
  274. package/icons/file.js +1 -1
  275. package/index.js +432 -444
  276. package/motion/CSSMotion.js +1 -1
  277. package/motion/CSSMotionList.js +1 -1
  278. package/motion/context.js +1 -1
  279. package/motion/hooks/useDomMotionEvents.js +1 -1
  280. package/motion/hooks/useNextFrame.js +1 -1
  281. package/motion/hooks/useStatus.js +1 -1
  282. package/motion/hooks/useStepQueue.js +1 -1
  283. package/motion/index.js +1 -1
  284. package/motion/interface.js +1 -1
  285. package/motion/util/diff.js +1 -1
  286. package/motion/util/motion.js +1 -1
  287. package/package.json +1 -1
  288. package/progress/index.js +1 -1
  289. package/resize-observer/Collection.js +1 -1
  290. package/resize-observer/SingleObserver.js +1 -1
  291. package/resize-observer/index.js +1 -1
  292. package/resize-observer/observerUtil.js +1 -1
  293. package/space/index.js +1 -1
  294. package/suspense-fallback-test/index.js +1 -1
  295. package/timer/index.js +1 -1
  296. package/transition-group/CSSTransition.js +1 -1
  297. package/transition-group/ChildMapping.js +1 -1
  298. package/transition-group/PqbCSSTransition.js +1 -1
  299. package/transition-group/ReplaceTransition.js +1 -1
  300. package/transition-group/SwitchTransition.js +1 -1
  301. package/transition-group/Transition.js +30 -34
  302. package/transition-group/TransitionGroup.js +1 -1
  303. package/transition-group/TransitionGroupContext.js +1 -1
  304. package/transition-group/index.js +1 -1
  305. package/types/flex/interface.d.ts +1 -1
  306. package/types/hooks/use-cookie-state/index.d.ts +1 -1
  307. package/types/hooks/use-counter/index.d.ts +3 -3
  308. package/types/hooks/use-history-travel/index.d.ts +2 -2
  309. package/types/hooks/use-map/index.d.ts +4 -4
  310. package/types/hooks/use-memoized-fn/index.d.ts +1 -1
  311. package/types/hooks/use-selections/index.d.ts +3 -3
  312. package/types/hooks/use-set/index.d.ts +2 -2
  313. package/types/hooks/use-set-state/index.d.ts +2 -2
  314. package/types/hooks/use-theme/index.d.ts +1 -1
  315. package/types/hooks/use-url-state/index.d.ts +1 -2
  316. package/types/hooks/use-virtual-list/index.d.ts +1 -1
  317. package/types/motion/context.d.ts +1 -1
  318. package/types/resize-observer/Collection.d.ts +1 -1
  319. package/types/transition-group/CSSTransition.d.ts +1 -1
  320. package/types/transition-group/PqbCSSTransition.d.ts +1 -1
  321. package/types/transition-group/ReplaceTransition.d.ts +1 -1
  322. package/types/transition-group/SwitchTransition.d.ts +1 -1
  323. package/types/transition-group/Transition.d.ts +1 -1
  324. package/types/transition-group/TransitionGroup.d.ts +1 -1
  325. package/types/utils/className.d.ts +1 -1
  326. package/types/utils/scrollIntoViewIfNeeded.d.ts +2 -11
  327. package/types/utils/string.d.ts +2 -1
  328. package/utils/callOrReturn.js +1 -1
  329. package/utils/callbackOriginRef.js +1 -1
  330. package/utils/caseName.js +1 -1
  331. package/utils/className.js +4 -3
  332. package/utils/constant.js +1 -1
  333. package/utils/copy.js +1 -1
  334. package/utils/date.js +1 -1
  335. package/utils/dayjs.js +1 -1
  336. package/utils/dom.js +1 -1
  337. package/utils/emitter.js +1 -1
  338. package/utils/fileRead.js +1 -1
  339. package/utils/fileToDataURL.js +1 -1
  340. package/utils/fillNBSP.js +1 -1
  341. package/utils/findRootElement.js +1 -1
  342. package/utils/findScrollParent.js +1 -1
  343. package/utils/getHighlightText.js +15 -17
  344. package/utils/getHotkeyHandler.js +1 -1
  345. package/utils/getStringLength.js +1 -1
  346. package/utils/include.js +1 -1
  347. package/utils/index.js +332 -344
  348. package/utils/intersectionObserver.js +1 -1
  349. package/utils/is.js +1 -1
  350. package/utils/keyboardCode.js +1 -1
  351. package/utils/lodash.js +1 -1
  352. package/utils/math.js +1 -1
  353. package/utils/mergeProps.js +1 -1
  354. package/utils/mergedToString.js +1 -1
  355. package/utils/mutationObserver.js +1 -1
  356. package/utils/omit.js +1 -1
  357. package/utils/pad.js +1 -1
  358. package/utils/pick.js +1 -1
  359. package/utils/pinyin.js +1 -1
  360. package/utils/react19Adapter.js +1 -1
  361. package/utils/ref.js +1 -1
  362. package/utils/resizeObserver.js +1 -1
  363. package/utils/saveAs.js +1 -1
  364. package/utils/screenfull.js +1 -1
  365. package/utils/scrollIntoViewIfNeeded.js +5 -72
  366. package/utils/setCreateRoot.js +1 -1
  367. package/utils/setDarkTheme.js +1 -1
  368. package/utils/setDir.js +1 -1
  369. package/utils/setPrimaryColor.js +1 -1
  370. package/utils/setTheme.js +1 -1
  371. package/utils/string.js +3 -1
  372. package/utils/style.js +1 -1
  373. package/utils/throttleByRaf.js +1 -1
  374. package/utils/throttleByRaf2.js +1 -1
  375. package/utils/tinycolor.js +1 -1
  376. package/utils/toArray.js +1 -1
  377. package/utils/tree.js +1 -1
  378. package/utils/tween.js +1 -1
  379. package/utils/uuid.js +1 -1
  380. package/utils/validate.js +1 -1
  381. package/utils/warning.js +1 -1
  382. package/types/utils/compute.d.ts +0 -100
  383. package/utils/compute.js +0 -142
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import o, { useRef as _ } from "react";
3
3
  import h from "@unicom-cloud/utils/class-name";
4
4
  import { findRootElement as L } from "../utils/findRootElement.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as f } from "react/jsx-runtime";
3
3
  import l, { createElement as A } from "react";
4
4
  import h from "./CSSMotion.js";
package/motion/context.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as r } from "react/jsx-runtime";
3
3
  import e from "react";
4
4
  const n = e.createContext({});
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import f, { useRef as s } from "react";
3
3
  import { transitionEndName as c, animationEndName as u } from "../util/motion.js";
4
4
  function a(e) {
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import a from "react";
3
3
  function f() {
4
4
  const e = a.useRef(null);
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import Q, { useRef as d, useEffect as x } from "react";
3
3
  import st from "../../hooks/use-event/index.js";
4
4
  import ct from "../../hooks/use-isomorphic-layout-effect/index.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import l from "react";
3
3
  import x from "../../hooks/use-isomorphic-layout-effect/index.js";
4
4
  import A from "../../hooks/use-safe-state/index.js";
package/motion/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import t from "./CSSMotion.js";
3
3
  import { default as a } from "./CSSMotionList.js";
4
4
  import { default as i } from "./context.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  const T = "none", E = "appear", n = "enter", t = "leave", S = "none", e = "prepare", o = "start", A = "active", P = "end", c = "prepared";
3
3
  export {
4
4
  E as STATUS_APPEAR,
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import "../../utils/is.js";
3
3
  import { isObjectLike as d } from "@unicom-cloud/utils/is";
4
4
  const l = "add", p = "keep", E = "remove", K = "removed";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import d from "@unicom-cloud/utils/dom-helpers/canUseDOM";
3
3
  import "@unicom-cloud/utils/dom-helpers/getElementCoordinates";
4
4
  import "@unicom-cloud/utils/dom-helpers/reflow";
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@unicom-cloud/ui-common","version":"0.1.13","dependencies":{"@unicom-cloud/utils":"^0.1.0","@unicom-cloud/icons":"^0.1.0"},"peerDependencies":{"dayjs":"^1.11.19","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1","react-is":"^18.3.1"},"type":"module","types":"types/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
1
+ {"name":"@unicom-cloud/ui-common","version":"0.1.15","dependencies":{"@unicom-cloud/utils":"^0.1.0","@unicom-cloud/icons":"^0.1.0"},"peerDependencies":{"dayjs":"^1.11.19","lodash":"^4.17.21","react":"^18.3.1","react-dom":"^18.3.1","react-is":"^18.3.1"},"type":"module","types":"types/index.d.ts","main":"./index.js","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
package/progress/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { UI_COMMON_PREFIX as a } from "@unicom-cloud/utils/constant/ui";
3
3
  import "../utils/is.js";
4
4
  import { isNumber as u } from "@unicom-cloud/utils/is";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as R } from "react/jsx-runtime";
3
3
  import e from "react";
4
4
  const i = e.createContext(null);
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import e from "react";
3
3
  import { findRootElement as I } from "../utils/findRootElement.js";
4
4
  import "../utils/is.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import f, { createElement as m } from "react";
3
3
  import "../utils/is.js";
4
4
  import { toArray as a } from "../utils/toArray.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  const s = /* @__PURE__ */ new Map();
3
3
  function f(e) {
4
4
  e.forEach((r) => {
package/space/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as o, jsxs as k } from "react/jsx-runtime";
3
3
  import { UI_COMMON_PREFIX as H } from "@unicom-cloud/utils/constant/ui";
4
4
  import { forwardRef as g, useRef as O, useImperativeHandle as _, Fragment as A } from "react";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import e from "react";
4
4
  const a = (n, r) => {
package/timer/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as d } from "react/jsx-runtime";
3
3
  import { UI_COMMON_PREFIX as p } from "@unicom-cloud/utils/constant/ui";
4
4
  import w from "dayjs";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as m } from "react/jsx-runtime";
3
3
  import d from "react";
4
4
  import "@unicom-cloud/utils/dom-helpers/canUseDOM";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { isValidElement as a, cloneElement as g, Children as p } from "react";
3
3
  function h(e, t) {
4
4
  const l = (n) => t && a(n) ? t(n) : n, c = /* @__PURE__ */ Object.create(null);
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as E } from "react/jsx-runtime";
3
3
  import { useRef as m, useMemo as s, isValidElement as d, cloneElement as a } from "react";
4
4
  import { callbackOriginRef as p } from "../utils/callbackOriginRef.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as l } from "react/jsx-runtime";
3
3
  import i from "react";
4
4
  import { findRootElement as s } from "../utils/findRootElement.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as d } from "react/jsx-runtime";
3
3
  import r from "react";
4
4
  import { ENTERED as a, ENTERING as s, EXITING as E } from "./Transition.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as S } from "react/jsx-runtime";
3
3
  import h from "react";
4
4
  import { NOOP as a } from "../utils/constant.js";
@@ -8,9 +8,9 @@ import T from "@unicom-cloud/utils/dom-helpers/reflow";
8
8
  import "../utils/is.js";
9
9
  import { findRootElement as x } from "../utils/findRootElement.js";
10
10
  import d from "./TransitionGroupContext.js";
11
- import { isFunction as b } from "@unicom-cloud/utils/is";
12
- const E = "unmounted", o = "exited", r = "entering", l = "entered", m = "exiting";
13
- class p extends h.Component {
11
+ import { isFunction as g } from "@unicom-cloud/utils/is";
12
+ const p = "unmounted", o = "exited", r = "entering", l = "entered", m = "exiting";
13
+ class u extends h.Component {
14
14
  static {
15
15
  this.contextType = d;
16
16
  }
@@ -18,13 +18,13 @@ class p extends h.Component {
18
18
  super(t, e);
19
19
  const n = e, s = n && !n.isMounting ? t.enter : t.appear;
20
20
  let i;
21
- this.appearStatus = null, t.in ? s ? (i = o, this.appearStatus = r) : i = l : t.unmountOnExit || t.mountOnEnter ? i = E : i = o, this.state = { status: i }, this.nextCallback = null;
21
+ this.appearStatus = null, t.in ? s ? (i = o, this.appearStatus = r) : i = l : t.unmountOnExit || t.mountOnEnter ? i = p : i = o, this.state = { status: i }, this.nextCallback = null;
22
22
  }
23
23
  getElement() {
24
24
  return x(this.props.refElement) || x(this);
25
25
  }
26
26
  static getDerivedStateFromProps({ in: t }, e) {
27
- return t && e.status === E ? { status: o } : null;
27
+ return t && e.status === p ? { status: o } : null;
28
28
  }
29
29
  // getSnapshotBeforeUpdate(prevProps) {
30
30
  // let nextStatus = null
@@ -71,10 +71,10 @@ class p extends h.Component {
71
71
  this.performEnter(t);
72
72
  } else
73
73
  this.performExit();
74
- else this.props.unmountOnExit && this.state.status === o && this.setState({ status: E });
74
+ else this.props.unmountOnExit && this.state.status === o && this.setState({ status: p });
75
75
  }
76
76
  performEnter(t) {
77
- const { enter: e } = this.props, n = this.context ? this.context.isMounting : t, [s, i] = [this.getElement(), n], u = this.getTimeouts(), c = n ? u.appear : u.enter;
77
+ const { enter: e } = this.props, n = this.context ? this.context.isMounting : t, [s, i] = [this.getElement(), n], E = this.getTimeouts(), c = n ? E.appear : E.enter;
78
78
  if (!t && !e) {
79
79
  this.safeSetState({ status: l }, () => {
80
80
  this.props.onEntered(s);
@@ -121,20 +121,16 @@ class p extends h.Component {
121
121
  }
122
122
  onTransitionEnd(t, e) {
123
123
  this.setNextCallback(e);
124
- const n = this.getElement(), s = t == null && !this.props.addEndListener;
125
- if (!n || s) {
124
+ const n = this.getElement(), s = this.props.addEndListener, i = t == null && !s;
125
+ if (!n || i) {
126
126
  setTimeout(this.nextCallback, 0);
127
127
  return;
128
128
  }
129
- if (this.props.addEndListener) {
130
- const [i, u] = [n, this.nextCallback];
131
- this.props.addEndListener(i, u);
132
- }
133
- t != null && setTimeout(this.nextCallback, t);
129
+ s && s(n, this.nextCallback), t != null && setTimeout(this.nextCallback, t);
134
130
  }
135
131
  render() {
136
132
  const t = this.state.status;
137
- if (t === E)
133
+ if (t === p)
138
134
  return null;
139
135
  const {
140
136
  children: e,
@@ -142,27 +138,27 @@ class p extends h.Component {
142
138
  in: n,
143
139
  mountOnEnter: s,
144
140
  unmountOnExit: i,
145
- appear: u,
141
+ appear: E,
146
142
  enter: c,
147
- exit: C,
148
- timeout: N,
149
- addEndListener: k,
150
- onEnter: O,
143
+ exit: N,
144
+ timeout: b,
145
+ addEndListener: O,
146
+ onEnter: k,
151
147
  onEntering: _,
152
148
  onEntered: D,
153
- onExit: y,
154
- onExiting: I,
155
- onExited: v,
156
- refElement: R,
149
+ onExit: I,
150
+ onExiting: v,
151
+ onExited: R,
152
+ refElement: y,
157
153
  ...f
158
154
  } = this.props;
159
155
  return (
160
156
  // allows for nested Transitions
161
- /* @__PURE__ */ S(d.Provider, { value: null, children: b(e) ? e(t, f) : h.cloneElement(h.Children.only(e), f) })
157
+ /* @__PURE__ */ S(d.Provider, { value: null, children: g(e) ? e(t, f) : h.cloneElement(h.Children.only(e), f) })
162
158
  );
163
159
  }
164
160
  }
165
- p.defaultProps = {
161
+ u.defaultProps = {
166
162
  in: !1,
167
163
  mountOnEnter: !1,
168
164
  unmountOnExit: !1,
@@ -177,16 +173,16 @@ p.defaultProps = {
177
173
  onExiting: a,
178
174
  onExited: a
179
175
  };
180
- p.UNMOUNTED = E;
181
- p.EXITED = o;
182
- p.ENTERING = r;
183
- p.ENTERED = l;
184
- p.EXITING = m;
176
+ u.UNMOUNTED = p;
177
+ u.EXITED = o;
178
+ u.ENTERING = r;
179
+ u.ENTERED = l;
180
+ u.EXITING = m;
185
181
  export {
186
182
  l as ENTERED,
187
183
  r as ENTERING,
188
184
  o as EXITED,
189
185
  m as EXITING,
190
- E as UNMOUNTED,
191
- p as default
186
+ p as UNMOUNTED,
187
+ u as default
192
188
  };
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import p from "react";
4
4
  import { getInitialChildMapping as a, getNextChildMapping as l, getChildMapping as c } from "./ChildMapping.js";
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import t from "react";
3
3
  const e = t.createContext(null);
4
4
  export {
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import "@unicom-cloud/utils/dom-helpers/canUseDOM";
3
3
  import "@unicom-cloud/utils/dom-helpers/getElementCoordinates";
4
4
  import { default as e } from "@unicom-cloud/utils/dom-helpers/reflow";
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export type GapProperty = 'gap' | 'rowGap' | 'columnGap';
3
- export type SizeType = 'mini' | 'small' | 'medium' | 'large' | '1x' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | 'x1' | 'x2' | 'x3' | 'x4' | 'x5' | 'x6' | 'x7' | 'x8' | 'x9';
3
+ export type SizeType = 'default' | 'mini' | 'small' | 'medium' | 'large' | '1x' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | 'x1' | 'x2' | 'x3' | 'x4' | 'x5' | 'x6' | 'x7' | 'x8' | 'x9';
4
4
  export type GapType = SizeType | React.CSSProperties['gap'];
5
5
  /**
6
6
  * @title Flex
@@ -3,5 +3,5 @@ export type State = string | undefined;
3
3
  export interface Options extends Cookies.CookieAttributes {
4
4
  defaultValue?: State | (() => State);
5
5
  }
6
- declare function useCookieState(cookieKey: string, options?: Options): readonly [State, (this: unknown, newValue: State | ((prevState: State) => State), newOptions?: Cookies.CookieAttributes | undefined) => void];
6
+ declare function useCookieState(cookieKey: string, options?: Options): readonly [State, (this: unknown, ...args: unknown[]) => unknown];
7
7
  export default useCookieState;
@@ -10,9 +10,9 @@ export interface Actions {
10
10
  }
11
11
  export type ValueParam = number | ((c: number) => number);
12
12
  declare function useCounter(initialValue?: number, options?: Options): readonly [number, {
13
- readonly inc: (this: unknown, delta?: number | undefined) => void;
14
- readonly dec: (this: unknown, delta?: number | undefined) => void;
15
- readonly set: (this: unknown, value: ValueParam) => void;
13
+ readonly inc: (this: unknown, ...args: unknown[]) => unknown;
14
+ readonly dec: (this: unknown, ...args: unknown[]) => unknown;
15
+ readonly set: (this: unknown, ...args: unknown[]) => unknown;
16
16
  readonly reset: (this: unknown) => void;
17
17
  }];
18
18
  export default useCounter;
@@ -2,8 +2,8 @@ export default function useHistoryTravel<T>(initialValue?: T, maxLength?: number
2
2
  value: T | undefined;
3
3
  backLength: number;
4
4
  forwardLength: number;
5
- setValue: (this: unknown, val: T) => void;
6
- go: (this: unknown, step: number) => void;
5
+ setValue: (this: unknown, ...args: unknown[]) => unknown;
6
+ go: (this: unknown, ...args: unknown[]) => unknown;
7
7
  back: (this: unknown) => void;
8
8
  forward: (this: unknown) => void;
9
9
  reset: (this: unknown, ...args: any[]) => void;
@@ -1,8 +1,8 @@
1
1
  declare function useMap<K, T>(initialValue?: Iterable<readonly [K, T]>): readonly [Map<K, T>, {
2
- readonly set: (this: unknown, key: K, entry: T) => void;
3
- readonly setAll: (this: unknown, newMap: Iterable<readonly [K, T]>) => void;
4
- readonly remove: (this: unknown, key: K) => void;
2
+ readonly set: (this: unknown, ...args: unknown[]) => unknown;
3
+ readonly setAll: (this: unknown, ...args: unknown[]) => unknown;
4
+ readonly remove: (this: unknown, ...args: unknown[]) => unknown;
5
5
  readonly reset: (this: unknown) => void;
6
- readonly get: (this: unknown, key: K) => T | undefined;
6
+ readonly get: (this: unknown, ...args: unknown[]) => unknown;
7
7
  }];
8
8
  export default useMap;
@@ -1,4 +1,4 @@
1
- type noop = (this: any, ...args: any[]) => any;
1
+ type noop = (this: unknown, ...args: unknown[]) => unknown;
2
2
  type PickFunction<T extends noop> = (this: ThisParameterType<T>, ...args: Parameters<T>) => ReturnType<T>;
3
3
  declare const useMemoizedFn: <T extends noop>(fn: T) => PickFunction<T>;
4
4
  export default useMemoizedFn;
@@ -10,9 +10,9 @@ declare function useSelections<T>(items: T[], options?: T[] | Options<T>): {
10
10
  readonly partiallySelected: boolean;
11
11
  readonly setSelected: React.Dispatch<React.SetStateAction<T[]>>;
12
12
  readonly isSelected: (item: T) => boolean;
13
- readonly select: (this: unknown, item: T) => void;
14
- readonly unSelect: (this: unknown, item: T) => void;
15
- readonly toggle: (this: unknown, item: T) => void;
13
+ readonly select: (this: unknown, ...args: unknown[]) => unknown;
14
+ readonly unSelect: (this: unknown, ...args: unknown[]) => unknown;
15
+ readonly toggle: (this: unknown, ...args: unknown[]) => unknown;
16
16
  readonly selectAll: (this: unknown) => void;
17
17
  readonly unSelectAll: (this: unknown) => void;
18
18
  readonly clearAll: (this: unknown) => void;
@@ -1,6 +1,6 @@
1
1
  declare function useSet<K>(initialValue?: Iterable<K>): readonly [Set<K>, {
2
- readonly add: (this: unknown, key: K) => void;
3
- readonly remove: (this: unknown, key: K) => void;
2
+ readonly add: (this: unknown, ...args: unknown[]) => unknown;
3
+ readonly remove: (this: unknown, ...args: unknown[]) => unknown;
4
4
  readonly reset: (this: unknown) => void;
5
5
  }];
6
6
  export default useSet;
@@ -1,3 +1,3 @@
1
- export type SetState<S extends Record<string, any>> = <K extends keyof S>(state: Pick<S, K> | null | ((prevState: Readonly<S>) => Pick<S, K> | S | null)) => void;
2
- declare const useSetState: <S extends Record<string, any>>(initialState: S | (() => S)) => [S, SetState<S>];
1
+ export type SetState<S extends Record<string, unknown>> = <K extends keyof S>(state: Pick<S, K> | null | ((prevState: Readonly<S>) => Pick<S, K> | S | null)) => void;
2
+ declare const useSetState: <S extends Record<string, unknown>>(initialState: S | (() => S)) => [S, SetState<S>];
3
3
  export default useSetState;
@@ -11,6 +11,6 @@ type Options = {
11
11
  export default function useTheme(options?: Options): {
12
12
  theme: ThemeType;
13
13
  themeMode: "light" | "dark" | "system";
14
- setThemeMode: (this: unknown, mode: "light" | "dark" | "system") => void;
14
+ setThemeMode: (this: unknown, ...args: unknown[]) => unknown;
15
15
  };
16
16
  export {};
@@ -1,10 +1,9 @@
1
1
  import type { ParseOptions, StringifyOptions } from '@unicom-cloud/utils/query-string';
2
- import React from 'react';
3
2
  export interface Options {
4
3
  navigateMode?: 'push' | 'replace';
5
4
  parseOptions?: ParseOptions;
6
5
  stringifyOptions?: StringifyOptions;
7
6
  }
8
7
  type UrlState = Record<string, any>;
9
- declare const useUrlState: <S extends UrlState = UrlState>(baseState?: S | (() => S), options?: Options) => readonly [Partial<{ [key in keyof S]: Required<S>[key] extends any[] ? string[] : string; }>, (this: unknown, s: React.SetStateAction<Partial<{ [key in keyof S]: Required<S>[key] extends any[] ? string[] : string; }>>) => void];
8
+ declare const useUrlState: <S extends UrlState = UrlState>(baseState?: S | (() => S), options?: Options) => readonly [Partial<{ [key in keyof S]: Required<S>[key] extends any[] ? string[] : string; }>, (this: unknown, ...args: unknown[]) => unknown];
10
9
  export default useUrlState;
@@ -9,5 +9,5 @@ export interface Options<T> {
9
9
  declare const useVirtualList: <T = any>(list: T[], options: Options<T>) => readonly [{
10
10
  index: number;
11
11
  data: T;
12
- }[], (this: unknown, index: number) => void];
12
+ }[], (this: unknown, ...args: unknown[]) => unknown];
13
13
  export default useVirtualList;
@@ -5,5 +5,5 @@ interface MotionContextProps {
5
5
  export declare const Context: React.Context<MotionContextProps>;
6
6
  export default function MotionProvider({ children, ...props }: MotionContextProps & {
7
7
  children?: React.ReactNode;
8
- }): React.JSX.Element;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -5,5 +5,5 @@ export declare const CollectionContext: React.Context<onCollectionResize>;
5
5
  /**
6
6
  * Collect all the resize event from children ResizeObserver
7
7
  */
8
- export declare function Collection({ children, onBatchResize }: CollectionProps): React.JSX.Element;
8
+ export declare function Collection({ children, onBatchResize }: CollectionProps): import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -92,6 +92,6 @@ declare class CSSTransition extends React.Component {
92
92
  };
93
93
  addClass(element: any, type: any, phase: any): void;
94
94
  removeClasses(element: any, type: any): void;
95
- render(): React.JSX.Element;
95
+ render(): import("react/jsx-runtime").JSX.Element;
96
96
  }
97
97
  export default CSSTransition;
@@ -1,4 +1,4 @@
1
1
  import CSSTransition from './CSSTransition';
2
- declare function PqbCSSTransition(props: CSSTransition): import("react").JSX.Element;
2
+ declare function PqbCSSTransition(props: CSSTransition): import("react/jsx-runtime").JSX.Element;
3
3
  export { PqbCSSTransition };
4
4
  export default PqbCSSTransition;
@@ -18,6 +18,6 @@ declare class ReplaceTransition extends React.Component {
18
18
  handleExiting: (...args: any[]) => void;
19
19
  handleExited: (...args: any[]) => void;
20
20
  handleLifecycle(handler: any, idx: any, originalArgs: any): void;
21
- render(): React.JSX.Element;
21
+ render(): import("react/jsx-runtime").JSX.Element;
22
22
  }
23
23
  export default ReplaceTransition;
@@ -83,6 +83,6 @@ declare class SwitchTransition extends React.Component {
83
83
  status?: undefined;
84
84
  };
85
85
  changeState: (status: any, current?: null) => void;
86
- render(): React.JSX.Element;
86
+ render(): import("react/jsx-runtime").JSX.Element;
87
87
  }
88
88
  export default SwitchTransition;
@@ -125,6 +125,6 @@ declare class Transition extends React.Component {
125
125
  safeSetState(nextState: any, callback: any): void;
126
126
  setNextCallback(callback: any): any;
127
127
  onTransitionEnd(timeout: any, handler: any): void;
128
- render(): React.JSX.Element | null;
128
+ render(): import("react/jsx-runtime").JSX.Element | null;
129
129
  }
130
130
  export default Transition;
@@ -26,6 +26,6 @@ declare class TransitionGroup extends React.Component {
26
26
  firstRender: boolean;
27
27
  };
28
28
  handleExited(child: any, element: any): void;
29
- render(): React.JSX.Element;
29
+ render(): import("react/jsx-runtime").JSX.Element;
30
30
  }
31
31
  export default TransitionGroup;
@@ -1 +1 @@
1
- export { default as className, default } from '@unicom-cloud/utils/class-name';
1
+ export { default as className, default as cs, default, } from '@unicom-cloud/utils/class-name';
@@ -1,12 +1,3 @@
1
- import type { CustomBehaviorOptions, Options, StandardBehaviorOptions } from './compute';
2
- import compute, { alignNearest, canOverflow, getFrameElement, getParentElement, getScrollMargins, isHiddenByFrame, isScrollable } from './compute';
3
- declare const isStandardScrollBehavior: (options: unknown) => options is StandardBehaviorOptions;
4
- declare const isCustomScrollBehavior: <T = unknown>(options: unknown) => options is CustomBehaviorOptions<T>;
5
- declare const getOptions: (options: unknown) => StandardBehaviorOptions;
6
- declare const isInDocument: (element: Node) => boolean;
7
- declare function scrollIntoView<T = unknown>(target: Element, options?: StandardBehaviorOptions | CustomBehaviorOptions<T> | boolean): T | void;
8
- declare function scrollIntoViewNative(target: Element, options?: boolean | ScrollIntoViewOptions): void;
9
- declare function scrollIntoViewIfNeeded(node: HTMLElement, options?: Options): void;
10
- export { alignNearest, canOverflow, compute, getFrameElement, getOptions, getParentElement, getScrollMargins, isCustomScrollBehavior, isHiddenByFrame, isInDocument, isScrollable, isStandardScrollBehavior, scrollIntoView, scrollIntoViewIfNeeded, scrollIntoViewNative, };
1
+ declare function scrollIntoViewIfNeeded(node: HTMLElement, options?: boolean | ScrollIntoViewOptions): void;
2
+ export { scrollIntoViewIfNeeded };
11
3
  export default scrollIntoViewIfNeeded;
12
- export type { BaseOptions, CustomBehaviorOptions, CustomScrollAction, CustomScrollBehaviorCallback, CustomScrollBoundary, CustomScrollBoundaryCallback, Options, ScrollAction, ScrollBehavior, ScrollLogicalPosition, ScrollMode, SkipOverflowHiddenElements, SmoothBehaviorOptions, SmoothScrollExtensions, StandardBehaviorOptions, } from './compute';
@@ -1,2 +1,3 @@
1
+ import { HYPHEN } from '@unicom-cloud/utils/constant/string';
1
2
  declare function replaceEmptyWithHyphen(params: any): any;
2
- export { replaceEmptyWithHyphen };
3
+ export { HYPHEN, replaceEmptyWithHyphen };
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { callOrReturn as a, callOrReturn as e } from "@unicom-cloud/utils/function";
3
3
  export {
4
4
  a as callOrReturn,
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { getReactElementRef as r, fillRef as l } from "./ref.js";
3
3
  function n(e, t) {
4
4
  if (!e) return;
package/utils/caseName.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import { default as f, default as t } from "@unicom-cloud/utils/case-name";
3
3
  export {
4
4
  f as caseName,
@@ -1,6 +1,7 @@
1
- /* 2026-01-04 16:21:12 */
2
- import { default as f, default as l } from "@unicom-cloud/utils/class-name";
1
+ /* 2026-01-27 10:43:58 */
2
+ import { default as s, default as f, default as l } from "@unicom-cloud/utils/class-name";
3
3
  export {
4
- f as className,
4
+ s as className,
5
+ f as cs,
5
6
  l as default
6
7
  };
package/utils/constant.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import o from "lodash/noop";
3
3
  import { UI_PC_KEY as m, UI_PC_THEME_DARK_CLASS_NAME as r } from "@unicom-cloud/utils/constant/ui";
4
4
  const _ = window.document.documentElement, t = o;
package/utils/copy.js CHANGED
@@ -1,4 +1,4 @@
1
- /* 2026-01-04 16:21:12 */
1
+ /* 2026-01-27 10:43:58 */
2
2
  import "@unicom-cloud/utils/clipboard-copy";
3
3
  import { default as r, default as t, default as d } from "@unicom-cloud/utils/clipboard-copy";
4
4
  export {