@florid-kit/components 0.9.29 → 0.9.30
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/components/popin.d.ts +14 -22
- package/index.js +55 -114
- package/index.mjs +230 -283
- package/package.json +1 -1
package/components/popin.d.ts
CHANGED
|
@@ -2,39 +2,31 @@ import { LitElement } from 'lit';
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* <o-popin>
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* - Header expects inline SVG via a named <slot name="logo"> (no URL prop)
|
|
8
|
-
* - Close button, ESC / backdrop close, focus trapping entry point
|
|
9
|
-
* - Background image via CSS var or attribute `background-url` (optional)
|
|
10
|
-
* - Variant switch: set `variant="dialog"` for centered dialog with max-width
|
|
11
|
-
*
|
|
12
|
-
* Example:
|
|
13
|
-
* <o-popin open title="Welcome" background-url="https://...">
|
|
14
|
-
* <svg slot="logo" width="120" height="24" viewBox="0 0 120 24" aria-hidden="true">...</svg>
|
|
15
|
-
* <p>Your content here</p>
|
|
16
|
-
* </o-popin>
|
|
5
|
+
* - Fond contrôlable via `background` (couleur/gradient/url) ou `background-url` (image).
|
|
6
|
+
* - `background` est prioritaire sur `background-url`.
|
|
17
7
|
*/
|
|
18
8
|
export declare class OPopin extends LitElement {
|
|
19
|
-
/**
|
|
9
|
+
/** Page Designer (aperçu standalone) */
|
|
20
10
|
ispagedesigner: boolean;
|
|
21
|
-
/** CSS class
|
|
11
|
+
/** CSS class externe optionnelle */
|
|
22
12
|
get classPopin(): string;
|
|
23
13
|
set classPopin(value: string);
|
|
24
14
|
private _classPopin;
|
|
25
|
-
/**
|
|
15
|
+
/** Ouverture */
|
|
26
16
|
open: boolean;
|
|
27
|
-
/**
|
|
17
|
+
/** 🔸 Fond générique : couleur / gradient / url(...) center/cover no-repeat */
|
|
18
|
+
background: string;
|
|
19
|
+
/** 🔹 Fond image simple (compat) */
|
|
28
20
|
backgroundUrl: string;
|
|
29
|
-
/**
|
|
21
|
+
/** Fermer via ESC */
|
|
30
22
|
closeOnEsc: boolean;
|
|
31
|
-
/**
|
|
23
|
+
/** Fermer via clic backdrop */
|
|
32
24
|
closeOnBackdrop: boolean;
|
|
33
|
-
/**
|
|
25
|
+
/** Bloquer le scroll de page */
|
|
34
26
|
lockScroll: boolean;
|
|
35
|
-
/**
|
|
36
|
-
variant:
|
|
37
|
-
/**
|
|
27
|
+
/** Variant: fullscreen | dialog */
|
|
28
|
+
variant: "fullscreen" | "dialog";
|
|
29
|
+
/** Max-width pour variant=dialog */
|
|
38
30
|
maxWidth: string;
|
|
39
31
|
private _labelId;
|
|
40
32
|
connectedCallback(): void;
|