flowbite-angular 0.0.2 → 1.0.0-alpha.2

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 (393) hide show
  1. package/{esm2020 → esm2022}/flowbite-angular.mjs +2 -2
  2. package/esm2022/lib/common/flowbite.theme.init.mjs +318 -0
  3. package/esm2022/lib/common/index.mjs +3 -0
  4. package/esm2022/lib/common/type-definitions/colors/flowbite.colors.mjs +2 -0
  5. package/esm2022/lib/common/type-definitions/colors/flowbite.gradient-colors.mjs +2 -0
  6. package/esm2022/lib/common/type-definitions/colors/flowbite.gradient-duo-tone-colors.mjs +2 -0
  7. package/esm2022/lib/common/type-definitions/colors/index.mjs +2 -0
  8. package/esm2022/lib/common/type-definitions/flowbite.boolean.mjs +2 -0
  9. package/esm2022/lib/common/type-definitions/flowbite.class.mjs +2 -0
  10. package/esm2022/lib/common/type-definitions/flowbite.combination.mjs +5 -0
  11. package/esm2022/lib/common/type-definitions/flowbite.content-positions.mjs +2 -0
  12. package/esm2022/lib/common/type-definitions/flowbite.deep-partial.mjs +2 -0
  13. package/esm2022/lib/common/type-definitions/flowbite.heading-levels.mjs +2 -0
  14. package/esm2022/lib/common/type-definitions/flowbite.positions.mjs +2 -0
  15. package/esm2022/lib/common/type-definitions/flowbite.router-link-parameter.mjs +2 -0
  16. package/esm2022/lib/common/type-definitions/flowbite.sizes.mjs +2 -0
  17. package/esm2022/lib/common/type-definitions/flowbite.themes.mjs +2 -0
  18. package/esm2022/lib/common/type-definitions/index.mjs +2 -0
  19. package/esm2022/lib/components/accordion/accordion-content.component.mjs +46 -0
  20. package/esm2022/lib/components/accordion/accordion-content.theme.mjs +19 -0
  21. package/esm2022/lib/components/accordion/accordion-content.theme.service.mjs +17 -0
  22. package/esm2022/lib/components/accordion/accordion-panel.component.mjs +57 -0
  23. package/esm2022/lib/components/accordion/accordion-panel.theme.mjs +7 -0
  24. package/esm2022/lib/components/accordion/accordion-panel.theme.service.mjs +17 -0
  25. package/esm2022/lib/components/accordion/accordion-title.component.mjs +70 -0
  26. package/esm2022/lib/components/accordion/accordion-title.theme.mjs +26 -0
  27. package/esm2022/lib/components/accordion/accordion-title.theme.service.mjs +18 -0
  28. package/esm2022/lib/components/accordion/accordion.component.mjs +49 -0
  29. package/esm2022/lib/components/accordion/accordion.theme.mjs +19 -0
  30. package/esm2022/lib/components/accordion/accordion.theme.service.mjs +17 -0
  31. package/esm2022/lib/components/accordion/index.mjs +13 -0
  32. package/esm2022/lib/components/alert/alert.component.mjs +95 -0
  33. package/esm2022/lib/components/alert/alert.theme.mjs +34 -0
  34. package/esm2022/lib/components/alert/alert.theme.service.mjs +18 -0
  35. package/esm2022/lib/components/alert/index.mjs +4 -0
  36. package/esm2022/lib/components/badge/badge.component.mjs +47 -0
  37. package/esm2022/lib/components/badge/badge.theme.mjs +34 -0
  38. package/esm2022/lib/components/badge/badge.theme.service.mjs +19 -0
  39. package/esm2022/lib/components/badge/index.mjs +4 -0
  40. package/esm2022/lib/components/base-component.directive.mjs +34 -0
  41. package/esm2022/lib/components/breadcrumb/breadcrumb-item.component.mjs +57 -0
  42. package/esm2022/lib/components/breadcrumb/breadcrumb-item.theme.mjs +18 -0
  43. package/esm2022/lib/components/breadcrumb/breadcrumb-item.theme.service.mjs +18 -0
  44. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +46 -0
  45. package/esm2022/lib/components/breadcrumb/breadcrumb.theme.mjs +7 -0
  46. package/esm2022/lib/components/breadcrumb/breadcrumb.theme.service.mjs +17 -0
  47. package/esm2022/lib/components/breadcrumb/index.mjs +7 -0
  48. package/esm2022/lib/components/button/button.component.mjs +81 -0
  49. package/esm2022/lib/components/button/button.theme.mjs +113 -0
  50. package/esm2022/lib/components/button/button.theme.service.mjs +24 -0
  51. package/esm2022/lib/components/button/index.mjs +4 -0
  52. package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.component.mjs +76 -0
  53. package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.theme.mjs +7 -0
  54. package/esm2022/lib/components/dark-theme-toggle/dark-theme-toggle.theme.service.mjs +17 -0
  55. package/esm2022/lib/components/dark-theme-toggle/index.mjs +4 -0
  56. package/esm2022/lib/components/dropdown/dropdown-divider.component.mjs +34 -0
  57. package/esm2022/lib/components/dropdown/dropdown-divider.theme.mjs +7 -0
  58. package/esm2022/lib/components/dropdown/dropdown-divider.theme.service.mjs +17 -0
  59. package/esm2022/lib/components/dropdown/dropdown-header.component.mjs +44 -0
  60. package/esm2022/lib/components/dropdown/dropdown-header.theme.mjs +10 -0
  61. package/esm2022/lib/components/dropdown/dropdown-header.theme.service.mjs +18 -0
  62. package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +34 -0
  63. package/esm2022/lib/components/dropdown/dropdown-item.theme.mjs +6 -0
  64. package/esm2022/lib/components/dropdown/dropdown-item.theme.service.mjs +17 -0
  65. package/esm2022/lib/components/dropdown/dropdown.component.mjs +149 -0
  66. package/esm2022/lib/components/dropdown/dropdown.theme.mjs +32 -0
  67. package/esm2022/lib/components/dropdown/dropdown.theme.service.mjs +22 -0
  68. package/esm2022/lib/components/dropdown/index.mjs +13 -0
  69. package/esm2022/lib/components/form-field/directives/addon.directive.mjs +32 -0
  70. package/esm2022/lib/components/form-field/directives/addon.directive.theme.mjs +8 -0
  71. package/esm2022/lib/components/form-field/directives/addon.directive.theme.service.mjs +17 -0
  72. package/esm2022/lib/components/form-field/directives/base-input.directive.mjs +26 -0
  73. package/esm2022/lib/components/form-field/directives/helper.directive.mjs +34 -0
  74. package/esm2022/lib/components/form-field/directives/helper.directive.theme.mjs +12 -0
  75. package/esm2022/lib/components/form-field/directives/helper.directive.theme.service.mjs +17 -0
  76. package/esm2022/lib/components/form-field/directives/icon.directive.mjs +32 -0
  77. package/esm2022/lib/components/form-field/directives/icon.directive.theme.mjs +8 -0
  78. package/esm2022/lib/components/form-field/directives/icon.directive.theme.service.mjs +17 -0
  79. package/esm2022/lib/components/form-field/directives/index.mjs +17 -0
  80. package/esm2022/lib/components/form-field/directives/input.directive.mjs +41 -0
  81. package/esm2022/lib/components/form-field/directives/input.directive.theme.mjs +79 -0
  82. package/esm2022/lib/components/form-field/directives/input.directive.theme.service.mjs +32 -0
  83. package/esm2022/lib/components/form-field/directives/label.directive.mjs +41 -0
  84. package/esm2022/lib/components/form-field/directives/label.directive.theme.mjs +51 -0
  85. package/esm2022/lib/components/form-field/directives/label.directive.theme.service.mjs +23 -0
  86. package/esm2022/lib/components/form-field/form-field.component.mjs +40 -0
  87. package/esm2022/lib/components/form-field/form-field.theme.mjs +8 -0
  88. package/esm2022/lib/components/form-field/form-field.theme.service.mjs +17 -0
  89. package/esm2022/lib/components/form-field/index.mjs +5 -0
  90. package/esm2022/lib/components/icon/icon-registry.mjs +159 -0
  91. package/esm2022/lib/components/icon/icon.component.mjs +67 -0
  92. package/esm2022/lib/components/icon/index.mjs +4 -0
  93. package/esm2022/lib/components/icon/trusted-types.mjs +21 -0
  94. package/esm2022/lib/components/index.mjs +16 -0
  95. package/esm2022/lib/components/indicators/index.mjs +4 -0
  96. package/esm2022/lib/components/indicators/indicators.component.mjs +54 -0
  97. package/esm2022/lib/components/indicators/indicators.theme.mjs +68 -0
  98. package/esm2022/lib/components/indicators/indicators.theme.service.mjs +19 -0
  99. package/esm2022/lib/components/modal/index.mjs +13 -0
  100. package/esm2022/lib/components/modal/modal-body.component.mjs +34 -0
  101. package/esm2022/lib/components/modal/modal-body.theme.mjs +7 -0
  102. package/esm2022/lib/components/modal/modal-body.theme.service.mjs +17 -0
  103. package/esm2022/lib/components/modal/modal-footer.component.mjs +34 -0
  104. package/esm2022/lib/components/modal/modal-footer.theme.mjs +7 -0
  105. package/esm2022/lib/components/modal/modal-footer.theme.service.mjs +17 -0
  106. package/esm2022/lib/components/modal/modal-header.component.mjs +66 -0
  107. package/esm2022/lib/components/modal/modal-header.theme.mjs +13 -0
  108. package/esm2022/lib/components/modal/modal-header.theme.service.mjs +19 -0
  109. package/esm2022/lib/components/modal/modal.component.mjs +142 -0
  110. package/esm2022/lib/components/modal/modal.theme.mjs +33 -0
  111. package/esm2022/lib/components/modal/modal.theme.service.mjs +20 -0
  112. package/esm2022/lib/components/navbar/index.mjs +19 -0
  113. package/esm2022/lib/components/navbar/navbar-brand.component.mjs +34 -0
  114. package/esm2022/lib/components/navbar/navbar-brand.theme.mjs +7 -0
  115. package/esm2022/lib/components/navbar/navbar-brand.theme.service.mjs +17 -0
  116. package/esm2022/lib/components/navbar/navbar-content.component.mjs +45 -0
  117. package/esm2022/lib/components/navbar/navbar-content.theme.mjs +14 -0
  118. package/esm2022/lib/components/navbar/navbar-content.theme.service.mjs +18 -0
  119. package/esm2022/lib/components/navbar/navbar-icon-button.component.mjs +42 -0
  120. package/esm2022/lib/components/navbar/navbar-icon-button.theme.mjs +15 -0
  121. package/esm2022/lib/components/navbar/navbar-icon-button.theme.service.mjs +17 -0
  122. package/esm2022/lib/components/navbar/navbar-item.component.mjs +49 -0
  123. package/esm2022/lib/components/navbar/navbar-item.theme.mjs +11 -0
  124. package/esm2022/lib/components/navbar/navbar-item.theme.service.mjs +17 -0
  125. package/esm2022/lib/components/navbar/navbar-toggle.component.mjs +50 -0
  126. package/esm2022/lib/components/navbar/navbar-toggle.theme.mjs +7 -0
  127. package/esm2022/lib/components/navbar/navbar-toggle.theme.service.mjs +17 -0
  128. package/esm2022/lib/components/navbar/navbar.component.mjs +62 -0
  129. package/esm2022/lib/components/navbar/navbar.theme.mjs +23 -0
  130. package/esm2022/lib/components/navbar/navbar.theme.service.mjs +17 -0
  131. package/esm2022/lib/components/scroll-top/index.mjs +4 -0
  132. package/esm2022/lib/components/scroll-top/scroll-top.component.mjs +50 -0
  133. package/esm2022/lib/components/scroll-top/scroll-top.theme.mjs +27 -0
  134. package/esm2022/lib/components/scroll-top/scroll-top.theme.service.mjs +17 -0
  135. package/esm2022/lib/components/sidebar/index.mjs +19 -0
  136. package/esm2022/lib/components/sidebar/sidebar-item-group.component.mjs +81 -0
  137. package/esm2022/lib/components/sidebar/sidebar-item-group.theme.mjs +18 -0
  138. package/esm2022/lib/components/sidebar/sidebar-item-group.theme.service.mjs +18 -0
  139. package/esm2022/lib/components/sidebar/sidebar-item.component.mjs +77 -0
  140. package/esm2022/lib/components/sidebar/sidebar-item.theme.mjs +18 -0
  141. package/esm2022/lib/components/sidebar/sidebar-item.theme.service.mjs +18 -0
  142. package/esm2022/lib/components/sidebar/sidebar-menu.component.mjs +49 -0
  143. package/esm2022/lib/components/sidebar/sidebar-menu.theme.mjs +24 -0
  144. package/esm2022/lib/components/sidebar/sidebar-menu.theme.service.mjs +17 -0
  145. package/esm2022/lib/components/sidebar/sidebar-page-content.component.mjs +36 -0
  146. package/esm2022/lib/components/sidebar/sidebar-page-content.theme.mjs +12 -0
  147. package/esm2022/lib/components/sidebar/sidebar-page-content.theme.service.mjs +17 -0
  148. package/esm2022/lib/components/sidebar/sidebar-toggle.component.mjs +53 -0
  149. package/esm2022/lib/components/sidebar/sidebar-toggle.theme.mjs +18 -0
  150. package/esm2022/lib/components/sidebar/sidebar-toggle.theme.service.mjs +17 -0
  151. package/esm2022/lib/components/sidebar/sidebar.component.mjs +61 -0
  152. package/esm2022/lib/components/sidebar/sidebar.theme.mjs +11 -0
  153. package/esm2022/lib/components/sidebar/sidebar.theme.service.mjs +17 -0
  154. package/esm2022/lib/directives/flowbite-router-link-active.directive.mjs +51 -0
  155. package/esm2022/lib/directives/flowbite-router-link.directive.mjs +44 -0
  156. package/esm2022/lib/directives/index.mjs +3 -0
  157. package/esm2022/lib/pipes/index.mjs +2 -0
  158. package/esm2022/lib/pipes/sanitize-html/sanitize-html.pipe.mjs +32 -0
  159. package/esm2022/lib/services/flowbite.theme.service.mjs +16 -0
  160. package/{esm2020 → esm2022}/lib/services/index.mjs +2 -3
  161. package/esm2022/lib/utils/boolean.util.mjs +10 -0
  162. package/esm2022/lib/utils/directives/index.mjs +3 -0
  163. package/esm2022/lib/utils/directives/inputs/index.mjs +3 -0
  164. package/esm2022/lib/utils/directives/inputs/router-link-active.input.mjs +8 -0
  165. package/esm2022/lib/utils/directives/inputs/router-link.inputs.mjs +20 -0
  166. package/esm2022/lib/utils/directives/outputs/index.mjs +3 -0
  167. package/esm2022/lib/utils/directives/outputs/router-link-active.output.mjs +8 -0
  168. package/esm2022/lib/utils/directives/outputs/router-link.output.mjs +8 -0
  169. package/esm2022/lib/utils/icon.list.mjs +39 -0
  170. package/esm2022/lib/utils/id.generator.mjs +81 -0
  171. package/esm2022/lib/utils/index.mjs +9 -0
  172. package/esm2022/lib/utils/theme/clone-deep.mjs +18 -0
  173. package/esm2022/lib/utils/theme/create-class.mjs +10 -0
  174. package/esm2022/lib/utils/theme/create-theme.mjs +10 -0
  175. package/esm2022/lib/utils/theme/is-object.mjs +10 -0
  176. package/esm2022/lib/utils/theme/merge-theme.mjs +29 -0
  177. package/esm2022/lib/utils/theme/to-string.mjs +10 -0
  178. package/esm2022/public-api.mjs +7 -0
  179. package/fesm2022/flowbite-angular.mjs +4228 -0
  180. package/fesm2022/flowbite-angular.mjs.map +1 -0
  181. package/index.d.ts +5 -4
  182. package/lib/common/flowbite.theme.init.d.ts +9 -0
  183. package/lib/common/index.d.ts +2 -0
  184. package/lib/common/type-definitions/colors/flowbite.colors.d.ts +19 -0
  185. package/lib/common/type-definitions/colors/flowbite.gradient-colors.d.ts +11 -0
  186. package/lib/common/type-definitions/colors/flowbite.gradient-duo-tone-colors.d.ts +12 -0
  187. package/lib/common/type-definitions/colors/index.d.ts +3 -0
  188. package/lib/common/type-definitions/flowbite.boolean.d.ts +7 -0
  189. package/lib/common/type-definitions/flowbite.class.d.ts +6 -0
  190. package/lib/common/type-definitions/flowbite.combination.d.ts +8 -0
  191. package/lib/common/type-definitions/flowbite.content-positions.d.ts +6 -0
  192. package/lib/common/type-definitions/flowbite.deep-partial.d.ts +6 -0
  193. package/lib/common/type-definitions/flowbite.heading-levels.d.ts +4 -0
  194. package/lib/common/type-definitions/flowbite.positions.d.ts +14 -0
  195. package/lib/common/type-definitions/flowbite.router-link-parameter.d.ts +5 -0
  196. package/lib/common/type-definitions/flowbite.sizes.d.ts +10 -0
  197. package/lib/common/type-definitions/flowbite.themes.d.ts +4 -0
  198. package/lib/common/type-definitions/index.d.ts +11 -0
  199. package/lib/components/accordion/accordion-content.component.d.ts +32 -0
  200. package/lib/components/accordion/accordion-content.theme.d.ts +16 -0
  201. package/lib/components/accordion/accordion-content.theme.service.d.ts +8 -0
  202. package/lib/components/accordion/accordion-panel.component.d.ts +27 -0
  203. package/lib/components/accordion/accordion-panel.theme.d.ts +11 -0
  204. package/lib/components/accordion/accordion-panel.theme.service.d.ts +9 -0
  205. package/lib/components/accordion/accordion-title.component.d.ts +46 -0
  206. package/lib/components/accordion/accordion-title.theme.d.ts +24 -0
  207. package/lib/components/accordion/accordion-title.theme.service.d.ts +8 -0
  208. package/lib/components/accordion/accordion.component.d.ts +35 -0
  209. package/lib/components/accordion/accordion.theme.d.ts +21 -0
  210. package/lib/components/accordion/accordion.theme.service.d.ts +8 -0
  211. package/lib/components/accordion/index.d.ts +16 -0
  212. package/lib/components/alert/alert.component.d.ts +53 -12
  213. package/lib/components/alert/alert.theme.d.ts +27 -0
  214. package/lib/components/alert/alert.theme.service.d.ts +8 -0
  215. package/lib/components/alert/index.d.ts +4 -1
  216. package/lib/components/badge/badge.component.d.ts +50 -10
  217. package/lib/components/badge/badge.theme.d.ts +32 -0
  218. package/lib/components/badge/badge.theme.service.d.ts +8 -0
  219. package/lib/components/badge/index.d.ts +4 -1
  220. package/lib/components/base-component.directive.d.ts +19 -0
  221. package/lib/components/breadcrumb/breadcrumb-item.component.d.ts +39 -0
  222. package/lib/components/breadcrumb/breadcrumb-item.theme.d.ts +22 -0
  223. package/lib/components/breadcrumb/breadcrumb-item.theme.service.d.ts +8 -0
  224. package/lib/components/breadcrumb/breadcrumb.component.d.ts +22 -0
  225. package/lib/components/breadcrumb/breadcrumb.theme.d.ts +14 -0
  226. package/lib/components/breadcrumb/breadcrumb.theme.service.d.ts +8 -0
  227. package/lib/components/breadcrumb/index.d.ts +8 -0
  228. package/lib/components/button/button.component.d.ts +110 -0
  229. package/lib/components/button/button.theme.d.ts +56 -0
  230. package/lib/components/button/button.theme.service.d.ts +8 -0
  231. package/lib/components/button/index.d.ts +4 -0
  232. package/lib/components/dark-theme-toggle/dark-theme-toggle.component.d.ts +21 -9
  233. package/lib/components/dark-theme-toggle/dark-theme-toggle.theme.d.ts +11 -0
  234. package/lib/components/dark-theme-toggle/dark-theme-toggle.theme.service.d.ts +8 -0
  235. package/lib/components/dark-theme-toggle/index.d.ts +4 -1
  236. package/lib/components/dropdown/dropdown-divider.component.d.ts +13 -0
  237. package/lib/components/dropdown/dropdown-divider.theme.d.ts +11 -0
  238. package/lib/components/dropdown/dropdown-divider.theme.service.d.ts +8 -0
  239. package/lib/components/dropdown/dropdown-header.component.d.ts +13 -0
  240. package/lib/components/dropdown/dropdown-header.theme.d.ts +16 -0
  241. package/lib/components/dropdown/dropdown-header.theme.service.d.ts +8 -0
  242. package/lib/components/dropdown/dropdown-item.component.d.ts +17 -0
  243. package/lib/components/dropdown/dropdown-item.theme.d.ts +11 -0
  244. package/lib/components/dropdown/dropdown-item.theme.service.d.ts +8 -0
  245. package/lib/components/dropdown/dropdown.component.d.ts +71 -0
  246. package/lib/components/dropdown/dropdown.theme.d.ts +44 -0
  247. package/lib/components/dropdown/dropdown.theme.service.d.ts +8 -0
  248. package/lib/components/dropdown/index.d.ts +16 -0
  249. package/lib/components/form-field/directives/addon.directive.d.ts +13 -0
  250. package/lib/components/form-field/directives/addon.directive.theme.d.ts +10 -0
  251. package/lib/components/form-field/directives/addon.directive.theme.service.d.ts +8 -0
  252. package/lib/components/form-field/directives/base-input.directive.d.ts +14 -0
  253. package/lib/components/form-field/directives/helper.directive.d.ts +18 -0
  254. package/lib/components/form-field/directives/helper.directive.theme.d.ts +13 -0
  255. package/lib/components/form-field/directives/helper.directive.theme.service.d.ts +8 -0
  256. package/lib/components/form-field/directives/icon.directive.d.ts +13 -0
  257. package/lib/components/form-field/directives/icon.directive.theme.d.ts +10 -0
  258. package/lib/components/form-field/directives/icon.directive.theme.service.d.ts +8 -0
  259. package/lib/components/form-field/directives/index.d.ts +21 -0
  260. package/lib/components/form-field/directives/input.directive.d.ts +100 -0
  261. package/lib/components/form-field/directives/input.directive.theme.d.ts +24 -0
  262. package/lib/components/form-field/directives/input.directive.theme.service.d.ts +8 -0
  263. package/lib/components/form-field/directives/label.directive.d.ts +62 -0
  264. package/lib/components/form-field/directives/label.directive.theme.d.ts +20 -0
  265. package/lib/components/form-field/directives/label.directive.theme.service.d.ts +8 -0
  266. package/lib/components/form-field/form-field.component.d.ts +20 -0
  267. package/lib/components/form-field/form-field.theme.d.ts +45 -0
  268. package/lib/components/form-field/form-field.theme.service.d.ts +8 -0
  269. package/lib/components/form-field/index.d.ts +5 -0
  270. package/lib/components/icon/icon-registry.d.ts +45 -0
  271. package/lib/components/icon/icon.component.d.ts +22 -0
  272. package/lib/components/icon/index.d.ts +5 -0
  273. package/lib/components/icon/trusted-types.d.ts +15 -0
  274. package/lib/components/index.d.ts +10 -0
  275. package/lib/components/indicators/index.d.ts +4 -0
  276. package/lib/components/indicators/indicators.component.d.ts +92 -0
  277. package/lib/components/indicators/indicators.theme.d.ts +43 -0
  278. package/lib/components/indicators/indicators.theme.service.d.ts +8 -0
  279. package/lib/components/modal/index.d.ts +16 -0
  280. package/lib/components/modal/modal-body.component.d.ts +17 -0
  281. package/lib/components/modal/modal-body.theme.d.ts +11 -0
  282. package/lib/components/modal/modal-body.theme.service.d.ts +8 -0
  283. package/lib/components/modal/modal-footer.component.d.ts +17 -0
  284. package/lib/components/modal/modal-footer.theme.d.ts +11 -0
  285. package/lib/components/modal/modal-footer.theme.service.d.ts +8 -0
  286. package/lib/components/modal/modal-header.component.d.ts +29 -0
  287. package/lib/components/modal/modal-header.theme.d.ts +20 -0
  288. package/lib/components/modal/modal-header.theme.service.d.ts +8 -0
  289. package/lib/components/modal/modal.component.d.ts +73 -0
  290. package/lib/components/modal/modal.theme.d.ts +39 -0
  291. package/lib/components/modal/modal.theme.service.d.ts +8 -0
  292. package/lib/components/navbar/index.d.ts +24 -1
  293. package/lib/components/navbar/navbar-brand.component.d.ts +17 -0
  294. package/lib/components/navbar/navbar-brand.theme.d.ts +11 -0
  295. package/lib/components/navbar/navbar-brand.theme.service.d.ts +8 -0
  296. package/lib/components/navbar/navbar-content.component.d.ts +27 -0
  297. package/lib/components/navbar/navbar-content.theme.d.ts +18 -0
  298. package/lib/components/navbar/navbar-content.theme.service.d.ts +8 -0
  299. package/lib/components/navbar/navbar-icon-button.component.d.ts +27 -0
  300. package/lib/components/navbar/navbar-icon-button.theme.d.ts +14 -0
  301. package/lib/components/navbar/navbar-icon-button.theme.service.d.ts +8 -0
  302. package/lib/components/navbar/navbar-item.component.d.ts +29 -0
  303. package/lib/components/navbar/navbar-item.theme.d.ts +15 -0
  304. package/lib/components/navbar/navbar-item.theme.service.d.ts +8 -0
  305. package/lib/components/navbar/navbar-toggle.component.d.ts +23 -0
  306. package/lib/components/navbar/navbar-toggle.theme.d.ts +11 -0
  307. package/lib/components/navbar/navbar-toggle.theme.service.d.ts +8 -0
  308. package/lib/components/navbar/navbar.component.d.ts +45 -6
  309. package/lib/components/navbar/navbar.theme.d.ts +24 -0
  310. package/lib/components/navbar/navbar.theme.service.d.ts +8 -0
  311. package/lib/components/scroll-top/index.d.ts +4 -0
  312. package/lib/components/scroll-top/scroll-top.component.d.ts +46 -0
  313. package/lib/components/scroll-top/scroll-top.theme.d.ts +21 -0
  314. package/lib/components/scroll-top/scroll-top.theme.service.d.ts +8 -0
  315. package/lib/components/sidebar/index.d.ts +24 -3
  316. package/lib/components/sidebar/sidebar-item-group.component.d.ts +41 -2
  317. package/lib/components/sidebar/sidebar-item-group.theme.d.ts +19 -0
  318. package/lib/components/sidebar/sidebar-item-group.theme.service.d.ts +8 -0
  319. package/lib/components/sidebar/sidebar-item.component.d.ts +38 -8
  320. package/lib/components/sidebar/sidebar-item.theme.d.ts +22 -0
  321. package/lib/components/sidebar/sidebar-item.theme.service.d.ts +8 -0
  322. package/lib/components/sidebar/sidebar-menu.component.d.ts +43 -0
  323. package/lib/components/sidebar/sidebar-menu.theme.d.ts +18 -0
  324. package/lib/components/sidebar/sidebar-menu.theme.service.d.ts +8 -0
  325. package/lib/components/sidebar/sidebar-page-content.component.d.ts +22 -0
  326. package/lib/components/sidebar/sidebar-page-content.theme.d.ts +15 -0
  327. package/lib/components/sidebar/sidebar-page-content.theme.service.d.ts +8 -0
  328. package/lib/components/sidebar/sidebar-toggle.component.d.ts +40 -0
  329. package/lib/components/sidebar/sidebar-toggle.theme.d.ts +19 -0
  330. package/lib/components/sidebar/sidebar-toggle.theme.service.d.ts +8 -0
  331. package/lib/components/sidebar/sidebar.component.d.ts +30 -7
  332. package/lib/components/sidebar/sidebar.theme.d.ts +25 -0
  333. package/lib/components/sidebar/sidebar.theme.service.d.ts +8 -0
  334. package/lib/directives/flowbite-router-link-active.directive.d.ts +25 -0
  335. package/lib/directives/flowbite-router-link.directive.d.ts +16 -0
  336. package/lib/directives/index.d.ts +2 -0
  337. package/lib/pipes/index.d.ts +1 -1
  338. package/lib/pipes/sanitize-html/sanitize-html.pipe.d.ts +14 -4
  339. package/lib/services/flowbite.theme.service.d.ts +10 -0
  340. package/lib/services/index.d.ts +1 -2
  341. package/lib/utils/boolean.util.d.ts +8 -0
  342. package/lib/utils/directives/index.d.ts +2 -0
  343. package/lib/utils/directives/inputs/index.d.ts +2 -0
  344. package/lib/utils/directives/inputs/router-link-active.input.d.ts +8 -0
  345. package/lib/utils/directives/inputs/router-link.inputs.d.ts +8 -0
  346. package/lib/utils/directives/outputs/index.d.ts +2 -0
  347. package/lib/utils/directives/outputs/router-link-active.output.d.ts +8 -0
  348. package/lib/utils/directives/outputs/router-link.output.d.ts +8 -0
  349. package/lib/utils/icon.list.d.ts +7 -0
  350. package/lib/utils/id.generator.d.ts +59 -0
  351. package/lib/utils/index.d.ts +8 -0
  352. package/lib/utils/theme/clone-deep.d.ts +7 -0
  353. package/lib/utils/theme/create-class.d.ts +7 -0
  354. package/lib/utils/theme/create-theme.d.ts +7 -0
  355. package/lib/utils/theme/is-object.d.ts +7 -0
  356. package/lib/utils/theme/merge-theme.d.ts +8 -0
  357. package/lib/utils/theme/to-string.d.ts +7 -0
  358. package/package.json +25 -39
  359. package/public-api.d.ts +6 -0
  360. package/LICENSE +0 -21
  361. package/README.md +0 -376
  362. package/esm2020/index.mjs +0 -5
  363. package/esm2020/lib/components/alert/alert.component.mjs +0 -128
  364. package/esm2020/lib/components/alert/index.mjs +0 -2
  365. package/esm2020/lib/components/badge/badge.component.mjs +0 -77
  366. package/esm2020/lib/components/badge/index.mjs +0 -2
  367. package/esm2020/lib/components/dark-theme-toggle/dark-theme-toggle.component.mjs +0 -122
  368. package/esm2020/lib/components/dark-theme-toggle/index.mjs +0 -2
  369. package/esm2020/lib/components/index.mjs +0 -6
  370. package/esm2020/lib/components/navbar/index.mjs +0 -2
  371. package/esm2020/lib/components/navbar/navbar.component.mjs +0 -49
  372. package/esm2020/lib/components/sidebar/index.mjs +0 -4
  373. package/esm2020/lib/components/sidebar/sidebar-item-group.component.mjs +0 -18
  374. package/esm2020/lib/components/sidebar/sidebar-item.component.mjs +0 -73
  375. package/esm2020/lib/components/sidebar/sidebar.component.mjs +0 -50
  376. package/esm2020/lib/flowbite.module.mjs +0 -45
  377. package/esm2020/lib/pipes/index.mjs +0 -2
  378. package/esm2020/lib/pipes/sanitize-html/sanitize-html.pipe.mjs +0 -21
  379. package/esm2020/lib/services/sidebar/index.mjs +0 -2
  380. package/esm2020/lib/services/sidebar/sidebar.service.mjs +0 -24
  381. package/esm2020/lib/services/theme/index.mjs +0 -2
  382. package/esm2020/lib/services/theme/theme.service.mjs +0 -24
  383. package/fesm2015/flowbite-angular.mjs +0 -600
  384. package/fesm2015/flowbite-angular.mjs.map +0 -1
  385. package/fesm2020/flowbite-angular.mjs +0 -599
  386. package/fesm2020/flowbite-angular.mjs.map +0 -1
  387. package/flowbite-angular.d.ts +0 -5
  388. package/lib/flowbite.module.d.ts +0 -16
  389. package/lib/services/sidebar/index.d.ts +0 -1
  390. package/lib/services/sidebar/sidebar.service.d.ts +0 -9
  391. package/lib/services/theme/index.d.ts +0 -1
  392. package/lib/services/theme/theme.service.d.ts +0 -10
  393. /package/{esm2020 → esm2022}/lib/pipes/sanitize-html/index.mjs +0 -0
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Themesberg
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.
package/README.md DELETED
@@ -1,376 +0,0 @@
1
- <div align="center">
2
- <h1>:construction: flowbite-angular (unreleased) :construction:</h1>
3
- <p>
4
- <a href="https://flowbite.com">
5
- <img alt="Flowbite - Tailwind CSS components" width="350" src="https://flowbite.s3.amazonaws.com/github/logo-github.png">
6
- </a>
7
- </p>
8
- <p>
9
- Build websites even faster with components on top of Angular and Tailwind CSS
10
- </p>
11
- <p>
12
- <a href="https://discord.com/invite/4eeurUVvTy">
13
- <img src="https://img.shields.io/discord/902911619032576090?color=%237289da&label=Discord" alt="Discord">
14
- </a>
15
- <a href="https://www.npmjs.com/package/flowbite-angular">
16
- <img src="https://img.shields.io/npm/dt/flowbite-angular.svg" alt="Total Downloads">
17
- </a>
18
- <a href="https://badge.fury.io/js/flowbite-angular">
19
- <img alt="Latest release" src="https://badge.fury.io/js/flowbite-angular.svg">
20
- </a>
21
- <a href="https://flowbite.com/docs/getting-started/license/">
22
- <img src="https://img.shields.io/badge/license-MIT-blue" alt="License">
23
- </a>
24
- </p>
25
- </div>
26
-
27
- ---
28
-
29
- **`flowbite-angular` is an open source collection of UI components, built in Angular, with utility classes from Tailwind CSS that you can use as a starting point for user interfaces and websites.**
30
-
31
- ## Table of Contents
32
-
33
- - [Documentation](#documentation)
34
- - [Getting started](#getting-started)
35
- - [Components](#components)
36
- - [Community](#community)
37
- - [Contributing](#contributing)
38
- - [Figma](#figma)
39
- - [Copyright and license](#copyright-and-license)
40
-
41
- ## Documentation
42
-
43
- Documentation for `flowbite-angular` is not yet finished.
44
-
45
- If you want to browse the components, visit [flowbite-angular.com](https://flowbite-angular.com/).
46
-
47
- If you want to learn more about Flowbite, visit [Flowbite docs](https://flowbite.com/docs/getting-started/introduction/).
48
-
49
- ## Getting started
50
-
51
- To use `flowbite-angular`, you just need to setup `flowbite` normally and install `flowbite-angular` from `npm`.
52
-
53
- `flowbite` can be included as a plugin into an existing Tailwind CSS project.
54
-
55
- ### Require via `npm`
56
-
57
- Make sure that you have <a href="https://nodejs.org/en/" rel="nofollow" >Node.js</a> and <a href="https://tailwindcss.com/" rel="nofollow" >Tailwind CSS</a> installed.
58
-
59
- 1. Install `flowbite` as a dependency using `npm` by running the following command:
60
-
61
- ```bash
62
- npm i flowbite flowbite-angular
63
- ```
64
-
65
- 2. Require `flowbite` as a plugin inside the `tailwind.config.js` file:
66
-
67
- ```javascript
68
- module.exports = {
69
- plugins: [require('flowbite/plugin')],
70
- };
71
- ```
72
-
73
- ## Components
74
-
75
- <table>
76
- <tr>
77
- <td width="33.3333%">:construction: Alerts</td>
78
- <td width="33.3333%">Badges</td>
79
- <td width="33.3333%">:construction: Breadcrumbs</td>
80
- </tr>
81
- <tr>
82
- <td width="33.3333%">
83
- <a href="https://flowbite-angular.com/#/alerts/">
84
- <img alt="Tailwind CSS Alerts" src="https://flowbite.s3.amazonaws.com/github/alerts.jpg">
85
- </a>
86
- </td>
87
- <td width="33.3333%">
88
- <a href="https://flowbite-angular.com/#/badges/">
89
- <img alt="Tailwind CSS Badge" src="https://flowbite.s3.amazonaws.com/github/badge.jpg">
90
- </a>
91
- </td>
92
- <td width="33.3333%">
93
- <a href="https://flowbite-angular.com/#/breadcrumb/">
94
- <img alt="Tailwind CSS Breadcrumbs" src="https://flowbite.s3.amazonaws.com/github/breadcrumbs.jpg">
95
- </a>
96
- </td>
97
- </tr>
98
- <tr>
99
- <td width="33.3333%">:construction: Buttons</td>
100
- <td width="33.3333%">:construction: Button group</td>
101
- <td width="33.3333%">:construction: Cards</td>
102
- </tr>
103
- <tr>
104
- <td width="33.3333%">
105
- <a href="https://flowbite-angular.com/#/buttons/">
106
- <img alt="Tailwind CSS Buttons" src="https://flowbite.s3.amazonaws.com/github/buttons.jpg">
107
- </a>
108
- </td>
109
- <td width="33.3333%">
110
- <a href="https://flowbite-angular.com/#/button-group/">
111
- <img alt="Tailwind CSS Button Group" src="https://flowbite.s3.amazonaws.com/github/button-group.jpg">
112
- </a>
113
- </td>
114
- <td width="33.3333%">
115
- <a href="https://flowbite-angular.com/#/card/">
116
- <img alt="Tailwind CSS Cards" src="https://flowbite.s3.amazonaws.com/github/cards.jpg">
117
- </a>
118
- </td>
119
- </tr>
120
- <tr>
121
- <td width="33.3333%">:construction: Dropdown</td>
122
- <td width="33.3333%">:construction: Forms</td>
123
- <td width="33.3333%">:construction: List group</td>
124
- </tr>
125
- <tr>
126
- <td width="33.3333%">
127
- <a href="https://flowbite-angular.com/#/dropdown/">
128
- <img alt="Tailwind CSS Dropdown" src="https://flowbite.s3.amazonaws.com/github/dropdown.jpg">
129
- </a>
130
- </td>
131
- <td width="33.3333%">
132
- <a href="https://flowbite-angular.com/#/forms/">
133
- <img alt="Tailwind CSS Forms" src="https://flowbite.s3.amazonaws.com/github/forms.jpg">
134
- </a>
135
- </td>
136
- <td width="33.3333%">
137
- <a href="https://flowbite-angular.com/#/list-group/">
138
- <img alt="Tailwind CSS List group" src="https://flowbite.s3.amazonaws.com/github/list-group.jpg">
139
- </a>
140
- </td>
141
- </tr>
142
- <tr>
143
- <td width="33.3333%">:construction: Typography</td>
144
- <td width="33.3333%">:construction: Modal</td>
145
- <td width="33.3333%">:construction: Tabs</td>
146
- </tr>
147
- <tr>
148
- <td width="33.3333%">
149
- <a href="https://flowbite-angular.com/#/typography/">
150
- <img alt="Tailwind CSS Typography" src="https://flowbite.s3.amazonaws.com/github/typography.jpg">
151
- </a>
152
- </td>
153
- <td width="33.3333%">
154
- <a href="https://flowbite-angular.com/#/modal/">
155
- <img alt="Tailwind CSS Modal" src="https://flowbite.s3.amazonaws.com/github/modal.jpg">
156
- </a>
157
- </td>
158
- <td width="33.3333%">
159
- <a href="https://flowbite-angular.com/#/tabs/">
160
- <img alt="Tailwind CSS Tabs" src="https://flowbite.s3.amazonaws.com/github/tabs.jpg">
161
- </a>
162
- </td>
163
- </tr>
164
- <tr>
165
- <td width="33.3333%">:construction: Navbar</td>
166
- <td width="33.3333%">:construction: Pagination</td>
167
- <td width="33.3333%">:construction: Timeline</td>
168
- </tr>
169
- <tr>
170
- <td width="33.3333%">
171
- <a href="https://flowbite-angular.com/#/navbars/">
172
- <img alt="Tailwind CSS Navbar" src="https://flowbite.s3.amazonaws.com/github/navbar.jpg">
173
- </a>
174
- </td>
175
- <td width="33.3333%">
176
- <a href="https://flowbite-angular.com/#/pagination/">
177
- <img alt="Tailwind CSS Pagination" src="https://flowbite.s3.amazonaws.com/github/pagination.jpg">
178
- </a>
179
- </td>
180
- <td width="33.3333%">
181
- <a href="https://flowbite-angular.com/#/timeline/">
182
- <img alt="Tailwind CSS Timeline" src="https://flowbite.s3.amazonaws.com/github/timeline.jpg">
183
- </a>
184
- </td>
185
- </tr>
186
- <tr>
187
- <td width="33.3333%">:construction: Progress bar</td>
188
- <td width="33.3333%">:construction: Tables</td>
189
- <td width="33.3333%">:construction: Toast</td>
190
- </tr>
191
- <tr>
192
- <td width="33.3333%">
193
- <a href="https://flowbite-angular.com/#/progress/">
194
- <img alt="Tailwind CSS Progress Bar" src="https://flowbite.s3.amazonaws.com/github/progress.jpg">
195
- </a>
196
- </td>
197
- <td width="33.3333%">
198
- <a href="https://flowbite-angular.com/#/tables/">
199
- <img alt="Tailwind CSS Tables" src="https://flowbite.s3.amazonaws.com/github/tables.jpg">
200
- </a>
201
- </td>
202
- <td width="33.3333%">
203
- <a href="https://flowbite-angular.com/#/toast/">
204
- <img alt="Tailwind CSS Toast" src="https://flowbite.s3.amazonaws.com/github/toast.jpg">
205
- </a>
206
- </td>
207
- </tr>
208
- <tr>
209
- <td width="33.3333%">:construction: Tooltips</td>
210
- <td width="33.3333%">:construction: Datepicker</td>
211
- <td width="33.3333%">:construction: Spinner</td>
212
- </tr>
213
- <tr>
214
- <td width="33.3333%">
215
- <a href="https://flowbite-angular.com/#/tooltips/">
216
- <img alt="Tailwind CSS Tooltips" src="https://flowbite.s3.amazonaws.com/github/tooltips.jpg">
217
- </a>
218
- </td>
219
- <td width="33.3333%">
220
- <a href="https://flowbite.com/docs/plugins/datepicker/">
221
- <img alt="Tailwind CSS Datepicker" src="https://flowbite.s3.amazonaws.com/github/datepicker.jpg">
222
- </a>
223
- </td>
224
- <td width="33.3333%">
225
- <a href="https://flowbite-angular.com/#/spinner/">
226
- <img alt="Tailwind CSS Spinner" src="https://flowbite.s3.amazonaws.com/github/spinner.jpg">
227
- </a>
228
- </td>
229
- </tr>
230
- <tr>
231
- <td width="33.3333%">:construction: Footer</td>
232
- <td width="33.3333%">:construction: Accordion</td>
233
- <td width="33.3333%">:construction: Sidebar</td>
234
- </tr>
235
- <tr>
236
- <td width="33.3333%">
237
- <a href="https://flowbite-angular.com/#/footer/">
238
- <img alt="Tailwind CSS Footer" src="https://flowbite.s3.amazonaws.com/github/footer.jpg">
239
- </a>
240
- </td>
241
- <td width="33.3333%">
242
- <a href="https://flowbite-angular.com/#/accordion/">
243
- <img alt="Tailwind CSS Accordion" src="https://flowbite.s3.amazonaws.com/github/accordion.jpg">
244
- </a>
245
- </td>
246
- <td width="33.3333%">
247
- <a href="https://flowbite-angular.com/#/sidebar/">
248
- <img alt="Tailwind CSS Sidebar" src="https://flowbite.s3.amazonaws.com/github/sidebar.jpg">
249
- </a>
250
- </td>
251
- </tr>
252
- <tr>
253
- <td width="33.3333%">:construction: Carousel</td>
254
- <td width="33.3333%">:construction: Avatar</td>
255
- <td width="33.3333%">:construction: Rating</td>
256
- </tr>
257
- <tr>
258
- <td width="33.3333%">
259
- <a href="https://flowbite-angular.com/#/carousel/">
260
- <img alt="Tailwind CSS Carousel" src="https://flowbite.s3.amazonaws.com/github/carousel.jpg">
261
- </a>
262
- </td>
263
- <td width="33.3333%">
264
- <a href="https://flowbite-angular.com/#/avatar/">
265
- <img alt="Tailwind CSS Avatar" src="https://flowbite.s3.amazonaws.com/github/avatar.jpg">
266
- </a>
267
- </td>
268
- <td width="33.3333%">
269
- <a href="https://flowbite-angular.com/#/rating/">
270
- <img alt="Tailwind CSS Rating" src="https://flowbite.s3.amazonaws.com/github/rating.jpg">
271
- </a>
272
- </td>
273
- </tr>
274
- <tr>
275
- <td width="33.3333%">:construction: Input Field</td>
276
- <td width="33.3333%">:construction: File Input</td>
277
- <td width="33.3333%">:construction: Search Input</td>
278
- </tr>
279
- <tr>
280
- <td width="33.3333%">
281
- <a href="https://flowbite.com/docs/forms/input-field/">
282
- <img alt="Tailwind CSS Input Field" src="https://flowbite.s3.amazonaws.com/github/input-field.jpg">
283
- </a>
284
- </td>
285
- <td width="33.3333%">
286
- <a href="https://flowbite.com/docs/forms/file-input/">
287
- <img alt="Tailwind CSS File Input" src="https://flowbite.s3.amazonaws.com/github/file-input.jpg">
288
- </a>
289
- </td>
290
- <td width="33.3333%">
291
- <a href="https://flowbite.com/docs/forms/search-input/">
292
- <img alt="Tailwind CSS Search Input" src="https://flowbite.s3.amazonaws.com/github/search-input.jpg">
293
- </a>
294
- </td>
295
- </tr>
296
- <tr>
297
- <td width="33.3333%">:construction: Select</td>
298
- <td width="33.3333%">:construction: Textarea</td>
299
- <td width="33.3333%">:construction: Checkbox</td>
300
- </tr>
301
- <tr>
302
- <td width="33.3333%">
303
- <a href="https://flowbite.com/docs/forms/select/">
304
- <img alt="Tailwind CSS Select" src="https://flowbite.s3.amazonaws.com/github/select.jpg">
305
- </a>
306
- </td>
307
- <td width="33.3333%">
308
- <a href="https://flowbite.com/docs/forms/textarea/">
309
- <img alt="Tailwind CSS Textarea" src="https://flowbite.s3.amazonaws.com/github/textarea.jpg">
310
- </a>
311
- </td>
312
- <td width="33.3333%">
313
- <a href="https://flowbite.com/docs/forms/checkbox/">
314
- <img alt="Tailwind CSS Checkbox" src="https://flowbite.s3.amazonaws.com/github/checkbox.jpg">
315
- </a>
316
- </td>
317
- </tr>
318
- <tr>
319
- <td width="33.3333%">:construction: Radio</td>
320
- <td width="33.3333%">:construction: Toggle</td>
321
- <td width="33.3333%">:construction: Range Slider</td>
322
- </tr>
323
- <tr>
324
- <td width="33.3333%">
325
- <a href="https://flowbite.com/docs/forms/radio/">
326
- <img alt="Tailwind CSS Radio" src="https://flowbite.s3.amazonaws.com/github/radio.jpg">
327
- </a>
328
- </td>
329
- <td width="33.3333%">
330
- <a href="https://flowbite.com/docs/forms/toggle/">
331
- <img alt="Tailwind CSS Toggle" src="https://flowbite.s3.amazonaws.com/github/toggle.jpg">
332
- </a>
333
- </td>
334
- <td width="33.3333%">
335
- <a href="https://flowbite.com/docs/forms/range/">
336
- <img alt="Tailwind CSS Range Slider" src="https://flowbite.s3.amazonaws.com/github/range-slider.jpg">
337
- </a>
338
- </td>
339
- </tr>
340
- <tr>
341
- <td width="33.3333%">:construction: Floating Label</td>
342
- </tr>
343
- <tr>
344
- <td width="33.3333%">
345
- <a href="https://flowbite.com/docs/forms/floating-label/">
346
- <img alt="Tailwind CSS Floating Label" src="https://flowbite.s3.amazonaws.com/github/floating-label.jpg">
347
- </a>
348
- </td>
349
- </tr>
350
- </table>
351
-
352
- ## Community
353
-
354
- If you need help or just want to discuss the library join the community on GitHub:
355
-
356
- ⌨️ [Discuss Flowbite on GitHub](https://github.com/themesberg/flowbite/discussions)
357
-
358
- For casual chatting with others using the library:
359
-
360
- 💬 [Join the Flowbite Discord Server](https://discord.gg/4eeurUVvTy)
361
-
362
- ## Contributing
363
-
364
- Thank you for your interest in helping! Visit our [guide on contributing](https://github.com/themesberg/flowbite-angular/blob/main/CONTRIBUTING.md) to get started.
365
-
366
- ## Figma
367
-
368
- If you need the Figma files for the components you can check out our website for more information:
369
-
370
- 🎨 [Get access to the Figma design files](https://flowbite.com/figma/)
371
-
372
- ## Copyright and license
373
-
374
- The Flowbite name and logos are trademarks of Crafty Dwarf Inc.
375
-
376
- 📝 [Read about the licensing terms](https://flowbite.com/docs/getting-started/license/)
package/esm2020/index.mjs DELETED
@@ -1,5 +0,0 @@
1
- export * from './lib/components';
2
- export * from './lib/pipes';
3
- export * from './lib/services';
4
- export * from './lib/flowbite.module';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9waXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZXJ2aWNlcyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9mbG93Yml0ZS5tb2R1bGUnO1xuIl19
@@ -1,128 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- export class AlertComponent {
5
- constructor() {
6
- this.color = 'blue';
7
- this.rounded = true;
8
- this.withBorderAccent = false;
9
- this.icon = null;
10
- this.additionalContent = null;
11
- this.colorClasses = {
12
- blue: 'text-blue-700 bg-blue-100 border-blue-500 dark:bg-blue-200 dark:text-blue-800',
13
- red: 'text-red-700 bg-red-100 border-red-500 dark:bg-red-200 dark:text-red-800',
14
- green: 'text-green-700 bg-green-100 border-green-500 dark:bg-green-200 dark:text-green-800',
15
- yellow: 'text-yellow-700 bg-yellow-100 border-yellow-500 dark:bg-yellow-200 dark:text-yellow-800',
16
- gray: 'text-gray-700 bg-gray-100 border-gray-500 dark:bg-gray-700 dark:text-gray-300',
17
- };
18
- this.buttonColorClasses = {
19
- blue: 'bg-blue-100 text-blue-500 hover:bg-blue-200 focus:ring-blue-400 dark:bg-blue-200 dark:text-blue-600 dark:hover:bg-blue-300',
20
- red: 'bg-red-100 text-red-500 hover:bg-red-200 focus:ring-red-400 dark:bg-red-200 dark:text-red-600 dark:hover:bg-red-300',
21
- green: 'bg-green-100 text-green-500 hover:bg-green-200 focus:ring-green-400 dark:bg-green-200 dark:text-green-600 dark:hover:bg-green-300',
22
- yellow: 'bg-yellow-100 text-yellow-500 hover:bg-yellow-200 focus:ring-yellow-400 dark:bg-yellow-200 dark:text-yellow-600 dark:hover:bg-yellow-300',
23
- gray: 'bg-gray-100 text-gray-500 hover:bg-gray-200 focus:ring-gray-400 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-white',
24
- };
25
- }
26
- }
27
- AlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: AlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28
- AlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: AlertComponent, selector: "flowbite-alert", inputs: { color: "color", rounded: "rounded", withBorderAccent: "withBorderAccent", icon: "icon", additionalContent: "additionalContent", dismiss: "dismiss" }, ngImport: i0, template: ` <div
29
- class="flex flex-col gap-2 p-4 text-sm"
30
- [ngClass]="colorClasses[color]"
31
- [class.rounded-lg]="rounded"
32
- [class.border-t-4]="withBorderAccent"
33
- role="alert"
34
- >
35
- <div class="flex items-center">
36
- <ng-container [ngTemplateOutlet]="icon"></ng-container>
37
- <div>
38
- <ng-content></ng-content>
39
- </div>
40
- <button
41
- type="button"
42
- class="-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 focus:ring-2"
43
- [ngClass]="buttonColorClasses[color]"
44
- *ngIf="dismiss"
45
- aria-label="Close"
46
- (click)="dismiss?.()"
47
- >
48
- <span class="sr-only">Close</span>
49
- <svg
50
- stroke="currentColor"
51
- fill="currentColor"
52
- stroke-width="0"
53
- viewBox="0 0 20 20"
54
- class="h-5 w-5"
55
- height="1em"
56
- width="1em"
57
- xmlns="http://www.w3.org/2000/svg"
58
- >
59
- <path
60
- fill-rule="evenodd"
61
- d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
62
- clip-rule="evenodd"
63
- ></path>
64
- </svg>
65
- </button>
66
- </div>
67
- <ng-container [ngTemplateOutlet]="additionalContent"></ng-container>
68
- </div>`, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: AlertComponent, decorators: [{
70
- type: Component,
71
- args: [{
72
- selector: 'flowbite-alert',
73
- template: ` <div
74
- class="flex flex-col gap-2 p-4 text-sm"
75
- [ngClass]="colorClasses[color]"
76
- [class.rounded-lg]="rounded"
77
- [class.border-t-4]="withBorderAccent"
78
- role="alert"
79
- >
80
- <div class="flex items-center">
81
- <ng-container [ngTemplateOutlet]="icon"></ng-container>
82
- <div>
83
- <ng-content></ng-content>
84
- </div>
85
- <button
86
- type="button"
87
- class="-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg p-1.5 focus:ring-2"
88
- [ngClass]="buttonColorClasses[color]"
89
- *ngIf="dismiss"
90
- aria-label="Close"
91
- (click)="dismiss?.()"
92
- >
93
- <span class="sr-only">Close</span>
94
- <svg
95
- stroke="currentColor"
96
- fill="currentColor"
97
- stroke-width="0"
98
- viewBox="0 0 20 20"
99
- class="h-5 w-5"
100
- height="1em"
101
- width="1em"
102
- xmlns="http://www.w3.org/2000/svg"
103
- >
104
- <path
105
- fill-rule="evenodd"
106
- d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"
107
- clip-rule="evenodd"
108
- ></path>
109
- </svg>
110
- </button>
111
- </div>
112
- <ng-container [ngTemplateOutlet]="additionalContent"></ng-container>
113
- </div>`,
114
- }]
115
- }], propDecorators: { color: [{
116
- type: Input
117
- }], rounded: [{
118
- type: Input
119
- }], withBorderAccent: [{
120
- type: Input
121
- }], icon: [{
122
- type: Input
123
- }], additionalContent: [{
124
- type: Input
125
- }], dismiss: [{
126
- type: Input
127
- }] } });
128
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9hbGVydC9hbGVydC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQWUsTUFBTSxlQUFlLENBQUM7OztBQWdEOUQsTUFBTSxPQUFPLGNBQWM7SUE1QzNCO1FBNkNXLFVBQUssR0FBZSxNQUFNLENBQUM7UUFDM0IsWUFBTyxHQUFHLElBQUksQ0FBQztRQUNmLHFCQUFnQixHQUFHLEtBQUssQ0FBQztRQUN6QixTQUFJLEdBQWdDLElBQUksQ0FBQztRQUN6QyxzQkFBaUIsR0FBZ0MsSUFBSSxDQUFDO1FBRy9ELGlCQUFZLEdBQStCO1lBQ3pDLElBQUksRUFBRSwrRUFBK0U7WUFDckYsR0FBRyxFQUFFLDBFQUEwRTtZQUMvRSxLQUFLLEVBQ0gsb0ZBQW9GO1lBQ3RGLE1BQU0sRUFDSix5RkFBeUY7WUFDM0YsSUFBSSxFQUFFLCtFQUErRTtTQUN0RixDQUFDO1FBRUYsdUJBQWtCLEdBQStCO1lBQy9DLElBQUksRUFBRSw0SEFBNEg7WUFDbEksR0FBRyxFQUFFLHFIQUFxSDtZQUMxSCxLQUFLLEVBQ0gsbUlBQW1JO1lBQ3JJLE1BQU0sRUFDSiwwSUFBMEk7WUFDNUksSUFBSS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XG4gICAgPGRpdiBjbGFzcz1cImZsZXggaXRlbXMtY2VudGVyXCI+XG4gICAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImljb25cIj48L25nLWNvbnRhaW5lcj5cbiAgICAgIDxkaXY+XG4gICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgIDwvZGl2PlxuICAgICAgPGJ1dHRvblxuICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgY2xhc3M9XCItbXgtMS41IC1teS0xLjUgbWwtYXV0byBpbmxpbmUtZmxleCBoLTggdy04IHJvdW5kZWQtbGcgcC0xLjUgZm9jdXM6cmluZy0yXCJcbiAgICAgICAgW25nQ2xhc3NdPVwiYnV0dG9uQ29sb3JDbGFzc2VzW2NvbG9yXVwiXG4gICAgICAgICpuZ0lmPVwiZGlzbWlzc1wiXG4gICAgICAgIGFyaWEtbGFiZWw9XCJDbG9zZVwiXG4gICAgICAgIChjbGljayk9XCJkaXNtaXNzPy4oKVwiXG4gICAgICA+XG4gICAgICAgIDxzcGFuIGNsYXNzPVwic3Itb25seVwiPkNsb3NlPC9zcGFuPlxuICAgICAgICA8c3ZnXG4gICAgICAgICAgc3Ryb2tlPVwiY3VycmVudENvbG9yXCJcbiAgICAgICAgICBmaWxsPVwiY3VycmVudENvbG9yXCJcbiAgICAgICAgICBzdHJva2Utd2lkdGg9XCIwXCJcbiAgICAgICAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICAgICAgICBjbGFzcz1cImgtNSB3LTVcIlxuICAgICAgICAgIGhlaWdodD1cIjFlbVwiXG4gICAgICAgICAgd2lkdGg9XCIxZW1cIlxuICAgICAgICAgIHhtbG5zPVwiaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmdcIlxuICAgICAgICA+XG4gICAgICAgICAgPHBhdGhcbiAgICAgICAgICAgIGZpbGwtcnVsZT1cImV2ZW5vZGRcIlxuICAgICAgICAgICAgZD1cIk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kYXJrOmJnLWdyZWVuLTIwMCBkYXJrOnRleHQtZ3JlZW4tNjAwIGRhcms6aG92ZXI6YmctZ3JlZW4tMzAwJyxcbiAgICB5ZWxsb3c6XG4gICAgICAnYmcteWVsbG93LTEwMCB0ZXh0LXllbGxvdy01MDAgaG92ZXI6YmcteWVsbG93LTIwMCBmb2N1czpyaW5nLXllbGxvdy00MDAgZGFyazpiZy15ZWxsb3ctMjAwIGRhcms6dGV4dC15ZWxsb3ctNjAwIGRhcms6aG92ZXI6YmcteWVsbG93LTMwMCcsXG4gICAgZ3JheTogJ2JnLWdyYXktMTAwIHRleHQtZ3JheS01MDAgaG92ZXI6YmctZ3JheS0yMDAgZm9jdXM6cmluZy1ncmF5LTQwMCBkYXJrOmJnLWdyYXktNzAwIGRhcms6dGV4dC1ncmF5LTMwMCBkYXJrOmhvdmVyOmJnLWdyYXktODAwIGRhcms6aG92ZXI6dGV4dC13aGl0ZScsXG4gIH07XG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export * from './alert.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2FsZXJ0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FsZXJ0LmNvbXBvbmVudCc7XG4iXX0=
@@ -1,77 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/router";
4
- import * as i2 from "@angular/common";
5
- export class BadgeComponent {
6
- constructor() {
7
- this.color = 'blue';
8
- this.size = 'xs';
9
- this.iconOnly = false;
10
- this.colorClasses = {
11
- blue: 'bg-blue-100 text-blue-800 dark:bg-blue-200 dark:text-blue-800 group-hover:bg-blue-200 dark:group-hover:bg-blue-300',
12
- dark: 'bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300 group-hover:bg-gray-200 dark:group-hover:bg-gray-600',
13
- red: 'bg-red-100 text-red-800 dark:bg-red-200 dark:text-red-900 group-hover:bg-red-200 dark:group-hover:bg-red-300',
14
- green: 'bg-green-100 text-green-800 dark:bg-green-200 dark:text-green-900 group-hover:bg-green-200 dark:group-hover:bg-green-300',
15
- yellow: 'bg-yellow-100 text-yellow-800 dark:bg-yellow-200 dark:text-yellow-900 group-hover:bg-yellow-200 dark:group-hover:bg-yellow-300',
16
- indigo: 'bg-indigo-100 text-indigo-800 dark:bg-indigo-200 dark:text-indigo-900 group-hover:bg-indigo-200 dark:group-hover:bg-indigo-300',
17
- purple: 'bg-purple-100 text-purple-800 dark:bg-purple-200 dark:text-purple-900 group-hover:bg-purple-200 dark:group-hover:bg-purple-300',
18
- pink: 'bg-pink-100 text-pink-800 dark:bg-pink-200 dark:text-pink-900 group-hover:bg-pink-200 dark:group-hover:bg-pink-300',
19
- };
20
- this.sizeClasses = {
21
- xs: 'text-xs',
22
- sm: 'text-sm',
23
- };
24
- }
25
- }
26
- BadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
- BadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: BadgeComponent, selector: "flowbite-badge", inputs: { color: "color", size: "size", href: "href", iconOnly: "iconOnly" }, ngImport: i0, template: `<span [class.group]="href">
28
- <a
29
- class="flex h-fit items-center gap-1 font-semibold"
30
- [class.cursor-pointer]="href"
31
- [ngClass]="[
32
- colorClasses[color],
33
- sizeClasses[size],
34
- !iconOnly
35
- ? 'rounded px-2 py-0.5'
36
- : size === 'xs'
37
- ? 'rounded-full p-1'
38
- : 'rounded-full p-1.5'
39
- ]"
40
- [routerLink]="href"
41
- >
42
- <ng-content></ng-content>
43
- </a>
44
- </span>`, isInline: true, directives: [{ type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.5", ngImport: i0, type: BadgeComponent, decorators: [{
46
- type: Component,
47
- args: [{
48
- selector: 'flowbite-badge',
49
- template: `<span [class.group]="href">
50
- <a
51
- class="flex h-fit items-center gap-1 font-semibold"
52
- [class.cursor-pointer]="href"
53
- [ngClass]="[
54
- colorClasses[color],
55
- sizeClasses[size],
56
- !iconOnly
57
- ? 'rounded px-2 py-0.5'
58
- : size === 'xs'
59
- ? 'rounded-full p-1'
60
- : 'rounded-full p-1.5'
61
- ]"
62
- [routerLink]="href"
63
- >
64
- <ng-content></ng-content>
65
- </a>
66
- </span>`,
67
- }]
68
- }], propDecorators: { color: [{
69
- type: Input
70
- }], size: [{
71
- type: Input
72
- }], href: [{
73
- type: Input
74
- }], iconOnly: [{
75
- type: Input
76
- }] } });
77
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9iYWRnZS9iYWRnZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7QUFtQ2pELE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cjpiZy1pbmRpZ28tMjAwIGRhcms6Z3JvdXAtaG92ZXI6YmctaW5kaWdvLTMwMCcsXG4gICAgcHVycGxlOlxuICAgICAgJ2JnLXB1cnBsZS0xMDAgdGV4dC1wdXJwbGUtODAwIGRhcms6YmctcHVycGxlLTIwMCBkYXJrOnRleHQtcHVycGxlLTkwMCBncm91cC1ob3ZlcjpiZy1wdXJwbGUtMjAwIGRhcms6Z3JvdXAtaG92ZXI6YmctcHVycGxlLTMwMCcsXG4gICAgcGluazogJ2JnLXBpbmstMTAwIHRleHQtcGluay04MDAgZGFyazpiZy1waW5rLTIwMCBkYXJrOnRleHQtcGluay05MDAgZ3JvdXAtaG92ZXI6YmctcGluay0yMDAgZGFyazpncm91cC1ob3ZlcjpiZy1waW5rLTMwMCcsXG4gIH07XG5cbiAgc2l6ZUNsYXNzZXM6IFJlY29yZDxCYWRnZVNpemUsIHN0cmluZz4gPSB7XG4gICAgeHM6ICd0ZXh0LXhzJyxcbiAgICBzbTogJ3RleHQtc20nLFxuICB9O1xufVxuIl19
@@ -1,2 +0,0 @@
1
- export * from './badge.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2JhZGdlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JhZGdlLmNvbXBvbmVudCc7XG4iXX0=