django-spire 0.19.4__py3-none-any.whl → 0.20.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.
Files changed (72) hide show
  1. django_spire/consts.py +1 -1
  2. django_spire/core/migrations/0001_initial.py +26 -0
  3. django_spire/core/migrations/__init__.py +0 -0
  4. django_spire/core/static/django_spire/css/app-background.css +6 -0
  5. django_spire/core/static/django_spire/css/app-import.css +1 -0
  6. django_spire/core/static/django_spire/css/app-override.css +0 -0
  7. django_spire/core/static/django_spire/css/themes/ayu/app-dark.css +2 -0
  8. django_spire/core/static/django_spire/css/themes/ayu/app-light.css +2 -0
  9. django_spire/core/static/django_spire/css/themes/catppuccin/app-dark.css +2 -0
  10. django_spire/core/static/django_spire/css/themes/catppuccin/app-light.css +2 -0
  11. django_spire/core/static/django_spire/css/themes/default/app-dark.css +2 -0
  12. django_spire/core/static/django_spire/css/themes/default/app-light.css +2 -0
  13. django_spire/core/static/django_spire/css/themes/gruvbox/app-dark.css +2 -0
  14. django_spire/core/static/django_spire/css/themes/gruvbox/app-light.css +2 -0
  15. django_spire/core/static/django_spire/css/themes/material/app-dark.css +2 -0
  16. django_spire/core/static/django_spire/css/themes/material/app-light.css +2 -0
  17. django_spire/core/static/django_spire/css/themes/nord/app-dark.css +2 -0
  18. django_spire/core/static/django_spire/css/themes/nord/app-light.css +2 -0
  19. django_spire/core/static/django_spire/css/themes/one-dark/app-dark.css +2 -0
  20. django_spire/core/static/django_spire/css/themes/one-dark/app-light.css +2 -0
  21. django_spire/core/static/django_spire/css/themes/palenight/app-dark.css +2 -0
  22. django_spire/core/static/django_spire/css/themes/palenight/app-light.css +2 -0
  23. django_spire/core/static/django_spire/css/themes/rose-pine/app-dark.css +2 -0
  24. django_spire/core/static/django_spire/css/themes/rose-pine/app-light.css +2 -0
  25. django_spire/core/static/django_spire/css/themes/tokyo-night/app-dark.css +2 -0
  26. django_spire/core/static/django_spire/css/themes/tokyo-night/app-light.css +2 -0
  27. django_spire/core/tags/__init__.py +0 -0
  28. django_spire/core/tags/intelligence/__init__.py +0 -0
  29. django_spire/core/tags/intelligence/tag_set_bot.py +41 -0
  30. django_spire/core/tags/mixins.py +61 -0
  31. django_spire/core/tags/models.py +38 -0
  32. django_spire/core/tags/querysets.py +9 -0
  33. django_spire/core/tags/tests/__init__.py +0 -0
  34. django_spire/core/tags/tests/test_intelligence.py +28 -0
  35. django_spire/core/tags/tests/test_tags.py +102 -0
  36. django_spire/core/tags/tools.py +20 -0
  37. django_spire/knowledge/collection/admin.py +20 -1
  38. django_spire/knowledge/collection/models.py +6 -1
  39. django_spire/knowledge/collection/services/service.py +2 -0
  40. django_spire/knowledge/collection/services/tag_service.py +52 -0
  41. django_spire/knowledge/collection/views/form_views.py +2 -0
  42. django_spire/knowledge/entry/admin.py +18 -2
  43. django_spire/knowledge/entry/models.py +6 -1
  44. django_spire/knowledge/entry/services/service.py +2 -0
  45. django_spire/knowledge/entry/services/tag_service.py +34 -0
  46. django_spire/knowledge/entry/version/urls/json_urls.py +5 -1
  47. django_spire/knowledge/entry/version/views/json_views.py +9 -0
  48. django_spire/knowledge/intelligence/decoders/collection_decoder.py +4 -4
  49. django_spire/knowledge/intelligence/decoders/entry_decoder.py +2 -2
  50. django_spire/knowledge/intelligence/workflows/knowledge_workflow.py +9 -3
  51. django_spire/knowledge/migrations/0008_collection_tags_entry_tags.py +24 -0
  52. django_spire/knowledge/templates/django_spire/knowledge/collection/page/display_page.html +16 -0
  53. django_spire/knowledge/templates/django_spire/knowledge/entry/version/container/{detail_container.html → editor_container.html} +6 -0
  54. django_spire/knowledge/templates/django_spire/knowledge/entry/version/page/editor_page.html +27 -10
  55. django_spire/theme/enums.py +0 -3
  56. django_spire/theme/models.py +0 -3
  57. django_spire/theme/tests/test_context_processor.py +6 -6
  58. django_spire/theme/tests/test_enums.py +0 -3
  59. django_spire/theme/tests/test_integration.py +2 -2
  60. django_spire/theme/tests/test_model.py +23 -24
  61. django_spire/theme/tests/test_views/test_json_views.py +4 -4
  62. {django_spire-0.19.4.dist-info → django_spire-0.20.0.dist-info}/METADATA +2 -2
  63. {django_spire-0.19.4.dist-info → django_spire-0.20.0.dist-info}/RECORD +66 -56
  64. django_spire/core/static/django_spire/css/themes/dracula/app-dark.css +0 -71
  65. django_spire/core/static/django_spire/css/themes/dracula/app-light.css +0 -66
  66. django_spire/core/static/django_spire/css/themes/oceanic-next/app-dark.css +0 -71
  67. django_spire/core/static/django_spire/css/themes/oceanic-next/app-light.css +0 -66
  68. django_spire/core/static/django_spire/css/themes/synthwave/app-dark.css +0 -71
  69. django_spire/core/static/django_spire/css/themes/synthwave/app-light.css +0 -66
  70. {django_spire-0.19.4.dist-info → django_spire-0.20.0.dist-info}/WHEEL +0 -0
  71. {django_spire-0.19.4.dist-info → django_spire-0.20.0.dist-info}/licenses/LICENSE.md +0 -0
  72. {django_spire-0.19.4.dist-info → django_spire-0.20.0.dist-info}/top_level.txt +0 -0
@@ -1,71 +0,0 @@
1
- [data-theme="dark"] {
2
- --app-primary: #ff7edb;
3
- --app-primary-soft: #301a2e;
4
- --app-primary-dark: #e967c8;
5
-
6
- --app-secondary: #848bbd;
7
- --app-secondary-soft: #3a3649;
8
- --app-secondary-dark: #6b7394;
9
-
10
- --app-accent: #f97e72;
11
- --app-accent-soft: #3d1f1f;
12
- --app-accent-dark: #f36c60;
13
-
14
- --app-success: #72f1b8;
15
- --app-success-soft: #1a2e28;
16
- --app-success-dark: #36f9aa;
17
-
18
- --app-warning: #fede5d;
19
- --app-warning-soft: #3d3d1a;
20
- --app-warning-dark: #fed83d;
21
-
22
- --app-danger: #ff8a80;
23
- --app-danger-soft: #3d2626;
24
- --app-danger-dark: #ff7a6b;
25
-
26
- --app-layer-one: #241b2f;
27
- --app-layer-two: #34294f;
28
- --app-layer-three: #495361;
29
- --app-layer-four: #6b7394;
30
-
31
- --app-alt-layer-one: #1e1529;
32
- --app-alt-layer-two: #2d2142;
33
- --app-alt-layer-three: #3d3454;
34
- --app-alt-layer-four: #4d4464;
35
-
36
- --app-default-attribute-title-color: #f92aad;
37
- --app-default-button-text-color: #2a2139;
38
- --app-default-text-color: #f92aad;
39
- --app-default-alt-text-color: #d084ac;
40
- --app-default-link-color: #ff7edb;
41
- --app-default-link-hover-color: #36f9aa;
42
-
43
- --app-side-navigation-bg-color: #241b2f;
44
- --app-side-navigation-text-color: #f92aad;
45
- --app-side-navigation-link-color: #f92aad;
46
- --app-side-navigation-link-hover-color: #ff7edb;
47
-
48
- --app-top-navigation-bg-color: #241b2f;
49
- --app-top-navigation-text-color: #f92aad;
50
- --app-top-navigation-link-color: #ff7edb;
51
- --app-top-navigation-link-hover-color: #36f9aa;
52
-
53
- --app-footer-bg-color: #241b2f;
54
- --app-footer-text-color: #f92aad;
55
- --app-footer-link-color: #ff7edb;
56
- --app-footer-link-hover-color: #36f9aa;
57
-
58
- --app-table-row-color: #2a2139;
59
- --app-table-row-alt-color: #34294f;
60
- --app-table-row-hover-color: #495361;
61
-
62
- --bs-border-color: #6b7394;
63
-
64
- --app-shadow-light: rgba(0, 0, 0, 0.3);
65
- --app-shadow-medium: rgba(0, 0, 0, 0.5);
66
- --app-shadow-heavy: rgba(0, 0, 0, 0.7);
67
- --app-shadow-navigation: rgba(0, 0, 0, 0.9);
68
-
69
- --app-border-translucent-light: rgba(107, 115, 148, 0.3);
70
- --app-focus-ring-primary: rgba(255, 126, 219, 0.25);
71
- }
@@ -1,66 +0,0 @@
1
- :root {
2
- --app-primary: #d946ef;
3
- --app-primary-soft: #faf5ff;
4
- --app-primary-dark: #c026d3;
5
-
6
- --app-secondary: #6366f1;
7
- --app-secondary-soft: #f0f0ff;
8
- --app-secondary-dark: #4338ca;
9
-
10
- --app-accent: #f43f5e;
11
- --app-accent-soft: #fdf2f8;
12
- --app-accent-dark: #e11d48;
13
-
14
- --app-success: #10d9c4;
15
- --app-success-soft: #f0fdfa;
16
- --app-success-dark: #0891b2;
17
-
18
- --app-warning: #f59e0b;
19
- --app-warning-soft: #fffbeb;
20
- --app-warning-dark: #d97706;
21
-
22
- --app-danger: #f43f5e;
23
- --app-danger-soft: #fdf2f8;
24
- --app-danger-dark: #e11d48;
25
-
26
- --app-layer-one: #fdf7fd;
27
- --app-layer-two: #f5f3ff;
28
- --app-layer-three: #ede9fe;
29
- --app-layer-four: #c4b5fd;
30
-
31
- --app-alt-layer-one: #ffffff;
32
- --app-alt-layer-two: #fefbff;
33
- --app-alt-layer-three: #f8f4ff;
34
- --app-alt-layer-four: #f0ebff;
35
-
36
- --app-default-attribute-title-color: #6366f1;
37
- --app-default-button-text-color: #fdf7fd;
38
- --app-default-text-color: #4a3c5e;
39
- --app-default-alt-text-color: #64748b;
40
- --app-default-link-color: #d946ef;
41
- --app-default-link-hover-color: #f43f5e;
42
-
43
- --app-side-navigation-bg-color: #4a3c5e;
44
- --app-side-navigation-text-color: #fdf7fd;
45
- --app-side-navigation-link-color: #fdf7fd;
46
- --app-side-navigation-link-hover-color: #d946ef;
47
-
48
- --app-top-navigation-bg-color: #fdf7fd;
49
- --app-top-navigation-text-color: #4a3c5e;
50
- --app-top-navigation-link-color: #d946ef;
51
- --app-top-navigation-link-hover-color: #f43f5e;
52
-
53
- --app-footer-bg-color: #f5f3ff;
54
- --app-footer-text-color: #4a3c5e;
55
- --app-footer-link-color: #d946ef;
56
- --app-footer-link-hover-color: #f43f5e;
57
-
58
- --app-table-row-color: #fdf7fd;
59
- --app-table-row-alt-color: #f5f3ff;
60
- --app-table-row-hover-color: #ede9fe;
61
-
62
- --bs-border-color: #ede9fe;
63
-
64
- --app-border-translucent-light: rgba(196, 181, 253, 0.175);
65
- --app-focus-ring-primary: rgba(217, 70, 239, 0.25);
66
- }