@florid-kit/components 0.9.28 → 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.
@@ -2,39 +2,31 @@ import { LitElement } from 'lit';
2
2
 
3
3
  /**
4
4
  * <o-popin>
5
- * A11y-friendly popin (modal). Adjustments:
6
- * - Default is FULLSCREEN
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
- /** Whether the popin is open */
9
+ /** Page Designer (aperçu standalone) */
20
10
  ispagedesigner: boolean;
21
- /** CSS class to apply to the popin */
11
+ /** CSS class externe optionnelle */
22
12
  get classPopin(): string;
23
13
  set classPopin(value: string);
24
14
  private _classPopin;
25
- /** Whether the popin is open */
15
+ /** Ouverture */
26
16
  open: boolean;
27
- /** Background image URL (optional) */
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
- /** Close when pressing Escape */
21
+ /** Fermer via ESC */
30
22
  closeOnEsc: boolean;
31
- /** Close when clicking on the backdrop */
23
+ /** Fermer via clic backdrop */
32
24
  closeOnBackdrop: boolean;
33
- /** Prevent page scroll while open */
25
+ /** Bloquer le scroll de page */
34
26
  lockScroll: boolean;
35
- /** Layout variant: "fullscreen" (default) or "dialog" */
36
- variant: 'fullscreen' | 'dialog';
37
- /** Optional max-width of the dialog content when variant="dialog" (e.g., "640px"). */
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;