sibujs 3.3.2 → 3.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.cjs +21 -4
- package/dist/browser.js +4 -4
- package/dist/build.cjs +10 -3
- package/dist/build.js +11 -11
- package/dist/cdn.global.js +7 -7
- package/dist/{chunk-N5TQVEKE.js → chunk-23VT3KZB.js} +1 -1
- package/dist/{chunk-IQJ36UTJ.js → chunk-25LY5SRH.js} +31 -24
- package/dist/{chunk-6TCOWMGY.js → chunk-5K6RVA2S.js} +1 -1
- package/dist/{chunk-YUBEOWII.js → chunk-5Y34FWED.js} +16 -5
- package/dist/chunk-7ZHH77QA.js +9 -0
- package/dist/{chunk-G6N3LMO2.js → chunk-F3HO2MP7.js} +1 -1
- package/dist/{chunk-FJIRS3FM.js → chunk-F7HW2NI5.js} +1 -3
- package/dist/{chunk-AEOLHSSQ.js → chunk-IEYFHN5V.js} +72 -25
- package/dist/{chunk-FJO2ZL4Q.js → chunk-IQN5W7GE.js} +73 -16
- package/dist/{chunk-JCQG2I2G.js → chunk-IWFE4AHO.js} +1 -1
- package/dist/{chunk-2ARSB7NG.js → chunk-MYXEBADX.js} +27 -20
- package/dist/{chunk-A7CZH3GN.js → chunk-QCQQ2N5H.js} +41 -20
- package/dist/{chunk-Q46YIQYW.js → chunk-QTOOBABV.js} +22 -5
- package/dist/{chunk-ZEUP4TUD.js → chunk-RZKGMHH4.js} +6 -6
- package/dist/{chunk-QCFBIVIQ.js → chunk-SBPUXWCE.js} +1 -1
- package/dist/{chunk-RLTFJYDN.js → chunk-TBDTU7UO.js} +1 -1
- package/dist/{chunk-P7C7SEJV.js → chunk-TVCCXPU2.js} +5 -5
- package/dist/{chunk-4NJEAPLI.js → chunk-UOMYIAG6.js} +1 -1
- package/dist/{chunk-655B7MMR.js → chunk-WFUUT6TG.js} +15 -8
- package/dist/{chunk-YUR5SX7F.js → chunk-WTFMV2RU.js} +70 -59
- package/dist/{chunk-3JHCYHWN.js → chunk-WWV3SJ3L.js} +19 -13
- package/dist/{chunk-62V653X2.js → chunk-Y35NQNLG.js} +79 -44
- package/dist/{chunk-5VH3GIDX.js → chunk-ZXCZWMZT.js} +1 -1
- package/dist/data.cjs +16 -2
- package/dist/data.js +7 -6
- package/dist/devtools.cjs +71 -21
- package/dist/devtools.d.cts +12 -5
- package/dist/devtools.d.ts +12 -5
- package/dist/devtools.js +6 -5
- package/dist/ecosystem.cjs +11 -2
- package/dist/ecosystem.js +10 -9
- package/dist/extras.cjs +454 -250
- package/dist/extras.d.cts +1 -1
- package/dist/extras.d.ts +1 -1
- package/dist/extras.js +26 -22
- package/dist/index.cjs +10 -3
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +19 -19
- package/dist/motion.cjs +223 -204
- package/dist/motion.d.cts +8 -1
- package/dist/motion.d.ts +8 -1
- package/dist/motion.js +6 -3
- package/dist/patterns.cjs +13 -6
- package/dist/patterns.d.cts +4 -1
- package/dist/patterns.d.ts +4 -1
- package/dist/patterns.js +5 -5
- package/dist/performance.cjs +70 -56
- package/dist/performance.js +6 -5
- package/dist/plugins.cjs +98 -42
- package/dist/plugins.d.cts +2 -1
- package/dist/plugins.d.ts +2 -1
- package/dist/plugins.js +90 -37
- package/dist/ssr.cjs +112 -91
- package/dist/ssr.d.cts +8 -1
- package/dist/ssr.d.ts +8 -1
- package/dist/ssr.js +9 -8
- package/dist/testing.cjs +18 -4
- package/dist/testing.js +18 -7
- package/dist/ui.cjs +322 -281
- package/dist/ui.d.cts +0 -20
- package/dist/ui.d.ts +0 -20
- package/dist/ui.js +28 -22
- package/dist/widgets.cjs +75 -13
- package/dist/widgets.d.cts +6 -1
- package/dist/widgets.d.ts +6 -1
- package/dist/widgets.js +7 -6
- package/package.json +1 -1
package/dist/extras.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ export { InfiniteQueryOptions, InfiniteQueryResult, LoaderRoute, MutationOptions
|
|
|
2
2
|
export { AnimationFrameOptions, BoundsRect, GamepadSnapshot, ImageLoaderState, KeyboardOptions, MouseOptions, MutationObserverOptions, SpeakOptions, SwipeDirection, SwipeOptions, TextSelectionState, UrlStateOptions, animationFrame, battery, bounds, broadcast, clipboard, colorScheme, draggable, dropZone, favicon, formatCurrency, formatNumber, fullscreen, gamepad, geo, idle, imageLoader, keyboard, media, mouse, mutationObserver, network, online, permissions, pointerLock, resize, scroll, speech, svgFavicon, swipe, textSelection, title, urlState, vibrate, visibility, wakeLock, windowSize } from './browser.cjs';
|
|
3
3
|
export { GlobalStore, MachineConfig, MachineReturn, Middleware, PersistOptions, Selector, TimeTravelReturn, globalStore, machine, optimistic, optimisticList, persisted, timeline } from './patterns.cjs';
|
|
4
4
|
export { C as ComponentProps, P as PropDef, a as PropSchema, R as RenderProp, V as Validator, b as assertType, c as compose, d as createGuard, e as createSlots, f as defineComponent, g as defineSlottedComponent, h as defineStrictComponent, v as validateProps, i as validators, w as withBoundary, j as withDefaults, k as withProps, l as withWrapper } from './contracts-ey_Qh8ef.cjs';
|
|
5
|
-
export { AnimationPreset, PresetOptions, SlideDirection, SpringOptions, TransitionGroup, TransitionGroupOptions, TransitionOptions, animate, bounceIn, bounceOut, fadeIn, fadeOut, flipIn, pulse, reducedMotion, scaleDown, scaleUp, sequence, shake, slideIn, slideOut, spring, springSignal, stagger, transition, viewTransition } from './motion.cjs';
|
|
5
|
+
export { AnimationPreset, PresetOptions, SlideDirection, SpringOptions, TransitionGroup, TransitionGroupOptions, TransitionOptions, animate, bounceIn, bounceOut, fadeIn, fadeOut, flipIn, prefersReducedMotion, pulse, reducedMotion, scaleDown, scaleUp, sequence, shake, slideIn, slideOut, spring, springSignal, stagger, transition, viewTransition } from './motion.cjs';
|
|
6
6
|
export { B as BoundFieldProps, C as CustomElementOptions, F as FieldConfig, a as FocusTrap, b as FormConfig, c as FormField, d as FormReturn, I as IntersectionResult, M as MaskOptions, T as Toast, e as ToastInstance, V as ValidatorFn, f as VirtualList, g as VirtualListProps, _ as __resetDialogStack, h as announce, i as aria, j as bindAttrs, k as bindBoolAttr, l as bindData, m as bindField, n as creditCardMask, o as custom, p as dateMask, q as defineElement, r as dialog, s as email, t as eventBus, u as focus, v as form, w as hotkey, x as infiniteScroll, y as inputMask, z as intersection, A as lazyLoad, D as matchesPattern, E as max, G as maxLength, H as min, J as minLength, K as pagination, L as phoneMask, N as removeScopedStyle, O as required, P as scopedStyle, Q as ssnMask, R as svgElement, S as timeMask, U as toast, W as withScopedStyle, X as zipMask } from './customElement-CPfIrbvg.cjs';
|
|
7
7
|
export { ChunkConfig, DOMPool, Features, NormalizeResult, NormalizedEntities, NormalizedSchema, NormalizedState, NormalizedStoreActions, Priority, PriorityLevel, block, cloneTemplate, conditional, createChunkRegistry, deferredValue, denormalize, devOnly, flushScheduler, getDOMPool, hoistable, lazyChunk, noSideEffect, normalize, normalizedStore, pendingTasks, precompile, prefetch, preloadImage, preloadModule, preloadModules, preloadResource, processInChunks, pure, resetIdCounter, scheduleUpdate, setIdPrefix, startTransition, staticTemplate, transitionState, uniqueId, yieldToMain } from './performance.cjs';
|
|
8
8
|
export { ActionFn, ActionResult, Head, ISROptions, LoadRemoteModuleOptions, LoadWasmOptions, MicroApp, MicroAppConfig, MiddlewareFn, SSGOptions, SSGResult, ScrollRestorationOptions, ServiceWorkerState, SharedScope, UseWorkerFnReturn, UseWorkerReturn, WasmConfig, WasmModuleState, WorkerPool, clearWasmCache, composeMiddleware, createAction, createISR, createMicroApp, createMiddlewareChain, createSharedScope, createWasmBridge, createWorkerPool, defineRemoteComponent, generateStaticSite, isWasmCached, loadRemoteModule, loadWasmModule, preloadWasm, scrollRestoration, serviceWorker, setCanonical, setStructuredData, wasm, worker, workerFn } from './ssr.cjs';
|
package/dist/extras.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { InfiniteQueryOptions, InfiniteQueryResult, LoaderRoute, MutationOptions
|
|
|
2
2
|
export { AnimationFrameOptions, BoundsRect, GamepadSnapshot, ImageLoaderState, KeyboardOptions, MouseOptions, MutationObserverOptions, SpeakOptions, SwipeDirection, SwipeOptions, TextSelectionState, UrlStateOptions, animationFrame, battery, bounds, broadcast, clipboard, colorScheme, draggable, dropZone, favicon, formatCurrency, formatNumber, fullscreen, gamepad, geo, idle, imageLoader, keyboard, media, mouse, mutationObserver, network, online, permissions, pointerLock, resize, scroll, speech, svgFavicon, swipe, textSelection, title, urlState, vibrate, visibility, wakeLock, windowSize } from './browser.js';
|
|
3
3
|
export { GlobalStore, MachineConfig, MachineReturn, Middleware, PersistOptions, Selector, TimeTravelReturn, globalStore, machine, optimistic, optimisticList, persisted, timeline } from './patterns.js';
|
|
4
4
|
export { C as ComponentProps, P as PropDef, a as PropSchema, R as RenderProp, V as Validator, b as assertType, c as compose, d as createGuard, e as createSlots, f as defineComponent, g as defineSlottedComponent, h as defineStrictComponent, v as validateProps, i as validators, w as withBoundary, j as withDefaults, k as withProps, l as withWrapper } from './contracts-ey_Qh8ef.js';
|
|
5
|
-
export { AnimationPreset, PresetOptions, SlideDirection, SpringOptions, TransitionGroup, TransitionGroupOptions, TransitionOptions, animate, bounceIn, bounceOut, fadeIn, fadeOut, flipIn, pulse, reducedMotion, scaleDown, scaleUp, sequence, shake, slideIn, slideOut, spring, springSignal, stagger, transition, viewTransition } from './motion.js';
|
|
5
|
+
export { AnimationPreset, PresetOptions, SlideDirection, SpringOptions, TransitionGroup, TransitionGroupOptions, TransitionOptions, animate, bounceIn, bounceOut, fadeIn, fadeOut, flipIn, prefersReducedMotion, pulse, reducedMotion, scaleDown, scaleUp, sequence, shake, slideIn, slideOut, spring, springSignal, stagger, transition, viewTransition } from './motion.js';
|
|
6
6
|
export { B as BoundFieldProps, C as CustomElementOptions, F as FieldConfig, a as FocusTrap, b as FormConfig, c as FormField, d as FormReturn, I as IntersectionResult, M as MaskOptions, T as Toast, e as ToastInstance, V as ValidatorFn, f as VirtualList, g as VirtualListProps, _ as __resetDialogStack, h as announce, i as aria, j as bindAttrs, k as bindBoolAttr, l as bindData, m as bindField, n as creditCardMask, o as custom, p as dateMask, q as defineElement, r as dialog, s as email, t as eventBus, u as focus, v as form, w as hotkey, x as infiniteScroll, y as inputMask, z as intersection, A as lazyLoad, D as matchesPattern, E as max, G as maxLength, H as min, J as minLength, K as pagination, L as phoneMask, N as removeScopedStyle, O as required, P as scopedStyle, Q as ssnMask, R as svgElement, S as timeMask, U as toast, W as withScopedStyle, X as zipMask } from './customElement-CPfIrbvg.js';
|
|
7
7
|
export { ChunkConfig, DOMPool, Features, NormalizeResult, NormalizedEntities, NormalizedSchema, NormalizedState, NormalizedStoreActions, Priority, PriorityLevel, block, cloneTemplate, conditional, createChunkRegistry, deferredValue, denormalize, devOnly, flushScheduler, getDOMPool, hoistable, lazyChunk, noSideEffect, normalize, normalizedStore, pendingTasks, precompile, prefetch, preloadImage, preloadModule, preloadModules, preloadResource, processInChunks, pure, resetIdCounter, scheduleUpdate, setIdPrefix, startTransition, staticTemplate, transitionState, uniqueId, yieldToMain } from './performance.js';
|
|
8
8
|
export { ActionFn, ActionResult, Head, ISROptions, LoadRemoteModuleOptions, LoadWasmOptions, MicroApp, MicroAppConfig, MiddlewareFn, SSGOptions, SSGResult, ScrollRestorationOptions, ServiceWorkerState, SharedScope, UseWorkerFnReturn, UseWorkerReturn, WasmConfig, WasmModuleState, WorkerPool, clearWasmCache, composeMiddleware, createAction, createISR, createMicroApp, createMiddlewareChain, createSharedScope, createWasmBridge, createWorkerPool, defineRemoteComponent, generateStaticSite, isWasmCached, loadRemoteModule, loadWasmModule, preloadWasm, scrollRestoration, serviceWorker, setCanonical, setStructuredData, wasm, worker, workerFn } from './ssr.js';
|
package/dist/extras.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
optimisticList,
|
|
6
6
|
persisted,
|
|
7
7
|
timeline
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WFUUT6TG.js";
|
|
9
9
|
import {
|
|
10
10
|
DOMPool,
|
|
11
11
|
Features,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
transitionState,
|
|
42
42
|
uniqueId,
|
|
43
43
|
yieldToMain
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-WTFMV2RU.js";
|
|
45
45
|
import {
|
|
46
46
|
VERSION,
|
|
47
47
|
bundlerMetadata,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
preloadCritical,
|
|
63
63
|
prerenderRoutes,
|
|
64
64
|
satisfies
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-F7HW2NI5.js";
|
|
66
66
|
import {
|
|
67
67
|
Head,
|
|
68
68
|
clearWasmCache,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
wasm,
|
|
88
88
|
worker,
|
|
89
89
|
workerFn
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-QCQQ2N5H.js";
|
|
91
91
|
import {
|
|
92
92
|
FocusTrap,
|
|
93
93
|
VirtualList,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
toast,
|
|
129
129
|
withScopedStyle,
|
|
130
130
|
zipMask
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-Y35NQNLG.js";
|
|
132
132
|
import {
|
|
133
133
|
RenderProp,
|
|
134
134
|
assertType,
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
select,
|
|
156
156
|
tabs,
|
|
157
157
|
tooltip
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-IQN5W7GE.js";
|
|
159
159
|
import {
|
|
160
160
|
animationFrame,
|
|
161
161
|
battery,
|
|
@@ -193,7 +193,7 @@ import {
|
|
|
193
193
|
visibility,
|
|
194
194
|
wakeLock,
|
|
195
195
|
windowSize
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-QTOOBABV.js";
|
|
197
197
|
import "./chunk-H3SRKIYX.js";
|
|
198
198
|
import {
|
|
199
199
|
__resetQueryCache,
|
|
@@ -217,7 +217,7 @@ import {
|
|
|
217
217
|
syncAdapter,
|
|
218
218
|
throttle,
|
|
219
219
|
withRetry
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-5Y34FWED.js";
|
|
221
221
|
import {
|
|
222
222
|
SibuError,
|
|
223
223
|
checkLeaks,
|
|
@@ -255,7 +255,7 @@ import {
|
|
|
255
255
|
trackCleanup,
|
|
256
256
|
walkDependencyGraph,
|
|
257
257
|
withErrorTracking
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-IEYFHN5V.js";
|
|
259
259
|
import {
|
|
260
260
|
antdAdapter,
|
|
261
261
|
chakraAdapter,
|
|
@@ -265,7 +265,7 @@ import {
|
|
|
265
265
|
mobXAdapter,
|
|
266
266
|
reduxAdapter,
|
|
267
267
|
zustandAdapter
|
|
268
|
-
} from "./chunk-
|
|
268
|
+
} from "./chunk-TVCCXPU2.js";
|
|
269
269
|
import {
|
|
270
270
|
createPlugin,
|
|
271
271
|
createPluginRegistry,
|
|
@@ -276,9 +276,11 @@ import {
|
|
|
276
276
|
triggerPluginError,
|
|
277
277
|
triggerPluginMount,
|
|
278
278
|
triggerPluginUnmount
|
|
279
|
-
} from "./chunk-
|
|
280
|
-
import "./chunk-
|
|
281
|
-
import "./chunk-
|
|
279
|
+
} from "./chunk-WWV3SJ3L.js";
|
|
280
|
+
import "./chunk-7ZHH77QA.js";
|
|
281
|
+
import "./chunk-5K6RVA2S.js";
|
|
282
|
+
import "./chunk-TBDTU7UO.js";
|
|
283
|
+
import "./chunk-CCSJMTRN.js";
|
|
282
284
|
import {
|
|
283
285
|
collectStream,
|
|
284
286
|
deserializeState,
|
|
@@ -299,13 +301,12 @@ import {
|
|
|
299
301
|
suspenseSwapScript,
|
|
300
302
|
trustHTML
|
|
301
303
|
} from "./chunk-EX77FXTT.js";
|
|
302
|
-
import "./chunk-
|
|
303
|
-
import "./chunk-
|
|
304
|
-
import "./chunk-
|
|
305
|
-
import "./chunk-
|
|
306
|
-
import "./chunk-5VGSK6D2.js";
|
|
304
|
+
import "./chunk-ZXCZWMZT.js";
|
|
305
|
+
import "./chunk-RZKGMHH4.js";
|
|
306
|
+
import "./chunk-SBPUXWCE.js";
|
|
307
|
+
import "./chunk-F3HO2MP7.js";
|
|
307
308
|
import "./chunk-L3GAGWCC.js";
|
|
308
|
-
import "./chunk-
|
|
309
|
+
import "./chunk-23VT3KZB.js";
|
|
309
310
|
import "./chunk-S3NFJO6L.js";
|
|
310
311
|
import {
|
|
311
312
|
TransitionGroup,
|
|
@@ -315,6 +316,7 @@ import {
|
|
|
315
316
|
fadeIn,
|
|
316
317
|
fadeOut,
|
|
317
318
|
flipIn,
|
|
319
|
+
prefersReducedMotion,
|
|
318
320
|
pulse,
|
|
319
321
|
reducedMotion,
|
|
320
322
|
scaleDown,
|
|
@@ -328,9 +330,10 @@ import {
|
|
|
328
330
|
stagger,
|
|
329
331
|
transition,
|
|
330
332
|
viewTransition
|
|
331
|
-
} from "./chunk-
|
|
332
|
-
import "./chunk-
|
|
333
|
-
import "./chunk-
|
|
333
|
+
} from "./chunk-25LY5SRH.js";
|
|
334
|
+
import "./chunk-5VGSK6D2.js";
|
|
335
|
+
import "./chunk-IWFE4AHO.js";
|
|
336
|
+
import "./chunk-UOMYIAG6.js";
|
|
334
337
|
import "./chunk-COY6PUD2.js";
|
|
335
338
|
export {
|
|
336
339
|
DOMPool,
|
|
@@ -522,6 +525,7 @@ export {
|
|
|
522
525
|
pointerLock,
|
|
523
526
|
popover,
|
|
524
527
|
precompile,
|
|
528
|
+
prefersReducedMotion,
|
|
525
529
|
prefetch,
|
|
526
530
|
preloadCritical,
|
|
527
531
|
preloadImage,
|
package/dist/index.cjs
CHANGED
|
@@ -757,7 +757,7 @@ function forEachSubscriber(signal2, visit) {
|
|
|
757
757
|
|
|
758
758
|
// src/reactivity/track.ts
|
|
759
759
|
var _isDev3 = isDev();
|
|
760
|
-
var _runtimeVersion = true ? "3.3.
|
|
760
|
+
var _runtimeVersion = true ? "3.3.3" : "dev";
|
|
761
761
|
var REGISTRY_KEY = /* @__PURE__ */ Symbol.for("sibujs.reactive.v1");
|
|
762
762
|
function resolveReactiveApi() {
|
|
763
763
|
const g2 = globalThis;
|
|
@@ -3852,7 +3852,6 @@ function trustHTML(html3) {
|
|
|
3852
3852
|
var DEFAULT_MAX_SSR_BYTES = 1024 * 1024;
|
|
3853
3853
|
|
|
3854
3854
|
// src/components/ErrorDisplay.ts
|
|
3855
|
-
var _isDev12 = isDev();
|
|
3856
3855
|
var STYLES = `
|
|
3857
3856
|
.sibu-error-display {
|
|
3858
3857
|
border: 1px solid var(--sibu-err-border, #e5484d);
|
|
@@ -4163,7 +4162,7 @@ function ErrorDisplay(props) {
|
|
|
4163
4162
|
injectStyles();
|
|
4164
4163
|
const severity = props.severity ?? "error";
|
|
4165
4164
|
const normalized = normalizeError(props.error);
|
|
4166
|
-
const showDetails = props.alwaysShowDetails ??
|
|
4165
|
+
const showDetails = props.alwaysShowDetails ?? isDev();
|
|
4167
4166
|
const headline = props.title ?? normalized.message;
|
|
4168
4167
|
const timestamp = (/* @__PURE__ */ new Date()).toISOString().replace("T", " ").slice(0, 19);
|
|
4169
4168
|
const [copyLabel, setCopyLabel] = signal("Copy");
|
|
@@ -4650,6 +4649,11 @@ function Loading(props = {}) {
|
|
|
4650
4649
|
if (variant === "dots") {
|
|
4651
4650
|
return div({
|
|
4652
4651
|
class: `sibu-loading${sizeClass}`,
|
|
4652
|
+
role: "status",
|
|
4653
|
+
"aria-live": "polite",
|
|
4654
|
+
// When there's no visible text, give the live region an accessible name
|
|
4655
|
+
// so it isn't announced as an empty status.
|
|
4656
|
+
"aria-label": text2 ? void 0 : "Loading",
|
|
4653
4657
|
nodes: [
|
|
4654
4658
|
div({
|
|
4655
4659
|
class: "sibu-loading-dots",
|
|
@@ -4665,6 +4669,9 @@ function Loading(props = {}) {
|
|
|
4665
4669
|
}
|
|
4666
4670
|
return div({
|
|
4667
4671
|
class: `sibu-loading${sizeClass}`,
|
|
4672
|
+
role: "status",
|
|
4673
|
+
"aria-live": "polite",
|
|
4674
|
+
"aria-label": text2 ? void 0 : "Loading",
|
|
4668
4675
|
nodes: [
|
|
4669
4676
|
div({ class: "sibu-loading-spinner" }),
|
|
4670
4677
|
text2 ? span({ class: "sibu-loading-text", nodes: text2 }) : null
|
package/dist/index.d.cts
CHANGED
|
@@ -1547,7 +1547,10 @@ type ErrorBoundaryProps = ErrorBoundaryOptions;
|
|
|
1547
1547
|
*
|
|
1548
1548
|
* Features:
|
|
1549
1549
|
* - Catches sync errors thrown by children
|
|
1550
|
-
* - Catches
|
|
1550
|
+
* - Catches the rejection of a Promise *returned* by children (async components)
|
|
1551
|
+
* — it does NOT observe fire-and-forget async errors (rejections from timers,
|
|
1552
|
+
* event handlers, or detached/unawaited promises), which surface as global
|
|
1553
|
+
* `unhandledrejection` events instead.
|
|
1551
1554
|
* - Supports nested ErrorBoundaries (inner catches first, outer catches propagation)
|
|
1552
1555
|
* - Retry functionality to clear error and re-render children
|
|
1553
1556
|
* - Memoized fallback to avoid re-creating fallback UI on every render
|
package/dist/index.d.ts
CHANGED
|
@@ -1547,7 +1547,10 @@ type ErrorBoundaryProps = ErrorBoundaryOptions;
|
|
|
1547
1547
|
*
|
|
1548
1548
|
* Features:
|
|
1549
1549
|
* - Catches sync errors thrown by children
|
|
1550
|
-
* - Catches
|
|
1550
|
+
* - Catches the rejection of a Promise *returned* by children (async components)
|
|
1551
|
+
* — it does NOT observe fire-and-forget async errors (rejections from timers,
|
|
1552
|
+
* event handlers, or detached/unawaited promises), which surface as global
|
|
1553
|
+
* `unhandledrejection` events instead.
|
|
1551
1554
|
* - Supports nested ErrorBoundaries (inner catches first, outer catches propagation)
|
|
1552
1555
|
* - Retry functionality to clear error and re-render children
|
|
1553
1556
|
* - Memoized fallback to avoid re-creating fallback UI on every render
|
package/dist/index.js
CHANGED
|
@@ -46,11 +46,7 @@ import {
|
|
|
46
46
|
unregisterComponent,
|
|
47
47
|
when,
|
|
48
48
|
writable
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
__resetIdCounter,
|
|
52
|
-
createId
|
|
53
|
-
} from "./chunk-CCSJMTRN.js";
|
|
49
|
+
} from "./chunk-MYXEBADX.js";
|
|
54
50
|
import {
|
|
55
51
|
a,
|
|
56
52
|
abbr,
|
|
@@ -188,36 +184,35 @@ import {
|
|
|
188
184
|
use,
|
|
189
185
|
var_,
|
|
190
186
|
video
|
|
191
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-5K6RVA2S.js";
|
|
192
188
|
import {
|
|
193
189
|
watch
|
|
194
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-TBDTU7UO.js";
|
|
191
|
+
import {
|
|
192
|
+
__resetIdCounter,
|
|
193
|
+
createId
|
|
194
|
+
} from "./chunk-CCSJMTRN.js";
|
|
195
195
|
import {
|
|
196
196
|
trustHTML
|
|
197
197
|
} from "./chunk-EX77FXTT.js";
|
|
198
198
|
import {
|
|
199
199
|
context
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-ZXCZWMZT.js";
|
|
201
201
|
import {
|
|
202
202
|
SVG_NS,
|
|
203
203
|
tagFactory
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-RZKGMHH4.js";
|
|
205
205
|
import {
|
|
206
206
|
bindDynamic
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-SBPUXWCE.js";
|
|
208
208
|
import {
|
|
209
209
|
derived
|
|
210
|
-
} from "./chunk-
|
|
211
|
-
import {
|
|
212
|
-
checkLeaks,
|
|
213
|
-
dispose,
|
|
214
|
-
registerDisposer
|
|
215
|
-
} from "./chunk-5VGSK6D2.js";
|
|
210
|
+
} from "./chunk-F3HO2MP7.js";
|
|
216
211
|
import "./chunk-L3GAGWCC.js";
|
|
217
212
|
import {
|
|
218
213
|
effect,
|
|
219
214
|
on
|
|
220
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-23VT3KZB.js";
|
|
221
216
|
import {
|
|
222
217
|
disableSSR,
|
|
223
218
|
enableSSR,
|
|
@@ -227,17 +222,22 @@ import {
|
|
|
227
222
|
runInSSRContext,
|
|
228
223
|
withSSR
|
|
229
224
|
} from "./chunk-S3NFJO6L.js";
|
|
225
|
+
import {
|
|
226
|
+
checkLeaks,
|
|
227
|
+
dispose,
|
|
228
|
+
registerDisposer
|
|
229
|
+
} from "./chunk-5VGSK6D2.js";
|
|
230
230
|
import {
|
|
231
231
|
batch,
|
|
232
232
|
enqueueBatchedSignal,
|
|
233
233
|
isBatching,
|
|
234
234
|
signal
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-IWFE4AHO.js";
|
|
236
236
|
import {
|
|
237
237
|
retrack,
|
|
238
238
|
setMaxDrainIterations,
|
|
239
239
|
untracked
|
|
240
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-UOMYIAG6.js";
|
|
241
241
|
import "./chunk-COY6PUD2.js";
|
|
242
242
|
export {
|
|
243
243
|
DynamicComponent,
|