@loadsmart/miranda-wc 1.35.1 → 1.36.1
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/components/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/popover/index.d.ts +4 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +49 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/popover/popover.styles.d.ts +3 -0
- package/dist/components/popover/popover.styles.d.ts.map +1 -0
- package/dist/components/popover/popover.types.d.ts +11 -0
- package/dist/components/popover/popover.types.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.styles.ts"],"names":[],"mappings":"AAYA,iBAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.styles.ts"],"names":[],"mappings":"AAYA,iBAAS,MAAM,4BAoGd;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE5D,YAAY,EACX,YAAY,EACZ,gBAAgB,EAChB,eAAe,GACf,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { PropertyValues } from 'lit';
|
|
2
|
+
import type { PopoverProps } from './popover.types';
|
|
3
|
+
import { Component } from '../component';
|
|
4
|
+
export declare const POPOVER_PLACEMENT_VALUES: string[];
|
|
5
|
+
export declare abstract class Popover extends Component {
|
|
6
|
+
#private;
|
|
7
|
+
static get properties(): {
|
|
8
|
+
position: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
reflect: boolean;
|
|
11
|
+
};
|
|
12
|
+
placement: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
};
|
|
15
|
+
open: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
reflect: boolean;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Popover positioning strategy.
|
|
22
|
+
*/
|
|
23
|
+
position: PopoverProps['position'];
|
|
24
|
+
/**
|
|
25
|
+
* Popover placement.
|
|
26
|
+
*/
|
|
27
|
+
placement: PopoverProps['placement'];
|
|
28
|
+
/**
|
|
29
|
+
* Should popover's floating be open.
|
|
30
|
+
*/
|
|
31
|
+
open: PopoverProps['open'];
|
|
32
|
+
constructor();
|
|
33
|
+
disconnectedCallback(): void;
|
|
34
|
+
protected firstUpdated(): void;
|
|
35
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
36
|
+
abstract getReferenceElement(): HTMLElement | null;
|
|
37
|
+
abstract getFloatingElement(): HTMLElement | null;
|
|
38
|
+
abstract getArrowElement(): HTMLElement | null;
|
|
39
|
+
getFloatingOffset: () => number;
|
|
40
|
+
get reference(): HTMLElement | null;
|
|
41
|
+
get floating(): HTMLElement | null;
|
|
42
|
+
get arrow(): HTMLElement | null;
|
|
43
|
+
show(): void;
|
|
44
|
+
hide(): void;
|
|
45
|
+
toggle(): void;
|
|
46
|
+
renderArrow: () => import("lit-html").TemplateResult<1>;
|
|
47
|
+
reposition: (reason?: string) => Promise<void>;
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,KAAK,EAGX,YAAY,EAEZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAUzC,eAAO,MAAM,wBAAwB,UASpC,CAAC;AAEF,8BAAsB,OAAQ,SAAQ,SAAS;;IAC9C,WAAoB,UAAU;;;;;;;;;;;;MAM7B;IAED;;OAEG;IACK,QAAQ,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IAE3C;;OAEG;IACK,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IAE7C;;OAEG;IACK,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;;IAY1B,oBAAoB,IAAI,IAAI;cAMlB,YAAY,IAAI,IAAI;IAU9B,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAYxD,QAAQ,CAAC,mBAAmB,IAAI,WAAW,GAAG,IAAI;IAClD,QAAQ,CAAC,kBAAkB,IAAI,WAAW,GAAG,IAAI;IACjD,QAAQ,CAAC,eAAe,IAAI,WAAW,GAAG,IAAI;IAG9C,iBAAiB,eAEf;IAEF,IAAI,SAAS,uBAEZ;IAED,IAAI,QAAQ,uBAEX;IAED,IAAI,KAAK,uBAER;IAED,IAAI;IAQJ,IAAI;IAOJ,MAAM;IASN,WAAW,6CAMT;IAEF,UAAU,YAAmB,MAAM,mBA8CjC;CA6FF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.styles.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.styles.ts"],"names":[],"mappings":"AAMA,iBAAS,MAAM,8BA6Fd;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Strategy, Side } from '@floating-ui/dom';
|
|
2
|
+
export type PopoverPosition = Strategy;
|
|
3
|
+
export type AlignedPlacement = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
4
|
+
export type PopoverPlacement = Side | AlignedPlacement;
|
|
5
|
+
export type { Side };
|
|
6
|
+
export interface PopoverProps {
|
|
7
|
+
position?: PopoverPosition;
|
|
8
|
+
placement?: PopoverPlacement;
|
|
9
|
+
open?: boolean;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=popover.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/popover/popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;AACvC,MAAM,MAAM,gBAAgB,GACzB,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,CAAC;AAChB,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,gBAAgB,CAAC;AAEvD,YAAY,EAAE,IAAI,EAAE,CAAC;AAErB,MAAM,WAAW,YAAY;IAC5B,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;CACf"}
|