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.
Files changed (583) hide show
  1. citry_bootstrap-0.1.0/.github/workflows/ci.yml +34 -0
  2. citry_bootstrap-0.1.0/.github/workflows/docs.yml +37 -0
  3. citry_bootstrap-0.1.0/.github/workflows/publish.yml +25 -0
  4. citry_bootstrap-0.1.0/.github/workflows/release.yml +28 -0
  5. citry_bootstrap-0.1.0/.gitignore +193 -0
  6. citry_bootstrap-0.1.0/LICENSE +21 -0
  7. citry_bootstrap-0.1.0/PKG-INFO +108 -0
  8. citry_bootstrap-0.1.0/README.md +90 -0
  9. citry_bootstrap-0.1.0/docs/generate_docs.py +127 -0
  10. citry_bootstrap-0.1.0/docs/mkdocs.yml +66 -0
  11. citry_bootstrap-0.1.0/docs/source/components/accordion.md +152 -0
  12. citry_bootstrap-0.1.0/docs/source/components/alert.md +275 -0
  13. citry_bootstrap-0.1.0/docs/source/components/badge.md +235 -0
  14. citry_bootstrap-0.1.0/docs/source/components/breadcrumb.md +121 -0
  15. citry_bootstrap-0.1.0/docs/source/components/button.md +205 -0
  16. citry_bootstrap-0.1.0/docs/source/components/buttongroup.md +141 -0
  17. citry_bootstrap-0.1.0/docs/source/components/card.md +242 -0
  18. citry_bootstrap-0.1.0/docs/source/components/carousel.md +245 -0
  19. citry_bootstrap-0.1.0/docs/source/components/closebutton.md +97 -0
  20. citry_bootstrap-0.1.0/docs/source/components/collapse.md +106 -0
  21. citry_bootstrap-0.1.0/docs/source/components/dropdown.md +496 -0
  22. citry_bootstrap-0.1.0/docs/source/components/dropdownbutton.md +277 -0
  23. citry_bootstrap-0.1.0/docs/source/components/figure.md +76 -0
  24. citry_bootstrap-0.1.0/docs/source/components/form.md +359 -0
  25. citry_bootstrap-0.1.0/docs/source/components/image.md +133 -0
  26. citry_bootstrap-0.1.0/docs/source/components/layout.md +143 -0
  27. citry_bootstrap-0.1.0/docs/source/components/listgroup.md +363 -0
  28. citry_bootstrap-0.1.0/docs/source/components/modal.md +323 -0
  29. citry_bootstrap-0.1.0/docs/source/components/nav.md +299 -0
  30. citry_bootstrap-0.1.0/docs/source/components/navbar.md +278 -0
  31. citry_bootstrap-0.1.0/docs/source/components/navdropdown.md +59 -0
  32. citry_bootstrap-0.1.0/docs/source/components/offcanvas.md +311 -0
  33. citry_bootstrap-0.1.0/docs/source/components/pagination.md +145 -0
  34. citry_bootstrap-0.1.0/docs/source/components/placeholder.md +303 -0
  35. citry_bootstrap-0.1.0/docs/source/components/popover.md +115 -0
  36. citry_bootstrap-0.1.0/docs/source/components/progress.md +499 -0
  37. citry_bootstrap-0.1.0/docs/source/components/spinner.md +289 -0
  38. citry_bootstrap-0.1.0/docs/source/components/stack.md +130 -0
  39. citry_bootstrap-0.1.0/docs/source/components/table.md +980 -0
  40. citry_bootstrap-0.1.0/docs/source/components/tabs.md +160 -0
  41. citry_bootstrap-0.1.0/docs/source/components/toast.md +162 -0
  42. citry_bootstrap-0.1.0/docs/source/components/togglebutton.md +73 -0
  43. citry_bootstrap-0.1.0/docs/source/components/tooltip.md +101 -0
  44. citry_bootstrap-0.1.0/docs/source/index.md +53 -0
  45. citry_bootstrap-0.1.0/docs/source/javascripts/bootstrap-init.js +10 -0
  46. citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_1.html +96 -0
  47. citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_2.html +35 -0
  48. citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_3.html +39 -0
  49. citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_4.html +96 -0
  50. citry_bootstrap-0.1.0/docs/source/snippets/accordion_example_5.html +96 -0
  51. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_1.html +6 -0
  52. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_10.html +13 -0
  53. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_11.html +13 -0
  54. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_12.html +15 -0
  55. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_13.html +11 -0
  56. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_14.html +10 -0
  57. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_15.html +10 -0
  58. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_16.html +10 -0
  59. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_17.html +10 -0
  60. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_18.html +13 -0
  61. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_19.html +10 -0
  62. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_2.html +6 -0
  63. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_20.html +10 -0
  64. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_21.html +10 -0
  65. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_3.html +6 -0
  66. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_4.html +6 -0
  67. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_5.html +6 -0
  68. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_6.html +6 -0
  69. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_7.html +6 -0
  70. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_8.html +6 -0
  71. citry_bootstrap-0.1.0/docs/source/snippets/alert_example_9.html +13 -0
  72. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_1.html +10 -0
  73. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_10.html +5 -0
  74. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_11.html +5 -0
  75. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_12.html +5 -0
  76. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_13.html +5 -0
  77. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_14.html +5 -0
  78. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_15.html +5 -0
  79. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_16.html +5 -0
  80. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_17.html +5 -0
  81. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_18.html +5 -0
  82. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_19.html +5 -0
  83. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_2.html +12 -0
  84. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_3.html +5 -0
  85. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_4.html +5 -0
  86. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_5.html +5 -0
  87. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_6.html +5 -0
  88. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_7.html +5 -0
  89. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_8.html +5 -0
  90. citry_bootstrap-0.1.0/docs/source/snippets/badge_example_9.html +5 -0
  91. citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_1.html +22 -0
  92. citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_2.html +15 -0
  93. citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_3.html +29 -0
  94. citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_4.html +22 -0
  95. citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_5.html +22 -0
  96. citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_6.html +22 -0
  97. citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_7.html +22 -0
  98. citry_bootstrap-0.1.0/docs/source/snippets/breadcrumb_example_8.html +22 -0
  99. citry_bootstrap-0.1.0/docs/source/snippets/button_example_1.html +5 -0
  100. citry_bootstrap-0.1.0/docs/source/snippets/button_example_10.html +5 -0
  101. citry_bootstrap-0.1.0/docs/source/snippets/button_example_11.html +5 -0
  102. citry_bootstrap-0.1.0/docs/source/snippets/button_example_12.html +5 -0
  103. citry_bootstrap-0.1.0/docs/source/snippets/button_example_13.html +5 -0
  104. citry_bootstrap-0.1.0/docs/source/snippets/button_example_14.html +5 -0
  105. citry_bootstrap-0.1.0/docs/source/snippets/button_example_15.html +5 -0
  106. citry_bootstrap-0.1.0/docs/source/snippets/button_example_16.html +5 -0
  107. citry_bootstrap-0.1.0/docs/source/snippets/button_example_17.html +5 -0
  108. citry_bootstrap-0.1.0/docs/source/snippets/button_example_2.html +5 -0
  109. citry_bootstrap-0.1.0/docs/source/snippets/button_example_3.html +5 -0
  110. citry_bootstrap-0.1.0/docs/source/snippets/button_example_4.html +5 -0
  111. citry_bootstrap-0.1.0/docs/source/snippets/button_example_5.html +5 -0
  112. citry_bootstrap-0.1.0/docs/source/snippets/button_example_6.html +5 -0
  113. citry_bootstrap-0.1.0/docs/source/snippets/button_example_7.html +5 -0
  114. citry_bootstrap-0.1.0/docs/source/snippets/button_example_8.html +5 -0
  115. citry_bootstrap-0.1.0/docs/source/snippets/button_example_9.html +5 -0
  116. citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_1.html +21 -0
  117. citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_2.html +21 -0
  118. citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_3.html +24 -0
  119. citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_4.html +24 -0
  120. citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_5.html +21 -0
  121. citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_6.html +21 -0
  122. citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_7.html +26 -0
  123. citry_bootstrap-0.1.0/docs/source/snippets/buttongroup_example_8.html +64 -0
  124. citry_bootstrap-0.1.0/docs/source/snippets/card_example_1.html +32 -0
  125. citry_bootstrap-0.1.0/docs/source/snippets/card_example_10.html +29 -0
  126. citry_bootstrap-0.1.0/docs/source/snippets/card_example_11.html +29 -0
  127. citry_bootstrap-0.1.0/docs/source/snippets/card_example_12.html +29 -0
  128. citry_bootstrap-0.1.0/docs/source/snippets/card_example_13.html +29 -0
  129. citry_bootstrap-0.1.0/docs/source/snippets/card_example_2.html +35 -0
  130. citry_bootstrap-0.1.0/docs/source/snippets/card_example_3.html +34 -0
  131. citry_bootstrap-0.1.0/docs/source/snippets/card_example_4.html +13 -0
  132. citry_bootstrap-0.1.0/docs/source/snippets/card_example_5.html +39 -0
  133. citry_bootstrap-0.1.0/docs/source/snippets/card_example_6.html +34 -0
  134. citry_bootstrap-0.1.0/docs/source/snippets/card_example_7.html +29 -0
  135. citry_bootstrap-0.1.0/docs/source/snippets/card_example_8.html +29 -0
  136. citry_bootstrap-0.1.0/docs/source/snippets/card_example_9.html +29 -0
  137. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_1.html +44 -0
  138. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_10.html +84 -0
  139. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_2.html +60 -0
  140. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_3.html +84 -0
  141. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_4.html +44 -0
  142. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_5.html +44 -0
  143. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_6.html +44 -0
  144. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_7.html +44 -0
  145. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_8.html +35 -0
  146. citry_bootstrap-0.1.0/docs/source/snippets/carousel_example_9.html +44 -0
  147. citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_1.html +3 -0
  148. citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_2.html +3 -0
  149. citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_3.html +3 -0
  150. citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_4.html +3 -0
  151. citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_5.html +3 -0
  152. citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_6.html +3 -0
  153. citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_7.html +3 -0
  154. citry_bootstrap-0.1.0/docs/source/snippets/closebutton_example_8.html +3 -0
  155. citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_1.html +25 -0
  156. citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_2.html +64 -0
  157. citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_3.html +25 -0
  158. citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_4.html +25 -0
  159. citry_bootstrap-0.1.0/docs/source/snippets/collapse_example_5.html +25 -0
  160. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_1.html +44 -0
  161. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_10.html +26 -0
  162. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_11.html +26 -0
  163. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_12.html +26 -0
  164. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_13.html +26 -0
  165. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_14.html +26 -0
  166. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_15.html +26 -0
  167. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_16.html +26 -0
  168. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_17.html +26 -0
  169. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_18.html +26 -0
  170. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_19.html +26 -0
  171. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_2.html +26 -0
  172. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_20.html +26 -0
  173. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_21.html +26 -0
  174. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_22.html +26 -0
  175. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_23.html +56 -0
  176. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_24.html +45 -0
  177. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_25.html +31 -0
  178. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_26.html +31 -0
  179. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_27.html +33 -0
  180. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_28.html +33 -0
  181. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_29.html +33 -0
  182. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_3.html +26 -0
  183. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_4.html +26 -0
  184. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_5.html +26 -0
  185. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_6.html +26 -0
  186. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_7.html +26 -0
  187. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_8.html +26 -0
  188. citry_bootstrap-0.1.0/docs/source/snippets/dropdown_example_9.html +26 -0
  189. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_1.html +48 -0
  190. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_10.html +39 -0
  191. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_11.html +39 -0
  192. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_12.html +39 -0
  193. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_13.html +73 -0
  194. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_14.html +64 -0
  195. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_15.html +52 -0
  196. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_16.html +52 -0
  197. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_17.html +52 -0
  198. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_18.html +52 -0
  199. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_2.html +39 -0
  200. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_3.html +39 -0
  201. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_4.html +39 -0
  202. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_5.html +39 -0
  203. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_6.html +39 -0
  204. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_7.html +39 -0
  205. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_8.html +39 -0
  206. citry_bootstrap-0.1.0/docs/source/snippets/dropdownbutton_example_9.html +39 -0
  207. citry_bootstrap-0.1.0/docs/source/snippets/figure_example_1.html +14 -0
  208. citry_bootstrap-0.1.0/docs/source/snippets/figure_example_2.html +14 -0
  209. citry_bootstrap-0.1.0/docs/source/snippets/figure_example_3.html +14 -0
  210. citry_bootstrap-0.1.0/docs/source/snippets/figure_example_4.html +14 -0
  211. citry_bootstrap-0.1.0/docs/source/snippets/figure_example_5.html +14 -0
  212. citry_bootstrap-0.1.0/docs/source/snippets/form_example_1.html +27 -0
  213. citry_bootstrap-0.1.0/docs/source/snippets/form_example_10.html +18 -0
  214. citry_bootstrap-0.1.0/docs/source/snippets/form_example_11.html +3 -0
  215. citry_bootstrap-0.1.0/docs/source/snippets/form_example_12.html +3 -0
  216. citry_bootstrap-0.1.0/docs/source/snippets/form_example_13.html +3 -0
  217. citry_bootstrap-0.1.0/docs/source/snippets/form_example_14.html +3 -0
  218. citry_bootstrap-0.1.0/docs/source/snippets/form_example_15.html +14 -0
  219. citry_bootstrap-0.1.0/docs/source/snippets/form_example_16.html +14 -0
  220. citry_bootstrap-0.1.0/docs/source/snippets/form_example_17.html +14 -0
  221. citry_bootstrap-0.1.0/docs/source/snippets/form_example_18.html +14 -0
  222. citry_bootstrap-0.1.0/docs/source/snippets/form_example_19.html +42 -0
  223. citry_bootstrap-0.1.0/docs/source/snippets/form_example_2.html +19 -0
  224. citry_bootstrap-0.1.0/docs/source/snippets/form_example_20.html +17 -0
  225. citry_bootstrap-0.1.0/docs/source/snippets/form_example_21.html +19 -0
  226. citry_bootstrap-0.1.0/docs/source/snippets/form_example_22.html +10 -0
  227. citry_bootstrap-0.1.0/docs/source/snippets/form_example_23.html +10 -0
  228. citry_bootstrap-0.1.0/docs/source/snippets/form_example_24.html +17 -0
  229. citry_bootstrap-0.1.0/docs/source/snippets/form_example_25.html +10 -0
  230. citry_bootstrap-0.1.0/docs/source/snippets/form_example_3.html +18 -0
  231. citry_bootstrap-0.1.0/docs/source/snippets/form_example_4.html +18 -0
  232. citry_bootstrap-0.1.0/docs/source/snippets/form_example_5.html +9 -0
  233. citry_bootstrap-0.1.0/docs/source/snippets/form_example_6.html +3 -0
  234. citry_bootstrap-0.1.0/docs/source/snippets/form_example_7.html +3 -0
  235. citry_bootstrap-0.1.0/docs/source/snippets/form_example_8.html +38 -0
  236. citry_bootstrap-0.1.0/docs/source/snippets/form_example_9.html +18 -0
  237. citry_bootstrap-0.1.0/docs/source/snippets/image_example_1.html +3 -0
  238. citry_bootstrap-0.1.0/docs/source/snippets/image_example_10.html +3 -0
  239. citry_bootstrap-0.1.0/docs/source/snippets/image_example_11.html +3 -0
  240. citry_bootstrap-0.1.0/docs/source/snippets/image_example_2.html +3 -0
  241. citry_bootstrap-0.1.0/docs/source/snippets/image_example_3.html +3 -0
  242. citry_bootstrap-0.1.0/docs/source/snippets/image_example_4.html +3 -0
  243. citry_bootstrap-0.1.0/docs/source/snippets/image_example_5.html +3 -0
  244. citry_bootstrap-0.1.0/docs/source/snippets/image_example_6.html +3 -0
  245. citry_bootstrap-0.1.0/docs/source/snippets/image_example_7.html +3 -0
  246. citry_bootstrap-0.1.0/docs/source/snippets/image_example_8.html +3 -0
  247. citry_bootstrap-0.1.0/docs/source/snippets/image_example_9.html +3 -0
  248. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_1.html +5 -0
  249. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_2.html +5 -0
  250. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_3.html +5 -0
  251. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_4.html +27 -0
  252. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_5.html +22 -0
  253. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_6.html +22 -0
  254. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_7.html +22 -0
  255. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_8.html +32 -0
  256. citry_bootstrap-0.1.0/docs/source/snippets/layout_example_9.html +27 -0
  257. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_1.html +41 -0
  258. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_10.html +27 -0
  259. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_11.html +27 -0
  260. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_12.html +69 -0
  261. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_13.html +69 -0
  262. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_14.html +48 -0
  263. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_15.html +48 -0
  264. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_16.html +54 -0
  265. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_17.html +54 -0
  266. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_2.html +41 -0
  267. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_3.html +41 -0
  268. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_4.html +41 -0
  269. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_5.html +41 -0
  270. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_6.html +41 -0
  271. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_7.html +27 -0
  272. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_8.html +57 -0
  273. citry_bootstrap-0.1.0/docs/source/snippets/listgroup_example_9.html +27 -0
  274. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_1.html +49 -0
  275. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_10.html +34 -0
  276. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_11.html +33 -0
  277. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_12.html +62 -0
  278. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_13.html +33 -0
  279. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_14.html +29 -0
  280. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_15.html +33 -0
  281. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_16.html +33 -0
  282. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_2.html +33 -0
  283. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_3.html +33 -0
  284. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_4.html +33 -0
  285. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_5.html +33 -0
  286. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_6.html +33 -0
  287. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_7.html +33 -0
  288. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_8.html +33 -0
  289. citry_bootstrap-0.1.0/docs/source/snippets/modal_example_9.html +33 -0
  290. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_1.html +58 -0
  291. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_10.html +58 -0
  292. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_11.html +34 -0
  293. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_12.html +58 -0
  294. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_13.html +20 -0
  295. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_14.html +20 -0
  296. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_2.html +34 -0
  297. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_3.html +58 -0
  298. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_4.html +58 -0
  299. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_5.html +58 -0
  300. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_6.html +58 -0
  301. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_7.html +34 -0
  302. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_8.html +58 -0
  303. citry_bootstrap-0.1.0/docs/source/snippets/nav_example_9.html +34 -0
  304. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_1.html +88 -0
  305. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_10.html +17 -0
  306. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_11.html +17 -0
  307. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_12.html +17 -0
  308. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_13.html +17 -0
  309. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_14.html +17 -0
  310. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_15.html +20 -0
  311. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_16.html +22 -0
  312. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_17.html +17 -0
  313. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_18.html +15 -0
  314. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_2.html +17 -0
  315. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_3.html +17 -0
  316. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_4.html +17 -0
  317. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_5.html +17 -0
  318. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_6.html +27 -0
  319. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_7.html +17 -0
  320. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_8.html +17 -0
  321. citry_bootstrap-0.1.0/docs/source/snippets/navbar_example_9.html +17 -0
  322. citry_bootstrap-0.1.0/docs/source/snippets/navdropdown_example_1.html +92 -0
  323. citry_bootstrap-0.1.0/docs/source/snippets/navdropdown_example_2.html +36 -0
  324. citry_bootstrap-0.1.0/docs/source/snippets/navdropdown_example_3.html +36 -0
  325. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_1.html +32 -0
  326. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_10.html +34 -0
  327. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_11.html +34 -0
  328. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_12.html +30 -0
  329. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_13.html +34 -0
  330. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_2.html +34 -0
  331. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_3.html +34 -0
  332. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_4.html +34 -0
  333. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_5.html +34 -0
  334. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_6.html +34 -0
  335. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_7.html +34 -0
  336. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_8.html +34 -0
  337. citry_bootstrap-0.1.0/docs/source/snippets/offcanvas_example_9.html +34 -0
  338. citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_1.html +43 -0
  339. citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_2.html +47 -0
  340. citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_3.html +43 -0
  341. citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_4.html +43 -0
  342. citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_5.html +29 -0
  343. citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_6.html +29 -0
  344. citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_7.html +43 -0
  345. citry_bootstrap-0.1.0/docs/source/snippets/pagination_example_8.html +43 -0
  346. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_1.html +21 -0
  347. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_10.html +3 -0
  348. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_11.html +3 -0
  349. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_12.html +3 -0
  350. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_13.html +3 -0
  351. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_14.html +7 -0
  352. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_15.html +7 -0
  353. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_16.html +3 -0
  354. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_17.html +3 -0
  355. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_18.html +3 -0
  356. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_19.html +3 -0
  357. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_2.html +13 -0
  358. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_20.html +3 -0
  359. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_21.html +3 -0
  360. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_22.html +3 -0
  361. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_23.html +3 -0
  362. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_24.html +3 -0
  363. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_3.html +3 -0
  364. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_4.html +3 -0
  365. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_5.html +3 -0
  366. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_6.html +3 -0
  367. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_7.html +3 -0
  368. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_8.html +3 -0
  369. citry_bootstrap-0.1.0/docs/source/snippets/placeholder_example_9.html +3 -0
  370. citry_bootstrap-0.1.0/docs/source/snippets/popover_example_1.html +11 -0
  371. citry_bootstrap-0.1.0/docs/source/snippets/popover_example_2.html +11 -0
  372. citry_bootstrap-0.1.0/docs/source/snippets/popover_example_3.html +11 -0
  373. citry_bootstrap-0.1.0/docs/source/snippets/popover_example_4.html +11 -0
  374. citry_bootstrap-0.1.0/docs/source/snippets/popover_example_5.html +11 -0
  375. citry_bootstrap-0.1.0/docs/source/snippets/popover_example_6.html +11 -0
  376. citry_bootstrap-0.1.0/docs/source/snippets/popover_example_7.html +11 -0
  377. citry_bootstrap-0.1.0/docs/source/snippets/popover_example_8.html +13 -0
  378. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_1.html +12 -0
  379. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_10.html +12 -0
  380. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_11.html +12 -0
  381. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_12.html +12 -0
  382. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_13.html +12 -0
  383. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_14.html +12 -0
  384. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_15.html +12 -0
  385. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_16.html +12 -0
  386. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_17.html +12 -0
  387. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_18.html +12 -0
  388. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_19.html +12 -0
  389. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_2.html +12 -0
  390. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_20.html +12 -0
  391. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_21.html +42 -0
  392. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_22.html +12 -0
  393. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_23.html +12 -0
  394. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_24.html +12 -0
  395. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_25.html +12 -0
  396. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_26.html +12 -0
  397. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_27.html +12 -0
  398. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_28.html +12 -0
  399. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_29.html +12 -0
  400. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_3.html +12 -0
  401. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_30.html +12 -0
  402. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_31.html +12 -0
  403. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_32.html +12 -0
  404. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_33.html +12 -0
  405. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_34.html +12 -0
  406. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_35.html +12 -0
  407. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_4.html +12 -0
  408. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_5.html +12 -0
  409. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_6.html +12 -0
  410. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_7.html +12 -0
  411. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_8.html +12 -0
  412. citry_bootstrap-0.1.0/docs/source/snippets/progress_example_9.html +12 -0
  413. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_1.html +5 -0
  414. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_10.html +5 -0
  415. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_11.html +5 -0
  416. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_12.html +5 -0
  417. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_13.html +5 -0
  418. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_14.html +5 -0
  419. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_15.html +5 -0
  420. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_16.html +5 -0
  421. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_17.html +5 -0
  422. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_18.html +5 -0
  423. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_19.html +5 -0
  424. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_2.html +5 -0
  425. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_20.html +5 -0
  426. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_21.html +5 -0
  427. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_22.html +5 -0
  428. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_23.html +5 -0
  429. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_24.html +5 -0
  430. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_3.html +5 -0
  431. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_4.html +5 -0
  432. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_5.html +5 -0
  433. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_6.html +5 -0
  434. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_7.html +5 -0
  435. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_8.html +5 -0
  436. citry_bootstrap-0.1.0/docs/source/snippets/spinner_example_9.html +5 -0
  437. citry_bootstrap-0.1.0/docs/source/snippets/stack_example_1.html +9 -0
  438. citry_bootstrap-0.1.0/docs/source/snippets/stack_example_2.html +9 -0
  439. citry_bootstrap-0.1.0/docs/source/snippets/stack_example_3.html +9 -0
  440. citry_bootstrap-0.1.0/docs/source/snippets/stack_example_4.html +10 -0
  441. citry_bootstrap-0.1.0/docs/source/snippets/stack_example_5.html +16 -0
  442. citry_bootstrap-0.1.0/docs/source/snippets/stack_example_6.html +20 -0
  443. citry_bootstrap-0.1.0/docs/source/snippets/stack_example_7.html +9 -0
  444. citry_bootstrap-0.1.0/docs/source/snippets/stack_example_8.html +9 -0
  445. citry_bootstrap-0.1.0/docs/source/snippets/table_example_1.html +34 -0
  446. citry_bootstrap-0.1.0/docs/source/snippets/table_example_10.html +34 -0
  447. citry_bootstrap-0.1.0/docs/source/snippets/table_example_11.html +34 -0
  448. citry_bootstrap-0.1.0/docs/source/snippets/table_example_12.html +34 -0
  449. citry_bootstrap-0.1.0/docs/source/snippets/table_example_13.html +34 -0
  450. citry_bootstrap-0.1.0/docs/source/snippets/table_example_14.html +34 -0
  451. citry_bootstrap-0.1.0/docs/source/snippets/table_example_15.html +34 -0
  452. citry_bootstrap-0.1.0/docs/source/snippets/table_example_16.html +35 -0
  453. citry_bootstrap-0.1.0/docs/source/snippets/table_example_17.html +56 -0
  454. citry_bootstrap-0.1.0/docs/source/snippets/table_example_18.html +24 -0
  455. citry_bootstrap-0.1.0/docs/source/snippets/table_example_19.html +22 -0
  456. citry_bootstrap-0.1.0/docs/source/snippets/table_example_2.html +34 -0
  457. citry_bootstrap-0.1.0/docs/source/snippets/table_example_20.html +22 -0
  458. citry_bootstrap-0.1.0/docs/source/snippets/table_example_21.html +22 -0
  459. citry_bootstrap-0.1.0/docs/source/snippets/table_example_22.html +22 -0
  460. citry_bootstrap-0.1.0/docs/source/snippets/table_example_23.html +22 -0
  461. citry_bootstrap-0.1.0/docs/source/snippets/table_example_24.html +22 -0
  462. citry_bootstrap-0.1.0/docs/source/snippets/table_example_25.html +22 -0
  463. citry_bootstrap-0.1.0/docs/source/snippets/table_example_26.html +22 -0
  464. citry_bootstrap-0.1.0/docs/source/snippets/table_example_3.html +34 -0
  465. citry_bootstrap-0.1.0/docs/source/snippets/table_example_4.html +34 -0
  466. citry_bootstrap-0.1.0/docs/source/snippets/table_example_5.html +34 -0
  467. citry_bootstrap-0.1.0/docs/source/snippets/table_example_6.html +34 -0
  468. citry_bootstrap-0.1.0/docs/source/snippets/table_example_7.html +34 -0
  469. citry_bootstrap-0.1.0/docs/source/snippets/table_example_8.html +34 -0
  470. citry_bootstrap-0.1.0/docs/source/snippets/table_example_9.html +34 -0
  471. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_1.html +90 -0
  472. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_2.html +66 -0
  473. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_3.html +66 -0
  474. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_4.html +90 -0
  475. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_5.html +66 -0
  476. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_6.html +90 -0
  477. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_7.html +54 -0
  478. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_8.html +54 -0
  479. citry_bootstrap-0.1.0/docs/source/snippets/tabs_example_9.html +90 -0
  480. citry_bootstrap-0.1.0/docs/source/snippets/toast_example_1.html +25 -0
  481. citry_bootstrap-0.1.0/docs/source/snippets/toast_example_2.html +25 -0
  482. citry_bootstrap-0.1.0/docs/source/snippets/toast_example_3.html +25 -0
  483. citry_bootstrap-0.1.0/docs/source/snippets/toast_example_4.html +56 -0
  484. citry_bootstrap-0.1.0/docs/source/snippets/toast_example_5.html +16 -0
  485. citry_bootstrap-0.1.0/docs/source/snippets/toast_example_6.html +25 -0
  486. citry_bootstrap-0.1.0/docs/source/snippets/toast_example_7.html +16 -0
  487. citry_bootstrap-0.1.0/docs/source/snippets/toast_example_8.html +31 -0
  488. citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_1.html +6 -0
  489. citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_2.html +6 -0
  490. citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_3.html +6 -0
  491. citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_4.html +6 -0
  492. citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_5.html +6 -0
  493. citry_bootstrap-0.1.0/docs/source/snippets/togglebutton_example_6.html +6 -0
  494. citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_1.html +7 -0
  495. citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_2.html +11 -0
  496. citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_3.html +11 -0
  497. citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_4.html +11 -0
  498. citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_5.html +11 -0
  499. citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_6.html +11 -0
  500. citry_bootstrap-0.1.0/docs/source/snippets/tooltip_example_7.html +13 -0
  501. citry_bootstrap-0.1.0/docs/source/stylesheets/extra.css +4 -0
  502. citry_bootstrap-0.1.0/pyproject.toml +71 -0
  503. citry_bootstrap-0.1.0/src/citry_bootstrap/__init__.py +440 -0
  504. citry_bootstrap-0.1.0/src/citry_bootstrap/components/__init__.py +0 -0
  505. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/__init__.py +82 -0
  506. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/accordion.py +197 -0
  507. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/alert.py +94 -0
  508. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/badge.py +42 -0
  509. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/breadcrumb.py +73 -0
  510. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/button.py +98 -0
  511. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/button_group.py +64 -0
  512. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/card.py +307 -0
  513. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/carousel.py +297 -0
  514. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/close_button.py +33 -0
  515. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/collapse.py +109 -0
  516. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/dropdown.py +298 -0
  517. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/dropdown_button.py +104 -0
  518. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/figure.py +78 -0
  519. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/form.py +533 -0
  520. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/form_range.py +46 -0
  521. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/form_textarea.py +57 -0
  522. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/image.py +48 -0
  523. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/input_group.py +133 -0
  524. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/layout.py +181 -0
  525. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/list_group.py +137 -0
  526. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/modal.py +231 -0
  527. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/nav.py +193 -0
  528. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/nav_dropdown.py +56 -0
  529. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/navbar.py +239 -0
  530. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/offcanvas.py +186 -0
  531. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/pagination.py +300 -0
  532. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/placeholder.py +72 -0
  533. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/popover.py +43 -0
  534. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/progress.py +125 -0
  535. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/spinner.py +40 -0
  536. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/stack.py +43 -0
  537. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/table.py +74 -0
  538. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/tabs.py +309 -0
  539. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/toast.py +160 -0
  540. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/toggle_button.py +126 -0
  541. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/tooltip.py +40 -0
  542. citry_bootstrap-0.1.0/src/citry_bootstrap/components/bootstrap5/types.py +123 -0
  543. citry_bootstrap-0.1.0/src/citry_bootstrap/plain_inputs.py +60 -0
  544. citry_bootstrap-0.1.0/src/citry_bootstrap/py.typed +0 -0
  545. citry_bootstrap-0.1.0/src/citry_bootstrap/text.py +20 -0
  546. citry_bootstrap-0.1.0/tests/__init__.py +0 -0
  547. citry_bootstrap-0.1.0/tests/conftest.py +87 -0
  548. citry_bootstrap-0.1.0/tests/test_accordion.py +248 -0
  549. citry_bootstrap-0.1.0/tests/test_alert.py +326 -0
  550. citry_bootstrap-0.1.0/tests/test_badge.py +234 -0
  551. citry_bootstrap-0.1.0/tests/test_breadcrumb.py +158 -0
  552. citry_bootstrap-0.1.0/tests/test_button.py +202 -0
  553. citry_bootstrap-0.1.0/tests/test_button_group.py +172 -0
  554. citry_bootstrap-0.1.0/tests/test_card.py +326 -0
  555. citry_bootstrap-0.1.0/tests/test_carousel.py +473 -0
  556. citry_bootstrap-0.1.0/tests/test_close_button.py +94 -0
  557. citry_bootstrap-0.1.0/tests/test_collapse.py +132 -0
  558. citry_bootstrap-0.1.0/tests/test_dropdown.py +562 -0
  559. citry_bootstrap-0.1.0/tests/test_dropdown_button.py +454 -0
  560. citry_bootstrap-0.1.0/tests/test_figure.py +88 -0
  561. citry_bootstrap-0.1.0/tests/test_form.py +439 -0
  562. citry_bootstrap-0.1.0/tests/test_image.py +130 -0
  563. citry_bootstrap-0.1.0/tests/test_install.py +95 -0
  564. citry_bootstrap-0.1.0/tests/test_layout.py +180 -0
  565. citry_bootstrap-0.1.0/tests/test_list_group.py +518 -0
  566. citry_bootstrap-0.1.0/tests/test_modal.py +529 -0
  567. citry_bootstrap-0.1.0/tests/test_nav.py +426 -0
  568. citry_bootstrap-0.1.0/tests/test_nav_dropdown.py +105 -0
  569. citry_bootstrap-0.1.0/tests/test_navbar.py +324 -0
  570. citry_bootstrap-0.1.0/tests/test_offcanvas.py +424 -0
  571. citry_bootstrap-0.1.0/tests/test_pagination.py +224 -0
  572. citry_bootstrap-0.1.0/tests/test_placeholder.py +314 -0
  573. citry_bootstrap-0.1.0/tests/test_plain_inputs.py +224 -0
  574. citry_bootstrap-0.1.0/tests/test_popover.py +130 -0
  575. citry_bootstrap-0.1.0/tests/test_progress.py +569 -0
  576. citry_bootstrap-0.1.0/tests/test_spinner.py +334 -0
  577. citry_bootstrap-0.1.0/tests/test_stack.py +160 -0
  578. citry_bootstrap-0.1.0/tests/test_table.py +1648 -0
  579. citry_bootstrap-0.1.0/tests/test_tabs.py +334 -0
  580. citry_bootstrap-0.1.0/tests/test_toast.py +247 -0
  581. citry_bootstrap-0.1.0/tests/test_toggle_button.py +76 -0
  582. citry_bootstrap-0.1.0/tests/test_tooltip.py +116 -0
  583. 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()