af-connect-components 0.0.24 → 0.0.26

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 (305) hide show
  1. package/.editorconfig +16 -0
  2. package/.vscode/extensions.json +4 -0
  3. package/.vscode/launch.json +20 -0
  4. package/.vscode/tasks.json +42 -0
  5. package/README.md +11 -8
  6. package/angular.json +40 -0
  7. package/package.json +41 -31
  8. package/projects/af-connect-components/README.md +24 -0
  9. package/projects/af-connect-components/ng-package.json +7 -0
  10. package/projects/af-connect-components/package-lock.json +4286 -0
  11. package/projects/af-connect-components/package.json +12 -0
  12. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.html +13 -0
  13. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.scss +50 -0
  14. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.spec.ts +23 -0
  15. package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.ts +17 -0
  16. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.html +25 -0
  17. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.scss +306 -0
  18. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.spec.ts +23 -0
  19. package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.ts +25 -0
  20. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.html +20 -0
  21. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.scss +209 -0
  22. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.spec.ts +23 -0
  23. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.ts +21 -0
  24. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.html +4 -0
  25. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.scss +100 -0
  26. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.spec.ts +23 -0
  27. package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.ts +14 -0
  28. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.html +1 -0
  29. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.scss +0 -0
  30. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.spec.ts +23 -0
  31. package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.ts +10 -0
  32. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.html +15 -0
  33. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.scss +125 -0
  34. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.spec.ts +23 -0
  35. package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.ts +22 -0
  36. package/projects/af-connect-components/src/lib/af-connect-components.component.spec.ts +23 -0
  37. package/projects/af-connect-components/src/lib/af-connect-components.component.ts +15 -0
  38. package/projects/af-connect-components/src/lib/af-connect-components.module.ts +146 -0
  39. package/projects/af-connect-components/src/lib/af-connect-components.service.spec.ts +16 -0
  40. package/projects/af-connect-components/src/lib/af-connect-components.service.ts +9 -0
  41. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.html +1 -0
  42. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.scss +227 -0
  43. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.spec.ts +23 -0
  44. package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.ts +13 -0
  45. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.html +1 -0
  46. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.scss +0 -0
  47. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.spec.ts +23 -0
  48. package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.ts +10 -0
  49. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.html +6 -0
  50. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.scss +51 -0
  51. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.spec.ts +23 -0
  52. package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.ts +18 -0
  53. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.html +106 -0
  54. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.scss +186 -0
  55. package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.ts +292 -0
  56. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.html +1 -0
  57. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.scss +18 -0
  58. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.spec.ts +23 -0
  59. package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.ts +10 -0
  60. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.html +40 -0
  61. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.scss +5 -0
  62. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.spec.ts +23 -0
  63. package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.ts +14 -0
  64. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.html +49 -0
  65. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.scss +24 -0
  66. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.spec.ts +23 -0
  67. package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.ts +27 -0
  68. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.html +6 -0
  69. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.scss +68 -0
  70. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.spec.ts +23 -0
  71. package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.ts +18 -0
  72. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.html +29 -0
  73. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.scss +117 -0
  74. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.spec.ts +23 -0
  75. package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.ts +77 -0
  76. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.html +6 -0
  77. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.scss +67 -0
  78. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.spec.ts +23 -0
  79. package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.ts +15 -0
  80. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.html +43 -0
  81. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.scss +136 -0
  82. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.spec.ts +23 -0
  83. package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.ts +99 -0
  84. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.html +8 -0
  85. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.scss +94 -0
  86. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.spec.ts +23 -0
  87. package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.ts +18 -0
  88. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.html +11 -0
  89. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.scss +72 -0
  90. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.spec.ts +23 -0
  91. package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.ts +12 -0
  92. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.html +16 -0
  93. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.scss +32 -0
  94. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.spec.ts +22 -0
  95. package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.ts +58 -0
  96. package/projects/af-connect-components/src/lib/af-connect-products-carousel/defaultConfig.ts +26 -0
  97. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.html +6 -0
  98. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.scss +96 -0
  99. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.spec.ts +23 -0
  100. package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.ts +21 -0
  101. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.html +94 -0
  102. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.scss +176 -0
  103. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.spec.ts +23 -0
  104. package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.ts +48 -0
  105. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.html +11 -0
  106. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.scss +48 -0
  107. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.spec.ts +23 -0
  108. package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.ts +34 -0
  109. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.html +28 -0
  110. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.scss +204 -0
  111. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.spec.ts +23 -0
  112. package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.ts +101 -0
  113. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.html +6 -0
  114. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.scss +28 -0
  115. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.spec.ts +23 -0
  116. package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.ts +111 -0
  117. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.html +1 -0
  118. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.scss +8 -0
  119. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.spec.ts +23 -0
  120. package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.ts +13 -0
  121. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.html +17 -0
  122. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.scss +153 -0
  123. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.spec.ts +23 -0
  124. package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.ts +22 -0
  125. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.html +91 -0
  126. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.scss +242 -0
  127. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.spec.ts +23 -0
  128. package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.ts +10 -0
  129. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.html +6 -0
  130. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.scss +66 -0
  131. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.spec.ts +23 -0
  132. package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.ts +19 -0
  133. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.html +4 -0
  134. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.scss +0 -0
  135. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.spec.ts +23 -0
  136. package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.ts +11 -0
  137. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.html +1 -0
  138. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.scss +0 -0
  139. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.spec.ts +23 -0
  140. package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.ts +10 -0
  141. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.html +15 -0
  142. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.scss +125 -0
  143. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.spec.ts +23 -0
  144. package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.ts +100 -0
  145. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.html +13 -0
  146. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.scss +66 -0
  147. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.spec.ts +23 -0
  148. package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.ts +22 -0
  149. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.html +26 -0
  150. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.scss +55 -0
  151. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.spec.ts +23 -0
  152. package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.ts +120 -0
  153. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.html +11 -0
  154. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.scss +149 -0
  155. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.spec.ts +23 -0
  156. package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.ts +36 -0
  157. package/projects/af-connect-components/src/lib/af-connect-tooltip/types.ts +1 -0
  158. package/projects/af-connect-components/src/lib/constants/animation.constants.ts +149 -0
  159. package/projects/af-connect-components/src/lib/constants/base.constants.ts +10 -0
  160. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.html +4 -0
  161. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.scss +0 -0
  162. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.spec.ts +22 -0
  163. package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.ts +21 -0
  164. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.html +14 -0
  165. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.scss +0 -0
  166. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.spec.ts +22 -0
  167. package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.ts +38 -0
  168. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.html +3 -0
  169. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.scss +3 -0
  170. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.spec.ts +23 -0
  171. package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.ts +21 -0
  172. package/projects/af-connect-components/src/lib/faq/faq/faq.component.html +7 -0
  173. package/projects/af-connect-components/src/lib/faq/faq/faq.component.scss +18 -0
  174. package/projects/af-connect-components/src/lib/faq/faq/faq.component.spec.ts +23 -0
  175. package/projects/af-connect-components/src/lib/faq/faq/faq.component.ts +16 -0
  176. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.html +15 -0
  177. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.scss +58 -0
  178. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.spec.ts +23 -0
  179. package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.ts +12 -0
  180. package/projects/af-connect-components/src/lib/faq/image-fallback/image-fallback.component.ts +57 -0
  181. package/{lib/models/notification-response.model.d.ts → projects/af-connect-components/src/lib/models/notification-response.model.ts} +1 -0
  182. package/projects/af-connect-components/src/lib/models/radio.model.ts +3 -0
  183. package/projects/af-connect-components/src/lib/services/breakpoint.service.ts +10 -0
  184. package/projects/af-connect-components/src/lib/utilities/number.util.ts +3 -0
  185. package/{public-api.d.ts → projects/af-connect-components/src/public-api.ts} +7 -0
  186. package/projects/af-connect-components/src/shared/pipes/get-initials.ts +13 -0
  187. package/projects/af-connect-components/src/styles/breakpoints.scss +91 -0
  188. package/projects/af-connect-components/tsconfig.lib.json +14 -0
  189. package/projects/af-connect-components/tsconfig.lib.prod.json +10 -0
  190. package/projects/af-connect-components/tsconfig.spec.json +14 -0
  191. package/tsconfig.json +39 -0
  192. package/esm2020/af-connect-components.mjs +0 -5
  193. package/esm2020/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +0 -22
  194. package/esm2020/lib/af-connect-button/af-connect-button.component.mjs +0 -47
  195. package/esm2020/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +0 -33
  196. package/esm2020/lib/af-connect-card/af-connect-card.component.mjs +0 -17
  197. package/esm2020/lib/af-connect-chart/af-connect-chart.component.mjs +0 -11
  198. package/esm2020/lib/af-connect-chip/af-connect-chip.component.mjs +0 -23
  199. package/esm2020/lib/af-connect-components.component.mjs +0 -19
  200. package/esm2020/lib/af-connect-components.module.mjs +0 -239
  201. package/esm2020/lib/af-connect-components.service.mjs +0 -14
  202. package/esm2020/lib/af-connect-content/af-connect-content.component.mjs +0 -14
  203. package/esm2020/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +0 -11
  204. package/esm2020/lib/af-connect-error/af-connect-error.component.mjs +0 -26
  205. package/esm2020/lib/af-connect-footer/af-connect-footer.component.mjs +0 -266
  206. package/esm2020/lib/af-connect-form-group/af-connect-form-group.component.mjs +0 -11
  207. package/esm2020/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +0 -21
  208. package/esm2020/lib/af-connect-header/af-connect-header.component.mjs +0 -46
  209. package/esm2020/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +0 -29
  210. package/esm2020/lib/af-connect-input/af-connect-input.component.mjs +0 -92
  211. package/esm2020/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +0 -18
  212. package/esm2020/lib/af-connect-modal/af-connect-modal.component.mjs +0 -101
  213. package/esm2020/lib/af-connect-no-content/af-connect-no-content.component.mjs +0 -26
  214. package/esm2020/lib/af-connect-notification/af-connect-notification.component.mjs +0 -15
  215. package/esm2020/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +0 -47
  216. package/esm2020/lib/af-connect-products-carousel/defaultConfig.mjs +0 -27
  217. package/esm2020/lib/af-connect-products-carousel/image-card/image-card.component.mjs +0 -27
  218. package/esm2020/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +0 -69
  219. package/esm2020/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +0 -45
  220. package/esm2020/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +0 -99
  221. package/esm2020/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +0 -114
  222. package/esm2020/lib/af-connect-section/af-connect-section.component.mjs +0 -14
  223. package/esm2020/lib/af-connect-section-header/af-connect-section-header.component.mjs +0 -35
  224. package/esm2020/lib/af-connect-select/af-connect-select.component.mjs +0 -11
  225. package/esm2020/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +0 -27
  226. package/esm2020/lib/af-connect-tab/af-connect-tab.component.mjs +0 -20
  227. package/esm2020/lib/af-connect-table/af-connect-table.component.mjs +0 -11
  228. package/esm2020/lib/af-connect-tabs/af-connect-tabs.component.mjs +0 -87
  229. package/esm2020/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +0 -33
  230. package/esm2020/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +0 -133
  231. package/esm2020/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +0 -48
  232. package/esm2020/lib/af-connect-tooltip/types.mjs +0 -2
  233. package/esm2020/lib/constants/animation.constants.mjs +0 -121
  234. package/esm2020/lib/constants/base.constants.mjs +0 -10
  235. package/esm2020/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +0 -23
  236. package/esm2020/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +0 -54
  237. package/esm2020/lib/expandable/expandable-container/expandable-container.component.mjs +0 -29
  238. package/esm2020/lib/faq/faq/faq.component.mjs +0 -22
  239. package/esm2020/lib/faq/faq-item/faq-item.component.mjs +0 -16
  240. package/esm2020/lib/faq/faqItem.mjs +0 -2
  241. package/esm2020/lib/faq/image-fallback/image-fallback.component.mjs +0 -74
  242. package/esm2020/lib/models/notification-response.model.mjs +0 -2
  243. package/esm2020/lib/models/radio.model.mjs +0 -2
  244. package/esm2020/lib/services/breakpoint.service.mjs +0 -16
  245. package/esm2020/lib/utilities/number.util.mjs +0 -4
  246. package/esm2020/public-api.mjs +0 -43
  247. package/esm2020/shared/pipes/get-initials.mjs +0 -20
  248. package/fesm2015/af-connect-components.mjs +0 -2154
  249. package/fesm2015/af-connect-components.mjs.map +0 -1
  250. package/fesm2020/af-connect-components.mjs +0 -2146
  251. package/fesm2020/af-connect-components.mjs.map +0 -1
  252. package/index.d.ts +0 -5
  253. package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +0 -10
  254. package/lib/af-connect-button/af-connect-button.component.d.ts +0 -21
  255. package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +0 -14
  256. package/lib/af-connect-card/af-connect-card.component.d.ts +0 -8
  257. package/lib/af-connect-chart/af-connect-chart.component.d.ts +0 -5
  258. package/lib/af-connect-chip/af-connect-chip.component.d.ts +0 -12
  259. package/lib/af-connect-components.component.d.ts +0 -5
  260. package/lib/af-connect-components.module.d.ts +0 -52
  261. package/lib/af-connect-components.service.d.ts +0 -6
  262. package/lib/af-connect-content/af-connect-content.component.d.ts +0 -8
  263. package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +0 -5
  264. package/lib/af-connect-error/af-connect-error.component.d.ts +0 -12
  265. package/lib/af-connect-footer/af-connect-footer.component.d.ts +0 -152
  266. package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +0 -5
  267. package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +0 -10
  268. package/lib/af-connect-header/af-connect-header.component.d.ts +0 -18
  269. package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +0 -13
  270. package/lib/af-connect-input/af-connect-input.component.d.ts +0 -36
  271. package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +0 -8
  272. package/lib/af-connect-modal/af-connect-modal.component.d.ts +0 -46
  273. package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +0 -12
  274. package/lib/af-connect-notification/af-connect-notification.component.d.ts +0 -8
  275. package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +0 -32
  276. package/lib/af-connect-products-carousel/defaultConfig.d.ts +0 -6
  277. package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +0 -13
  278. package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +0 -26
  279. package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +0 -18
  280. package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +0 -34
  281. package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +0 -35
  282. package/lib/af-connect-section/af-connect-section.component.d.ts +0 -8
  283. package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +0 -15
  284. package/lib/af-connect-select/af-connect-select.component.d.ts +0 -5
  285. package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +0 -14
  286. package/lib/af-connect-tab/af-connect-tab.component.d.ts +0 -9
  287. package/lib/af-connect-table/af-connect-table.component.d.ts +0 -5
  288. package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +0 -25
  289. package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +0 -13
  290. package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +0 -37
  291. package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +0 -16
  292. package/lib/af-connect-tooltip/types.d.ts +0 -1
  293. package/lib/constants/animation.constants.d.ts +0 -13
  294. package/lib/constants/base.constants.d.ts +0 -10
  295. package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +0 -8
  296. package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +0 -21
  297. package/lib/expandable/expandable-container/expandable-container.component.d.ts +0 -8
  298. package/lib/faq/faq/faq.component.d.ts +0 -9
  299. package/lib/faq/faq-item/faq-item.component.d.ts +0 -7
  300. package/lib/faq/image-fallback/image-fallback.component.d.ts +0 -18
  301. package/lib/models/radio.model.d.ts +0 -3
  302. package/lib/services/breakpoint.service.d.ts +0 -9
  303. package/lib/utilities/number.util.d.ts +0 -1
  304. package/shared/pipes/get-initials.d.ts +0 -10
  305. /package/{lib/faq/faqItem.d.ts → projects/af-connect-components/src/lib/faq/faqItem.ts} +0 -0
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { AfConnectTabComponent } from './af-connect-tab.component';
4
+
5
+ describe('AfConnectTabComponent', () => {
6
+ let component: AfConnectTabComponent;
7
+ let fixture: ComponentFixture<AfConnectTabComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ AfConnectTabComponent ]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(AfConnectTabComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,11 @@
1
+ import { Component, Input, TemplateRef } from '@angular/core';
2
+ @Component({
3
+ selector: 'lib-af-connect-tab',
4
+ templateUrl: './af-connect-tab.component.html',
5
+ styleUrls: ['./af-connect-tab.component.scss']
6
+ })
7
+ export class AfConnectTabComponent {
8
+ @Input() label: string;
9
+ @Input() isActive: boolean = false;
10
+ @Input() tabButtons: TemplateRef<any>;
11
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { AfConnectTableComponent } from './af-connect-table.component';
4
+
5
+ describe('AfConnectTableComponent', () => {
6
+ let component: AfConnectTableComponent;
7
+ let fixture: ComponentFixture<AfConnectTableComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ AfConnectTableComponent ]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(AfConnectTableComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,10 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'lib-af-connect-table',
5
+ templateUrl: './af-connect-table.component.html',
6
+ styleUrls: ['./af-connect-table.component.scss']
7
+ })
8
+ export class AfConnectTableComponent {
9
+
10
+ }
@@ -0,0 +1,15 @@
1
+ <nav class="tabs-nav">
2
+ <ul class="nav-list">
3
+ <li #tab *ngFor="let tab of tabs; let i = index" class="nav-item" [class.active]="tab.isActive">
4
+ <button class="nav-button" (click)="activateTab(tab, i)">
5
+ {{ tab.label }}
6
+ </button>
7
+ </li>
8
+ <span #slider class="slider"></span>
9
+ </ul>
10
+ <div class="nav-action-buttons">
11
+ <ng-container [ngTemplateOutlet]="activeTab.tabButtons"></ng-container>
12
+ </div>
13
+ </nav>
14
+ <ng-content></ng-content>
15
+
@@ -0,0 +1,125 @@
1
+ @import '../../styles/breakpoints.scss';
2
+
3
+ :host {
4
+ width: 100%;
5
+ }
6
+
7
+ $button-width: 75%;
8
+
9
+ .tabs-nav {
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: space-between;
13
+ margin-bottom: 1.75rem;
14
+ border-bottom: 1px solid var(--primary-dark-teal-color);
15
+
16
+ @include media(mobileBreakPointTreshold) {
17
+ flex-direction: column;
18
+ margin-bottom: 0.625rem;
19
+ border: none;
20
+ }
21
+ }
22
+
23
+ .nav-list {
24
+ display: flex;
25
+ //min-width: $button-width;
26
+ position: relative;
27
+ margin: 0;
28
+ padding: 0;
29
+ list-style-type: none;
30
+
31
+ .slider {
32
+ position: absolute;
33
+ bottom: 0;
34
+ // z-index: 100;
35
+ border-top-width: 1px;
36
+ border-color: var(--primary-dark-teal-color);
37
+ border-top-style: solid;
38
+ transition-property: left, width;
39
+ transition-duration: 250ms;
40
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
41
+ }
42
+
43
+ @include media(mobileBreakPointTreshold) {
44
+ margin-right: auto;
45
+ justify-content: space-between;
46
+ width: 80%;
47
+ max-width: 320px;
48
+ border-bottom: 1px solid var(--light-grey-color);
49
+
50
+ .nav-item .nav-button {
51
+ padding-inline: 1.25rem;
52
+ }
53
+
54
+ .slider {
55
+ border-color: var(--primary-orange-mobile-color);
56
+ }
57
+ }
58
+ }
59
+
60
+ .nav-item {
61
+ $label-spacing: 1.75rem;
62
+ position: relative;
63
+
64
+ &:first-child .nav-button {
65
+ padding-right: $label-spacing;
66
+ }
67
+
68
+ &:not(:first-child) .nav-button {
69
+ padding-inline: $label-spacing;
70
+ }
71
+ }
72
+
73
+ .nav-item.active {
74
+ .nav-button {
75
+ color: var(--primary-dark-teal-color);
76
+ text-shadow: 0px 0px 1px var(--primary-dark-teal-color);
77
+
78
+ @include media(mobileBreakPointTreshold) {
79
+ text-shadow: none;
80
+ }
81
+ }
82
+ }
83
+
84
+ .nav-button {
85
+ display: block;
86
+ background: none;
87
+ border: none;
88
+ height: 100%;
89
+ padding: 1.5rem 0;
90
+ font-family: var(--standard-font-family-hero-new);
91
+ font-size: 1rem;
92
+ color: var(--secondary-space-color);
93
+ cursor: pointer;
94
+
95
+ @include media(mobileBreakPointTreshold) {
96
+ padding-block: 0.375rem;
97
+ font-size: 0.875rem;
98
+ font-family: var(--standard-font-family-hero-new-semibold);
99
+ color: var(--primary-dark-teal-color);
100
+ }
101
+ }
102
+
103
+ .nav-action-buttons {
104
+ display: flex;
105
+ justify-content: flex-end;
106
+ gap: 1rem;
107
+ min-width: 100%-$button-width;
108
+
109
+ @include media(mobileBreakPointTreshold) {
110
+ align-self: flex-end;
111
+ padding-top: 1.125rem;
112
+ max-width: 100px;
113
+ min-width: auto;
114
+ }
115
+
116
+ @include media(tabletTreshold) {
117
+ max-width: 200px;
118
+ }
119
+ }
120
+
121
+ :host(.mobile-claim-info-tabs) {
122
+ .nav-list {
123
+ width: 100%;
124
+ }
125
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { AfConnectTabsComponent } from './af-connect-tabs.component';
4
+
5
+ describe('AfConnectTabsComponent', () => {
6
+ let component: AfConnectTabsComponent;
7
+ let fixture: ComponentFixture<AfConnectTabsComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ AfConnectTabsComponent ]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(AfConnectTabsComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,100 @@
1
+ import {
2
+ Component,
3
+ ContentChildren,
4
+ ElementRef,
5
+ QueryList,
6
+ ViewChild,
7
+ ViewChildren,
8
+ OnDestroy,
9
+ Output,
10
+ EventEmitter,
11
+ Input,
12
+ ChangeDetectionStrategy,
13
+ ChangeDetectorRef
14
+ } from '@angular/core';
15
+ import { debounceTime, fromEvent, Subscription } from 'rxjs';
16
+ import { AfConnectTabComponent } from '../af-connect-tab/af-connect-tab.component';
17
+
18
+ @Component({
19
+ selector: 'lib-af-connect-tabs',
20
+ templateUrl: './af-connect-tabs.component.html',
21
+ styleUrls: ['./af-connect-tabs.component.scss'],
22
+ changeDetection: ChangeDetectionStrategy.OnPush
23
+ })
24
+ export class AfConnectTabsComponent implements OnDestroy {
25
+ @ContentChildren(AfConnectTabComponent) tabs: QueryList<AfConnectTabComponent>;
26
+ @ViewChild('slider', { read: ElementRef }) slider: ElementRef<HTMLSpanElement>;
27
+ @ViewChildren('tab', { read: ElementRef }) tabsRefs: QueryList<ElementRef<HTMLLIElement>>;
28
+ public activeTabIndex: number;
29
+ public subs = new Subscription();
30
+
31
+ constructor(public cdr: ChangeDetectorRef) {}
32
+
33
+ @Input() selectedTabIndex: number;
34
+
35
+ @Output() activeTabSelected = new EventEmitter<number>();
36
+
37
+ ngOnDestroy(): void {
38
+ this.subs.unsubscribe();
39
+ }
40
+
41
+ ngOnInit() {
42
+ this.subs.add(
43
+ fromEvent(window, 'resize')
44
+ .pipe(debounceTime(50))
45
+ .subscribe(() => {
46
+ this.triggerSlider(this.activeTabIndex);
47
+ })
48
+ );
49
+ }
50
+
51
+ ngAfterContentChecked() {
52
+ if (!this.selectedTabIndex) {
53
+ const activeTab = this.tabs.find((tab) => tab.isActive);
54
+ if (!activeTab) {
55
+ const firstTab = this.tabs.first;
56
+ firstTab.isActive = true;
57
+ this.activeTabIndex = 0;
58
+ this.activeTabSelected.emit(0);
59
+ }
60
+ } else {
61
+ this.setActiveLabel();
62
+ }
63
+ }
64
+
65
+ ngAfterViewChecked() {
66
+ if (!this.activeTabIndex) {
67
+ this.triggerSlider(0);
68
+ }
69
+ }
70
+
71
+ get activeTab() {
72
+ return this.tabs.find((tab) => tab.isActive) || this.tabs.first;
73
+ }
74
+
75
+ activateTab(selectedTab: AfConnectTabComponent, index: number) {
76
+ this.tabs.forEach((tab) => {
77
+ tab.isActive = tab === selectedTab;
78
+ });
79
+ this.activeTabIndex = index;
80
+ this.triggerSlider(index);
81
+ this.activeTabSelected.emit(index);
82
+ }
83
+
84
+ private triggerSlider(i: number) {
85
+ const activeTabRef = this.tabsRefs.get(i);
86
+ this.slider.nativeElement.style.left = `${activeTabRef?.nativeElement.offsetLeft}px`;
87
+ this.slider.nativeElement.style.width = `${activeTabRef?.nativeElement.offsetWidth}px`;
88
+ }
89
+
90
+ private setActiveLabel() {
91
+ this.tabs.find((tab, i) => {
92
+ const foundTab = i === this.selectedTabIndex;
93
+ if (foundTab) {
94
+ this.activeTabIndex = i;
95
+ tab.isActive = true;
96
+ }
97
+ return foundTab;
98
+ });
99
+ }
100
+ }
@@ -0,0 +1,13 @@
1
+ <div class="toaster-container">
2
+ <img [class]="['svg', size]" [src]="src" />
3
+ <span class="toaster-message">{{ message }}</span>
4
+ <afc-svg-button
5
+ ngClass="close-btn"
6
+ size="medium"
7
+ src="/assets/icons/delete.svg"
8
+ emitValue="isCloseModal"
9
+ (clickBtn)="closeToast()"
10
+ >
11
+ </afc-svg-button>
12
+ </div>
13
+
@@ -0,0 +1,66 @@
1
+ @import '../../styles/breakpoints.scss';
2
+
3
+ :host {
4
+ display: flex;
5
+ min-height: 2rem;
6
+ padding-top: 0.5em;
7
+ flex-direction: column;
8
+ }
9
+
10
+ img {
11
+ background: none;
12
+ border: none;
13
+ cursor: pointer;
14
+ justify-content: center;
15
+ }
16
+
17
+ .svg {
18
+ &.small {
19
+ $size: 14px;
20
+ width: $size;
21
+ height: $size;
22
+ }
23
+
24
+ &.medium {
25
+ $size: 16px;
26
+ width: $size;
27
+ height: $size;
28
+
29
+ @include media(mobileBreakPointTreshold) {
30
+ width: 14px;
31
+ height: 14px;
32
+ }
33
+ }
34
+
35
+ @include media(tabletTreshold) {
36
+ &.large {
37
+ width: 23px;
38
+ height: 23px;
39
+ }
40
+ }
41
+ }
42
+
43
+ .toaster-container {
44
+ border-radius: 5px;
45
+ padding: 0.5rem 1rem;
46
+ opacity: 1;
47
+ display: flex;
48
+ align-items: center;
49
+ gap: 1rem;
50
+ box-shadow: 0px 3px 6px #00000029;
51
+ border-left: 8px solid var(--primary-orange-mobile-color);
52
+ justify-content: space-between;
53
+ }
54
+
55
+ .toaster-message {
56
+ font-size: 12px;
57
+ color: var(--main-black-color);
58
+ display: flex;
59
+ justify-content: center;
60
+ line-height: 2;
61
+ margin: 0 auto 0 0;
62
+ }
63
+
64
+ .close-btn {
65
+ line-height: 0;
66
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { AfConnectToasterMessageComponent } from './af-connect-toaster-message.component';
4
+
5
+ describe('AfConnectToasterMessageComponent', () => {
6
+ let component: AfConnectToasterMessageComponent;
7
+ let fixture: ComponentFixture<AfConnectToasterMessageComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ AfConnectToasterMessageComponent ]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(AfConnectToasterMessageComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,22 @@
1
+ import { Component, Input, Output, EventEmitter } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'lib-af-connect-toaster-message',
5
+ templateUrl: './af-connect-toaster-message.component.html',
6
+ styleUrls: ['./af-connect-toaster-message.component.scss']
7
+ })
8
+ export class AfConnectToasterMessageComponent {
9
+ @Input() public message: string;
10
+ @Input() src: string;
11
+ @Input() size: 'small' | 'medium' | 'large' = 'small';
12
+ @Input() timer = 5000;
13
+ @Output() onClose = new EventEmitter<boolean>();
14
+
15
+ ngOnInit() {
16
+ setTimeout(() => this.onClose.emit(), this.timer)
17
+ }
18
+
19
+ public closeToast() {
20
+ this.onClose.emit();
21
+ }
22
+ }
@@ -0,0 +1,26 @@
1
+ <label>{{ label }}</label>
2
+ <button
3
+ type="button"
4
+ class="toggle-button"
5
+ (click)="this.clickBtn.emit(emitValue); togglePosition();"
6
+ [disabled]="disabled"
7
+ [ngStyle]="getButtonStyles()">
8
+ <span
9
+ *ngIf="onStateText"
10
+ [ngStyle]="getOnStateTextStyles() || null"
11
+ class="onStateText">
12
+ {{onStateText}}
13
+ </span>
14
+ <div
15
+ class="toggle-ball"
16
+ [@toggleButton]="position"
17
+ [ngStyle]="getToggleBallStyles() || null">
18
+ </div>
19
+ <span
20
+ *ngIf="offStateText"
21
+ [ngStyle]="getOffStateTextStyles() || null"
22
+ class="offStateText">
23
+ {{offStateText}}
24
+ </span>
25
+ </button>
26
+ <span *ngIf="label" class="state-info-text">{{ position === 'on' ? 'Yes' : 'No' }}</span>
@@ -0,0 +1,55 @@
1
+ :host {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ width: 100%;
5
+
6
+ & label {
7
+ width: 100%;
8
+ height: fit-content;
9
+ font-size: 14px;
10
+ }
11
+ }
12
+
13
+ :host(.tax-certificates-toggle) {
14
+ width: auto;
15
+ }
16
+
17
+ .toggle-button {
18
+ position: relative;
19
+ width: 49px;
20
+ height: 28px;
21
+ border: none;
22
+ border-radius: 14px;
23
+ background: var(--toggle-button-grey-color);
24
+ display: flex;
25
+ align-items: center;
26
+ cursor: pointer;
27
+ padding: 0;
28
+
29
+ &:disabled {
30
+ cursor: default;
31
+ }
32
+ }
33
+
34
+ .toggle-button,
35
+ .state-info-text {
36
+ align-self: center;
37
+ }
38
+
39
+ .toggle-ball {
40
+ width: 18.67px;
41
+ height: 18.67px;
42
+ background: white;
43
+ border-radius: 50%;
44
+ margin: 0 5.83px;
45
+ }
46
+
47
+ .onStateText {
48
+ position: absolute;
49
+ margin-left: 0.5rem;
50
+ }
51
+
52
+ .onStateText,
53
+ .offStateText {
54
+ color: var(--neutral-button-color);
55
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { AfConnectToggleButtonComponent } from './af-connect-toggle-button.component';
4
+
5
+ describe('AfConnectToggleButtonComponent', () => {
6
+ let component: AfConnectToggleButtonComponent;
7
+ let fixture: ComponentFixture<AfConnectToggleButtonComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ AfConnectToggleButtonComponent ]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(AfConnectToggleButtonComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });