mnfst 0.5.14

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.
Files changed (47) hide show
  1. package/LICENSE +11 -0
  2. package/README.md +58 -0
  3. package/dist/manifest.accordion.css +81 -0
  4. package/dist/manifest.appwrite.auth.js +6247 -0
  5. package/dist/manifest.appwrite.data.js +1586 -0
  6. package/dist/manifest.appwrite.presence.js +1845 -0
  7. package/dist/manifest.avatar.css +113 -0
  8. package/dist/manifest.button.css +79 -0
  9. package/dist/manifest.checkbox.css +58 -0
  10. package/dist/manifest.code.css +453 -0
  11. package/dist/manifest.code.js +958 -0
  12. package/dist/manifest.code.min.css +1 -0
  13. package/dist/manifest.components.js +737 -0
  14. package/dist/manifest.css +3124 -0
  15. package/dist/manifest.data.js +11413 -0
  16. package/dist/manifest.dialog.css +130 -0
  17. package/dist/manifest.divider.css +77 -0
  18. package/dist/manifest.dropdown.css +278 -0
  19. package/dist/manifest.dropdowns.js +378 -0
  20. package/dist/manifest.form.css +169 -0
  21. package/dist/manifest.icons.js +161 -0
  22. package/dist/manifest.input.css +129 -0
  23. package/dist/manifest.js +302 -0
  24. package/dist/manifest.localization.js +571 -0
  25. package/dist/manifest.markdown.js +738 -0
  26. package/dist/manifest.min.css +1 -0
  27. package/dist/manifest.radio.css +38 -0
  28. package/dist/manifest.resize.css +233 -0
  29. package/dist/manifest.resize.js +442 -0
  30. package/dist/manifest.router.js +1207 -0
  31. package/dist/manifest.sidebar.css +102 -0
  32. package/dist/manifest.slides.css +80 -0
  33. package/dist/manifest.slides.js +173 -0
  34. package/dist/manifest.switch.css +44 -0
  35. package/dist/manifest.table.css +74 -0
  36. package/dist/manifest.tabs.js +273 -0
  37. package/dist/manifest.tailwind.js +578 -0
  38. package/dist/manifest.theme.css +119 -0
  39. package/dist/manifest.themes.js +109 -0
  40. package/dist/manifest.toast.css +92 -0
  41. package/dist/manifest.toasts.js +285 -0
  42. package/dist/manifest.tooltip.css +156 -0
  43. package/dist/manifest.tooltips.js +331 -0
  44. package/dist/manifest.typography.css +341 -0
  45. package/dist/manifest.utilities.css +399 -0
  46. package/dist/manifest.utilities.js +3197 -0
  47. package/package.json +63 -0
package/LICENSE ADDED
@@ -0,0 +1,11 @@
1
+ # MIT License
2
+
3
+ ---
4
+
5
+ Copyright © 2025 Andrew Matlock
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
+
9
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,58 @@
1
+ # Manifest
2
+
3
+ Manifest is a frontend framework extending HTML for rapid, feature-rich website and web app development, consisting of:
4
+
5
+ - A collection of plugins built on Alpine JS
6
+ - A CSS library, compatible with Tailwind CSS
7
+
8
+ **With Manifest:**
9
+ - Skip the build steps
10
+ - Use only what you need
11
+ - Stack with other frameworks & libraries
12
+
13
+ <br>
14
+
15
+ ## 💾 Setup
16
+
17
+ Get [CDN links](https://manifestjs.dev/getting-started/setup) for existing projects or try the [starter project](https://manifestjs.dev/getting-started/starter-project) for new ones.
18
+
19
+ <br>
20
+
21
+ ## ✅ Features
22
+
23
+ **Alpine Plugins:**
24
+ - Color Themes
25
+ - Components
26
+ - Data Sources
27
+ - Localization
28
+ - SPA Routing
29
+
30
+ **UX/UI:**
31
+ - Global Theme
32
+ - Utility Classes
33
+ - 20+ Elements
34
+
35
+ **...and more**
36
+
37
+ <br>
38
+
39
+ ## 📚 Documentation
40
+
41
+ For full documentation visit [manifestjs.dev](https://manifestjs.dev).
42
+
43
+ <br>
44
+
45
+ ## 📄 License
46
+
47
+ Manifest is provided under MIT license.
48
+
49
+ <br>
50
+
51
+ ## 🙏 Acknowledgments
52
+
53
+ - [Alpine.js](https://alpinejs.dev) - Lightweight reactive framework, powering Manifest plugins and bundled in `manifest.js`
54
+ - [Tailwind CSS](https://tailwindcss.com) - Utility-first CSS framework, with its Play CDN script bundled in `manifest.js`
55
+ - [Iconify](https://iconify.design) - Collection of all major icon libraries, bundled in Manifest
56
+ - [highlight.js](https://highlightjs.org) - Syntax highlighter, referenced as needed by Manifest
57
+ - [js-yaml](https://nodeca.github.io/js-yaml) - YAML parser, references as needed by Manifest
58
+ - [Marked JS](https://marked.js.org) - Markdown parser, referenced as needed by Manifest
@@ -0,0 +1,81 @@
1
+ /* Manifest Accordions */
2
+
3
+ @layer components {
4
+
5
+
6
+ :where(details):not(.unstyle) {
7
+ width: 100%;
8
+ transition: var(--transition, all .05s ease-in-out);
9
+
10
+ /* Rotate icon */
11
+ &[open]>summary:before {
12
+ transform: rotate(90deg)
13
+ }
14
+
15
+ /* Content spacing */
16
+ & [open] summary {
17
+ margin-bottom: calc(var(--spacing, 0.25rem) * 4)
18
+ }
19
+
20
+ &> :not(summary) {
21
+ padding: var(--spacing-field-padding, 0.625rem) 0
22
+ }
23
+
24
+ /* Content */
25
+ :where(summary) {
26
+ position: relative;
27
+ display: flex;
28
+ justify-content: space-between;
29
+ align-items: center;
30
+ font-weight: bold;
31
+ color: var(--color-content-stark, oklch(16.6% 0.026 267));
32
+ user-select: none;
33
+ cursor: pointer;
34
+ transition: var(--transition, all .05s ease-in-out);
35
+
36
+ /* Hide default caret */
37
+ &::marker,
38
+ &::-webkit-details-marker {
39
+ display: none;
40
+ content: ""
41
+ }
42
+
43
+ &:hover {
44
+ color: color-mix(in oklch, var(--color-surface-1, oklch(98.17% 0.0005 95.87)) 40%, var(--color-content-stark, oklch(16.6% 0.026 267)))
45
+ }
46
+
47
+ &:active {
48
+ color: color-mix(in oklch, var(--color-surface-1, oklch(98.17% 0.0005 95.87)) 50%, var(--color-content-stark, oklch(16.6% 0.026 267)))
49
+ }
50
+
51
+ /* Add custom icon */
52
+ &:before {
53
+ content: "";
54
+ order: 1;
55
+ width: 1rem;
56
+ height: 1rem;
57
+ background-color: color-mix(in oklch, var(--color-field-surface, oklch(91.79% 0.0029 264.26)) 50%, var(--color-field-inverse, oklch(16.6% 0.026 267)));
58
+ -webkit-mask-image: var(--icon-accordion, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 256 256'%3E%3Cpath fill='%23000' d='m184.49 136.49l-80 80a12 12 0 0 1-17-17L159 128L87.51 56.49a12 12 0 1 1 17-17l80 80a12 12 0 0 1-.02 17'/%3E%3C/svg%3E"));
59
+ mask-image: var(--icon-accordion, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 256 256'%3E%3Cpath fill='%23000' d='m184.49 136.49l-80 80a12 12 0 0 1-17-17L159 128L87.51 56.49a12 12 0 1 1 17-17l80 80a12 12 0 0 1-.02 17'/%3E%3C/svg%3E"));
60
+ -webkit-mask-repeat: no-repeat;
61
+ mask-repeat: no-repeat;
62
+ -webkit-mask-size: 100% 100%;
63
+ mask-size: 100% 100%;
64
+ transform: rotate(0);
65
+ transition: 0.25s transform ease
66
+ }
67
+ }
68
+ }
69
+
70
+ /* RTL support */
71
+ [dir=rtl] :where(details):not(.unstyle) {
72
+
73
+ & summary::before {
74
+ transform: rotate(180deg)
75
+ }
76
+
77
+ &[open]>summary::before {
78
+ transform: rotate(90deg)
79
+ }
80
+ }
81
+ }