flowbite-angular 0.0.1 → 1.0.0-alpha.1

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 (398) 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 +99 -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 +17 -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 +86 -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 +161 -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 +24 -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 +21 -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 +17 -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 +70 -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 +146 -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 +47 -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 +58 -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 +54 -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 +85 -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 +85 -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/esm2022/lib/services/index.mjs +4 -0
  161. package/esm2022/lib/services/signal-store.service.mjs +61 -0
  162. package/esm2022/lib/services/state/index.mjs +2 -0
  163. package/esm2022/lib/services/state/theme.state.mjs +2 -0
  164. package/esm2022/lib/utils/boolean.util.mjs +10 -0
  165. package/esm2022/lib/utils/directives/index.mjs +3 -0
  166. package/esm2022/lib/utils/directives/inputs/index.mjs +3 -0
  167. package/esm2022/lib/utils/directives/inputs/router-link-active.input.mjs +8 -0
  168. package/esm2022/lib/utils/directives/inputs/router-link.inputs.mjs +20 -0
  169. package/esm2022/lib/utils/directives/outputs/index.mjs +3 -0
  170. package/esm2022/lib/utils/directives/outputs/router-link-active.output.mjs +8 -0
  171. package/esm2022/lib/utils/directives/outputs/router-link.output.mjs +8 -0
  172. package/esm2022/lib/utils/icon.list.mjs +39 -0
  173. package/esm2022/lib/utils/id.generator.mjs +81 -0
  174. package/esm2022/lib/utils/index.mjs +9 -0
  175. package/esm2022/lib/utils/theme/clone-deep.mjs +18 -0
  176. package/esm2022/lib/utils/theme/create-class.mjs +10 -0
  177. package/esm2022/lib/utils/theme/create-theme.mjs +10 -0
  178. package/esm2022/lib/utils/theme/is-object.mjs +10 -0
  179. package/esm2022/lib/utils/theme/merge-theme.mjs +27 -0
  180. package/esm2022/lib/utils/theme/to-string.mjs +10 -0
  181. package/esm2022/public-api.mjs +7 -0
  182. package/fesm2022/flowbite-angular.mjs +4326 -0
  183. package/fesm2022/flowbite-angular.mjs.map +1 -0
  184. package/index.d.ts +5 -4
  185. package/lib/common/flowbite.theme.init.d.ts +9 -0
  186. package/lib/common/index.d.ts +2 -0
  187. package/lib/common/type-definitions/colors/flowbite.colors.d.ts +19 -0
  188. package/lib/common/type-definitions/colors/flowbite.gradient-colors.d.ts +11 -0
  189. package/lib/common/type-definitions/colors/flowbite.gradient-duo-tone-colors.d.ts +12 -0
  190. package/lib/common/type-definitions/colors/index.d.ts +3 -0
  191. package/lib/common/type-definitions/flowbite.boolean.d.ts +7 -0
  192. package/lib/common/type-definitions/flowbite.class.d.ts +6 -0
  193. package/lib/common/type-definitions/flowbite.combination.d.ts +8 -0
  194. package/lib/common/type-definitions/flowbite.content-positions.d.ts +6 -0
  195. package/lib/common/type-definitions/flowbite.deep-partial.d.ts +6 -0
  196. package/lib/common/type-definitions/flowbite.heading-levels.d.ts +4 -0
  197. package/lib/common/type-definitions/flowbite.positions.d.ts +14 -0
  198. package/lib/common/type-definitions/flowbite.router-link-parameter.d.ts +5 -0
  199. package/lib/common/type-definitions/flowbite.sizes.d.ts +10 -0
  200. package/lib/common/type-definitions/flowbite.themes.d.ts +4 -0
  201. package/lib/common/type-definitions/index.d.ts +11 -0
  202. package/lib/components/accordion/accordion-content.component.d.ts +32 -0
  203. package/lib/components/accordion/accordion-content.theme.d.ts +16 -0
  204. package/lib/components/accordion/accordion-content.theme.service.d.ts +8 -0
  205. package/lib/components/accordion/accordion-panel.component.d.ts +27 -0
  206. package/lib/components/accordion/accordion-panel.theme.d.ts +11 -0
  207. package/lib/components/accordion/accordion-panel.theme.service.d.ts +9 -0
  208. package/lib/components/accordion/accordion-title.component.d.ts +46 -0
  209. package/lib/components/accordion/accordion-title.theme.d.ts +24 -0
  210. package/lib/components/accordion/accordion-title.theme.service.d.ts +8 -0
  211. package/lib/components/accordion/accordion.component.d.ts +35 -0
  212. package/lib/components/accordion/accordion.theme.d.ts +21 -0
  213. package/lib/components/accordion/accordion.theme.service.d.ts +8 -0
  214. package/lib/components/accordion/index.d.ts +16 -0
  215. package/lib/components/alert/alert.component.d.ts +56 -0
  216. package/lib/components/alert/alert.theme.d.ts +27 -0
  217. package/lib/components/alert/alert.theme.service.d.ts +8 -0
  218. package/lib/components/alert/index.d.ts +4 -0
  219. package/lib/components/badge/badge.component.d.ts +50 -10
  220. package/lib/components/badge/badge.theme.d.ts +32 -0
  221. package/lib/components/badge/badge.theme.service.d.ts +8 -0
  222. package/lib/components/badge/index.d.ts +4 -1
  223. package/lib/components/base-component.directive.d.ts +19 -0
  224. package/lib/components/breadcrumb/breadcrumb-item.component.d.ts +39 -0
  225. package/lib/components/breadcrumb/breadcrumb-item.theme.d.ts +22 -0
  226. package/lib/components/breadcrumb/breadcrumb-item.theme.service.d.ts +8 -0
  227. package/lib/components/breadcrumb/breadcrumb.component.d.ts +22 -0
  228. package/lib/components/breadcrumb/breadcrumb.theme.d.ts +14 -0
  229. package/lib/components/breadcrumb/breadcrumb.theme.service.d.ts +8 -0
  230. package/lib/components/breadcrumb/index.d.ts +8 -0
  231. package/lib/components/button/button.component.d.ts +110 -0
  232. package/lib/components/button/button.theme.d.ts +56 -0
  233. package/lib/components/button/button.theme.service.d.ts +8 -0
  234. package/lib/components/button/index.d.ts +4 -0
  235. package/lib/components/dark-theme-toggle/dark-theme-toggle.component.d.ts +21 -9
  236. package/lib/components/dark-theme-toggle/dark-theme-toggle.theme.d.ts +11 -0
  237. package/lib/components/dark-theme-toggle/dark-theme-toggle.theme.service.d.ts +8 -0
  238. package/lib/components/dark-theme-toggle/index.d.ts +4 -1
  239. package/lib/components/dropdown/dropdown-divider.component.d.ts +13 -0
  240. package/lib/components/dropdown/dropdown-divider.theme.d.ts +11 -0
  241. package/lib/components/dropdown/dropdown-divider.theme.service.d.ts +8 -0
  242. package/lib/components/dropdown/dropdown-header.component.d.ts +13 -0
  243. package/lib/components/dropdown/dropdown-header.theme.d.ts +16 -0
  244. package/lib/components/dropdown/dropdown-header.theme.service.d.ts +8 -0
  245. package/lib/components/dropdown/dropdown-item.component.d.ts +17 -0
  246. package/lib/components/dropdown/dropdown-item.theme.d.ts +11 -0
  247. package/lib/components/dropdown/dropdown-item.theme.service.d.ts +8 -0
  248. package/lib/components/dropdown/dropdown.component.d.ts +71 -0
  249. package/lib/components/dropdown/dropdown.theme.d.ts +44 -0
  250. package/lib/components/dropdown/dropdown.theme.service.d.ts +8 -0
  251. package/lib/components/dropdown/index.d.ts +16 -0
  252. package/lib/components/form-field/directives/addon.directive.d.ts +13 -0
  253. package/lib/components/form-field/directives/addon.directive.theme.d.ts +10 -0
  254. package/lib/components/form-field/directives/addon.directive.theme.service.d.ts +8 -0
  255. package/lib/components/form-field/directives/base-input.directive.d.ts +14 -0
  256. package/lib/components/form-field/directives/helper.directive.d.ts +18 -0
  257. package/lib/components/form-field/directives/helper.directive.theme.d.ts +13 -0
  258. package/lib/components/form-field/directives/helper.directive.theme.service.d.ts +8 -0
  259. package/lib/components/form-field/directives/icon.directive.d.ts +13 -0
  260. package/lib/components/form-field/directives/icon.directive.theme.d.ts +10 -0
  261. package/lib/components/form-field/directives/icon.directive.theme.service.d.ts +8 -0
  262. package/lib/components/form-field/directives/index.d.ts +21 -0
  263. package/lib/components/form-field/directives/input.directive.d.ts +100 -0
  264. package/lib/components/form-field/directives/input.directive.theme.d.ts +24 -0
  265. package/lib/components/form-field/directives/input.directive.theme.service.d.ts +8 -0
  266. package/lib/components/form-field/directives/label.directive.d.ts +62 -0
  267. package/lib/components/form-field/directives/label.directive.theme.d.ts +20 -0
  268. package/lib/components/form-field/directives/label.directive.theme.service.d.ts +8 -0
  269. package/lib/components/form-field/form-field.component.d.ts +20 -0
  270. package/lib/components/form-field/form-field.theme.d.ts +45 -0
  271. package/lib/components/form-field/form-field.theme.service.d.ts +8 -0
  272. package/lib/components/form-field/index.d.ts +5 -0
  273. package/lib/components/icon/icon-registry.d.ts +45 -0
  274. package/lib/components/icon/icon.component.d.ts +22 -0
  275. package/lib/components/icon/index.d.ts +5 -0
  276. package/lib/components/icon/trusted-types.d.ts +15 -0
  277. package/lib/components/index.d.ts +11 -0
  278. package/lib/components/indicators/index.d.ts +4 -0
  279. package/lib/components/indicators/indicators.component.d.ts +92 -0
  280. package/lib/components/indicators/indicators.theme.d.ts +43 -0
  281. package/lib/components/indicators/indicators.theme.service.d.ts +8 -0
  282. package/lib/components/modal/index.d.ts +16 -0
  283. package/lib/components/modal/modal-body.component.d.ts +17 -0
  284. package/lib/components/modal/modal-body.theme.d.ts +11 -0
  285. package/lib/components/modal/modal-body.theme.service.d.ts +8 -0
  286. package/lib/components/modal/modal-footer.component.d.ts +17 -0
  287. package/lib/components/modal/modal-footer.theme.d.ts +11 -0
  288. package/lib/components/modal/modal-footer.theme.service.d.ts +8 -0
  289. package/lib/components/modal/modal-header.component.d.ts +29 -0
  290. package/lib/components/modal/modal-header.theme.d.ts +20 -0
  291. package/lib/components/modal/modal-header.theme.service.d.ts +8 -0
  292. package/lib/components/modal/modal.component.d.ts +73 -0
  293. package/lib/components/modal/modal.theme.d.ts +39 -0
  294. package/lib/components/modal/modal.theme.service.d.ts +8 -0
  295. package/lib/components/navbar/index.d.ts +24 -1
  296. package/lib/components/navbar/navbar-brand.component.d.ts +17 -0
  297. package/lib/components/navbar/navbar-brand.theme.d.ts +11 -0
  298. package/lib/components/navbar/navbar-brand.theme.service.d.ts +8 -0
  299. package/lib/components/navbar/navbar-content.component.d.ts +27 -0
  300. package/lib/components/navbar/navbar-content.theme.d.ts +18 -0
  301. package/lib/components/navbar/navbar-content.theme.service.d.ts +8 -0
  302. package/lib/components/navbar/navbar-icon-button.component.d.ts +27 -0
  303. package/lib/components/navbar/navbar-icon-button.theme.d.ts +14 -0
  304. package/lib/components/navbar/navbar-icon-button.theme.service.d.ts +8 -0
  305. package/lib/components/navbar/navbar-item.component.d.ts +29 -0
  306. package/lib/components/navbar/navbar-item.theme.d.ts +15 -0
  307. package/lib/components/navbar/navbar-item.theme.service.d.ts +8 -0
  308. package/lib/components/navbar/navbar-toggle.component.d.ts +23 -0
  309. package/lib/components/navbar/navbar-toggle.theme.d.ts +11 -0
  310. package/lib/components/navbar/navbar-toggle.theme.service.d.ts +8 -0
  311. package/lib/components/navbar/navbar.component.d.ts +45 -6
  312. package/lib/components/navbar/navbar.theme.d.ts +24 -0
  313. package/lib/components/navbar/navbar.theme.service.d.ts +8 -0
  314. package/lib/components/scroll-top/index.d.ts +4 -0
  315. package/lib/components/scroll-top/scroll-top.component.d.ts +46 -0
  316. package/lib/components/scroll-top/scroll-top.theme.d.ts +21 -0
  317. package/lib/components/scroll-top/scroll-top.theme.service.d.ts +8 -0
  318. package/lib/components/sidebar/index.d.ts +24 -3
  319. package/lib/components/sidebar/sidebar-item-group.component.d.ts +41 -2
  320. package/lib/components/sidebar/sidebar-item-group.theme.d.ts +19 -0
  321. package/lib/components/sidebar/sidebar-item-group.theme.service.d.ts +8 -0
  322. package/lib/components/sidebar/sidebar-item.component.d.ts +38 -8
  323. package/lib/components/sidebar/sidebar-item.theme.d.ts +22 -0
  324. package/lib/components/sidebar/sidebar-item.theme.service.d.ts +8 -0
  325. package/lib/components/sidebar/sidebar-menu.component.d.ts +43 -0
  326. package/lib/components/sidebar/sidebar-menu.theme.d.ts +18 -0
  327. package/lib/components/sidebar/sidebar-menu.theme.service.d.ts +8 -0
  328. package/lib/components/sidebar/sidebar-page-content.component.d.ts +22 -0
  329. package/lib/components/sidebar/sidebar-page-content.theme.d.ts +15 -0
  330. package/lib/components/sidebar/sidebar-page-content.theme.service.d.ts +8 -0
  331. package/lib/components/sidebar/sidebar-toggle.component.d.ts +40 -0
  332. package/lib/components/sidebar/sidebar-toggle.theme.d.ts +19 -0
  333. package/lib/components/sidebar/sidebar-toggle.theme.service.d.ts +8 -0
  334. package/lib/components/sidebar/sidebar.component.d.ts +30 -7
  335. package/lib/components/sidebar/sidebar.theme.d.ts +25 -0
  336. package/lib/components/sidebar/sidebar.theme.service.d.ts +8 -0
  337. package/lib/directives/flowbite-router-link-active.directive.d.ts +25 -0
  338. package/lib/directives/flowbite-router-link.directive.d.ts +16 -0
  339. package/lib/directives/index.d.ts +2 -0
  340. package/lib/pipes/index.d.ts +1 -1
  341. package/lib/pipes/sanitize-html/sanitize-html.pipe.d.ts +14 -4
  342. package/lib/services/flowbite.theme.service.d.ts +10 -0
  343. package/lib/services/index.d.ts +3 -2
  344. package/lib/services/signal-store.service.d.ts +46 -0
  345. package/lib/services/state/index.d.ts +1 -0
  346. package/lib/services/state/theme.state.d.ts +4 -0
  347. package/lib/utils/boolean.util.d.ts +8 -0
  348. package/lib/utils/directives/index.d.ts +2 -0
  349. package/lib/utils/directives/inputs/index.d.ts +2 -0
  350. package/lib/utils/directives/inputs/router-link-active.input.d.ts +8 -0
  351. package/lib/utils/directives/inputs/router-link.inputs.d.ts +8 -0
  352. package/lib/utils/directives/outputs/index.d.ts +2 -0
  353. package/lib/utils/directives/outputs/router-link-active.output.d.ts +8 -0
  354. package/lib/utils/directives/outputs/router-link.output.d.ts +8 -0
  355. package/lib/utils/icon.list.d.ts +7 -0
  356. package/lib/utils/id.generator.d.ts +59 -0
  357. package/lib/utils/index.d.ts +8 -0
  358. package/lib/utils/theme/clone-deep.d.ts +7 -0
  359. package/lib/utils/theme/create-class.d.ts +7 -0
  360. package/lib/utils/theme/create-theme.d.ts +7 -0
  361. package/lib/utils/theme/is-object.d.ts +7 -0
  362. package/lib/utils/theme/merge-theme.d.ts +8 -0
  363. package/lib/utils/theme/to-string.d.ts +7 -0
  364. package/package.json +11 -25
  365. package/public-api.d.ts +6 -0
  366. package/LICENSE +0 -21
  367. package/README.md +0 -376
  368. package/esm2020/index.mjs +0 -5
  369. package/esm2020/lib/components/badge/badge.component.mjs +0 -77
  370. package/esm2020/lib/components/badge/index.mjs +0 -2
  371. package/esm2020/lib/components/dark-theme-toggle/dark-theme-toggle.component.mjs +0 -122
  372. package/esm2020/lib/components/dark-theme-toggle/index.mjs +0 -2
  373. package/esm2020/lib/components/index.mjs +0 -5
  374. package/esm2020/lib/components/navbar/index.mjs +0 -2
  375. package/esm2020/lib/components/navbar/navbar.component.mjs +0 -49
  376. package/esm2020/lib/components/sidebar/index.mjs +0 -4
  377. package/esm2020/lib/components/sidebar/sidebar-item-group.component.mjs +0 -18
  378. package/esm2020/lib/components/sidebar/sidebar-item.component.mjs +0 -73
  379. package/esm2020/lib/components/sidebar/sidebar.component.mjs +0 -50
  380. package/esm2020/lib/flowbite.module.mjs +0 -42
  381. package/esm2020/lib/pipes/index.mjs +0 -2
  382. package/esm2020/lib/pipes/sanitize-html/sanitize-html.pipe.mjs +0 -21
  383. package/esm2020/lib/services/index.mjs +0 -3
  384. package/esm2020/lib/services/sidebar/index.mjs +0 -2
  385. package/esm2020/lib/services/sidebar/sidebar.service.mjs +0 -24
  386. package/esm2020/lib/services/theme/index.mjs +0 -2
  387. package/esm2020/lib/services/theme/theme.service.mjs +0 -24
  388. package/fesm2015/flowbite-angular.mjs +0 -472
  389. package/fesm2015/flowbite-angular.mjs.map +0 -1
  390. package/fesm2020/flowbite-angular.mjs +0 -471
  391. package/fesm2020/flowbite-angular.mjs.map +0 -1
  392. package/flowbite-angular.d.ts +0 -5
  393. package/lib/flowbite.module.d.ts +0 -15
  394. package/lib/services/sidebar/index.d.ts +0 -1
  395. package/lib/services/sidebar/sidebar.service.d.ts +0 -9
  396. package/lib/services/theme/index.d.ts +0 -1
  397. package/lib/services/theme/theme.service.d.ts +0 -10
  398. /package/{esm2020 → esm2022}/lib/pipes/sanitize-html/index.mjs +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-angular",
3
- "version": "0.0.1",
3
+ "version": "1.0.0-alpha.1",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "homepage": "https://flowbite-angular.com",
@@ -16,17 +16,6 @@
16
16
  "url": "https://github.com/themesberg/flowbite-angular",
17
17
  "type": "git"
18
18
  },
19
- "peerDependencies": {
20
- "@angular/common": "^13.3.0",
21
- "@angular/core": "^13.3.0",
22
- "flowbite": "^1.4.5",
23
- "rxjs": "~7.4.0",
24
- "@angular/router": "~13.3.0",
25
- "@angular/platform-browser": "~13.3.0"
26
- },
27
- "dependencies": {
28
- "tslib": "^2.3.0"
29
- },
30
19
  "keywords": [
31
20
  "angular",
32
21
  "design-system",
@@ -36,24 +25,21 @@
36
25
  "flowbite-angular",
37
26
  "flowbite-angular-components"
38
27
  ],
39
- "module": "fesm2015/flowbite-angular.mjs",
40
- "es2020": "fesm2020/flowbite-angular.mjs",
41
- "esm2020": "esm2020/flowbite-angular.mjs",
42
- "fesm2020": "fesm2020/flowbite-angular.mjs",
43
- "fesm2015": "fesm2015/flowbite-angular.mjs",
44
- "typings": "flowbite-angular.d.ts",
28
+ "module": "fesm2022/flowbite-angular.mjs",
29
+ "typings": "index.d.ts",
45
30
  "exports": {
46
31
  "./package.json": {
47
32
  "default": "./package.json"
48
33
  },
49
34
  ".": {
50
- "types": "./flowbite-angular.d.ts",
51
- "esm2020": "./esm2020/flowbite-angular.mjs",
52
- "es2020": "./fesm2020/flowbite-angular.mjs",
53
- "es2015": "./fesm2015/flowbite-angular.mjs",
54
- "node": "./fesm2015/flowbite-angular.mjs",
55
- "default": "./fesm2020/flowbite-angular.mjs"
35
+ "types": "./index.d.ts",
36
+ "esm2022": "./esm2022/flowbite-angular.mjs",
37
+ "esm": "./esm2022/flowbite-angular.mjs",
38
+ "default": "./fesm2022/flowbite-angular.mjs"
56
39
  }
57
40
  },
58
- "sideEffects": false
41
+ "sideEffects": false,
42
+ "dependencies": {
43
+ "tslib": "^2.3.0"
44
+ }
59
45
  }
@@ -0,0 +1,6 @@
1
+ export * from './lib/common';
2
+ export * from './lib/components';
3
+ export * from './lib/pipes';
4
+ export * from './lib/services';
5
+ export * from './lib/utils';
6
+ export * from './lib/directives';
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%">:construction: Badge</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,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.onlyIcon = 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", onlyIcon: "onlyIcon" }, 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
- !onlyIcon
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
- !onlyIcon
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
- }], onlyIcon: [{
75
- type: Input
76
- }] } });
77
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mbG93Yml0ZS1hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9iYWRnZS9iYWRnZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7QUFtQ2pELE1BQU0sT0FBTyxjQUFjO0lBckIzQjtRQXNCVyxVQUFLLEdBQWUsTUFBTSxDQUFDO1FBQzNCLFNBQUksR0FBYyxJQUFJLENBQUM7UUFFdkIsYUFBUSxHQUFHLEtBQUssQ0FBQztRQUUxQixpQkFBWSxHQUErQjtZQUN6QyxJQUFJLEVBQUUsb0hBQW9IO1lBQzFILElBQUksRUFBRSxvSEFBb0g7WUFDMUgsR0FBRyxFQUFFLDhHQUE4RztZQUNuSCxLQUFLLEVBQ0gsMEhBQTBIO1lBQzVILE1BQU0sRUFDSixnSUFBZ0k7WUFDbEksTUFBTSxFQUNKLGdJQUFnSTtZQUNsS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Z3JvdXAtaG92ZXI6YmctcGluay0yMDAgZGFyazpncm91cC1ob3ZlcjpiZy1waW5rLTMwMCcsXG4gIH07XG5cbiAgc2l6ZUNsYXNzZXM6IFJlY29yZDxCYWRnZVNpemUsIHN0cmluZz4gPSB7XG4gICAgeHM6ICd0ZXh0LXhzJyxcbiAgICBzbTogJ3RleHQtc20nLFxuICB9O1xufVxuIl19
@@ -1,2 +0,0 @@
1
- export * from './badge.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2Zsb3diaXRlLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2JhZGdlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2JhZGdlLmNvbXBvbmVudCc7XG4iXX0=