layerpro 2.5.0 → 3.0.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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2019 Dario Passariello - <dariopassariello@gmail.com>
3
+ Copyright (c) 2026 Dario Passariello - <dariopassariello@gmail.com>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,27 +1,24 @@
1
1
  # [LayerPro](https://npmjs.com/package/layerpro)
2
2
 
3
-
4
3
  ![layerpro](https://raw.githubusercontent.com/passariello/container/be0611e9bead336dcec32d522d103e7e3661f502/layerpro/assets/logos/logo.svg)
5
4
 
6
- Drop-in replacement for browser modals with superpowers.
7
-
8
5
  [![version](https://img.shields.io/npm/v/layerpro.svg)](https://npmjs.org/package/layerpro)
9
- [![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=layerpro&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=layerpro)
10
6
  [![downloads](https://img.shields.io/npm/dm/layerpro.svg)](https://npmjs.org/package/layerpro)
11
7
 
12
8
  ![Snyk](https://img.shields.io/badge/Snyk-gray?logo=Snyk)
13
- [![Known Vulnerabilities](https://snyk.io/test/npm/layerpro/badge.svg)](https://snyk.io/test/npm/layerpro)
14
- [![Socket Badge](https://socket.dev/api/badge/npm/package/layerpro)](https://socket.dev/npm/package/layerpro)
9
+ ![Socket](https://img.shields.io/badge/Socket-gray?logo=Socket)
15
10
 
16
11
  ![Node.js](https://img.shields.io/badge/Node.js-gray?logo=node.js)
17
- ![Jquery](https://img.shields.io/badge/jquery-gray?logo=jquery)
12
+ ![Browser](https://img.shields.io/badge/Browser-gray?logo=google-chrome)
13
+ ![Deno](https://img.shields.io/badge/Deno-gray?logo=deno)
14
+ ![tsup](https://img.shields.io/badge/tsup-gray?logo=esbuild)
15
+
18
16
  ![React](https://img.shields.io/badge/React-gray?logo=React)
19
- ![Javascript](https://img.shields.io/badge/Javascript-gray?logo=Javascript)
20
17
  ![TypeScript](https://img.shields.io/badge/TypeScript-gray?logo=typescript)
21
- ![esbuild](https://img.shields.io/badge/esbuild-gray?logo=esbuild)
18
+ ![Javascript](https://img.shields.io/badge/Javascript-gray?logo=Javascript)
22
19
 
23
- ![Jest](https://img.shields.io/badge/Jest-gray?logo=jest)
24
- ![ESLint](https://img.shields.io/badge/Eslint-gray?logo=eslint)
20
+ ![Vitest](https://img.shields.io/badge/Vitest-gray?logo=vitest)
21
+ ![OXlint](https://img.shields.io/badge/Oxlint-gray?logo=oxc)
25
22
  ![Playwright](https://img.shields.io/badge/Playwright-gray?logo=playwright)
26
23
 
27
24
  ---
@@ -36,12 +33,13 @@ No more ugly popup boxes. No more blocking the main thread. Just clean, modern m
36
33
 
37
34
  ## Features
38
35
 
36
+ - **Zero runtime dependencies**: no jQuery — pure vanilla DOM helpers; React/react-dom are external and only used to render the modal body
39
37
  - **Multiple modal types**: alert, confirm, prompt, message
40
- - **Fully customizable**: appearance, behavior, animations
41
- - **Dockable windows**: minimize modals to a dock bar
42
- - **Draggable & Resizable**: users can move and resize
43
- - **Smooth animations**: fade in/out transitions
44
- - **XSS protection**: built-in HTML sanitization
38
+ - **Fully customizable**: appearance, behavior, and content
39
+ - **Dockable windows (taskbar style)**: click a dock icon to restore, focus, or minimize — just like an OS taskbar
40
+ - **Draggable & Resizable**: instant, with no transition lag while resizing
41
+ - **Maximize is pure CSS**: uses `position: fixed` + insets, so it follows the viewport with no JS resize listeners
42
+ - **Fade in/out** transitions for open/close
45
43
  - **TypeScript support**: full type definitions
46
44
 
47
45
  ---
@@ -201,10 +199,15 @@ Chrome 80+ • Firefox 75+ • Safari 13+ • Edge 80+
201
199
 
202
200
  ---
203
201
 
204
- We take security seriously. Every release is audited:
202
+ ## Contributing
203
+
204
+ LayerPro is **open source** and free for everyone. The current source is private,
205
+ but **anyone is welcome to join**. If you'd like to contribute, propose changes,
206
+ or just talk about the project, get in touch:
207
+
208
+ - **Dario Passariello** — https://dario.passariello.ca/ — dariopassariello@gmail.com
205
209
 
206
- - [Socket.dev Audit](https://socket.dev/npm/package/dphelper)
207
- - [Snyk Security Report](https://security.snyk.io/package/npm/dphelper)
210
+ Participation is voluntary and free — everyone is free to take part.
208
211
 
209
212
  ---
210
213