fastlifeweb 0.24.0__py3-none-any.whl → 0.25.1__py3-none-any.whl

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 (38) hide show
  1. CHANGELOG.md +11 -0
  2. fastlife/adapters/jinjax/widget_factory/emailstr_builder.py +1 -0
  3. fastlife/adapters/jinjax/widget_factory/secretstr_builder.py +3 -4
  4. fastlife/adapters/jinjax/widgets/mfa_code.py +25 -0
  5. fastlife/adapters/jinjax/widgets/text.py +29 -2
  6. fastlife/assets/dist.css +768 -0
  7. fastlife/assets/source.css +1 -0
  8. fastlife/components/A.jinja +1 -1
  9. fastlife/components/Button.jinja +1 -1
  10. fastlife/components/Checkbox.jinja +1 -1
  11. fastlife/components/Details.jinja +1 -1
  12. fastlife/components/Form.jinja +1 -1
  13. fastlife/components/H1.jinja +1 -1
  14. fastlife/components/H2.jinja +1 -1
  15. fastlife/components/H3.jinja +1 -1
  16. fastlife/components/H4.jinja +1 -1
  17. fastlife/components/H5.jinja +1 -1
  18. fastlife/components/H6.jinja +1 -1
  19. fastlife/components/Input.jinja +23 -4
  20. fastlife/components/Label.jinja +1 -1
  21. fastlife/components/P.jinja +1 -1
  22. fastlife/components/Password.jinja +51 -0
  23. fastlife/components/Radio.jinja +3 -3
  24. fastlife/components/Select.jinja +1 -1
  25. fastlife/components/Summary.jinja +2 -2
  26. fastlife/components/Table.jinja +1 -1
  27. fastlife/components/Td.jinja +1 -1
  28. fastlife/components/Th.jinja +1 -1
  29. fastlife/components/pydantic_form/Error.jinja +9 -3
  30. fastlife/components/pydantic_form/FatalError.jinja +19 -5
  31. fastlife/service/templates.py +1 -0
  32. fastlife/template_globals.py +19 -5
  33. {fastlifeweb-0.24.0.dist-info → fastlifeweb-0.25.1.dist-info}/METADATA +3 -2
  34. {fastlifeweb-0.24.0.dist-info → fastlifeweb-0.25.1.dist-info}/RECORD +37 -34
  35. {fastlifeweb-0.24.0.dist-info → fastlifeweb-0.25.1.dist-info}/licenses/LICENSE +1 -1
  36. tailwind.config.js +0 -57
  37. {fastlifeweb-0.24.0.dist-info → fastlifeweb-0.25.1.dist-info}/WHEEL +0 -0
  38. {fastlifeweb-0.24.0.dist-info → fastlifeweb-0.25.1.dist-info}/entry_points.txt +0 -0
tailwind.config.js DELETED
@@ -1,57 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- darkMode: "class",
4
- content: [
5
- "./src/fastlife/template_globals.py",
6
- "./src/fastlife/components/*.jinja",
7
- "./src/fastlife/components/**/*.jinja",
8
- "./tests/fastlife_app/templates/*.jinja",
9
- "./tests/fastlife_app/templates/**/*.jinja",
10
- ],
11
- theme: {
12
- extend: {
13
- colors: {
14
- primary: {
15
- 50: "#f0f9ff",
16
- 100: "#e0f2fe",
17
- 200: "#bae6fd",
18
- 300: "#7dd3fc",
19
- 400: "#38bdf8",
20
- 500: "#0ea5e9",
21
- 600: "#0284c7",
22
- 700: "#0369a1",
23
- 800: "#075985",
24
- 900: "#0c4a6e",
25
- 950: "#082f49",
26
- },
27
- danger: {
28
- 50: "#fef2f2",
29
- 100: "#fee2e2",
30
- 200: "#fecaca",
31
- 300: "#fca5a5",
32
- 400: "#f87171",
33
- 500: "#ef4444",
34
- 600: "#dc2626",
35
- 700: "#b91c1c",
36
- 800: "#991b1b",
37
- 900: "#7f1d1d",
38
- 950: "#450a0a",
39
- },
40
- neutral: {
41
- 50: "#fafaf9",
42
- 100: "#f5f5f4",
43
- 200: "#e7e5e4",
44
- 300: "#d6d3d1",
45
- 400: "#a8a29e",
46
- 500: "#78716c",
47
- 600: "#57534e",
48
- 700: "#44403c",
49
- 800: "#292524",
50
- 900: "#1c1917",
51
- 950: "#0c0a09",
52
- },
53
- },
54
- },
55
- },
56
- plugins: [],
57
- };