django-cotton-bs5 0.2.2__py3-none-any.whl → 0.3.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.
- cotton_bs5/templates/cotton/button_group.html +5 -3
- cotton_bs5/templates/cotton/card/index.html +2 -2
- cotton_bs5/templates/cotton/progress.html +2 -3
- cotton_bs5/templates/cotton/spinner.html +6 -3
- {django_cotton_bs5-0.2.2.dist-info → django_cotton_bs5-0.3.1.dist-info}/METADATA +2 -2
- {django_cotton_bs5-0.2.2.dist-info → django_cotton_bs5-0.3.1.dist-info}/RECORD +8 -8
- {django_cotton_bs5-0.2.2.dist-info → django_cotton_bs5-0.3.1.dist-info}/LICENSE +0 -0
- {django_cotton_bs5-0.2.2.dist-info → django_cotton_bs5-0.3.1.dist-info}/WHEEL +0 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{% load i18n %}
|
|
2
|
-
<c-vars size
|
|
3
|
-
|
|
2
|
+
<c-vars size
|
|
3
|
+
vertical
|
|
4
|
+
class
|
|
5
|
+
label='{% trans "Button group" %}' />
|
|
4
6
|
<div class="btn-group{% if vertical %}-vertical{% endif %}{% if size %} btn-group-{{ size }}{% endif %} {{ class }}"
|
|
5
7
|
role="group"
|
|
6
|
-
aria-label="{
|
|
8
|
+
aria-label="{{ label }}"
|
|
7
9
|
{{ attrs }}>
|
|
8
10
|
{{ slot }}
|
|
9
11
|
</div>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<c-vars class header title minimal />
|
|
1
|
+
<c-vars class header title minimal body_class />
|
|
2
2
|
<div class="card {{ class }}" {{ attrs }}>
|
|
3
3
|
{% if header %}<c-card.header text="{{ header }}" />{% endif %}
|
|
4
4
|
{% if minimal %}
|
|
5
5
|
{{ slot }}
|
|
6
6
|
{% else %}
|
|
7
|
-
<c-card.body>
|
|
7
|
+
<c-card.body class="{{ body_class }}" only>
|
|
8
8
|
{% if title %}<c-card.title text="{{ title }}" />{% endif %}
|
|
9
9
|
{% if subtitle %}<c-card.subtitle text="{{ subtitle }}" />{% endif %}
|
|
10
10
|
{{ slot }}
|
|
@@ -3,15 +3,14 @@
|
|
|
3
3
|
:min="0"
|
|
4
4
|
:max="100"
|
|
5
5
|
text
|
|
6
|
-
label
|
|
6
|
+
label="{% trans 'Progress' %}"
|
|
7
7
|
variant="primary"
|
|
8
8
|
striped
|
|
9
9
|
animated
|
|
10
10
|
class />
|
|
11
|
-
{% trans "Progress" as default_label %}
|
|
12
11
|
<div class="progress {{ class }}"
|
|
13
12
|
role="progressbar"
|
|
14
|
-
aria-label="{
|
|
13
|
+
aria-label="{{ label }}"
|
|
15
14
|
aria-valuenow="{{ value }}"
|
|
16
15
|
aria-valuemin="{{ min }}"
|
|
17
16
|
aria-valuemax="{{ max }}"
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{% load i18n %}
|
|
2
|
-
<c-vars type="border"
|
|
3
|
-
|
|
2
|
+
<c-vars type="border"
|
|
3
|
+
size
|
|
4
|
+
variant
|
|
5
|
+
class
|
|
6
|
+
label="{% trans 'Loading...' %}" />
|
|
4
7
|
<div class="spinner-{{ type }}{% if size %} spinner-{{ type }}-{{ size }}{% endif %}{% if variant %} text-{{ variant }}{% endif %} {{ class }}"
|
|
5
8
|
role="status"
|
|
6
9
|
{{ attrs }}>
|
|
7
|
-
<span class="visually-hidden">{
|
|
10
|
+
<span class="visually-hidden">{{ label }}</span>
|
|
8
11
|
{{ slot }}
|
|
9
12
|
</div>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: django-cotton-bs5
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Bootstrap 5 components for use with Django Cotton.
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Sam
|
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Provides-Extra: django-compressor
|
|
15
15
|
Requires-Dist: django-compressor (>=4.5.1,<5.0.0) ; extra == "django-compressor"
|
|
16
|
-
Requires-Dist: django-cotton (
|
|
16
|
+
Requires-Dist: django-cotton (>=2.3.1)
|
|
17
17
|
Requires-Dist: django-libsass (>=0.9,<0.10)
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
|
|
@@ -104,11 +104,11 @@ cotton_bs5/templates/cotton/breadcrumbs/index.html,sha256=s0aRRbhCZqmVPD6N4JD9mD
|
|
|
104
104
|
cotton_bs5/templates/cotton/breadcrumbs/item.html,sha256=h0_RmjgC35XQ-3cJ3MgPcVCRwUN6ors2UzJX--JwjxE,397
|
|
105
105
|
cotton_bs5/templates/cotton/button/dismiss.html,sha256=Q1pBNnh8mFACc73XmQzLD9TgmPToZ374sW26SNALnCI,253
|
|
106
106
|
cotton_bs5/templates/cotton/button/index.html,sha256=bW8yrGFxJk-lkbla9RgM3vaUyxyDnwWVoMiZncBPQv4,440
|
|
107
|
-
cotton_bs5/templates/cotton/button_group.html,sha256=
|
|
107
|
+
cotton_bs5/templates/cotton/button_group.html,sha256=f2R1uNgdhtlO89kM55ZWQ4YqX-nHDXIGQx2gmNJs5QU,309
|
|
108
108
|
cotton_bs5/templates/cotton/card/body.html,sha256=V7_erMPFbYfCWeMeI9BCtiqrKpr4Qr2LGd4uxrQhkA4,162
|
|
109
109
|
cotton_bs5/templates/cotton/card/footer.html,sha256=5wop-wWc-Pj5HU8cZLNY4L7t-cEXskyz6WiECAKvOs8,87
|
|
110
110
|
cotton_bs5/templates/cotton/card/header.html,sha256=MWK3s26XYMhPTPGXpUg8P6KJ2jLSkeQjEU6oTovmPRw,103
|
|
111
|
-
cotton_bs5/templates/cotton/card/index.html,sha256=
|
|
111
|
+
cotton_bs5/templates/cotton/card/index.html,sha256=MGQm-CoSsO13MZ7qR6GXXApM6ClzO3wGmqdhqsbLfAk,453
|
|
112
112
|
cotton_bs5/templates/cotton/card/subtitle.html,sha256=u7XKXndYL-Nyp5HBl51D6TXqBsLvFPVcUurxqaWGm0s,68
|
|
113
113
|
cotton_bs5/templates/cotton/card/title.html,sha256=qBEY1EsHhgVsOAX1V_C-zAdX5DOKRE6Tn5gJfa-9txE,110
|
|
114
114
|
cotton_bs5/templates/cotton/carousel/button.html,sha256=bvvqn1Hw-qMI1G1kKuulUBiuV4hMhVfPPaOCK8ws5DY,317
|
|
@@ -143,9 +143,9 @@ cotton_bs5/templates/cotton/offcanvas/title.html,sha256=eigDuIXB4fRpby8YpjdodAsq
|
|
|
143
143
|
cotton_bs5/templates/cotton/pagination/index.html,sha256=ZaHJsQ7fPrcwUd7tLpjvFJ2-mR8vRzAws9u2ky_1WwI,157
|
|
144
144
|
cotton_bs5/templates/cotton/pagination/link.html,sha256=YfZ6kyRX0TdSIE2dQmbllDUbTbACuvwEWEkA_u0o1Y0,518
|
|
145
145
|
cotton_bs5/templates/cotton/placeholder.html,sha256=fxvSk_X03S2dQWDo1VT27vAppeSWZEnJUCVPaUocmsU,309
|
|
146
|
-
cotton_bs5/templates/cotton/progress.html,sha256=
|
|
146
|
+
cotton_bs5/templates/cotton/progress.html,sha256=jPmfL3cStIbvoCz1Rg-ljlJz64edtlkjz7TFWePM4EY,672
|
|
147
147
|
cotton_bs5/templates/cotton/ratio.html,sha256=yarrtDic-Eooy1O1C_mfOOJ1-spUscSs403N9zMB5AY,209
|
|
148
|
-
cotton_bs5/templates/cotton/spinner.html,sha256=
|
|
148
|
+
cotton_bs5/templates/cotton/spinner.html,sha256=JPMcqCBbPWeZ9FAYZ56DxlajqSWP5Xqh9en1QIBu-z0,389
|
|
149
149
|
cotton_bs5/templates/cotton/table.html,sha256=w2W4tBn6bceAedIyB0fzkofEuznX6K7fgj9nIAbO6Vk,563
|
|
150
150
|
cotton_bs5/templates/cotton/tabs/content.html,sha256=JnrVk2PUTfhdBZf-k4STdVjXj0yu4PJauRtFbjQglfY,87
|
|
151
151
|
cotton_bs5/templates/cotton/tabs/index.html,sha256=LstucGtV5psIh55VkFk9kLV_5AZxe6NwCjyplIU-Q-4,418
|
|
@@ -155,7 +155,7 @@ cotton_bs5/templates/cotton/toast/activate.html,sha256=D-qh8lfEWoJWMKdUG0PT4jdNA
|
|
|
155
155
|
cotton_bs5/templates/cotton/toast/body.html,sha256=cneCr26QtF48gYR7kW5wa_QO0Qv5nGJDlXR6PjVueMU,71
|
|
156
156
|
cotton_bs5/templates/cotton/toast/header.html,sha256=izlXp-D5cKEIeIj297pma9XYgGNo6lkrgvHw1QscOR8,115
|
|
157
157
|
cotton_bs5/templates/cotton/toast/index.html,sha256=av7EWcLGcB90KUBCru6qwtl78PkM228n5OxuJewc4OI,304
|
|
158
|
-
django_cotton_bs5-0.
|
|
159
|
-
django_cotton_bs5-0.
|
|
160
|
-
django_cotton_bs5-0.
|
|
161
|
-
django_cotton_bs5-0.
|
|
158
|
+
django_cotton_bs5-0.3.1.dist-info/LICENSE,sha256=jAcYHTznehUzk6dbbjLdSq9Xo2S_OmscgUKA94hUoMo,1072
|
|
159
|
+
django_cotton_bs5-0.3.1.dist-info/METADATA,sha256=9FMQynTsDlcA0U5Upea8YxDilQ976vJTHNxu_I5OmSg,3223
|
|
160
|
+
django_cotton_bs5-0.3.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
161
|
+
django_cotton_bs5-0.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|