citry-bootstrap 0.1.0__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.
- citry_bootstrap-0.1.0/.github/workflows/ci.yml +34 -0
- citry_bootstrap-0.1.0/.github/workflows/docs.yml +37 -0
- citry_bootstrap-0.1.0/.github/workflows/publish.yml +25 -0
- citry_bootstrap-0.1.0/.github/workflows/release.yml +28 -0
- citry_bootstrap-0.1.0/.gitignore +193 -0
- citry_bootstrap-0.1.0/LICENSE +21 -0
- citry_bootstrap-0.1.0/PKG-INFO +108 -0
- citry_bootstrap-0.1.0/README.md +90 -0
- citry_bootstrap-0.1.0/docs/generate_docs.py +127 -0
- citry_bootstrap-0.1.0/docs/mkdocs.yml +66 -0
- citry_bootstrap-0.1.0/docs/source/components/accordion.md +152 -0
- citry_bootstrap-0.1.0/docs/source/components/alert.md +275 -0
- citry_bootstrap-0.1.0/docs/source/components/badge.md +235 -0
- citry_bootstrap-0.1.0/docs/source/components/breadcrumb.md +121 -0
- citry_bootstrap-0.1.0/docs/source/components/button.md +205 -0
- citry_bootstrap-0.1.0/docs/source/components/buttongroup.md +141 -0
- citry_bootstrap-0.1.0/docs/source/components/card.md +242 -0
- citry_bootstrap-0.1.0/docs/source/components/carousel.md +245 -0
- citry_bootstrap-0.1.0/docs/source/components/closebutton.md +97 -0
- citry_bootstrap-0.1.0/docs/source/components/collapse.md +106 -0
- citry_bootstrap-0.1.0/docs/source/components/dropdown.md +496 -0
- citry_bootstrap-0.1.0/docs/source/components/dropdownbutton.md +277 -0
- citry_bootstrap-0.1.0/docs/source/components/figure.md +76 -0
- citry_bootstrap-0.1.0/docs/source/components/form.md +359 -0
- citry_bootstrap-0.1.0/docs/source/components/image.md +133 -0
- citry_bootstrap-0.1.0/docs/source/components/layout.md +143 -0
- citry_bootstrap-0.1.0/docs/source/components/listgroup.md +363 -0
- citry_bootstrap-0.1.0/docs/source/components/modal.md +323 -0
- citry_bootstrap-0.1.0/docs/source/components/nav.md +299 -0
- citry_bootstrap-0.1.0/docs/source/components/navbar.md +278 -0
- citry_bootstrap-0.1.0/docs/source/components/navdropdown.md +59 -0
- citry_bootstrap-0.1.0/docs/source/components/offcanvas.md +311 -0
- citry_bootstrap-0.1.0/docs/source/components/pagination.md +145 -0
- citry_bootstrap-0.1.0/docs/source/components/placeholder.md +303 -0
- citry_bootstrap-0.1.0/docs/source/components/popover.md +115 -0
- citry_bootstrap-0.1.0/docs/source/components/progress.md +499 -0
- citry_bootstrap-0.1.0/docs/source/components/spinner.md +289 -0
- citry_bootstrap-0.1.0/docs/source/components/stack.md +130 -0
- citry_bootstrap-0.1.0/docs/source/components/table.md +980 -0
- citry_bootstrap-0.1.0/docs/source/components/tabs.md +160 -0
- citry_bootstrap-0.1.0/docs/source/components/toast.md +162 -0
- citry_bootstrap-0.1.0/docs/source/components/togglebutton.md +73 -0
- citry_bootstrap-0.1.0/docs/source/components/tooltip.md +101 -0
- citry_bootstrap-0.1.0/docs/source/index.md +53 -0
- citry_bootstrap-0.1.0/docs/source/javascripts/bootstrap-init.js +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_1.html +96 -0
- citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_2.html +35 -0
- citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_3.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_4.html +96 -0
- citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_5.html +96 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_1.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_10.html +13 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_11.html +13 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_12.html +15 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_13.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_14.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_15.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_16.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_17.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_18.html +13 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_19.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_2.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_20.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_21.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_3.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_4.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_5.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_6.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_7.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_8.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/alert_example_9.html +13 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_1.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_10.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_11.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_12.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_13.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_14.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_15.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_16.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_17.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_18.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_19.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_2.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_3.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_4.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_5.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_6.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_7.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_8.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/badge_example_9.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_1.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_2.html +15 -0
- citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_3.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_4.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_5.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_6.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_7.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_8.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_1.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_10.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_11.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_12.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_13.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_14.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_15.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_16.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_17.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_2.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_3.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_4.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_5.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_6.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_7.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_8.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/button_example_9.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_1.html +21 -0
- citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_2.html +21 -0
- citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_3.html +24 -0
- citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_4.html +24 -0
- citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_5.html +21 -0
- citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_6.html +21 -0
- citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_7.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_8.html +64 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_1.html +32 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_10.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_11.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_12.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_13.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_2.html +35 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_3.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_4.html +13 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_5.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_6.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_7.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_8.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/card_example_9.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_1.html +44 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_10.html +84 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_2.html +60 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_3.html +84 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_4.html +44 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_5.html +44 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_6.html +44 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_7.html +44 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_8.html +35 -0
- citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_9.html +44 -0
- citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_1.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_2.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_3.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_4.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_5.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_6.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_7.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_8.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_1.html +25 -0
- citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_2.html +64 -0
- citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_3.html +25 -0
- citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_4.html +25 -0
- citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_5.html +25 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_1.html +44 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_10.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_11.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_12.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_13.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_14.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_15.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_16.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_17.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_18.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_19.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_2.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_20.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_21.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_22.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_23.html +56 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_24.html +45 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_25.html +31 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_26.html +31 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_27.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_28.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_29.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_3.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_4.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_5.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_6.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_7.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_8.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_9.html +26 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_1.html +48 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_10.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_11.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_12.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_13.html +73 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_14.html +64 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_15.html +52 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_16.html +52 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_17.html +52 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_18.html +52 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_2.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_3.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_4.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_5.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_6.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_7.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_8.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_9.html +39 -0
- citry_bootstrap-0.1.0/docs/source/snippets/figure_example_1.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/figure_example_2.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/figure_example_3.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/figure_example_4.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/figure_example_5.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_1.html +27 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_10.html +18 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_11.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_12.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_13.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_14.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_15.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_16.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_17.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_18.html +14 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_19.html +42 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_2.html +19 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_20.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_21.html +19 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_22.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_23.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_24.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_25.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_3.html +18 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_4.html +18 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_5.html +9 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_6.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_7.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_8.html +38 -0
- citry_bootstrap-0.1.0/docs/source/snippets/form_example_9.html +18 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_1.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_10.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_11.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_2.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_3.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_4.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_5.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_6.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_7.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_8.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/image_example_9.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_1.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_2.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_3.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_4.html +27 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_5.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_6.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_7.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_8.html +32 -0
- citry_bootstrap-0.1.0/docs/source/snippets/layout_example_9.html +27 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_1.html +41 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_10.html +27 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_11.html +27 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_12.html +69 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_13.html +69 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_14.html +48 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_15.html +48 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_16.html +54 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_17.html +54 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_2.html +41 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_3.html +41 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_4.html +41 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_5.html +41 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_6.html +41 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_7.html +27 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_8.html +57 -0
- citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_9.html +27 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_1.html +49 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_10.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_11.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_12.html +62 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_13.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_14.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_15.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_16.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_2.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_3.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_4.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_5.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_6.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_7.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_8.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/modal_example_9.html +33 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_1.html +58 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_10.html +58 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_11.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_12.html +58 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_13.html +20 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_14.html +20 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_2.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_3.html +58 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_4.html +58 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_5.html +58 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_6.html +58 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_7.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_8.html +58 -0
- citry_bootstrap-0.1.0/docs/source/snippets/nav_example_9.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_1.html +88 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_10.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_11.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_12.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_13.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_14.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_15.html +20 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_16.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_17.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_18.html +15 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_2.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_3.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_4.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_5.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_6.html +27 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_7.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_8.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_9.html +17 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navdropdown_example_1.html +92 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navdropdown_example_2.html +36 -0
- citry_bootstrap-0.1.0/docs/source/snippets/navdropdown_example_3.html +36 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_1.html +32 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_10.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_11.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_12.html +30 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_13.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_2.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_3.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_4.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_5.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_6.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_7.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_8.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_9.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_1.html +43 -0
- citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_2.html +47 -0
- citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_3.html +43 -0
- citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_4.html +43 -0
- citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_5.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_6.html +29 -0
- citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_7.html +43 -0
- citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_8.html +43 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_1.html +21 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_10.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_11.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_12.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_13.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_14.html +7 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_15.html +7 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_16.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_17.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_18.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_19.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_2.html +13 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_20.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_21.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_22.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_23.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_24.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_3.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_4.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_5.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_6.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_7.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_8.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_9.html +3 -0
- citry_bootstrap-0.1.0/docs/source/snippets/popover_example_1.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/popover_example_2.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/popover_example_3.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/popover_example_4.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/popover_example_5.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/popover_example_6.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/popover_example_7.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/popover_example_8.html +13 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_1.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_10.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_11.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_12.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_13.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_14.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_15.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_16.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_17.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_18.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_19.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_2.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_20.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_21.html +42 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_22.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_23.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_24.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_25.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_26.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_27.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_28.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_29.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_3.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_30.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_31.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_32.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_33.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_34.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_35.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_4.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_5.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_6.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_7.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_8.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/progress_example_9.html +12 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_1.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_10.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_11.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_12.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_13.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_14.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_15.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_16.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_17.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_18.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_19.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_2.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_20.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_21.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_22.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_23.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_24.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_3.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_4.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_5.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_6.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_7.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_8.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_9.html +5 -0
- citry_bootstrap-0.1.0/docs/source/snippets/stack_example_1.html +9 -0
- citry_bootstrap-0.1.0/docs/source/snippets/stack_example_2.html +9 -0
- citry_bootstrap-0.1.0/docs/source/snippets/stack_example_3.html +9 -0
- citry_bootstrap-0.1.0/docs/source/snippets/stack_example_4.html +10 -0
- citry_bootstrap-0.1.0/docs/source/snippets/stack_example_5.html +16 -0
- citry_bootstrap-0.1.0/docs/source/snippets/stack_example_6.html +20 -0
- citry_bootstrap-0.1.0/docs/source/snippets/stack_example_7.html +9 -0
- citry_bootstrap-0.1.0/docs/source/snippets/stack_example_8.html +9 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_1.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_10.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_11.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_12.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_13.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_14.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_15.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_16.html +35 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_17.html +56 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_18.html +24 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_19.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_2.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_20.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_21.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_22.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_23.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_24.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_25.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_26.html +22 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_3.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_4.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_5.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_6.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_7.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_8.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/table_example_9.html +34 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_1.html +90 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_2.html +66 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_3.html +66 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_4.html +90 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_5.html +66 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_6.html +90 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_7.html +54 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_8.html +54 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_9.html +90 -0
- citry_bootstrap-0.1.0/docs/source/snippets/toast_example_1.html +25 -0
- citry_bootstrap-0.1.0/docs/source/snippets/toast_example_2.html +25 -0
- citry_bootstrap-0.1.0/docs/source/snippets/toast_example_3.html +25 -0
- citry_bootstrap-0.1.0/docs/source/snippets/toast_example_4.html +56 -0
- citry_bootstrap-0.1.0/docs/source/snippets/toast_example_5.html +16 -0
- citry_bootstrap-0.1.0/docs/source/snippets/toast_example_6.html +25 -0
- citry_bootstrap-0.1.0/docs/source/snippets/toast_example_7.html +16 -0
- citry_bootstrap-0.1.0/docs/source/snippets/toast_example_8.html +31 -0
- citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_1.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_2.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_3.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_4.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_5.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_6.html +6 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_1.html +7 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_2.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_3.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_4.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_5.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_6.html +11 -0
- citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_7.html +13 -0
- citry_bootstrap-0.1.0/docs/source/stylesheets/extra.css +4 -0
- citry_bootstrap-0.1.0/pyproject.toml +71 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/__init__.py +440 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/__init__.py +0 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/__init__.py +82 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/accordion.py +197 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/alert.py +94 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/badge.py +42 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/breadcrumb.py +73 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/button.py +98 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/button_group.py +64 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/card.py +307 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/carousel.py +297 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/close_button.py +33 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/collapse.py +109 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/dropdown.py +298 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/dropdown_button.py +104 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/figure.py +78 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/form.py +533 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/form_range.py +46 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/form_textarea.py +57 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/image.py +48 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/input_group.py +133 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/layout.py +181 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/list_group.py +137 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/modal.py +231 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/nav.py +193 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/nav_dropdown.py +56 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/navbar.py +239 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/offcanvas.py +186 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/pagination.py +300 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/placeholder.py +72 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/popover.py +43 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/progress.py +125 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/spinner.py +40 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/stack.py +43 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/table.py +74 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/tabs.py +309 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/toast.py +160 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/toggle_button.py +126 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/tooltip.py +40 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/types.py +123 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/plain_inputs.py +60 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/py.typed +0 -0
- citry_bootstrap-0.1.0/src/citry_bootstrap/text.py +20 -0
- citry_bootstrap-0.1.0/tests/__init__.py +0 -0
- citry_bootstrap-0.1.0/tests/conftest.py +87 -0
- citry_bootstrap-0.1.0/tests/test_accordion.py +248 -0
- citry_bootstrap-0.1.0/tests/test_alert.py +326 -0
- citry_bootstrap-0.1.0/tests/test_badge.py +234 -0
- citry_bootstrap-0.1.0/tests/test_breadcrumb.py +158 -0
- citry_bootstrap-0.1.0/tests/test_button.py +202 -0
- citry_bootstrap-0.1.0/tests/test_button_group.py +172 -0
- citry_bootstrap-0.1.0/tests/test_card.py +326 -0
- citry_bootstrap-0.1.0/tests/test_carousel.py +473 -0
- citry_bootstrap-0.1.0/tests/test_close_button.py +94 -0
- citry_bootstrap-0.1.0/tests/test_collapse.py +132 -0
- citry_bootstrap-0.1.0/tests/test_dropdown.py +562 -0
- citry_bootstrap-0.1.0/tests/test_dropdown_button.py +454 -0
- citry_bootstrap-0.1.0/tests/test_figure.py +88 -0
- citry_bootstrap-0.1.0/tests/test_form.py +439 -0
- citry_bootstrap-0.1.0/tests/test_image.py +130 -0
- citry_bootstrap-0.1.0/tests/test_install.py +95 -0
- citry_bootstrap-0.1.0/tests/test_layout.py +180 -0
- citry_bootstrap-0.1.0/tests/test_list_group.py +518 -0
- citry_bootstrap-0.1.0/tests/test_modal.py +529 -0
- citry_bootstrap-0.1.0/tests/test_nav.py +426 -0
- citry_bootstrap-0.1.0/tests/test_nav_dropdown.py +105 -0
- citry_bootstrap-0.1.0/tests/test_navbar.py +324 -0
- citry_bootstrap-0.1.0/tests/test_offcanvas.py +424 -0
- citry_bootstrap-0.1.0/tests/test_pagination.py +224 -0
- citry_bootstrap-0.1.0/tests/test_placeholder.py +314 -0
- citry_bootstrap-0.1.0/tests/test_plain_inputs.py +224 -0
- citry_bootstrap-0.1.0/tests/test_popover.py +130 -0
- citry_bootstrap-0.1.0/tests/test_progress.py +569 -0
- citry_bootstrap-0.1.0/tests/test_spinner.py +334 -0
- citry_bootstrap-0.1.0/tests/test_stack.py +160 -0
- citry_bootstrap-0.1.0/tests/test_table.py +1648 -0
- citry_bootstrap-0.1.0/tests/test_tabs.py +334 -0
- citry_bootstrap-0.1.0/tests/test_toast.py +247 -0
- citry_bootstrap-0.1.0/tests/test_toggle_button.py +76 -0
- citry_bootstrap-0.1.0/tests/test_tooltip.py +116 -0
- citry_bootstrap-0.1.0/uv.lock +697 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, master]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
fail-fast: false
|
|
13
|
+
matrix:
|
|
14
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- uses: astral-sh/setup-uv@v6
|
|
20
|
+
with:
|
|
21
|
+
enable-cache: true
|
|
22
|
+
|
|
23
|
+
- run: uv python install ${{ matrix.python-version }}
|
|
24
|
+
|
|
25
|
+
- run: uv sync --python ${{ matrix.python-version }}
|
|
26
|
+
|
|
27
|
+
- name: Lint
|
|
28
|
+
run: uv run ruff check .
|
|
29
|
+
|
|
30
|
+
- name: Check formatting
|
|
31
|
+
run: uv run ruff format --check .
|
|
32
|
+
|
|
33
|
+
- name: Test
|
|
34
|
+
run: uv run pytest
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
name: Deploy docs
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: docs
|
|
13
|
+
cancel-in-progress: false
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
deploy:
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
with:
|
|
21
|
+
fetch-depth: 0
|
|
22
|
+
|
|
23
|
+
- uses: astral-sh/setup-uv@v6
|
|
24
|
+
with:
|
|
25
|
+
enable-cache: true
|
|
26
|
+
|
|
27
|
+
- run: uv sync --group docs
|
|
28
|
+
|
|
29
|
+
- name: Regenerate the component pages
|
|
30
|
+
run: uv run python docs/generate_docs.py
|
|
31
|
+
|
|
32
|
+
- name: Deploy
|
|
33
|
+
working-directory: docs
|
|
34
|
+
run: |
|
|
35
|
+
git config user.name "github-actions[bot]"
|
|
36
|
+
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
37
|
+
uv run mkdocs gh-deploy --force
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
id-token: write
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
publish:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
environment: pypi
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
python-version: "3.11"
|
|
20
|
+
|
|
21
|
+
- uses: astral-sh/setup-uv@v6
|
|
22
|
+
|
|
23
|
+
- run: uv build
|
|
24
|
+
|
|
25
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Create Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
inputs:
|
|
9
|
+
tag:
|
|
10
|
+
description: "Tag to release (e.g. v0.1.0)"
|
|
11
|
+
required: true
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: write
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
release:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v4
|
|
22
|
+
|
|
23
|
+
- name: Create GitHub Release
|
|
24
|
+
env:
|
|
25
|
+
GH_TOKEN: ${{ github.token }}
|
|
26
|
+
run: |
|
|
27
|
+
TAG=${{ github.ref_name != 'main' && github.ref_name || inputs.tag }}
|
|
28
|
+
gh release create "$TAG" --title "$TAG" --draft --generate-notes
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# General
|
|
2
|
+
.DS_Store
|
|
3
|
+
.AppleDouble
|
|
4
|
+
.LSOverride
|
|
5
|
+
|
|
6
|
+
# Icon must end with two \r
|
|
7
|
+
Icon
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
# Thumbnails
|
|
11
|
+
._*
|
|
12
|
+
|
|
13
|
+
# Files that might appear in the root of a volume
|
|
14
|
+
.DocumentRevisions-V100
|
|
15
|
+
.fseventsd
|
|
16
|
+
.Spotlight-V100
|
|
17
|
+
.TemporaryItems
|
|
18
|
+
.Trashes
|
|
19
|
+
.VolumeIcon.icns
|
|
20
|
+
.com.apple.timemachine.donotpresent
|
|
21
|
+
|
|
22
|
+
# Directories potentially created on remote AFP share
|
|
23
|
+
.AppleDB
|
|
24
|
+
.AppleDesktop
|
|
25
|
+
Network Trash Folder
|
|
26
|
+
Temporary Items
|
|
27
|
+
.apdisk
|
|
28
|
+
|
|
29
|
+
# Byte-compiled / optimized / DLL files
|
|
30
|
+
__pycache__/
|
|
31
|
+
*.py[cod]
|
|
32
|
+
*$py.class
|
|
33
|
+
|
|
34
|
+
# C extensions
|
|
35
|
+
*.so
|
|
36
|
+
|
|
37
|
+
# Distribution / packaging
|
|
38
|
+
.Python
|
|
39
|
+
build/
|
|
40
|
+
develop-eggs/
|
|
41
|
+
dist/
|
|
42
|
+
downloads/
|
|
43
|
+
eggs/
|
|
44
|
+
.eggs/
|
|
45
|
+
lib/
|
|
46
|
+
lib64/
|
|
47
|
+
parts/
|
|
48
|
+
sdist/
|
|
49
|
+
var/
|
|
50
|
+
wheels/
|
|
51
|
+
share/python-wheels/
|
|
52
|
+
*.egg-info/
|
|
53
|
+
.installed.cfg
|
|
54
|
+
*.egg
|
|
55
|
+
MANIFEST
|
|
56
|
+
|
|
57
|
+
# PyInstaller
|
|
58
|
+
# Usually these files are written by a python script from a template
|
|
59
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
60
|
+
*.manifest
|
|
61
|
+
*.spec
|
|
62
|
+
|
|
63
|
+
# Installer logs
|
|
64
|
+
pip-log.txt
|
|
65
|
+
pip-delete-this-directory.txt
|
|
66
|
+
|
|
67
|
+
# Unit test / coverage reports
|
|
68
|
+
htmlcov/
|
|
69
|
+
.tox/
|
|
70
|
+
.nox/
|
|
71
|
+
.coverage
|
|
72
|
+
.coverage.*
|
|
73
|
+
.*cache
|
|
74
|
+
nosetests.xml
|
|
75
|
+
coverage.xml
|
|
76
|
+
*.cover
|
|
77
|
+
*.py,cover
|
|
78
|
+
.hypothesis/
|
|
79
|
+
.pytest_cache/
|
|
80
|
+
cover/
|
|
81
|
+
pytest.xml
|
|
82
|
+
pytest-coverage.txt
|
|
83
|
+
|
|
84
|
+
# Translations
|
|
85
|
+
*.mo
|
|
86
|
+
*.pot
|
|
87
|
+
|
|
88
|
+
# Django stuff:
|
|
89
|
+
*.log
|
|
90
|
+
local_settings.py
|
|
91
|
+
db.sqlite3
|
|
92
|
+
db.sqlite3-journal
|
|
93
|
+
|
|
94
|
+
# Flask stuff:
|
|
95
|
+
instance/
|
|
96
|
+
.webassets-cache
|
|
97
|
+
|
|
98
|
+
# Scrapy stuff:
|
|
99
|
+
.scrapy
|
|
100
|
+
|
|
101
|
+
# Sphinx documentation
|
|
102
|
+
|
|
103
|
+
# PyBuilder
|
|
104
|
+
.pybuilder/
|
|
105
|
+
target/
|
|
106
|
+
|
|
107
|
+
# Jupyter Notebook
|
|
108
|
+
.ipynb_checkpoints
|
|
109
|
+
|
|
110
|
+
# IPython
|
|
111
|
+
profile_default/
|
|
112
|
+
ipython_config.py
|
|
113
|
+
|
|
114
|
+
# pyenv
|
|
115
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
116
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
117
|
+
# .python-version
|
|
118
|
+
|
|
119
|
+
# pipenv
|
|
120
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
121
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
122
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
123
|
+
# install all needed dependencies.
|
|
124
|
+
#Pipfile.lock
|
|
125
|
+
|
|
126
|
+
# poetry
|
|
127
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
128
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
129
|
+
# commonly ignored for libraries.
|
|
130
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
131
|
+
#poetry.lock
|
|
132
|
+
|
|
133
|
+
# pdm
|
|
134
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
135
|
+
#pdm.lock
|
|
136
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
137
|
+
# in version control.
|
|
138
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
139
|
+
.pdm.toml
|
|
140
|
+
.pdm-python
|
|
141
|
+
.pdm-build/
|
|
142
|
+
|
|
143
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
144
|
+
__pypackages__/
|
|
145
|
+
|
|
146
|
+
# Celery stuff
|
|
147
|
+
celerybeat-schedule
|
|
148
|
+
celerybeat.pid
|
|
149
|
+
|
|
150
|
+
# SageMath parsed files
|
|
151
|
+
*.sage.py
|
|
152
|
+
|
|
153
|
+
# Environments
|
|
154
|
+
.env
|
|
155
|
+
.venv
|
|
156
|
+
env/
|
|
157
|
+
venv/
|
|
158
|
+
ENV/
|
|
159
|
+
env.bak/
|
|
160
|
+
venv.bak/
|
|
161
|
+
|
|
162
|
+
# Spyder project settings
|
|
163
|
+
.spyderproject
|
|
164
|
+
.spyproject
|
|
165
|
+
|
|
166
|
+
# Rope project settings
|
|
167
|
+
.ropeproject
|
|
168
|
+
|
|
169
|
+
# mkdocs documentation
|
|
170
|
+
/site
|
|
171
|
+
|
|
172
|
+
# mypy
|
|
173
|
+
.mypy_cache/
|
|
174
|
+
.dmypy.json
|
|
175
|
+
dmypy.json
|
|
176
|
+
|
|
177
|
+
# Pyre type checker
|
|
178
|
+
.pyre/
|
|
179
|
+
|
|
180
|
+
# pytype static type analyzer
|
|
181
|
+
.pytype/
|
|
182
|
+
|
|
183
|
+
# Cython debug symbols
|
|
184
|
+
cython_debug/
|
|
185
|
+
|
|
186
|
+
# PyCharm
|
|
187
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
188
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
189
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
190
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
191
|
+
#.idea/
|
|
192
|
+
.djc-to-citry/
|
|
193
|
+
site/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Joey Jurjens
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: citry-bootstrap
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Bootstrap 5 components for citry
|
|
5
|
+
Project-URL: Documentation, https://joeyjurjens.github.io/citry-bootstrap/
|
|
6
|
+
Project-URL: Repository, https://github.com/joeyjurjens/citry-bootstrap
|
|
7
|
+
Project-URL: Issues, https://github.com/joeyjurjens/citry-bootstrap/issues
|
|
8
|
+
Author-email: Joey Jurjens <joeyjurjens@gmail.com>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: bootstrap,citry,components
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Requires-Python: >=3.10
|
|
16
|
+
Requires-Dist: citry>=0.5.0
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# citry-bootstrap
|
|
20
|
+
|
|
21
|
+
Bootstrap 5 components for [citry](https://citry.dev), with React-Bootstrap API parity.
|
|
22
|
+
|
|
23
|
+
Converted from [django-components-bootstrap](https://github.com/joeyjurjens/django-components-bootstrap) with [djc-to-citry](https://github.com/joeyjurjens/djc-to-citry), which is itself AI-written. The components carry over that library's tests, 466 of them, but the conversion was mechanical.
|
|
24
|
+
|
|
25
|
+
[Component documentation](https://joeyjurjens.github.io/citry-bootstrap/), with a rendered preview of every example.
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pip install citry-bootstrap
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
import citry_bootstrap
|
|
35
|
+
from citry import Citry
|
|
36
|
+
|
|
37
|
+
app = Citry(extensions=[citry_bootstrap.PlainInputs])
|
|
38
|
+
citry_bootstrap.install(app)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Use
|
|
42
|
+
|
|
43
|
+
```citry-html
|
|
44
|
+
<c-bs-button variant="primary">Click me</c-bs-button>
|
|
45
|
+
<c-bs-alert variant="success" c-dismissible="True">Well done!</c-bs-alert>
|
|
46
|
+
|
|
47
|
+
<c-bs-card c-body="True">
|
|
48
|
+
<c-bs-card-title>Title</c-bs-card-title>
|
|
49
|
+
<c-bs-card-text>Some text.</c-bs-card-text>
|
|
50
|
+
</c-bs-card>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Bootstrap 5 lives in `citry_bootstrap.components.bootstrap5`, leaving room for a later major version beside it.
|
|
54
|
+
|
|
55
|
+
## Naming
|
|
56
|
+
|
|
57
|
+
Components are published as `<c-bs-button>`. To publish them under something else:
|
|
58
|
+
|
|
59
|
+
```python
|
|
60
|
+
citry_bootstrap.install(app, prefix="ui-") # <c-ui-button>
|
|
61
|
+
citry_bootstrap.install(app, prefix="") # <c-button>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
That replaces the names rather than adding to them - nothing answers to `bs-` afterwards. A component's template names its siblings, so the prefix is rewritten in both places at once.
|
|
65
|
+
|
|
66
|
+
## Replacing a component
|
|
67
|
+
|
|
68
|
+
Subclass it and hand it to `install()`:
|
|
69
|
+
|
|
70
|
+
```python
|
|
71
|
+
from citry_bootstrap.components.bootstrap5.card import CardBody
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class MyCardBody(CardBody):
|
|
75
|
+
def template_data(self, kwargs, slots):
|
|
76
|
+
data = super().template_data(kwargs, slots)
|
|
77
|
+
data["div_attrs"] = {**data["div_attrs"], "data-testid": "body"}
|
|
78
|
+
return data
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
citry_bootstrap.install(app, override={CardBody: MyCardBody})
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Yours is published under the same name, so every sibling renders it too - including `Card`, which builds its own body. The name follows `prefix`, so the two can be combined. Handing in something this library does not publish is an error rather than a silent no-op.
|
|
85
|
+
|
|
86
|
+
## Constant inputs
|
|
87
|
+
|
|
88
|
+
Citry marks a value it knows at parse time with a transparent proxy, so it can precompute the template expressions that read it. The proxy prints and compares like the value it wraps, but `x is True` and `x is None` are silently False and `re`, `str.join` and `os.fspath` reject it. These components were translated from django-components, which has no such marker, so they read their inputs as ordinary Python.
|
|
89
|
+
|
|
90
|
+
`PlainInputs` takes the proxy off before citry builds the typed `Kwargs`, and marks the pass-through values again before citry looks for its constants, so the engine optimizes exactly what it would have without it. Registration refuses an engine that does not have it, because the failure it prevents is silent: `c-fluid="True"` would render `container-True`.
|
|
91
|
+
|
|
92
|
+
[Citry issue #107](https://github.com/citry-dev/citry/issues/107) tracks handing component code plain values from the engine. This goes away when it does.
|
|
93
|
+
|
|
94
|
+
## Develop
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
uv sync
|
|
98
|
+
pytest
|
|
99
|
+
ruff check . && ruff format --check .
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
The component pages are generated from the test suite, so an example cannot drift from the component it documents:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
uv sync --group docs
|
|
106
|
+
uv run python docs/generate_docs.py
|
|
107
|
+
cd docs && uv run mkdocs serve
|
|
108
|
+
```
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# citry-bootstrap
|
|
2
|
+
|
|
3
|
+
Bootstrap 5 components for [citry](https://citry.dev), with React-Bootstrap API parity.
|
|
4
|
+
|
|
5
|
+
Converted from [django-components-bootstrap](https://github.com/joeyjurjens/django-components-bootstrap) with [djc-to-citry](https://github.com/joeyjurjens/djc-to-citry), which is itself AI-written. The components carry over that library's tests, 466 of them, but the conversion was mechanical.
|
|
6
|
+
|
|
7
|
+
[Component documentation](https://joeyjurjens.github.io/citry-bootstrap/), with a rendered preview of every example.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install citry-bootstrap
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
import citry_bootstrap
|
|
17
|
+
from citry import Citry
|
|
18
|
+
|
|
19
|
+
app = Citry(extensions=[citry_bootstrap.PlainInputs])
|
|
20
|
+
citry_bootstrap.install(app)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Use
|
|
24
|
+
|
|
25
|
+
```citry-html
|
|
26
|
+
<c-bs-button variant="primary">Click me</c-bs-button>
|
|
27
|
+
<c-bs-alert variant="success" c-dismissible="True">Well done!</c-bs-alert>
|
|
28
|
+
|
|
29
|
+
<c-bs-card c-body="True">
|
|
30
|
+
<c-bs-card-title>Title</c-bs-card-title>
|
|
31
|
+
<c-bs-card-text>Some text.</c-bs-card-text>
|
|
32
|
+
</c-bs-card>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Bootstrap 5 lives in `citry_bootstrap.components.bootstrap5`, leaving room for a later major version beside it.
|
|
36
|
+
|
|
37
|
+
## Naming
|
|
38
|
+
|
|
39
|
+
Components are published as `<c-bs-button>`. To publish them under something else:
|
|
40
|
+
|
|
41
|
+
```python
|
|
42
|
+
citry_bootstrap.install(app, prefix="ui-") # <c-ui-button>
|
|
43
|
+
citry_bootstrap.install(app, prefix="") # <c-button>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
That replaces the names rather than adding to them - nothing answers to `bs-` afterwards. A component's template names its siblings, so the prefix is rewritten in both places at once.
|
|
47
|
+
|
|
48
|
+
## Replacing a component
|
|
49
|
+
|
|
50
|
+
Subclass it and hand it to `install()`:
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from citry_bootstrap.components.bootstrap5.card import CardBody
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class MyCardBody(CardBody):
|
|
57
|
+
def template_data(self, kwargs, slots):
|
|
58
|
+
data = super().template_data(kwargs, slots)
|
|
59
|
+
data["div_attrs"] = {**data["div_attrs"], "data-testid": "body"}
|
|
60
|
+
return data
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
citry_bootstrap.install(app, override={CardBody: MyCardBody})
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Yours is published under the same name, so every sibling renders it too - including `Card`, which builds its own body. The name follows `prefix`, so the two can be combined. Handing in something this library does not publish is an error rather than a silent no-op.
|
|
67
|
+
|
|
68
|
+
## Constant inputs
|
|
69
|
+
|
|
70
|
+
Citry marks a value it knows at parse time with a transparent proxy, so it can precompute the template expressions that read it. The proxy prints and compares like the value it wraps, but `x is True` and `x is None` are silently False and `re`, `str.join` and `os.fspath` reject it. These components were translated from django-components, which has no such marker, so they read their inputs as ordinary Python.
|
|
71
|
+
|
|
72
|
+
`PlainInputs` takes the proxy off before citry builds the typed `Kwargs`, and marks the pass-through values again before citry looks for its constants, so the engine optimizes exactly what it would have without it. Registration refuses an engine that does not have it, because the failure it prevents is silent: `c-fluid="True"` would render `container-True`.
|
|
73
|
+
|
|
74
|
+
[Citry issue #107](https://github.com/citry-dev/citry/issues/107) tracks handing component code plain values from the engine. This goes away when it does.
|
|
75
|
+
|
|
76
|
+
## Develop
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
uv sync
|
|
80
|
+
pytest
|
|
81
|
+
ruff check . && ruff format --check .
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
The component pages are generated from the test suite, so an example cannot drift from the component it documents:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
uv sync --group docs
|
|
88
|
+
uv run python docs/generate_docs.py
|
|
89
|
+
cd docs && uv run mkdocs serve
|
|
90
|
+
```
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"""Build the component pages from the test suite.
|
|
2
|
+
|
|
3
|
+
Every test renders an example; the tests are therefore the examples, and they
|
|
4
|
+
cannot drift from the components because they are what proves them.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import re
|
|
8
|
+
import sys
|
|
9
|
+
from itertools import count
|
|
10
|
+
from pathlib import Path
|
|
11
|
+
|
|
12
|
+
ROOT = Path(__file__).parent.parent
|
|
13
|
+
sys.path.insert(0, str(ROOT / "src"))
|
|
14
|
+
|
|
15
|
+
from citry import Citry # noqa: E402
|
|
16
|
+
|
|
17
|
+
import citry_bootstrap # noqa: E402
|
|
18
|
+
|
|
19
|
+
SOURCE = Path(__file__).parent / "source"
|
|
20
|
+
TESTS = ROOT / "tests"
|
|
21
|
+
|
|
22
|
+
#: Modal and toast are hidden until Bootstrap's JavaScript shows them.
|
|
23
|
+
VISIBLE = (
|
|
24
|
+
(
|
|
25
|
+
re.compile(r'class="modal fade"'),
|
|
26
|
+
'class="modal fade show" style="display: block; position: relative;"',
|
|
27
|
+
),
|
|
28
|
+
(re.compile(r'(<div[^>]*class="[^"]*toast[^"]*)"'), r'\1 show"'),
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def engine() -> Citry:
|
|
33
|
+
"""Ids count from one per example, so a rebuild produces the same html."""
|
|
34
|
+
ids = count(1)
|
|
35
|
+
app = Citry(
|
|
36
|
+
autodiscover=False,
|
|
37
|
+
id_generator=lambda: f"ctest{next(ids):02d}",
|
|
38
|
+
extensions=[citry_bootstrap.PlainInputs],
|
|
39
|
+
)
|
|
40
|
+
citry_bootstrap.install(app)
|
|
41
|
+
return app
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def render(app: Citry, source: str) -> str:
|
|
45
|
+
try:
|
|
46
|
+
html = app.render_template(source).serialize().strip()
|
|
47
|
+
except Exception as exc: # noqa: BLE001
|
|
48
|
+
print(f" could not render: {type(exc).__name__}: {str(exc).splitlines()[0]}")
|
|
49
|
+
return f'<div class="alert alert-danger">Error rendering: {exc}</div>'
|
|
50
|
+
for pattern, replacement in VISIBLE:
|
|
51
|
+
html = pattern.sub(replacement, html)
|
|
52
|
+
return html
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def examples(test_file: Path) -> list[dict]:
|
|
56
|
+
"""The first template each test renders, with the test name as its title."""
|
|
57
|
+
found = []
|
|
58
|
+
for name, body in re.findall(
|
|
59
|
+
r"def (test_\w+)\([^)]*\):(.*?)(?=\ndef |\Z)", test_file.read_text(), re.DOTALL
|
|
60
|
+
):
|
|
61
|
+
templates = re.findall(r'render\(r?"""(.*?)"""', body, re.DOTALL)
|
|
62
|
+
if templates:
|
|
63
|
+
title = name.removeprefix("test_").replace("_", " ").title()
|
|
64
|
+
found.append({"title": title, "code": templates[0].strip()})
|
|
65
|
+
return found
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def component_name(test_file: Path) -> str:
|
|
69
|
+
stem = test_file.stem.removeprefix("test_")
|
|
70
|
+
return "".join(word.capitalize() for word in stem.split("_"))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def page(name: str, entries: list[dict], snippets: Path) -> str:
|
|
74
|
+
if not entries:
|
|
75
|
+
return f"# {name}\n\n_No examples available yet._\n"
|
|
76
|
+
out = [f"# {name}\n"]
|
|
77
|
+
for index, entry in enumerate(entries, start=1):
|
|
78
|
+
snippet = f"{name.lower()}_example_{index}.html"
|
|
79
|
+
html = render(engine(), entry["code"])
|
|
80
|
+
(snippets / snippet).write_text(f'<div class="bs-example">\n{html}\n</div>')
|
|
81
|
+
out += [
|
|
82
|
+
f"## {entry['title']}\n",
|
|
83
|
+
f"```citry-html\n{entry['code']}\n```\n",
|
|
84
|
+
"**Preview:**\n",
|
|
85
|
+
f'--8<-- "snippets/{snippet}"\n',
|
|
86
|
+
"---\n",
|
|
87
|
+
]
|
|
88
|
+
return "\n".join(out)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def index(names: list[str]) -> str:
|
|
92
|
+
lines = [
|
|
93
|
+
"# citry-bootstrap\n",
|
|
94
|
+
"Bootstrap 5 components for citry, inspired by the React-Bootstrap API.\n",
|
|
95
|
+
"## Install\n",
|
|
96
|
+
"```bash\npip install citry-bootstrap\n```\n",
|
|
97
|
+
"```python\nimport citry_bootstrap\nfrom citry import Citry\n\n"
|
|
98
|
+
"app = Citry(extensions=[citry_bootstrap.PlainInputs])\n"
|
|
99
|
+
"citry_bootstrap.install(app)\n```\n",
|
|
100
|
+
"## Components\n",
|
|
101
|
+
]
|
|
102
|
+
lines += [f"- [{name}](components/{name.lower()}.md)" for name in sorted(names)]
|
|
103
|
+
return "\n".join(lines) + "\n"
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
def main() -> None:
|
|
107
|
+
components = SOURCE / "components"
|
|
108
|
+
snippets = SOURCE / "snippets"
|
|
109
|
+
for directory in (components, snippets):
|
|
110
|
+
directory.mkdir(parents=True, exist_ok=True)
|
|
111
|
+
|
|
112
|
+
names = []
|
|
113
|
+
for test_file in sorted(TESTS.glob("test_*.py")):
|
|
114
|
+
entries = examples(test_file)
|
|
115
|
+
if not entries:
|
|
116
|
+
continue
|
|
117
|
+
name = component_name(test_file)
|
|
118
|
+
names.append(name)
|
|
119
|
+
(components / f"{name.lower()}.md").write_text(page(name, entries, snippets))
|
|
120
|
+
print(f" {name}: {len(entries)} examples")
|
|
121
|
+
|
|
122
|
+
(SOURCE / "index.md").write_text(index(names))
|
|
123
|
+
print(f"\n{len(names)} pages written to {SOURCE}")
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
if __name__ == "__main__":
|
|
127
|
+
main()
|