hyperflask 0.1.4__tar.gz → 0.1.6__tar.gz
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.
- {hyperflask-0.1.4 → hyperflask-0.1.6}/PKG-INFO +1 -1
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/app.py +1 -1
- hyperflask-0.1.6/hyperflask/static/app.css +27 -0
- hyperflask-0.1.6/hyperflask/ui/components/data-input/LabeledCheckbox.html +11 -0
- hyperflask-0.1.6/hyperflask/ui/components/feedback/Loading.html +4 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/pyproject.toml +1 -1
- hyperflask-0.1.4/hyperflask/ui/components/data-input/LabeledCheckbox.html +0 -11
- hyperflask-0.1.4/hyperflask/ui/components/feedback/Loading.html +0 -4
- {hyperflask-0.1.4 → hyperflask-0.1.6}/LICENSE +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/README.md +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/__init__.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/__main__.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/api.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/cli.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/components/__init__.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/components/alpine.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/components/core.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/components/webcomponent.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/factory.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/forms/__init__.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/forms/fields.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/forms/widgets.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/layouts/email.mjml +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/layouts/web.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/page_helpers.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/reactivity.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/resources.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/static/alpine.js +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/static/app.js +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/static/htmx.js +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/static/reactive.js +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/static/stimulus.js +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/static/translations.js +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/README.md +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/actions/Button.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/actions/Dropdown.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/actions/DropdownItem.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/actions/LinkButton.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/actions/Modal.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/actions/ModalAction.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/actions/ModalTitle.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-display/Accordion.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-display/AccordionPanel.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/Checkbox.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/FileInput.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/FormControl.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/Input.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/LabeledTextInput.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/Radiobox.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/Range.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/Rating.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/Select.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/Textarea.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/Toggle.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/feedback/Toast.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/layout/Footer.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/layout/FooterLink.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/layout/FooterNav.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/layout/Indicator.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/navigation/Link.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/navigation/Navbar.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/forms.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/icons.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/modal.html +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/utils/__init__.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/utils/htmx.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/utils/page_actions.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/utils/request.py +0 -0
- {hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/utils/tokens.py +0 -0
|
@@ -144,7 +144,7 @@ class Hyperflask(Flask):
|
|
|
144
144
|
"bootstrap-icons/font": "bootstrap-icons"
|
|
145
145
|
})
|
|
146
146
|
self.assets.bundle(
|
|
147
|
-
{"@hyperflask": ["app.js"],
|
|
147
|
+
{"@hyperflask": ["app.js", "app.css"],
|
|
148
148
|
"@hyperflask/reactive": ["reactive.js"],
|
|
149
149
|
"@hyperflask/alpine": ["alpine.js"]},
|
|
150
150
|
assets_folder=os.path.join(os.path.dirname(__file__), "static")
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
.htmx-indicator {
|
|
3
|
+
display:none;
|
|
4
|
+
}
|
|
5
|
+
.htmx-indicator-visible {
|
|
6
|
+
visibility: hidden;
|
|
7
|
+
}
|
|
8
|
+
.htmx-request .htmx-indicator,
|
|
9
|
+
.htmx-request.htmx-indicator {
|
|
10
|
+
display: block;
|
|
11
|
+
}
|
|
12
|
+
.htmx-request .htmx-indicator-inline,
|
|
13
|
+
.htmx-request.htmx-indicator-inline {
|
|
14
|
+
display: inline;
|
|
15
|
+
}
|
|
16
|
+
.htmx-request .htmx-indicator-visible,
|
|
17
|
+
.htmx-request.htmx-indicator-visible {
|
|
18
|
+
visibility: visible;
|
|
19
|
+
}
|
|
20
|
+
.htmx-request .htmx-indicator-hidden,
|
|
21
|
+
.htmx-request.htmx-indicator-hidden {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
.htmx-request .htmx-indicator-invisible,
|
|
25
|
+
.htmx-request.htmx-indicator-invisible {
|
|
26
|
+
visibility: hidden;
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{% macro LabeledCheckbox(label, style=None, size=None) -%}
|
|
2
|
+
<label class="label cursor-pointer justify-start gap-2 {% if style %} checkbox-{{style}}{% endif %} {% if size %} checkbox-{{size}}{% endif %}">
|
|
3
|
+
|
|
4
|
+
<input type="checkbox" class="checkbox {{kwargs.pop('class', '')}}" {{ html_attrs(kwargs) }}>
|
|
5
|
+
</input>
|
|
6
|
+
|
|
7
|
+
<span class="label-text">{{label}}
|
|
8
|
+
</span>
|
|
9
|
+
|
|
10
|
+
</label>
|
|
11
|
+
{%- endmacro %}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{% macro LabeledCheckbox(label, style=None, size=None) -%}
|
|
2
|
-
<label class="label cursor-pointer justify-start gap-2 {{kwargs.pop('class', '')}} {% if style %} checkbox-{{style}}{% endif %} {% if size %} checkbox-{{size}}{% endif %}" {{ html_attrs(kwargs) }}>
|
|
3
|
-
|
|
4
|
-
<input type="checkbox" class="checkbox">
|
|
5
|
-
</input>
|
|
6
|
-
|
|
7
|
-
<span class="label-text">{{label}}
|
|
8
|
-
</span>
|
|
9
|
-
|
|
10
|
-
</label>
|
|
11
|
-
{%- endmacro %}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-display/AccordionPanel.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperflask-0.1.4 → hyperflask-0.1.6}/hyperflask/ui/components/data-input/LabeledTextInput.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|