@surdeddd/bottom-sheet 0.23.3 → 0.23.4
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/README.md +18 -16
- package/README.ru.md +697 -0
- package/dist/{BottomSheetCore-CaJwHnxY.d.cts → BottomSheetCore-C5tJYVMY.d.cts} +2 -1
- package/dist/{BottomSheetCore-COvILxmR.d.ts → BottomSheetCore-DxSrC4QC.d.ts} +2 -1
- package/dist/{BottomSheetEngine-C_1aPJsU.d.cts → BottomSheetEngine-B3F9qukX.d.cts} +1 -1
- package/dist/{BottomSheetEngine-CsgCcCSO.d.ts → BottomSheetEngine-BchzgqGG.d.ts} +1 -1
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/debug.d.cts +3 -2
- package/dist/debug.d.ts +3 -2
- package/dist/{default-features-CTJb8Wdk.d.cts → default-features-BGiCSmV1.d.cts} +1 -1
- package/dist/{default-features-BJx7J0NH.d.ts → default-features-DwVTzDwP.d.ts} +1 -1
- package/dist/element.cjs +7 -2
- package/dist/element.d.cts +5 -3
- package/dist/element.d.ts +5 -3
- package/dist/element.iife.global.js +1 -1
- package/dist/element.js +7 -2
- package/dist/features.d.cts +3 -3
- package/dist/features.d.ts +3 -3
- package/dist/{index-CXN7t3rr.d.ts → index-C7TSQkVK.d.cts} +3 -2
- package/dist/{index-BBrJJjy5.d.cts → index-CdM1tke5.d.ts} +3 -2
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/integrations/formik.d.cts +3 -2
- package/dist/integrations/formik.d.ts +3 -2
- package/dist/integrations/react-hook-form.d.cts +3 -2
- package/dist/integrations/react-hook-form.d.ts +3 -2
- package/dist/overlay.d.cts +2 -1
- package/dist/overlay.d.ts +2 -1
- package/dist/preact.d.cts +2 -2
- package/dist/preact.d.ts +2 -2
- package/dist/qwik.d.cts +5 -3
- package/dist/qwik.d.ts +5 -3
- package/dist/react.d.cts +8 -5
- package/dist/react.d.ts +8 -5
- package/dist/solid.d.cts +2 -1
- package/dist/solid.d.ts +2 -1
- package/dist/svelte-core.cjs +2 -0
- package/dist/svelte-core.js +1 -1
- package/dist/svelte-src/BottomSheet.svelte +1 -1
- package/dist/svelte.cjs +1 -2
- package/dist/svelte.js +1 -2
- package/dist/webgl.d.cts +3 -2
- package/dist/webgl.d.ts +3 -2
- package/package.json +22 -24
|
@@ -425,4 +425,5 @@ declare class BottomSheetCore {
|
|
|
425
425
|
private handleClose;
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
export {
|
|
428
|
+
export { BottomSheetCore as B, SCRIM_PRESETS as q, runAnchorTransition as x };
|
|
429
|
+
export type { AnchorOptions as A, CloseReason as C, EngineFeature as E, LogicalSheetMode as L, PhysicalSheetMode as P, SheetEventMap as S, TeardownScope as T, EngineFeatureContext as a, EngineFeatureOptions as b, EngineFeatureStage as c, EngineState as d, SnapPointDef as e, SheetMode as f, EngineOptions as g, SnapPoint as h, ScrimStagesOptions as i, ScrimOverlayPosition as j, AnchorAnimationPreset as k, AnchorAnimationSpec as l, AnchorHandle as m, AnchorPosition as n, AnchorState as o, Plugin as p, ScrimOverlayOptions as r, ScrimPreset as s, ScrimPresetConfig as t, ScrimStageDef as u, ScrimUpdate as v, SnapId as w };
|
|
@@ -425,4 +425,5 @@ declare class BottomSheetCore {
|
|
|
425
425
|
private handleClose;
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
export {
|
|
428
|
+
export { BottomSheetCore as B, SCRIM_PRESETS as q, runAnchorTransition as x };
|
|
429
|
+
export type { AnchorOptions as A, CloseReason as C, EngineFeature as E, LogicalSheetMode as L, PhysicalSheetMode as P, SheetEventMap as S, TeardownScope as T, EngineFeatureContext as a, EngineFeatureOptions as b, EngineFeatureStage as c, EngineState as d, SnapPointDef as e, SheetMode as f, EngineOptions as g, SnapPoint as h, ScrimStagesOptions as i, ScrimOverlayPosition as j, AnchorAnimationPreset as k, AnchorAnimationSpec as l, AnchorHandle as m, AnchorPosition as n, AnchorState as o, Plugin as p, ScrimOverlayOptions as r, ScrimPreset as s, ScrimPresetConfig as t, ScrimStageDef as u, ScrimUpdate as v, SnapId as w };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BottomSheetCore, g as EngineOptions } from './BottomSheetCore-
|
|
1
|
+
import { B as BottomSheetCore, g as EngineOptions } from './BottomSheetCore-C5tJYVMY.cjs';
|
|
2
2
|
|
|
3
3
|
declare class BottomSheetEngine extends BottomSheetCore {
|
|
4
4
|
constructor(opts: EngineOptions);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as BottomSheetCore, g as EngineOptions } from './BottomSheetCore-
|
|
1
|
+
import { B as BottomSheetCore, g as EngineOptions } from './BottomSheetCore-DxSrC4QC.js';
|
|
2
2
|
|
|
3
3
|
declare class BottomSheetEngine extends BottomSheetCore {
|
|
4
4
|
constructor(opts: EngineOptions);
|
package/dist/core.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { B as BottomSheetCore, C as CloseReason, E as EngineFeature, a as EngineFeatureContext, b as EngineFeatureOptions, c as EngineFeatureStage, g as EngineOptions, d as EngineState, S as SheetEventMap, f as SheetMode, w as SnapId, h as SnapPoint, e as SnapPointDef } from './BottomSheetCore-
|
|
2
|
-
export { R as ResolvedSnap } from './index-
|
|
1
|
+
export { B as BottomSheetCore, C as CloseReason, E as EngineFeature, a as EngineFeatureContext, b as EngineFeatureOptions, c as EngineFeatureStage, g as EngineOptions, d as EngineState, S as SheetEventMap, f as SheetMode, w as SnapId, h as SnapPoint, e as SnapPointDef } from './BottomSheetCore-C5tJYVMY.cjs';
|
|
2
|
+
export { R as ResolvedSnap } from './index-C7TSQkVK.cjs';
|
|
3
3
|
import './transform-jVfAikE9.cjs';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { B as BottomSheetCore, C as CloseReason, E as EngineFeature, a as EngineFeatureContext, b as EngineFeatureOptions, c as EngineFeatureStage, g as EngineOptions, d as EngineState, S as SheetEventMap, f as SheetMode, w as SnapId, h as SnapPoint, e as SnapPointDef } from './BottomSheetCore-
|
|
2
|
-
export { R as ResolvedSnap } from './index-
|
|
1
|
+
export { B as BottomSheetCore, C as CloseReason, E as EngineFeature, a as EngineFeatureContext, b as EngineFeatureOptions, c as EngineFeatureStage, g as EngineOptions, d as EngineState, S as SheetEventMap, f as SheetMode, w as SnapId, h as SnapPoint, e as SnapPointDef } from './BottomSheetCore-DxSrC4QC.js';
|
|
2
|
+
export { R as ResolvedSnap } from './index-CdM1tke5.js';
|
|
3
3
|
import './transform-jVfAikE9.js';
|
package/dist/debug.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EngineState, SheetEventMap } from './core.cjs';
|
|
2
2
|
import './transform-jVfAikE9.cjs';
|
|
3
3
|
|
|
4
4
|
type DebugOverlayPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
@@ -19,4 +19,5 @@ type DebuggableEngine = {
|
|
|
19
19
|
};
|
|
20
20
|
declare function attachDebugOverlay(engine: DebuggableEngine, opts?: DebugOverlayOptions): () => void;
|
|
21
21
|
|
|
22
|
-
export {
|
|
22
|
+
export { attachDebugOverlay };
|
|
23
|
+
export type { DebugOverlayOptions, DebugOverlayPosition, DebuggableEngine };
|
package/dist/debug.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EngineState, SheetEventMap } from './core.js';
|
|
2
2
|
import './transform-jVfAikE9.js';
|
|
3
3
|
|
|
4
4
|
type DebugOverlayPosition = "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
@@ -19,4 +19,5 @@ type DebuggableEngine = {
|
|
|
19
19
|
};
|
|
20
20
|
declare function attachDebugOverlay(engine: DebuggableEngine, opts?: DebugOverlayOptions): () => void;
|
|
21
21
|
|
|
22
|
-
export {
|
|
22
|
+
export { attachDebugOverlay };
|
|
23
|
+
export type { DebugOverlayOptions, DebugOverlayPosition, DebuggableEngine };
|
package/dist/element.cjs
CHANGED
|
@@ -3,8 +3,13 @@
|
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __esm = (fn, res) => function __init() {
|
|
7
|
-
|
|
6
|
+
var __esm = (fn, res, err) => function __init() {
|
|
7
|
+
if (err) throw err[0];
|
|
8
|
+
try {
|
|
9
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
10
|
+
} catch (e) {
|
|
11
|
+
throw err = [e], e;
|
|
12
|
+
}
|
|
8
13
|
};
|
|
9
14
|
var __export = (target, all) => {
|
|
10
15
|
for (var name in all)
|
package/dist/element.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BottomSheetEngine } from './index.cjs';
|
|
2
|
+
import { CloseReason, EngineState } from './core.cjs';
|
|
3
|
+
import { AnchorOptions, ScrimStagesOptions } from './index.cjs';
|
|
3
4
|
import './transform-jVfAikE9.cjs';
|
|
4
5
|
|
|
5
6
|
declare const BaseHTMLElement: typeof HTMLElement;
|
|
@@ -58,4 +59,5 @@ type TypedBottomSheetElement<TId extends string = string> = HTMLElement & {
|
|
|
58
59
|
};
|
|
59
60
|
declare const defineBottomSheet: (tag?: string) => void;
|
|
60
61
|
|
|
61
|
-
export { BottomSheetElement,
|
|
62
|
+
export { BottomSheetElement, defineBottomSheet };
|
|
63
|
+
export type { TypedBottomSheetElement };
|
package/dist/element.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BottomSheetEngine } from './index.js';
|
|
2
|
+
import { CloseReason, EngineState } from './core.js';
|
|
3
|
+
import { AnchorOptions, ScrimStagesOptions } from './index.js';
|
|
3
4
|
import './transform-jVfAikE9.js';
|
|
4
5
|
|
|
5
6
|
declare const BaseHTMLElement: typeof HTMLElement;
|
|
@@ -58,4 +59,5 @@ type TypedBottomSheetElement<TId extends string = string> = HTMLElement & {
|
|
|
58
59
|
};
|
|
59
60
|
declare const defineBottomSheet: (tag?: string) => void;
|
|
60
61
|
|
|
61
|
-
export { BottomSheetElement,
|
|
62
|
+
export { BottomSheetElement, defineBottomSheet };
|
|
63
|
+
export type { TypedBottomSheetElement };
|