@cal.macconnachie/web-components 2.3.1 → 2.4.0
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/index.d.ts +7 -0
- package/dist/index.js +4450 -4376
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -203,6 +203,8 @@ export declare class BaseDateTimePicker extends BaseElement {
|
|
|
203
203
|
export declare class BaseDrawer extends BaseElement {
|
|
204
204
|
open: boolean;
|
|
205
205
|
size: 'sm' | 'md' | 'lg';
|
|
206
|
+
detents: number[];
|
|
207
|
+
persistOnOverlayClick: boolean;
|
|
206
208
|
private isClosing;
|
|
207
209
|
private isVisible;
|
|
208
210
|
private isDragging;
|
|
@@ -210,6 +212,7 @@ export declare class BaseDrawer extends BaseElement {
|
|
|
210
212
|
private dragCurrentY;
|
|
211
213
|
private dragStartTime;
|
|
212
214
|
private lastDragEndTime;
|
|
215
|
+
private currentDetentIndex;
|
|
213
216
|
private modalContainer?;
|
|
214
217
|
private modalBody?;
|
|
215
218
|
private transitionDuration;
|
|
@@ -222,6 +225,9 @@ export declare class BaseDrawer extends BaseElement {
|
|
|
222
225
|
private unlockBodyScroll;
|
|
223
226
|
private cleanupInlineStyles;
|
|
224
227
|
private resetState;
|
|
228
|
+
private getActiveDetents;
|
|
229
|
+
private isClosable;
|
|
230
|
+
private getCurrentDetentHeight;
|
|
225
231
|
private handleClose;
|
|
226
232
|
private handleOverlayClick;
|
|
227
233
|
private handleDragStart;
|
|
@@ -230,6 +236,7 @@ export declare class BaseDrawer extends BaseElement {
|
|
|
230
236
|
private handleHandleClick;
|
|
231
237
|
closeDrawer(): void;
|
|
232
238
|
openDrawer(): void;
|
|
239
|
+
setDetent(index: number, animated?: boolean): void;
|
|
233
240
|
render(): TemplateResult<1> | typeof nothing;
|
|
234
241
|
static styles: CSSResult;
|
|
235
242
|
}
|