create-gardener 1.1.6 → 1.1.7

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 (26) hide show
  1. package/package.json +1 -1
  2. package/template/src/backend/controllers/gardener.controller.ts +6 -19
  3. package/template/src/backend/routes/gardener.route.ts +2 -1
  4. package/template/src/backend/server.ts +1 -1
  5. package/template/src/frontend/frontendtemplate.ejs +4 -4
  6. package/template/src/frontend/gardenerST.js +340 -0
  7. package/template/src/frontend/static/components/emailsvg.js +55 -0
  8. package/template/src/frontend/{components → static/components}/eyeoff.js +1 -1
  9. package/template/src/frontend/static/components/eyeon.js +43 -0
  10. package/template/src/frontend/{components → static/components}/notification.js +1 -1
  11. package/template/src/frontend/{components → static/components}/passwordBox.js +3 -3
  12. package/template/src/frontend/static/components/test.js +54 -0
  13. package/template/src/frontend/{gardener.js → static/gardener.js} +14 -1
  14. package/template/src/frontend/{style.css → static/style.css} +148 -347
  15. package/template/src/frontend/views/_.ejs +8 -8
  16. package/template/src/frontend/views/_login.ejs +8 -8
  17. package/.direnv/bin/nix-direnv-reload +0 -19
  18. package/.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc +0 -2140
  19. package/.envrc +0 -1
  20. package/template/src/frontend/components/emailsvg.js +0 -55
  21. package/template/src/frontend/components/eyeon.js +0 -44
  22. package/template/src/frontend/components/test.js +0 -54
  23. /package/template/src/{backend → frontend/static}/cache/gardener_500x500.webp +0 -0
  24. /package/template/src/frontend/{components → static/components}/nonui/api.js +0 -0
  25. /package/template/src/frontend/{global.js → static/global.js} +0 -0
  26. /package/template/src/frontend/{style2.css → static/style2.css} +0 -0
package/.envrc DELETED
@@ -1 +0,0 @@
1
- use flake
@@ -1,55 +0,0 @@
1
-
2
- import { gardener, fetchElement, replaceElement } from '../gardener.js'
3
-
4
- export default function thisfun() {
5
- return gardener({
6
- "t": "span",
7
- "cn": [
8
- "emailsvg"
9
- ],
10
- "children": [
11
- {
12
- "t": "svg",
13
- "cn": [
14
- "icon",
15
- "icon-tabler",
16
- "icons-tabler-outline",
17
- "icon-tabler-mail"
18
- ],
19
- "attr": {
20
- "xmlns": "http://www.w3.org/2000/svg",
21
- "width": "24",
22
- "height": "24",
23
- "viewBox": "0 0 24 24",
24
- "fill": "none",
25
- "stroke": "currentColor",
26
- "stroke-width": "2",
27
- "stroke-linecap": "round",
28
- "stroke-linejoin": "round"
29
- },
30
- "children": [
31
- {
32
- "t": "path",
33
- "attr": {
34
- "stroke": "none",
35
- "d": "M0 0h24v24H0z",
36
- "fill": "none"
37
- }
38
- },
39
- {
40
- "t": "path",
41
- "attr": {
42
- "d": "M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10"
43
- }
44
- },
45
- {
46
- "t": "path",
47
- "attr": {
48
- "d": "M3 7l9 6l9 -6"
49
- }
50
- }
51
- ]
52
- }
53
- ]
54
- })
55
- }
@@ -1,44 +0,0 @@
1
-
2
- import { gardener } from '../gardener.js'
3
-
4
- export default function () {
5
- return gardener({
6
- "t": "svg",
7
- "cn": [
8
- "eye"
9
- ],
10
- "attr": {
11
- "xmlns": "http://www.w3.org/2000/svg",
12
- "width": "24",
13
- "height": "24",
14
- "viewBox": "0 0 24 24",
15
- "fill": "none",
16
- "stroke": "currentColor",
17
- "stroke-width": "2",
18
- "stroke-linecap": "round",
19
- "stroke-linejoin": "round"
20
- },
21
- "children": [
22
- {
23
- "t": "path",
24
- "attr": {
25
- "stroke": "none",
26
- "d": "M0 0h24v24H0z",
27
- "fill": "none"
28
- }
29
- },
30
- {
31
- "t": "path",
32
- "attr": {
33
- "d": "M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0"
34
- }
35
- },
36
- {
37
- "t": "path",
38
- "attr": {
39
- "d": "M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6"
40
- }
41
- }
42
- ]
43
- })
44
- }
@@ -1,54 +0,0 @@
1
-
2
- import { gardener, fetchElement, replaceElement } from '../gardener.js'
3
-
4
- export default function thisfun() {
5
- return gardener({
6
- "t": "div",
7
- "attr": {
8
- "id": "body"
9
- },
10
- "children": [
11
- {
12
- "t": "div",
13
- "cn": [
14
- "h-screen",
15
- "w-screen",
16
- "bg-white",
17
- "loader",
18
- "absolute"
19
- ],
20
- "attr": {
21
- "style": "transition: 0.4s; opacity: 0;"
22
- },
23
- "txt": ""
24
- },
25
- {
26
- "t": "div",
27
- "cn": [
28
- "hero",
29
- "flex",
30
- "justify-around",
31
- "items-center",
32
- "p-5",
33
- "h-[90vh]"
34
- ],
35
- "children": [
36
- {
37
- "t": "p",
38
- "cn": [
39
- "p-5"
40
- ],
41
- "txt": "Gardener is a front-end library for creating and manipulating DOM elements using a declarative JavaScript object syntax. It includes a development server with features like timely reload and on-the-fly component creation from existing HTML. The server also provides dynamic image resizing and caching."
42
- },
43
- {
44
- "t": "img",
45
- "attr": {
46
- "src": "/cache/gardener_500x500.webp",
47
- "alt": "logo"
48
- }
49
- }
50
- ]
51
- }
52
- ]
53
- })
54
- }