fastlifeweb 0.24.0__py3-none-any.whl → 0.25.0__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.
CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.25.0 - Released on 2025-02-18
2
+ * Migrate CSS to tailwincss 4
3
+
1
4
  ## 0.24.0 - Released on 2025-01-17
2
5
  * Add a way to hook the lifespan to the app
3
6
 
@@ -39,7 +39,7 @@ class Globals(BaseModel):
39
39
  "text-white",
40
40
  "hover:bg-primary-700",
41
41
  "hover:bg-primary-200",
42
- "focus:outline-none",
42
+ "focus:outline-hidden",
43
43
  "focus:ring-4",
44
44
  "focus:ring-primary-300",
45
45
  "dark:bg-primary-600",
@@ -60,7 +60,7 @@ class Globals(BaseModel):
60
60
  "text-center",
61
61
  "text-neutral-900",
62
62
  "text-sm",
63
- "focus:outline-none",
63
+ "focus:outline-hidden",
64
64
  "focus:ring-4",
65
65
  "focus:ring-primary-300",
66
66
  "hover:bg-neutral-200",
@@ -81,12 +81,12 @@ class Globals(BaseModel):
81
81
  ICON_BUTTON_CLASS: str = space_join(
82
82
  "bg-white",
83
83
  "p-1",
84
- "rounded-sm",
84
+ "rounded-xs",
85
85
  "text-primary-600",
86
86
  "border",
87
87
  "border-primary-600",
88
88
  "hover:bg-primary-200",
89
- "focus:outline-none",
89
+ "focus:outline-hidden",
90
90
  "focus:ring-4",
91
91
  "focus:ring-primary-500",
92
92
  "dark:bg-primary-900",
@@ -112,7 +112,7 @@ class Globals(BaseModel):
112
112
  "bg-neutral-100",
113
113
  "border-neutral-300",
114
114
  "h-4",
115
- "rounded",
115
+ "rounded-sm",
116
116
  "text-primary-600",
117
117
  "w-4",
118
118
  "dark:bg-neutral-700",
@@ -1,15 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastlifeweb
3
- Version: 0.24.0
3
+ Version: 0.25.0
4
4
  Summary: High-level web framework
5
5
  Author-Email: Guillaume Gauvrit <guillaume@gauvr.it>
6
- License: MIT License
6
+ License: MIT
7
7
  Classifier: Development Status :: 4 - Beta
8
8
  Classifier: Framework :: AsyncIO
9
9
  Classifier: Intended Audience :: Developers
10
10
  Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
12
12
  Classifier: Topic :: Internet :: WWW/HTTP
13
+ Classifier: Typing :: Typed
13
14
  Project-URL: Homepage, https://mardiros.github.io/fastlife
14
15
  Project-URL: Documentation, https://mardiros.github.io/fastlife
15
16
  Project-URL: Repository, https://github.com/mardiros/fastlife.git
@@ -1,4 +1,4 @@
1
- CHANGELOG.md,sha256=1gHbqLrx79ltwysUaPw25Sp6Aqz5nbyZK_qcgJxc6Og,7952
1
+ CHANGELOG.md,sha256=vPPDKoWZ3BBiM8Bx1tJV0PpKvuqDWhpLowTYC87ZajA,8019
2
2
  fastlife/__init__.py,sha256=nXWE4AbhkhG_yBjPJU-XnKDMTsU9ebv7Vj4eIciWQI0,2219
3
3
  fastlife/adapters/__init__.py,sha256=imPD1hImpgrYkvUJRhHA5kVyGAua7VbP2WGkhSWKJT8,93
4
4
  fastlife/adapters/fastapi/__init__.py,sha256=1goV1FGFP04TGyskJBLKZam4Gvt1yoAvLMNs4ekWSSQ,243
@@ -1721,7 +1721,7 @@ fastlife/settings.py,sha256=q-rz4CEF2RQGow5-m-yZJOvdh3PPb2c1Q_ZLJGnu4VQ,3647
1721
1721
  fastlife/shared_utils/__init__.py,sha256=i66ytuf-Ezo7jSiNQHIsBMVIcB-tDX0tg28-pUOlhzE,26
1722
1722
  fastlife/shared_utils/infer.py,sha256=0GflLkaWJ-4LZ1Ig3moR-_o55wwJ_p_vJ4xo-yi3lyA,1406
1723
1723
  fastlife/shared_utils/resolver.py,sha256=Wb9cO2MWavpti63hju15xmwFMgaD5DsQaxikRpB39E8,3713
1724
- fastlife/template_globals.py,sha256=rJ7XB9DlPubejs_GDlEyO9V98QZTJnmdTznlguYOyoc,8386
1724
+ fastlife/template_globals.py,sha256=ZJkO53mFL3l46YrH8ZHLw4hAG1oQcZ3KiBo4friGq2c,8395
1725
1725
  fastlife/testing/__init__.py,sha256=VpxkS3Zp3t_hH8dBiLaGFGhsvt511dhBS_8fMoFXdmU,99
1726
1726
  fastlife/testing/dom.py,sha256=dVzDoZokn-ii681UaEwAr-khM5KE-CHgXSSLSo24oH0,4489
1727
1727
  fastlife/testing/form.py,sha256=diiGfVMfNt19JTNUxlnbGfcbskR3ZMpk0Y-A57vfShc,7871
@@ -1729,9 +1729,8 @@ fastlife/testing/session.py,sha256=LEFFbiR67_x_g-ioudkY0C7PycHdbDfaIaoo_G7GXQ8,2
1729
1729
  fastlife/testing/testclient.py,sha256=Id1tlA1ZapyW-8kUh2_U3lLteL64m3ERqOO7NAN7HEY,6922
1730
1730
  fastlife/views/__init__.py,sha256=zG8gveL8e2zBdYx6_9jtZfpQ6qJT-MFnBY3xXkLwHZI,22
1731
1731
  fastlife/views/pydantic_form.py,sha256=o7EUItciAGL1OSaGNHo-3BTrYAk34GuWE7zGikjiAGY,1486
1732
- fastlifeweb-0.24.0.dist-info/METADATA,sha256=a4Pp2mA7yCIvBnvF7Jrrt0jzQRX7ousymKDpb1slGfY,3663
1733
- fastlifeweb-0.24.0.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
1734
- fastlifeweb-0.24.0.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1735
- fastlifeweb-0.24.0.dist-info/licenses/LICENSE,sha256=NlRX9Z-dcv8X1VFW9odlIQBbgNN9pcO94XzvKp2R16o,1075
1736
- tailwind.config.js,sha256=EN3EahBDmQBbmJvkw3SdGWNOkfkzw0cg-QvBikOhkrw,1348
1737
- fastlifeweb-0.24.0.dist-info/RECORD,,
1732
+ fastlifeweb-0.25.0.dist-info/METADATA,sha256=yQOfNm_DF3WTxoL0mgqY3PIx3bvnk3x1TVWux8HvNEg,3683
1733
+ fastlifeweb-0.25.0.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
1734
+ fastlifeweb-0.25.0.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1735
+ fastlifeweb-0.25.0.dist-info/licenses/LICENSE,sha256=JFWuiKYRXKKMEAsX0aZp3hBcju-HYflJ2rwJAGwbCJo,1080
1736
+ fastlifeweb-0.25.0.dist-info/RECORD,,
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024, Guillaume Gauvrit
3
+ Copyright (c) 2024-2025, Guillaume Gauvrit
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
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
- };