@unicom-cloud/ui-common 0.1.27 → 0.1.29
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.
- package/.virtual/_rolldown/runtime.js +1 -1
- package/.vite/manifest.json +26 -1
- package/border-beam/BorderBeam.js +1 -1
- package/border-beam/Effect.d.ts +2 -2
- package/border-beam/Effect.js +1 -1
- package/border-beam/constants.js +1 -1
- package/border-beam/hooks/useBorderSize.js +1 -1
- package/border-beam/hooks/useChildDom.js +1 -1
- package/border-beam/index.js +1 -1
- package/border-beam/interface.d.ts +2 -3
- package/border-beam/utils.js +1 -1
- package/development/Development.js +1 -1
- package/development/index.js +1 -1
- package/empty/Empty.js +1 -1
- package/empty/index.js +1 -1
- package/empty/interface.d.ts +1 -1
- package/flex/Flex.js +1 -1
- package/flex/index.js +1 -1
- package/flex/interface.d.ts +2 -1
- package/flex/utils.js +1 -1
- package/higher-order/index.js +1 -1
- package/higher-order/with-speech-synthesis/index.js +1 -1
- package/higher-order/with-speech-synthesis/withSpeechSynthesis.js +1 -1
- package/hooks/create-deep-compare-effect/index.js +1 -1
- package/hooks/create-update-effect/index.js +1 -1
- package/hooks/create-use-storage-state/index.js +1 -1
- package/hooks/index.js +1 -1
- package/hooks/use-async-effect/index.js +1 -1
- package/hooks/use-boolean/index.js +1 -1
- package/hooks/use-click-away/index.js +1 -1
- package/hooks/use-computed-state/index.js +1 -1
- package/hooks/use-controllable-value/index.js +1 -1
- package/hooks/use-cookie-state/index.js +1 -1
- package/hooks/use-count-down/index.js +1 -1
- package/hooks/use-counter/index.js +1 -1
- package/hooks/use-create/index.js +1 -1
- package/hooks/use-creation/index.js +1 -1
- package/hooks/use-debounce/index.js +1 -1
- package/hooks/use-debounce-effect/index.js +1 -1
- package/hooks/use-debounce-fn/index.js +1 -1
- package/hooks/use-deep-compare-effect/index.js +1 -1
- package/hooks/use-deep-compare-layout-effect/index.js +1 -1
- package/hooks/use-document-visibility/index.js +1 -1
- package/hooks/use-drag/index.js +1 -1
- package/hooks/use-drop/index.js +1 -1
- package/hooks/use-effect-event/index.js +1 -1
- package/hooks/use-event/index.js +1 -1
- package/hooks/use-event-emitter/index.js +1 -1
- package/hooks/use-event-listener/index.js +1 -1
- package/hooks/use-event-target/index.js +1 -1
- package/hooks/use-external/index.js +1 -1
- package/hooks/use-favicon/index.js +1 -1
- package/hooks/use-focus-within/index.js +1 -1
- package/hooks/use-force-update/index.js +1 -1
- package/hooks/use-fullscreen/index.js +1 -1
- package/hooks/use-get-state/index.js +1 -1
- package/hooks/use-history-travel/index.js +1 -1
- package/hooks/use-hover/index.js +1 -1
- package/hooks/use-id/index.js +1 -1
- package/hooks/use-in-viewport/index.js +1 -1
- package/hooks/use-infinite-scroll/index.js +1 -1
- package/hooks/use-intersection-observer/index.js +1 -1
- package/hooks/use-intersection-observers/index.d.ts +1 -1
- package/hooks/use-intersection-observers/index.js +1 -1
- package/hooks/use-interval/index.js +1 -1
- package/hooks/use-is-first-render/index.js +1 -1
- package/hooks/use-isomorphic-layout-effect/index.js +1 -1
- package/hooks/use-key-press/index.js +1 -1
- package/hooks/use-keyboard-event/index.d.ts +1 -1
- package/hooks/use-keyboard-event/index.js +1 -1
- package/hooks/use-latest/index.js +1 -1
- package/hooks/use-listen-window-resize/index.js +1 -1
- package/hooks/use-local-storage-state/index.js +1 -1
- package/hooks/use-lock-fn/index.js +1 -1
- package/hooks/use-long-press/index.js +1 -1
- package/hooks/use-map/index.js +1 -1
- package/hooks/use-media/index.js +1 -1
- package/hooks/use-memo/index.js +1 -1
- package/hooks/use-memoized-fn/index.js +1 -1
- package/hooks/use-merge-props/index.js +1 -1
- package/hooks/use-merge-value/index.js +1 -1
- package/hooks/use-mobile/index.js +1 -1
- package/hooks/use-mount/index.js +1 -1
- package/hooks/use-mouse/index.js +1 -1
- package/hooks/use-move/index.js +4 -4
- package/hooks/use-mutation-observer/index.js +1 -1
- package/hooks/use-mutation-observers/index.d.ts +1 -1
- package/hooks/use-mutation-observers/index.js +1 -1
- package/hooks/use-network/index.js +1 -1
- package/hooks/use-online-status/index.js +1 -1
- package/hooks/use-overflow-hidden/index.js +1 -1
- package/hooks/use-override-ref/index.d.ts +1 -1
- package/hooks/use-override-ref/index.js +1 -1
- package/hooks/use-pagination/index.js +1 -1
- package/hooks/use-paste-image/index.d.ts +1 -1
- package/hooks/use-paste-image/index.js +1 -1
- package/hooks/use-persist-callback/index.js +1 -1
- package/hooks/use-prefers-color-scheme-dark/index.js +1 -1
- package/hooks/use-previous/index.js +1 -1
- package/hooks/use-raf-interval/index.js +1 -1
- package/hooks/use-raf-state/index.js +1 -1
- package/hooks/use-raf-timeout/index.js +1 -1
- package/hooks/use-reactive/index.js +1 -1
- package/hooks/use-ref-latest/index.js +1 -1
- package/hooks/use-refs/index.js +1 -1
- package/hooks/use-request/index.js +1 -1
- package/hooks/use-request/src/Fetch.js +1 -1
- package/hooks/use-request/src/plugins/useAutoRunPlugin.js +1 -1
- package/hooks/use-request/src/plugins/useCachePlugin.js +1 -1
- package/hooks/use-request/src/plugins/useDebouncePlugin.js +1 -1
- package/hooks/use-request/src/plugins/useLoadingDelayPlugin.js +1 -1
- package/hooks/use-request/src/plugins/usePollingPlugin.js +1 -1
- package/hooks/use-request/src/plugins/useRefreshOnWindowFocusPlugin.js +1 -1
- package/hooks/use-request/src/plugins/useRetryPlugin.js +1 -1
- package/hooks/use-request/src/plugins/useThrottlePlugin.js +1 -1
- package/hooks/use-request/src/useRequest.js +1 -1
- package/hooks/use-request/src/useRequestImplement.js +1 -1
- package/hooks/use-request/src/utils/cache.js +1 -1
- package/hooks/use-request/src/utils/cachePromise.js +1 -1
- package/hooks/use-request/src/utils/cacheSubscribe.js +1 -1
- package/hooks/use-request/src/utils/isDocumentVisible.js +1 -1
- package/hooks/use-request/src/utils/isOnline.js +1 -1
- package/hooks/use-request/src/utils/limit.js +1 -1
- package/hooks/use-request/src/utils/subscribeFocus.js +1 -1
- package/hooks/use-request/src/utils/subscribeReVisible.js +1 -1
- package/hooks/use-reset-state/index.js +1 -1
- package/hooks/use-resize-observer/index.js +1 -1
- package/hooks/use-resize-observers/index.d.ts +1 -1
- package/hooks/use-resize-observers/index.js +1 -1
- package/hooks/use-responsive/index.js +1 -1
- package/hooks/use-safe-state/index.js +1 -1
- package/hooks/use-scroll/index.js +1 -1
- package/hooks/use-selections/index.js +1 -1
- package/hooks/use-session-storage-state/index.js +1 -1
- package/hooks/use-set/index.js +1 -1
- package/hooks/use-set-state/index.js +1 -1
- package/hooks/use-size/index.js +1 -1
- package/hooks/use-state-callback/index.js +1 -1
- package/hooks/use-state-with-promise/index.js +1 -1
- package/hooks/use-sync-state/index.js +1 -1
- package/hooks/use-text-selection/index.js +1 -1
- package/hooks/use-theme/index.js +1 -1
- package/hooks/use-throttle/index.js +1 -1
- package/hooks/use-throttle-effect/index.js +1 -1
- package/hooks/use-throttle-fn/index.js +1 -1
- package/hooks/use-timeout/index.js +1 -1
- package/hooks/use-title/index.js +1 -1
- package/hooks/use-toggle/index.js +1 -1
- package/hooks/use-tracked-effect/index.js +1 -1
- package/hooks/use-unmount/index.js +1 -1
- package/hooks/use-unmounted-ref/index.js +1 -1
- package/hooks/use-update/index.js +1 -1
- package/hooks/use-update-effect/index.js +1 -1
- package/hooks/use-update-layout-effect/index.js +1 -1
- package/hooks/use-url-state/index.js +1 -1
- package/hooks/use-virtual-list/index.js +1 -1
- package/hooks/use-watch/index.js +1 -1
- package/hooks/use-web-socket/index.js +1 -1
- package/hooks/use-why-did-you-update/index.js +1 -1
- package/hooks/use-window-size/index.js +1 -1
- package/hooks/utils/createEffectWithTarget.js +1 -1
- package/hooks/utils/depsAreSame.js +1 -1
- package/hooks/utils/depsEqual.js +1 -1
- package/hooks/utils/domTarget.js +1 -1
- package/hooks/utils/getDocumentOrShadow.js +1 -1
- package/hooks/utils/index.js +1 -1
- package/hooks/utils/isAppleDevice.js +1 -1
- package/hooks/utils/isBrowser.js +1 -1
- package/hooks/utils/isDev.js +1 -1
- package/hooks/utils/rect.js +1 -1
- package/hooks/utils/useDeepCompareWithTarget.js +1 -1
- package/hooks/utils/useEffectWithTarget.js +1 -1
- package/hooks/utils/useIsomorphicLayoutEffectWithTarget.js +1 -1
- package/hooks/utils/useLayoutEffectWithTarget.js +1 -1
- package/icons/file/IconFile.js +1 -1
- package/icons/file/index.js +1 -1
- package/icons/file/interface.d.ts +1 -1
- package/index.d.ts +2 -0
- package/index.js +9 -7
- package/package.json +1 -1
- package/progress/Progress.js +1 -1
- package/progress/index.js +1 -1
- package/resize-observer/Collection.js +1 -1
- package/resize-observer/ResizeObserver.js +2 -1
- package/resize-observer/SingleObserver.d.ts +1 -1
- package/resize-observer/SingleObserver.js +1 -1
- package/resize-observer/index.js +1 -1
- package/resize-observer/observerUtil.js +1 -1
- package/space/Space.js +1 -1
- package/space/index.js +1 -1
- package/space/interface.d.ts +1 -1
- package/style/global.less +27 -2
- package/style/keyframes.less +18 -0
- package/style.css +1 -1
- package/suspense-fallback-test/SuspenseFallbackTest.js +1 -1
- package/suspense-fallback-test/index.js +1 -1
- package/test.js +1 -1
- package/timer/Timer.js +1 -1
- package/timer/index.js +1 -1
- package/timer/interface.d.ts +1 -1
- package/transition/Transition.js +1 -1
- package/transition/TransitionCSS.d.ts +1 -3
- package/transition/TransitionCSS.js +33 -33
- package/transition/TransitionGroup.d.ts +1 -1
- package/transition/TransitionGroup.js +1 -1
- package/transition/TransitionStyle.d.ts +2 -2
- package/transition/TransitionStyle.js +28 -28
- package/transition/constants.js +1 -1
- package/transition/context.d.ts +1 -1
- package/transition/context.js +1 -1
- package/transition/index.d.ts +3 -5
- package/transition/index.js +1 -1
- package/transition/interface.d.ts +11 -13
- package/transition/utils.js +1 -1
- package/typewriter/Typewriter.d.ts +3 -0
- package/typewriter/Typewriter.js +54 -0
- package/typewriter/index.d.ts +7 -0
- package/typewriter/index.js +8 -0
- package/typewriter/interface.d.ts +17 -0
- package/utils/callOrReturn.js +1 -1
- package/utils/callbackOriginRef.js +1 -1
- package/utils/caseName.js +1 -1
- package/utils/className.js +1 -1
- package/utils/constant.js +1 -1
- package/utils/copy.js +1 -1
- package/utils/css.js +1 -1
- package/utils/date.js +1 -1
- package/utils/dayjs.js +1 -1
- package/utils/dom.js +1 -1
- package/utils/emitter.js +1 -1
- package/utils/file.js +1 -1
- package/utils/fileRead.js +1 -1
- package/utils/fileToDataURL.js +1 -1
- package/utils/fillNBSP.d.ts +1 -1
- package/utils/fillNBSP.js +1 -1
- package/utils/findRootElement.d.ts +1 -1
- package/utils/findRootElement.js +1 -1
- package/utils/findScrollParent.js +1 -1
- package/utils/getHighlightText.js +1 -1
- package/utils/getHotkeyHandler.js +1 -1
- package/utils/getScrollBarHeight.js +1 -1
- package/utils/getScrollBarSize.js +1 -1
- package/utils/getScrollBarWidth.js +1 -1
- package/utils/getStringLength.js +1 -1
- package/utils/include.js +1 -1
- package/utils/index.js +1 -1
- package/utils/intersectionObserver.js +1 -1
- package/utils/is.js +4 -4
- package/utils/keyboardCode.js +1 -1
- package/utils/lodash.js +1 -1
- package/utils/math.js +1 -1
- package/utils/mergeProps.js +1 -1
- package/utils/mergedToString.js +1 -1
- package/utils/mutationObserver.js +1 -1
- package/utils/names.d.ts +12 -0
- package/utils/names.js +10 -4
- package/utils/object.js +1 -1
- package/utils/omit.js +1 -1
- package/utils/pad.js +1 -1
- package/utils/pick.js +1 -1
- package/utils/pinyin.js +1 -1
- package/utils/react19Adapter.js +1 -1
- package/utils/reactNode.js +1 -1
- package/utils/ref.d.ts +1 -1
- package/utils/ref.js +1 -1
- package/utils/resizeObserver.js +1 -1
- package/utils/saveAs.js +1 -1
- package/utils/screenfull.js +1 -1
- package/utils/scrollIntoViewIfNeeded.js +1 -1
- package/utils/setCreateRoot.d.ts +1 -1
- package/utils/setCreateRoot.js +1 -1
- package/utils/setDarkTheme.js +1 -1
- package/utils/setDir.js +1 -1
- package/utils/setPrimaryColor.js +1 -1
- package/utils/setTheme.js +1 -1
- package/utils/string.js +1 -1
- package/utils/style.js +1 -1
- package/utils/throttleByRequestAnimationFrame.js +1 -1
- package/utils/tinycolor.js +1 -1
- package/utils/toArray.js +1 -1
- package/utils/tree.js +1 -1
- package/utils/tunnel.d.ts +1 -1
- package/utils/tunnel.js +1 -1
- package/utils/tween.js +1 -1
- package/utils/uuid.js +1 -1
- package/utils/validate.d.ts +1 -1
- package/utils/validate.js +1 -1
- package/utils/warning.js +2 -1
- package/version/index.js +6 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { useEffect as e, useRef as t } from "react";
|
|
3
3
|
//#region components/common/hooks/use-tracked-effect/index.ts
|
|
4
4
|
var n = (e, t) => e ? e.map((n, r) => Object.is(e[r], t?.[r]) ? -1 : r).filter((e) => e >= 0) : t ? t.map((e, t) => t) : [], r = (r, i) => {
|
package/hooks/use-watch/index.js
CHANGED
package/hooks/utils/depsEqual.js
CHANGED
package/hooks/utils/domTarget.js
CHANGED
package/hooks/utils/index.js
CHANGED
package/hooks/utils/isBrowser.js
CHANGED
package/hooks/utils/isDev.js
CHANGED
package/hooks/utils/rect.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
//#region components/common/hooks/utils/rect.ts
|
|
3
3
|
function e(e) {
|
|
4
4
|
return e === document || e === document.documentElement || e === document.body ? Math.max(window.pageYOffset, document.documentElement.scrollTop, document.body.scrollTop) : e.scrollTop;
|
package/icons/file/IconFile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import e from "../../utils/className.js";
|
|
3
3
|
import { ICON_FILE_COMPONENT_INFO as t } from "../../utils/names.js";
|
|
4
4
|
import { forwardRef as n, useImperativeHandle as r, useRef as i } from "react";
|
package/icons/file/index.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -19,4 +19,6 @@ export { default as SuspenseFallbackTest } from './suspense-fallback-test';
|
|
|
19
19
|
export type { SuspenseFallbackTestProps } from './suspense-fallback-test/interface';
|
|
20
20
|
export { default as Timer } from './timer';
|
|
21
21
|
export type { TimerProps } from './timer/interface';
|
|
22
|
+
export { default as Typewriter } from './typewriter';
|
|
23
|
+
export type { TypewriterProps } from './typewriter/interface';
|
|
22
24
|
export { VERSION, VERSION_BUILD_DATE, VERSION_BUILD_INFO, VERSION_BUILD_TIME, } from './version';
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { __exportAll as ee, __reExport as te } from "./.virtual/_rolldown/runtime.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import ne from "./hooks/create-update-effect/index.js";
|
|
@@ -184,7 +184,8 @@ import Ps from "./icons/file/index.js";
|
|
|
184
184
|
import Fs from "./progress/index.js";
|
|
185
185
|
import Is from "./suspense-fallback-test/index.js";
|
|
186
186
|
import Ls from "./timer/index.js";
|
|
187
|
-
import
|
|
187
|
+
import Rs from "./typewriter/index.js";
|
|
188
|
+
import { VERSION as zs, VERSION_BUILD_DATE as Bs, VERSION_BUILD_INFO as Vs, VERSION_BUILD_TIME as Hs } from "./version/index.js";
|
|
188
189
|
export * from "@unicom-cloud/utils/is";
|
|
189
190
|
export * from "@unicom-cloud/utils/object";
|
|
190
191
|
export * from "@unicom-cloud/utils/css";
|
|
@@ -251,12 +252,13 @@ te(/* @__PURE__ */ ee({
|
|
|
251
252
|
TransitionStyle: () => ws,
|
|
252
253
|
TransitionStyleContext: () => gs,
|
|
253
254
|
Tween: () => no,
|
|
255
|
+
Typewriter: () => Rs,
|
|
254
256
|
UI_PC_KEY: () => Ar,
|
|
255
257
|
UI_PC_THEME_DARK_CLASS_NAME: () => jr,
|
|
256
|
-
VERSION: () =>
|
|
257
|
-
VERSION_BUILD_DATE: () =>
|
|
258
|
-
VERSION_BUILD_INFO: () =>
|
|
259
|
-
VERSION_BUILD_TIME: () =>
|
|
258
|
+
VERSION: () => zs,
|
|
259
|
+
VERSION_BUILD_DATE: () => Bs,
|
|
260
|
+
VERSION_BUILD_INFO: () => Vs,
|
|
261
|
+
VERSION_BUILD_TIME: () => Hs,
|
|
260
262
|
Validator: () => ao,
|
|
261
263
|
ValidatorArray: () => oo,
|
|
262
264
|
ValidatorBase: () => so,
|
|
@@ -679,5 +681,5 @@ te(/* @__PURE__ */ ee({
|
|
|
679
681
|
zip: () => Vi
|
|
680
682
|
}), xo);
|
|
681
683
|
//#endregion
|
|
682
|
-
export { bo as COMPONENT_NAMES, Tr as CSS_VARIABLE_ELEMENT, Er as DAYJS_DEFAULT_FORMAT, Dr as DAYJS_DEFAULT_FORMAT_WITH_TIME, Ts as Development, aa as Emitter, Ms as Empty, Es as FLEX_GAP_SIZE_MAP, ks as Flex, Os as FlexVertical, Ra as HYPHEN, Ps as IconFile, Or as NOOP, kr as PREFIX_CLASS, io as PqbValidator, Fs as Progress, js as Space, As as SpaceVertical, Is as SuspenseFallbackTest, Io as TRANSITION_ADD_END_LISTENER_KEY, Lo as TRANSITION_ALWAYS_MOUNTED_KEY, Ro as TRANSITION_CSS_CLASS_NAMES_SUFFIX, zo as TRANSITION_DEFAULT_PROPS, Bo as TRANSITION_DURATION_DEFAULT, Vo as TRANSITION_DURATION_KEY, Ho as TRANSITION_EVENT_MAP, Uo as TRANSITION_EVENT_NAME_KEY, Wo as TRANSITION_MOUNT_ON_ENTER_KEY, Go as TRANSITION_NEXT_PHASE_KEY, Ko as TRANSITION_PHASE_APPEAR_ACTIVE, qo as TRANSITION_PHASE_APPEAR_DONE, Jo as TRANSITION_PHASE_APPEAR_KEY, Yo as TRANSITION_PHASE_APPEAR_START, Xo as TRANSITION_PHASE_ENTER_ACTIVE, Zo as TRANSITION_PHASE_ENTER_DONE, Qo as TRANSITION_PHASE_ENTER_KEY, $o as TRANSITION_PHASE_ENTER_START, es as TRANSITION_PHASE_EVENT_ON_ENTER_ACTIVE, ts as TRANSITION_PHASE_EVENT_ON_ENTER_DONE, ns as TRANSITION_PHASE_EVENT_ON_ENTER_START, rs as TRANSITION_PHASE_EVENT_ON_EXIT_ACTIVE, is as TRANSITION_PHASE_EVENT_ON_EXIT_DONE, as as TRANSITION_PHASE_EVENT_ON_EXIT_START, os as TRANSITION_PHASE_EXIT_ACTIVE, ss as TRANSITION_PHASE_EXIT_DONE, cs as TRANSITION_PHASE_EXIT_KEY, ls as TRANSITION_PHASE_EXIT_START, us as TRANSITION_UNMOUNT_ON_EXIT_KEY, Ls as Timer, xs as Transition, Ss as TransitionCSS, ps as TransitionCSS_Context, ms as TransitionContext, Cs as TransitionGroup, hs as TransitionGroupContext, ds as TransitionPhase, fs as TransitionPhaseEvent, ws as TransitionStyle, gs as TransitionStyleContext, no as Tween, Ar as UI_PC_KEY, jr as UI_PC_THEME_DARK_CLASS_NAME, Rs as VERSION, zs as VERSION_BUILD_DATE, Bs as VERSION_BUILD_INFO, Vs as VERSION_BUILD_TIME, ao as Validator, oo as ValidatorArray, so as ValidatorBase, co as ValidatorBoolean, lo as ValidatorCustom, uo as ValidatorNumber, fo as ValidatorObject, po as ValidatorSchema, mo as ValidatorString, ho as ValidatorType, _s as addSuffix, Mr as assign, Nr as assignIn, Pr as at, Xi as callOrReturn, Yi as callbackOriginRef, Fr as camelCase, Nn as canUseDOM, Ir as capitalize, Zi as caseName, Lr as castArray, Rr as chain, zr as chunk, Qi as className, fn as clearCache, R as clipboardCopy, R as copy, Br as clone, Vr as cloneDeep, Hr as cloneDeepWith, Ur as cloneWith, Wr as compact, Tn as composeRef, er as configResponsive, Pn as contains, ea as convertTime, ta as convertToDurationBasedOnTimeUnits, ne as createUpdateEffect, $i as cs, Gr as curry, na as dateFormat, ia as dayjs, ra as dayjsFormat, Kr as debounce, qr as defaultTo, Jr as defaults, Yr as defaultsDeep, Xr as difference, _a as div, ro as easing, Zr as escape, oa as fileRead, sa as fileToDataURL, ca as fillNBSP, En as fillRef, Qr as findKey, Ka as findNodeBy, Mn as findRootElement, Ba as fixedWidth, $r as flattenDeep, Ds as flexProcessGap, ei as flow, Fn as focusAtEnd, I as forceReflow, I as reflow, ti as get, In as getBodyContainer, qa as getChildWithParentBy, Ln as getDOM, Rn as getElementCoordinates, la as getHighlightText, ua as getHotkeyHandler, Ja as getItemBy, Ya as getItemByID, Xa as getLabelFromDictionaryByValue, Dn as getNodeRef, On as getReactElementRef, fa as getScrollBarHeight, da as getScrollBarSize, pa as getScrollBarWidth, zn as getScrollElements, ma as getStringLength, Va as getStyle, ni as groupBy, ri as has, vs as inArrayHandler, ha as include, ii as intersection, ga as intersectionObserver, ai as invert, oi as invertBy, re as is32Bit, z as isActivePhaseHandler, ie as isAllChinese, B as isAppearActivePhaseHandler, V as isAppearDonePhaseHandler, H as isAppearPhaseHandler, U as isAppearStartPhaseHandler, ae as isArguments, oe as isArray, se as isArrayAndNotEmpty, ce as isArrayBuffer, le as isArrayEmpty, ue as isArrayLike, de as isArrayLikeObject, fe as isAscii, pe as isAsyncFunction, me as isBase64, he as isBigInt, ge as isBlob, _e as isBoolean, ve as isBuffer, e as isChinese, t as isColorValue, n as isColorValue_, r as isDOM, i as isDataURI, a as isDate, o as isDayjs, W as isDonePhaseHandler, s as isElement, c as isElementByInstanceof, l as isEmail, u as isEmpty, d as isEmptyArray, f as isEmptyObject, p as isEmptyReactNode, m as isEmptyString, h as isEmptyValue, G as isEnterActivePhaseHandler, K as isEnterDonePhaseHandler, q as isEnterPhaseHandler, J as isEnterStartPhaseHandler, g as isEqual, _ as isEqualWith, v as isError, y as isEventTarget, b as isExist, Y as isExitActivePhaseHandler, X as isExitDonePhaseHandler, Z as isExitPhaseHandler, Q as isExitStartPhaseHandler, x as isFalse, S as isFile, C as isFinite, w as isFullWidth, T as isFunction, E as isHSL, D as isHTMLElement, O as isHalfWidth, k as isHash, A as isHexColor, j as isIMEI, M as isIP, N as isIPRange, P as isIdentityCard, F as isInteger, ye as isJSON, be as isJSON_String, xe as isJWT, Se as isLength, Ce as isMACAddress, we as isMD5, Te as isMap, Ee as isMatch, De as isMatchWith, Oe as isMimeType, ke as isMobilePhone, Ae as isMobilePhoneLocales, je as isNaN, Me as isNative, Ne as isNil, Pe as isNonNullable, Fe as isNotFound, Ie as isNull, Le as isNullOrUndefined, Re as isNumber, ze as isNumberOrString, Be as isObject, Ve as isObjectLike, He as isPlainObject, Ue as isPort, We as isPresent, Ge as isPrimitive, Ke as isPromise, qe as isReact18, Je as isReact19, Ye as isReactClassComponent, Xe as isReactComponent, Ze as isReactComponentAndNotFragment, Qe as isReadableStream, $e as isRegExp, et as isRgbColor, tt as isSVGElement, nt as isSafeInteger, rt as isScrollElement, it as isSemVer, at as isServerRendering, ot as isSet, st as isSlug, ct as isSparseArray, $ as isStartPhaseHandler, lt as isString, ut as isStringAndExist, dt as isStringOrNumber, ft as isStrongPassword, pt as isSymbol, mt as isThenable, ht as isTrue, gt as isTypedArray, _t as isURL, vt as isUUID, yt as isUndefined, bt as isUndefinedOrNull, xt as isVariableWidth, St as isWeakMap, Ct as isWeakSet, wt as isWindow, Tt as isZero, si as kebabCase, yo as keyboardCode, va as math, ci as mean, li as memoize, ui as merge, qi as mergeProps, di as mergeWith, Sa as mergedToString, ya as minus, Ca as mutationObserver, L as noop, Bn as off, fi as omit, pi as omitBy, Vn as on, mi as orderBy, wa as padEnd, Ta as padStart, Hn as parentContainsChildren, hi as partition, gi as pick, _i as pickBy, Ea as pickDataAttributes, vo as pinyin, ba as plus, vi as pullAll, Pa as removeDarkTheme, Ma as render, za as replaceEmptyWithHyphen, Da as resizeObserver, yi as result, bi as sample, xi as sampleSize, Oa as saveAs, ka as screenfull, Aa as scrollIntoViewIfNeeded, Za as searchTree, Si as set, ja as setCreateRoot, Na as setDarkTheme, Fa as setDir, Ia as setPrimaryColor, La as setTheme, Ha as setTransformStyle, Ci as setWith, wi as shuffle, Ti as snakeCase, Ei as sortBy, Di as startCase, kn as supportNodeRef, An as supportRef, Oi as throttle, Ua as throttleByRequestAnimationFrame, xa as times, Wa as tinycolor, Ga as toArray, ki as toPath, ys as transitionFallbackAppearToEnter, z as transitionIsActivePhaseHandler, B as transitionIsAppearActivePhaseHandler, V as transitionIsAppearDonePhaseHandler, H as transitionIsAppearPhaseHandler, U as transitionIsAppearStartPhaseHandler, W as transitionIsDonePhaseHandler, G as transitionIsEnterActivePhaseHandler, K as transitionIsEnterDonePhaseHandler, q as transitionIsEnterPhaseHandler, J as transitionIsEnterStartPhaseHandler, Y as transitionIsExitActivePhaseHandler, X as transitionIsExitDonePhaseHandler, Z as transitionIsExitPhaseHandler, Q as transitionIsExitStartPhaseHandler, $ as transitionIsStartPhaseHandler, bs as transitionNormalizeDurations, Qa as tree, Ai as truncate, to as tunnel, ji as union, Mi as uniq, Ni as uniqueId, Pi as unset, Fi as update, Ii as updateWith, Li as upperCase, Ri as upperFirst, Et as useAsyncEffect, Ot as useBoolean, jt as useClickAway, jn as useComposeRef, Mt as useComputedState, It as useControllableValue, Lt as useCookieState, Rt as useCountDown, zt as useCounter, Bt as useCreate, Vt as useCreation, Ut as useDebounce, Gt as useDebounceEffect, Ht as useDebounceFn, Kt as useDeepCompareEffect, qt as useDeepCompareLayoutEffect, Yt as useDocumentVisibility, Zt as useDrag, Qt as useDrop, Cr as useEffectEvent, $t as useEvent, en as useEventEmitter, Jt as useEventListener, tn as useEventTarget, nn as useExternal, rn as useFavicon, an as useFocusWithin, Un as useForceUpdate, on as useFullscreen, sn as useGetState, cn as useHistoryTravel, ln as useHover, wr as useId, dn as useInViewport, mn as useInfiniteScroll, un as useIntersectionObserver, Hi as useIntersectionObservers, hn as useInterval, Ui as useIsFirstRender, gn as useIsomorphicLayoutEffect, _n as useKeyPress, Wi as useKeyboardEvent, kt as useLatest, Gi as useListenWindowResize, vn as useLocalStorageState, yn as useLockFn, bn as useLongPress, Ki as useMedia, xn as useMemo, Nt as useMemoizedFn, Ji as useMergeProps, Sn as useMobile, Xt as useMount, wn as useMouse, Wn as useMove, Gn as useMutationObserver, So as useMutationObservers, Kn as useNetwork, Co as useOnlineStatus, wo as useOverflowHidden, To as useOverrideRef, qn as usePagination, Eo as usePasteImage, Do as usePersistCallback, Oo as usePrefersColorSchemeDark, Pt as usePrevious, Jn as useRafInterval, Cn as useRafState, Yn as useRafTimeout, Xn as useReactive, Zn as useRefLatest, ko as useRefs, Ao as useRefs2, pn as useRequest, Qn as useResetState, jo as useResizeObserver, Mo as useResizeObservers, $n as useResponsive, nr as useSafeState, rr as useScroll, ir as useSelections, ar as useSessionStorageState, sr as useSetState, cr as useSize, or as useStateCallback, No as useStateWithPromise, lr as useSyncState, ur as useTextSelection, dr as useTheme, pr as useThrottle, mr as useThrottleEffect, fr as useThrottleFn, hr as useTimeout, gr as useTitle, Dt as useToggle, _r as useTrackedEffect, At as useUnmount, tr as useUnmountedRef, Ft as useUpdate, Wt as useUpdateEffect, vr as useUpdateLayoutEffect, yr as useUrlState, br as useVirtualList, Po as useWatch, xr as useWebSocket, Sr as useWhyDidYouUpdate, Fo as useWindowSize, $a as uuid, eo as uuidv4, go as validatorLocale, _o as warning, Ns as withSpeechSynthesis, zi as without, Bi as xor, Vi as zip };
|
|
684
|
+
export { bo as COMPONENT_NAMES, Tr as CSS_VARIABLE_ELEMENT, Er as DAYJS_DEFAULT_FORMAT, Dr as DAYJS_DEFAULT_FORMAT_WITH_TIME, Ts as Development, aa as Emitter, Ms as Empty, Es as FLEX_GAP_SIZE_MAP, ks as Flex, Os as FlexVertical, Ra as HYPHEN, Ps as IconFile, Or as NOOP, kr as PREFIX_CLASS, io as PqbValidator, Fs as Progress, js as Space, As as SpaceVertical, Is as SuspenseFallbackTest, Io as TRANSITION_ADD_END_LISTENER_KEY, Lo as TRANSITION_ALWAYS_MOUNTED_KEY, Ro as TRANSITION_CSS_CLASS_NAMES_SUFFIX, zo as TRANSITION_DEFAULT_PROPS, Bo as TRANSITION_DURATION_DEFAULT, Vo as TRANSITION_DURATION_KEY, Ho as TRANSITION_EVENT_MAP, Uo as TRANSITION_EVENT_NAME_KEY, Wo as TRANSITION_MOUNT_ON_ENTER_KEY, Go as TRANSITION_NEXT_PHASE_KEY, Ko as TRANSITION_PHASE_APPEAR_ACTIVE, qo as TRANSITION_PHASE_APPEAR_DONE, Jo as TRANSITION_PHASE_APPEAR_KEY, Yo as TRANSITION_PHASE_APPEAR_START, Xo as TRANSITION_PHASE_ENTER_ACTIVE, Zo as TRANSITION_PHASE_ENTER_DONE, Qo as TRANSITION_PHASE_ENTER_KEY, $o as TRANSITION_PHASE_ENTER_START, es as TRANSITION_PHASE_EVENT_ON_ENTER_ACTIVE, ts as TRANSITION_PHASE_EVENT_ON_ENTER_DONE, ns as TRANSITION_PHASE_EVENT_ON_ENTER_START, rs as TRANSITION_PHASE_EVENT_ON_EXIT_ACTIVE, is as TRANSITION_PHASE_EVENT_ON_EXIT_DONE, as as TRANSITION_PHASE_EVENT_ON_EXIT_START, os as TRANSITION_PHASE_EXIT_ACTIVE, ss as TRANSITION_PHASE_EXIT_DONE, cs as TRANSITION_PHASE_EXIT_KEY, ls as TRANSITION_PHASE_EXIT_START, us as TRANSITION_UNMOUNT_ON_EXIT_KEY, Ls as Timer, xs as Transition, Ss as TransitionCSS, ps as TransitionCSS_Context, ms as TransitionContext, Cs as TransitionGroup, hs as TransitionGroupContext, ds as TransitionPhase, fs as TransitionPhaseEvent, ws as TransitionStyle, gs as TransitionStyleContext, no as Tween, Rs as Typewriter, Ar as UI_PC_KEY, jr as UI_PC_THEME_DARK_CLASS_NAME, zs as VERSION, Bs as VERSION_BUILD_DATE, Vs as VERSION_BUILD_INFO, Hs as VERSION_BUILD_TIME, ao as Validator, oo as ValidatorArray, so as ValidatorBase, co as ValidatorBoolean, lo as ValidatorCustom, uo as ValidatorNumber, fo as ValidatorObject, po as ValidatorSchema, mo as ValidatorString, ho as ValidatorType, _s as addSuffix, Mr as assign, Nr as assignIn, Pr as at, Xi as callOrReturn, Yi as callbackOriginRef, Fr as camelCase, Nn as canUseDOM, Ir as capitalize, Zi as caseName, Lr as castArray, Rr as chain, zr as chunk, Qi as className, fn as clearCache, R as clipboardCopy, R as copy, Br as clone, Vr as cloneDeep, Hr as cloneDeepWith, Ur as cloneWith, Wr as compact, Tn as composeRef, er as configResponsive, Pn as contains, ea as convertTime, ta as convertToDurationBasedOnTimeUnits, ne as createUpdateEffect, $i as cs, Gr as curry, na as dateFormat, ia as dayjs, ra as dayjsFormat, Kr as debounce, qr as defaultTo, Jr as defaults, Yr as defaultsDeep, Xr as difference, _a as div, ro as easing, Zr as escape, oa as fileRead, sa as fileToDataURL, ca as fillNBSP, En as fillRef, Qr as findKey, Ka as findNodeBy, Mn as findRootElement, Ba as fixedWidth, $r as flattenDeep, Ds as flexProcessGap, ei as flow, Fn as focusAtEnd, I as forceReflow, I as reflow, ti as get, In as getBodyContainer, qa as getChildWithParentBy, Ln as getDOM, Rn as getElementCoordinates, la as getHighlightText, ua as getHotkeyHandler, Ja as getItemBy, Ya as getItemByID, Xa as getLabelFromDictionaryByValue, Dn as getNodeRef, On as getReactElementRef, fa as getScrollBarHeight, da as getScrollBarSize, pa as getScrollBarWidth, zn as getScrollElements, ma as getStringLength, Va as getStyle, ni as groupBy, ri as has, vs as inArrayHandler, ha as include, ii as intersection, ga as intersectionObserver, ai as invert, oi as invertBy, re as is32Bit, z as isActivePhaseHandler, ie as isAllChinese, B as isAppearActivePhaseHandler, V as isAppearDonePhaseHandler, H as isAppearPhaseHandler, U as isAppearStartPhaseHandler, ae as isArguments, oe as isArray, se as isArrayAndNotEmpty, ce as isArrayBuffer, le as isArrayEmpty, ue as isArrayLike, de as isArrayLikeObject, fe as isAscii, pe as isAsyncFunction, me as isBase64, he as isBigInt, ge as isBlob, _e as isBoolean, ve as isBuffer, e as isChinese, t as isColorValue, n as isColorValue_, r as isDOM, i as isDataURI, a as isDate, o as isDayjs, W as isDonePhaseHandler, s as isElement, c as isElementByInstanceof, l as isEmail, u as isEmpty, d as isEmptyArray, f as isEmptyObject, p as isEmptyReactNode, m as isEmptyString, h as isEmptyValue, G as isEnterActivePhaseHandler, K as isEnterDonePhaseHandler, q as isEnterPhaseHandler, J as isEnterStartPhaseHandler, g as isEqual, _ as isEqualWith, v as isError, y as isEventTarget, b as isExist, Y as isExitActivePhaseHandler, X as isExitDonePhaseHandler, Z as isExitPhaseHandler, Q as isExitStartPhaseHandler, x as isFalse, S as isFile, C as isFinite, w as isFullWidth, T as isFunction, E as isHSL, D as isHTMLElement, O as isHalfWidth, k as isHash, A as isHexColor, j as isIMEI, M as isIP, N as isIPRange, P as isIdentityCard, F as isInteger, ye as isJSON, be as isJSON_String, xe as isJWT, Se as isLength, Ce as isMACAddress, we as isMD5, Te as isMap, Ee as isMatch, De as isMatchWith, Oe as isMimeType, ke as isMobilePhone, Ae as isMobilePhoneLocales, je as isNaN, Me as isNative, Ne as isNil, Pe as isNonNullable, Fe as isNotFound, Ie as isNull, Le as isNullOrUndefined, Re as isNumber, ze as isNumberOrString, Be as isObject, Ve as isObjectLike, He as isPlainObject, Ue as isPort, We as isPresent, Ge as isPrimitive, Ke as isPromise, qe as isReact18, Je as isReact19, Ye as isReactClassComponent, Xe as isReactComponent, Ze as isReactComponentAndNotFragment, Qe as isReadableStream, $e as isRegExp, et as isRgbColor, tt as isSVGElement, nt as isSafeInteger, rt as isScrollElement, it as isSemVer, at as isServerRendering, ot as isSet, st as isSlug, ct as isSparseArray, $ as isStartPhaseHandler, lt as isString, ut as isStringAndExist, dt as isStringOrNumber, ft as isStrongPassword, pt as isSymbol, mt as isThenable, ht as isTrue, gt as isTypedArray, _t as isURL, vt as isUUID, yt as isUndefined, bt as isUndefinedOrNull, xt as isVariableWidth, St as isWeakMap, Ct as isWeakSet, wt as isWindow, Tt as isZero, si as kebabCase, yo as keyboardCode, va as math, ci as mean, li as memoize, ui as merge, qi as mergeProps, di as mergeWith, Sa as mergedToString, ya as minus, Ca as mutationObserver, L as noop, Bn as off, fi as omit, pi as omitBy, Vn as on, mi as orderBy, wa as padEnd, Ta as padStart, Hn as parentContainsChildren, hi as partition, gi as pick, _i as pickBy, Ea as pickDataAttributes, vo as pinyin, ba as plus, vi as pullAll, Pa as removeDarkTheme, Ma as render, za as replaceEmptyWithHyphen, Da as resizeObserver, yi as result, bi as sample, xi as sampleSize, Oa as saveAs, ka as screenfull, Aa as scrollIntoViewIfNeeded, Za as searchTree, Si as set, ja as setCreateRoot, Na as setDarkTheme, Fa as setDir, Ia as setPrimaryColor, La as setTheme, Ha as setTransformStyle, Ci as setWith, wi as shuffle, Ti as snakeCase, Ei as sortBy, Di as startCase, kn as supportNodeRef, An as supportRef, Oi as throttle, Ua as throttleByRequestAnimationFrame, xa as times, Wa as tinycolor, Ga as toArray, ki as toPath, ys as transitionFallbackAppearToEnter, z as transitionIsActivePhaseHandler, B as transitionIsAppearActivePhaseHandler, V as transitionIsAppearDonePhaseHandler, H as transitionIsAppearPhaseHandler, U as transitionIsAppearStartPhaseHandler, W as transitionIsDonePhaseHandler, G as transitionIsEnterActivePhaseHandler, K as transitionIsEnterDonePhaseHandler, q as transitionIsEnterPhaseHandler, J as transitionIsEnterStartPhaseHandler, Y as transitionIsExitActivePhaseHandler, X as transitionIsExitDonePhaseHandler, Z as transitionIsExitPhaseHandler, Q as transitionIsExitStartPhaseHandler, $ as transitionIsStartPhaseHandler, bs as transitionNormalizeDurations, Qa as tree, Ai as truncate, to as tunnel, ji as union, Mi as uniq, Ni as uniqueId, Pi as unset, Fi as update, Ii as updateWith, Li as upperCase, Ri as upperFirst, Et as useAsyncEffect, Ot as useBoolean, jt as useClickAway, jn as useComposeRef, Mt as useComputedState, It as useControllableValue, Lt as useCookieState, Rt as useCountDown, zt as useCounter, Bt as useCreate, Vt as useCreation, Ut as useDebounce, Gt as useDebounceEffect, Ht as useDebounceFn, Kt as useDeepCompareEffect, qt as useDeepCompareLayoutEffect, Yt as useDocumentVisibility, Zt as useDrag, Qt as useDrop, Cr as useEffectEvent, $t as useEvent, en as useEventEmitter, Jt as useEventListener, tn as useEventTarget, nn as useExternal, rn as useFavicon, an as useFocusWithin, Un as useForceUpdate, on as useFullscreen, sn as useGetState, cn as useHistoryTravel, ln as useHover, wr as useId, dn as useInViewport, mn as useInfiniteScroll, un as useIntersectionObserver, Hi as useIntersectionObservers, hn as useInterval, Ui as useIsFirstRender, gn as useIsomorphicLayoutEffect, _n as useKeyPress, Wi as useKeyboardEvent, kt as useLatest, Gi as useListenWindowResize, vn as useLocalStorageState, yn as useLockFn, bn as useLongPress, Ki as useMedia, xn as useMemo, Nt as useMemoizedFn, Ji as useMergeProps, Sn as useMobile, Xt as useMount, wn as useMouse, Wn as useMove, Gn as useMutationObserver, So as useMutationObservers, Kn as useNetwork, Co as useOnlineStatus, wo as useOverflowHidden, To as useOverrideRef, qn as usePagination, Eo as usePasteImage, Do as usePersistCallback, Oo as usePrefersColorSchemeDark, Pt as usePrevious, Jn as useRafInterval, Cn as useRafState, Yn as useRafTimeout, Xn as useReactive, Zn as useRefLatest, ko as useRefs, Ao as useRefs2, pn as useRequest, Qn as useResetState, jo as useResizeObserver, Mo as useResizeObservers, $n as useResponsive, nr as useSafeState, rr as useScroll, ir as useSelections, ar as useSessionStorageState, sr as useSetState, cr as useSize, or as useStateCallback, No as useStateWithPromise, lr as useSyncState, ur as useTextSelection, dr as useTheme, pr as useThrottle, mr as useThrottleEffect, fr as useThrottleFn, hr as useTimeout, gr as useTitle, Dt as useToggle, _r as useTrackedEffect, At as useUnmount, tr as useUnmountedRef, Ft as useUpdate, Wt as useUpdateEffect, vr as useUpdateLayoutEffect, yr as useUrlState, br as useVirtualList, Po as useWatch, xr as useWebSocket, Sr as useWhyDidYouUpdate, Fo as useWindowSize, $a as uuid, eo as uuidv4, go as validatorLocale, _o as warning, Ns as withSpeechSynthesis, zi as without, Bi as xor, Vi as zip };
|
|
683
685
|
/* 独立思考,明辨是非 */
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@unicom-cloud/ui-common","version":"0.1.
|
|
1
|
+
{"name":"@unicom-cloud/ui-common","version":"0.1.29","dependencies":{"@unicom-cloud/utils":"^0.1.0","@unicom-cloud/icons":"^0.1.0","react-compiler-runtime":"^1.0.0"},"peerDependencies":{"dayjs":"^1.11.21","lodash":"^4.18.1","react":"^18.3.1","react-dom":"^18.3.1","react-is":"^18.3.1"},"type":"module","types":"./index.d.ts","main":"./index.js","bin":{"ui":"./test.js"},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"}}
|
package/progress/Progress.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { isNumber as e, isUndefined as t } from "../utils/is.js";
|
|
3
3
|
import { UI_COMMON_PREFIX as n } from "@unicom-cloud/utils/constant/ui";
|
|
4
4
|
//#region components/common/progress/Progress.js
|
package/progress/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { createContext as e, useCallback as t, useContext as n, useRef as r } from "react";
|
|
3
3
|
import { jsx as i } from "react/jsx-runtime";
|
|
4
4
|
//#region components/common/resize-observer/Collection.tsx
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { isFunction as e } from "../utils/is.js";
|
|
3
3
|
import t from "../utils/toArray.js";
|
|
4
|
+
import "../utils/warning.js";
|
|
4
5
|
import { RESIZE_OBSERVER_COMPONENT_INFO as n } from "../utils/names.js";
|
|
5
6
|
import { Collection as r } from "./Collection.js";
|
|
6
7
|
import i from "./SingleObserver.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement, RefObject } from 'react';
|
|
1
|
+
import { type ReactElement, type RefObject } from 'react';
|
|
2
2
|
import type { ResizeObserverProps } from './interface';
|
|
3
3
|
export interface SingleObserverProps extends ResizeObserverProps {
|
|
4
4
|
children: ReactElement | ((ref: RefObject<Element>) => ReactElement);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { isFunction as e } from "../utils/is.js";
|
|
3
3
|
import { getReactElementRef as t, supportRef as n, useComposeRef as r } from "../utils/ref.js";
|
|
4
4
|
import i from "../utils/findRootElement.js";
|
package/resize-observer/index.js
CHANGED
package/space/Space.js
CHANGED
package/space/index.js
CHANGED
package/space/interface.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import type { GapType } from '../flex/interface';
|
|
3
3
|
export type AlignItems = 'start' | 'end' | 'center' | 'baseline';
|
|
4
4
|
export type JustifyContent = 'start' | 'end' | 'center' | 'space-between';
|
package/style/global.less
CHANGED
|
@@ -87,13 +87,38 @@
|
|
|
87
87
|
height: 100%;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.@{ui-common-prefix}-flex-center {
|
|
90
|
+
.@{ui-common-prefix}-display-flex-center {
|
|
91
91
|
display: flex;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
align-items: center;
|
|
94
94
|
}
|
|
95
|
-
.@{ui-common-prefix}-inline-flex-center {
|
|
95
|
+
.@{ui-common-prefix}-display-inline-flex-center {
|
|
96
96
|
display: inline-flex;
|
|
97
97
|
justify-content: center;
|
|
98
98
|
align-items: center;
|
|
99
99
|
}
|
|
100
|
+
.@{ui-common-prefix}-blink {
|
|
101
|
+
&:not(:empty) {
|
|
102
|
+
@color: var(
|
|
103
|
+
~'--@{ui-common-prefix}-gray-10',
|
|
104
|
+
var(~'--@{ui-pc-prefix}-gray-10', ~'--@{ui-mobile-prefix}-gray-10')
|
|
105
|
+
);
|
|
106
|
+
color: rgba(@color, 0.5);
|
|
107
|
+
background-clip: text;
|
|
108
|
+
background-image: linear-gradient(
|
|
109
|
+
90deg,
|
|
110
|
+
transparent,
|
|
111
|
+
rgb(@color),
|
|
112
|
+
transparent
|
|
113
|
+
);
|
|
114
|
+
background-size: 50%;
|
|
115
|
+
background-repeat: no-repeat;
|
|
116
|
+
// animation-duration: 1s;
|
|
117
|
+
// animation-iteration-count: infinite;
|
|
118
|
+
// animation-timing-function: linear;
|
|
119
|
+
// animation-fill-mode: forwards;
|
|
120
|
+
// animation-name: ~'@{ui-common-prefix}-keyframes-blink2';
|
|
121
|
+
animation: 1s linear infinite forwards
|
|
122
|
+
~'@{ui-common-prefix}-keyframes-blink2';
|
|
123
|
+
}
|
|
124
|
+
}
|
package/style/keyframes.less
CHANGED
|
@@ -46,3 +46,21 @@
|
|
|
46
46
|
opacity: 1;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
+
|
|
50
|
+
@keyframes ~'@{ui-common-prefix}-keyframes-blink2' {
|
|
51
|
+
0% {
|
|
52
|
+
background-position: -200% 100%;
|
|
53
|
+
}
|
|
54
|
+
25% {
|
|
55
|
+
background-position: -100% 100%;
|
|
56
|
+
}
|
|
57
|
+
50% {
|
|
58
|
+
background-position: -0% 100%;
|
|
59
|
+
}
|
|
60
|
+
75% {
|
|
61
|
+
background-position: 100% 100%;
|
|
62
|
+
}
|
|
63
|
+
100% {
|
|
64
|
+
background-position: 200% 100%;
|
|
65
|
+
}
|
|
66
|
+
}
|
package/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
:root{--pi:3.14159}@keyframes pqbc-keyframes-vibrate{0%{transform:translate(0)}20%{transform:translate(-2px,2px)}40%{transform:translate(-2px,-2px)}60%{transform:translate(2px,2px)}80%{transform:translate(2px,-2px)}to{transform:translate(0)}}@keyframes pqbc-keyframes-rotate-360deg{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pqbc-keyframes-blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}.pqbc-animation-rotate-360deg{animation:1s cubic-bezier(0,0,1,1) infinite pqbc-keyframes-rotate-360deg}.pqbc-animation-vibrate{animation:.3s linear infinite both pqbc-keyframes-vibrate}.pqbc-fade-appear,.pqbc-fade-appear-active,.pqbc-fade-enter,.pqbc-fade-enter-active,.pqbc-fade-exit,.pqbc-fade-exit-active,.pqbc-blink-appear,.pqbc-blink-appear-active,.pqbc-blink-enter,.pqbc-blink-enter-active,.pqbc-blink-exit,.pqbc-blink-exit-active{transition:opacity .27s ease-out}.pqbc-fade-appear,.pqbc-fade-enter,.pqbc-fade-exit-active,.pqbc-fade-exit-done,.pqbc-blink-appear,.pqbc-blink-enter,.pqbc-blink-exit-active{opacity:0}.pqbc-fade-appear-active,.pqbc-fade-enter-active,.pqbc-fade-enter-done,.pqbc-fade-exit,.pqbc-blink-appear-active,.pqbc-blink-enter-active,.pqbc-blink-exit{opacity:1}.pqbc-blink-appear-done,.pqbc-blink-enter-done,.pqbc-blink-exit-done{animation:.5s linear pqbc-keyframes-blink}.pqbc-blink-exit-done{animation-direction:reverse}.pqbc-scale-appear,.pqbc-scale-appear-active,.pqbc-scale-enter,.pqbc-scale-enter-active,.pqbc-scale-exit,.pqbc-scale-exit-active{transition:all .27s cubic-bezier(.3,1.3,.3,1)}.pqbc-scale-appear,.pqbc-scale-enter,.pqbc-scale-exit-active,.pqbc-scale-exit-done{transform:scale(0)}.pqbc-scale-appear-active,.pqbc-scale-enter-active,.pqbc-scale-appear-done,.pqbc-scale-enter-done,.pqbc-scale-exit{transform:scale(1)}details{interpolate-size:allow-keywords}details::details-content{content-visibility:visible;height:0;transition:all .2s ease-out}details[open]::details-content{height:auto;height:calc-size(auto, size)}.pqbc-display-none{display:none}.pqbc-display-contents{display:contents}.pqbc-visibility-hidden{visibility:hidden}.pqbc-overflow-hidden{overflow:hidden}.pqbc-cursor-pointer{cursor:pointer}.pqbc-filter-invert-100{filter:invert()}.pqbc-filter-grayscale-100{filter:grayscale()}.pqbc-isolation-isolate{isolation:isolate}.pqbc-direction-rtl{direction:rtl}.pqbc-line-height-1{line-height:1}.pqbc-text-overflow-ellipsis,.pqbc-line-clamp,.pqbc-line-clamp-1,.pqbc-line-clamp-2,.pqbc-line-clamp-3,.pqbc-line-clamp-4,.pqbc-line-clamp-5{text-overflow:ellipsis;white-space:normal;overflow:hidden}.pqbc-text-overflow-ellipsis{word-break:break-all}.pqbc-line-clamp,.pqbc-line-clamp-1,.pqbc-line-clamp-2,.pqbc-line-clamp-3,.pqbc-line-clamp-4,.pqbc-line-clamp-5{-webkit-box-orient:vertical;display:-webkit-box;display:-moz-box}.pqbc-line-clamp,.pqbc-line-clamp-1{line-clamp:1;-webkit-line-clamp:1}.pqbc-line-clamp-2{line-clamp:2;-webkit-line-clamp:2}.pqbc-line-clamp-3{line-clamp:3;-webkit-line-clamp:3}.pqbc-line-clamp-4{line-clamp:4;-webkit-line-clamp:4}.pqbc-line-clamp-5{line-clamp:5;-webkit-line-clamp:5}.pqbc-full-size{width:100%;height:100%}.pqbc-flex-center{justify-content:center;align-items:center;display:flex}.pqbc-inline-flex-center{justify-content:center;align-items:center;display:inline-flex}:root{color-scheme:auto}.pqb-theme-dark,.pqbm-theme-dark,.pqb-theme-dark *,.pqbm-theme-dark *{color-scheme:dark}[dir=rtl] *,.pqbc-with-speech-synthesis-rtl{direction:rtl}.pqbc-empty{width:100%}.pqbc-empty .pqbc-empty-description{line-height:1}.pqbc-development{flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;min-height:300px;display:flex}.pqbc-development-icon,.pqbc-development-img{width:50px;height:50px}.pqbc-development-label{--color-neutral:#868788;color:var(--pqbc-color-neutral-6,var(--pqb-color-neutral-6,var(--pqbm-color-neutral-6,--color-neutral)));font-size:20px}.pqbc-space-vertical{width:100%}.pqbc-space-rtl{direction:rtl}.pqbc-icons-file{position:relative}.pqbc-icons-file-svg{width:30px;height:30px}.pqbc-icons-file-svg-bg{--primary:26, 94, 255;fill:rgb(var(--pqbc-primary-6,var(--pqb-primary-6,var(--pqbm-primary-6,--primary))))}.pqbc-icons-file-svg-tr{fill:#fff;fill-opacity:.7}.pqbc-icons-file-svg-text{fill:#fff;text-align:center;font-size:66px;font-weight:bolder}.pqbc-flex{box-sizing:border-box;margin:0;padding:0;display:flex}.pqbc-flex-inline{display:inline-flex}.pqbc-flex:empty{display:none}.pqbc-flex-rtl{direction:rtl}.pqbc-progress{pointer-events:none}.pqbc-progress-bar{--primary:26, 94, 255;background-color:rgb(var(--pqbc-primary-6,var(--pqb-primary-6,var(--pqbm-primary-6,--primary))));z-index:870227;width:100%;height:2px;position:fixed;inset-block-start:0;inset-inline-start:0}.pqbc-timer-rtl{direction:rtl}.pqbc-border-beam{--pqbc-border-beam-gradient:linear-gradient(to left, rgb(var(--pqbc-primary-5,var(--pqb-primary-5,--pqbm-primary-5))) 0%, rgb(var(--pqbc-cyan-5,var(--pqb-cyan-5,--pqbm-cyan-5))) 36.4%, rgb(var(--pqbc-lime-5,var(--pqb-lime-5,--pqbm-lime-5))) 70%, transparent);--pqbc-border-beam-inset-offset:-1px -1px -1px -1px;--pqbc-border-beam-border-radius:8px;box-sizing:border-box;inset:var(--pqbc-border-beam-inset-offset,0);border-radius:var(--pqbc-border-beam-border-radius,0);z-index:1;pointer-events:none;padding:1px;display:none;position:absolute;overflow:hidden}@supports (mask-composite:exclude) or (-webkit-mask-composite:exclude) or (-webkit-mask-composite:xor){.pqbc-border-beam{mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-position:0 0,0 0;mask-size:auto,auto;mask-repeat:repeat,repeat;mask-clip:content-box,border-box;mask-origin:content-box,border-box;mask-composite:exclude;mask-mode:match-source,match-source}@supports (offset-path:rect(0 auto auto 0 round 1px)){.pqbc-border-beam{display:block}.pqbc-border-beam:before{content:"";aspect-ratio:1;opacity:.95;background-image:var(--pqbc-border-beam-gradient,linear-gradient(to left, rgb(var(--pqbc-primary-6,var(--pqb-primary-6,--pqbm-primary-6))) 0%, rgba(var(--pqbc-primary-6,var(--pqb-primary-6,--pqbm-primary-6)), .7) 70%, transparent));offset-anchor:90%50%;offset-distance:0%;offset-path:rect(0 auto auto 0 round 100px);offset-rotate:auto;will-change:offset-distance;width:100px;animation-name:pqbc-border-beam-move;animation-duration:6s;animation-timing-function:linear;animation-iteration-count:infinite;position:absolute;top:0;left:0}@media (prefers-reduced-motion:reduce){.pqbc-border-beam:before{transition:none;animation:none}}}}@media (prefers-reduced-motion:reduce){.pqbc-border-beam:before{display:none}}@keyframes pqbc-border-beam-move{0%{offset-distance:0%}to{offset-distance:100%}}
|
|
1
|
+
:root{--pi:3.14159}@keyframes pqbc-keyframes-vibrate{0%{transform:translate(0)}20%{transform:translate(-2px,2px)}40%{transform:translate(-2px,-2px)}60%{transform:translate(2px,2px)}80%{transform:translate(2px,-2px)}to{transform:translate(0)}}@keyframes pqbc-keyframes-rotate-360deg{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pqbc-keyframes-blink{0%{opacity:1}50%{opacity:0}to{opacity:1}}@keyframes pqbc-keyframes-blink2{0%{background-position:-200% 100%}25%{background-position:-100% 100%}50%{background-position:0 100%}75%{background-position:100% 100%}to{background-position:200% 100%}}.pqbc-animation-rotate-360deg{animation:1s cubic-bezier(0,0,1,1) infinite pqbc-keyframes-rotate-360deg}.pqbc-animation-vibrate{animation:.3s linear infinite both pqbc-keyframes-vibrate}.pqbc-fade-appear,.pqbc-fade-appear-active,.pqbc-fade-enter,.pqbc-fade-enter-active,.pqbc-fade-exit,.pqbc-fade-exit-active,.pqbc-blink-appear,.pqbc-blink-appear-active,.pqbc-blink-enter,.pqbc-blink-enter-active,.pqbc-blink-exit,.pqbc-blink-exit-active{transition:opacity .27s ease-out}.pqbc-fade-appear,.pqbc-fade-enter,.pqbc-fade-exit-active,.pqbc-fade-exit-done,.pqbc-blink-appear,.pqbc-blink-enter,.pqbc-blink-exit-active{opacity:0}.pqbc-fade-appear-active,.pqbc-fade-enter-active,.pqbc-fade-enter-done,.pqbc-fade-exit,.pqbc-blink-appear-active,.pqbc-blink-enter-active,.pqbc-blink-exit{opacity:1}.pqbc-blink-appear-done,.pqbc-blink-enter-done,.pqbc-blink-exit-done{animation:.5s linear pqbc-keyframes-blink}.pqbc-blink-exit-done{animation-direction:reverse}.pqbc-scale-appear,.pqbc-scale-appear-active,.pqbc-scale-enter,.pqbc-scale-enter-active,.pqbc-scale-exit,.pqbc-scale-exit-active{transition:all .27s cubic-bezier(.3,1.3,.3,1)}.pqbc-scale-appear,.pqbc-scale-enter,.pqbc-scale-exit-active,.pqbc-scale-exit-done{transform:scale(0)}.pqbc-scale-appear-active,.pqbc-scale-enter-active,.pqbc-scale-appear-done,.pqbc-scale-enter-done,.pqbc-scale-exit{transform:scale(1)}details{interpolate-size:allow-keywords}details::details-content{content-visibility:visible;height:0;transition:all .2s ease-out}details[open]::details-content{height:auto;height:calc-size(auto, size)}.pqbc-display-none{display:none}.pqbc-display-contents{display:contents}.pqbc-visibility-hidden{visibility:hidden}.pqbc-overflow-hidden{overflow:hidden}.pqbc-cursor-pointer{cursor:pointer}.pqbc-filter-invert-100{filter:invert()}.pqbc-filter-grayscale-100{filter:grayscale()}.pqbc-isolation-isolate{isolation:isolate}.pqbc-direction-rtl{direction:rtl}.pqbc-line-height-1{line-height:1}.pqbc-text-overflow-ellipsis,.pqbc-line-clamp,.pqbc-line-clamp-1,.pqbc-line-clamp-2,.pqbc-line-clamp-3,.pqbc-line-clamp-4,.pqbc-line-clamp-5{text-overflow:ellipsis;white-space:normal;overflow:hidden}.pqbc-text-overflow-ellipsis{word-break:break-all}.pqbc-line-clamp,.pqbc-line-clamp-1,.pqbc-line-clamp-2,.pqbc-line-clamp-3,.pqbc-line-clamp-4,.pqbc-line-clamp-5{-webkit-box-orient:vertical;display:-webkit-box;display:-moz-box}.pqbc-line-clamp,.pqbc-line-clamp-1{line-clamp:1;-webkit-line-clamp:1}.pqbc-line-clamp-2{line-clamp:2;-webkit-line-clamp:2}.pqbc-line-clamp-3{line-clamp:3;-webkit-line-clamp:3}.pqbc-line-clamp-4{line-clamp:4;-webkit-line-clamp:4}.pqbc-line-clamp-5{line-clamp:5;-webkit-line-clamp:5}.pqbc-full-size{width:100%;height:100%}.pqbc-display-flex-center{justify-content:center;align-items:center;display:flex}.pqbc-display-inline-flex-center{justify-content:center;align-items:center;display:inline-flex}.pqbc-blink:not(:empty){color:rgba(var(--pqbc-gray-10,var(--pqb-gray-10,--pqbm-gray-10)), .5);background-clip:text;background-image:linear-gradient(90deg, transparent, rgb(var(--pqbc-gray-10,var(--pqb-gray-10,--pqbm-gray-10))), transparent);background-repeat:no-repeat;background-size:50%;animation:1s linear infinite forwards pqbc-keyframes-blink2}:root{color-scheme:auto}.pqb-theme-dark,.pqbm-theme-dark,.pqb-theme-dark *,.pqbm-theme-dark *{color-scheme:dark}[dir=rtl] *,.pqbc-with-speech-synthesis-rtl{direction:rtl}.pqbc-empty{width:100%}.pqbc-empty .pqbc-empty-description{line-height:1}.pqbc-development{flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;min-height:300px;display:flex}.pqbc-development-icon,.pqbc-development-img{width:50px;height:50px}.pqbc-development-label{--color-neutral:#868788;color:var(--pqbc-color-neutral-6,var(--pqb-color-neutral-6,var(--pqbm-color-neutral-6,--color-neutral)));font-size:20px}.pqbc-space-vertical{width:100%}.pqbc-space-rtl{direction:rtl}.pqbc-icons-file{position:relative}.pqbc-icons-file-svg{width:30px;height:30px}.pqbc-icons-file-svg-bg{--primary:26, 94, 255;fill:rgb(var(--pqbc-primary-6,var(--pqb-primary-6,var(--pqbm-primary-6,--primary))))}.pqbc-icons-file-svg-tr{fill:#fff;fill-opacity:.7}.pqbc-icons-file-svg-text{fill:#fff;text-align:center;font-size:66px;font-weight:bolder}.pqbc-flex{box-sizing:border-box;margin:0;padding:0;display:flex}.pqbc-flex-inline{display:inline-flex}.pqbc-flex:empty{display:none}.pqbc-flex-rtl{direction:rtl}.pqbc-progress{pointer-events:none}.pqbc-progress-bar{--primary:26, 94, 255;background-color:rgb(var(--pqbc-primary-6,var(--pqb-primary-6,var(--pqbm-primary-6,--primary))));z-index:870227;width:100%;height:2px;position:fixed;inset-block-start:0;inset-inline-start:0}.pqbc-timer-rtl{direction:rtl}.pqbc-border-beam{--pqbc-border-beam-gradient:linear-gradient(to left, rgb(var(--pqbc-primary-5,var(--pqb-primary-5,--pqbm-primary-5))) 0%, rgb(var(--pqbc-cyan-5,var(--pqb-cyan-5,--pqbm-cyan-5))) 36.4%, rgb(var(--pqbc-lime-5,var(--pqb-lime-5,--pqbm-lime-5))) 70%, transparent);--pqbc-border-beam-inset-offset:-1px -1px -1px -1px;--pqbc-border-beam-border-radius:8px;box-sizing:border-box;inset:var(--pqbc-border-beam-inset-offset,0);border-radius:var(--pqbc-border-beam-border-radius,0);z-index:1;pointer-events:none;padding:1px;display:none;position:absolute;overflow:hidden}@supports (mask-composite:exclude) or (-webkit-mask-composite:exclude) or (-webkit-mask-composite:xor){.pqbc-border-beam{mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-position:0 0,0 0;mask-size:auto,auto;mask-repeat:repeat,repeat;mask-clip:content-box,border-box;mask-origin:content-box,border-box;mask-composite:exclude;mask-mode:match-source,match-source}@supports (offset-path:rect(0 auto auto 0 round 1px)){.pqbc-border-beam{display:block}.pqbc-border-beam:before{content:"";aspect-ratio:1;opacity:.95;background-image:var(--pqbc-border-beam-gradient,linear-gradient(to left, rgb(var(--pqbc-primary-6,var(--pqb-primary-6,--pqbm-primary-6))) 0%, rgba(var(--pqbc-primary-6,var(--pqb-primary-6,--pqbm-primary-6)), .7) 70%, transparent));offset-anchor:90%50%;offset-distance:0%;offset-path:rect(0 auto auto 0 round 100px);offset-rotate:auto;will-change:offset-distance;width:100px;animation-name:pqbc-border-beam-move;animation-duration:6s;animation-timing-function:linear;animation-iteration-count:infinite;position:absolute;top:0;left:0}@media (prefers-reduced-motion:reduce){.pqbc-border-beam:before{transition:none;animation:none}}}}@media (prefers-reduced-motion:reduce){.pqbc-border-beam:before{display:none}}@keyframes pqbc-border-beam-move{0%{offset-distance:0%}to{offset-distance:100%}}.pqbc-typewriter-blink:not(:empty){border-right:1px solid var(--pqbc-color-text-2,var(--pqb-color-text-2,--pqbm-color-text-2));animation:.7s step-end infinite pqbc-typewriter-blink}@keyframes pqbc-typewriter-blink{50%{border-color:#0000}}
|
|
2
2
|
/*$vite$:1*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { SUSPENSE_FALLBACK_TEST_COMPONENT_INFO as e } from "../utils/names.js";
|
|
3
3
|
import { forwardRef as t, lazy as n, useImperativeHandle as r, useMemo as i } from "react";
|
|
4
4
|
import { jsx as a } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { SUSPENSE_FALLBACK_TEST_COMPONENT_INFO as e } from "../utils/names.js";
|
|
3
3
|
import t from "./SuspenseFallbackTest.js";
|
|
4
4
|
//#region components/common/suspense-fallback-test/index.ts
|
package/test.js
CHANGED
package/timer/Timer.js
CHANGED
package/timer/index.js
CHANGED
package/timer/interface.d.ts
CHANGED
package/transition/Transition.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* 潘启宝 2026-06-
|
|
1
|
+
/* 潘启宝 2026-06-12 15:23:21 星期五 山东省济南市 */
|
|
2
2
|
import { isExist as e, isFunction as t, isNull as n, isUndefined as r } from "../utils/is.js";
|
|
3
3
|
import i from "../hooks/use-latest/index.js";
|
|
4
4
|
import a from "../hooks/use-memoized-fn/index.js";
|
|
@@ -6,9 +6,7 @@ import type { TransitionCSS_Props } from './interface';
|
|
|
6
6
|
*/
|
|
7
7
|
declare function Component(props: TransitionCSS_Props): import("react").JSX.Element;
|
|
8
8
|
declare const TransitionCSS: import("react").NamedExoticComponent<Omit<import("./interface").TransitionProps, "children"> & {
|
|
9
|
-
children:
|
|
10
|
-
className?: string;
|
|
11
|
-
}>;
|
|
9
|
+
children: import("react").ReactElement<import("react").HTMLAttributes<HTMLElement>>;
|
|
12
10
|
classNames: import("./interface").TransitionCSS_ClassNames;
|
|
13
11
|
}> & {
|
|
14
12
|
readonly type: typeof Component;
|