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 +1 -1
- package/README.md +22 -19
- package/index.cjs +811 -620
- package/index.d.ts +0 -1
- package/index.js +812 -617
- package/llms.txt +55 -0
- package/markdown/GUIDE.md +315 -0
- package/markdown/SUMMARY.md +0 -0
- package/package.json +8 -5
- package/types/files.d.ts +1 -1
- package/types/layerpro.d.ts +1 -1
- package/FUNDING.yml +0 -12
- package/types/jquery.d.ts +0 -17
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
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
|

|
|
5
4
|
|
|
6
|
-
Drop-in replacement for browser modals with superpowers.
|
|
7
|
-
|
|
8
5
|
[](https://npmjs.org/package/layerpro)
|
|
9
|
-
[](https://packagephobia.now.sh/result?p=layerpro)
|
|
10
6
|
[](https://npmjs.org/package/layerpro)
|
|
11
7
|
|
|
12
8
|

|
|
13
|
-
|
|
14
|
-
[](https://socket.dev/npm/package/layerpro)
|
|
9
|
+

|
|
15
10
|
|
|
16
11
|

|
|
17
|
-

|
|
13
|
+

|
|
14
|
+

|
|
15
|
+
|
|
18
16
|

|
|
19
|
-

|
|
20
17
|

|
|
21
|
-

|
|
22
19
|
|
|
23
|
-

|
|
21
|
+

|
|
25
22
|

|
|
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,
|
|
41
|
-
- **Dockable windows
|
|
42
|
-
- **Draggable & Resizable**:
|
|
43
|
-
- **
|
|
44
|
-
- **
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|