@kirbydesign/designsystem 0.0.0

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 (552) hide show
  1. package/README.md +7 -0
  2. package/karma.conf.js +34 -0
  3. package/ng-package.json +32 -0
  4. package/ngcc.config.js +3 -0
  5. package/package.json +27 -0
  6. package/src/index.ts +1 -0
  7. package/src/lib/animation/kirby-animation.ts +12 -0
  8. package/src/lib/components/accordion/accordion-item.component.html +25 -0
  9. package/src/lib/components/accordion/accordion-item.component.scss +64 -0
  10. package/src/lib/components/accordion/accordion-item.component.spec.ts +52 -0
  11. package/src/lib/components/accordion/accordion-item.component.ts +27 -0
  12. package/src/lib/components/accordion/accordion.directive.ts +7 -0
  13. package/src/lib/components/accordion/index.ts +2 -0
  14. package/src/lib/components/angular-component-lib/utils.ts +43 -0
  15. package/src/lib/components/app/app.component.html +3 -0
  16. package/src/lib/components/app/app.component.scss +10 -0
  17. package/src/lib/components/app/app.component.spec.ts +52 -0
  18. package/src/lib/components/app/app.component.ts +50 -0
  19. package/src/lib/components/app/app.module.ts +12 -0
  20. package/src/lib/components/app/index.ts +2 -0
  21. package/src/lib/components/avatar/avatar.component.html +6 -0
  22. package/src/lib/components/avatar/avatar.component.scss +153 -0
  23. package/src/lib/components/avatar/avatar.component.spec.ts +207 -0
  24. package/src/lib/components/avatar/avatar.component.ts +32 -0
  25. package/src/lib/components/badge/badge.component.spec.ts +78 -0
  26. package/src/lib/components/button/button.component.html +1 -0
  27. package/src/lib/components/button/button.component.integration.spec.ts +576 -0
  28. package/src/lib/components/button/button.component.scss +286 -0
  29. package/src/lib/components/button/button.component.spec.ts +404 -0
  30. package/src/lib/components/button/button.component.ts +96 -0
  31. package/src/lib/components/calendar/calendar.component.html +49 -0
  32. package/src/lib/components/calendar/calendar.component.initialization.spec.ts +93 -0
  33. package/src/lib/components/calendar/calendar.component.scss +132 -0
  34. package/src/lib/components/calendar/calendar.component.spec.ts +470 -0
  35. package/src/lib/components/calendar/calendar.component.ts +513 -0
  36. package/src/lib/components/calendar/helpers/calendar-cell.model.ts +7 -0
  37. package/src/lib/components/calendar/helpers/calendar-options.model.ts +10 -0
  38. package/src/lib/components/calendar/helpers/calendar.helper.ts +108 -0
  39. package/src/lib/components/calendar/index.ts +2 -0
  40. package/src/lib/components/calendar/options/calendar-year-navigator-config.ts +4 -0
  41. package/src/lib/components/card/card-footer/card-footer.component.html +3 -0
  42. package/src/lib/components/card/card-footer/card-footer.component.scss +19 -0
  43. package/src/lib/components/card/card-footer/card-footer.component.ts +13 -0
  44. package/src/lib/components/card/card-header/card-header.component.html +5 -0
  45. package/src/lib/components/card/card-header/card-header.component.scss +63 -0
  46. package/src/lib/components/card/card-header/card-header.component.ts +20 -0
  47. package/src/lib/components/card/card.component.html +5 -0
  48. package/src/lib/components/card/card.component.scss +56 -0
  49. package/src/lib/components/card/card.component.spec.ts +81 -0
  50. package/src/lib/components/card/card.component.ts +95 -0
  51. package/src/lib/components/card/index.ts +3 -0
  52. package/src/lib/components/chart/chart-js/chart-js.service.integration.spec.ts +320 -0
  53. package/src/lib/components/chart/chart-js/chart-js.service.spec.ts +1004 -0
  54. package/src/lib/components/chart/chart-js/chart-js.service.ts +445 -0
  55. package/src/lib/components/chart/chart-js/chartjs-plugin-marker/chartjs-plugin-marker.ts +254 -0
  56. package/src/lib/components/chart/chart-js/configured-chart-js.ts +39 -0
  57. package/src/lib/components/chart/chart-js/test-utils.ts +171 -0
  58. package/src/lib/components/chart/chart.component.html +7 -0
  59. package/src/lib/components/chart/chart.component.scss +6 -0
  60. package/src/lib/components/chart/chart.component.spec.ts +188 -0
  61. package/src/lib/components/chart/chart.component.ts +148 -0
  62. package/src/lib/components/chart/chart.module.ts +11 -0
  63. package/src/lib/components/chart/chart.types.ts +34 -0
  64. package/src/lib/components/chart/configs/annotations.config.ts +36 -0
  65. package/src/lib/components/chart/configs/chart-config.service.spec.ts +21 -0
  66. package/src/lib/components/chart/configs/chart-config.service.ts +34 -0
  67. package/src/lib/components/chart/configs/global-defaults.config.ts +50 -0
  68. package/src/lib/components/chart/configs/interaction-functions-extensions.config.ts +19 -0
  69. package/src/lib/components/chart/configs/shared.utils.ts +28 -0
  70. package/src/lib/components/chart/configs/type.config.ts +214 -0
  71. package/src/lib/components/chart/index.ts +5 -0
  72. package/src/lib/components/chart-deprecated/chart-deprecated-helper.ts +25 -0
  73. package/src/lib/components/chart-deprecated/chart-deprecated-type.ts +10 -0
  74. package/src/lib/components/chart-deprecated/chart-deprecated.component.scss +3 -0
  75. package/src/lib/components/chart-deprecated/chart-deprecated.component.spec.ts +271 -0
  76. package/src/lib/components/chart-deprecated/chart-deprecated.component.ts +233 -0
  77. package/src/lib/components/chart-deprecated/index.ts +2 -0
  78. package/src/lib/components/chart-deprecated/options/activitygauge.ts +87 -0
  79. package/src/lib/components/chart-deprecated/options/areaspline.ts +95 -0
  80. package/src/lib/components/chart-deprecated/options/bar.ts +93 -0
  81. package/src/lib/components/chart-deprecated/options/column.ts +101 -0
  82. package/src/lib/components/chart-deprecated/options/donut.ts +118 -0
  83. package/src/lib/components/chart-deprecated/options/timeseries.ts +96 -0
  84. package/src/lib/components/checkbox/checkbox.component.html +10 -0
  85. package/src/lib/components/checkbox/checkbox.component.integration.spec.ts +59 -0
  86. package/src/lib/components/checkbox/checkbox.component.scss +130 -0
  87. package/src/lib/components/checkbox/checkbox.component.spec.ts +205 -0
  88. package/src/lib/components/checkbox/checkbox.component.ts +56 -0
  89. package/src/lib/components/chip/chip.component.html +1 -0
  90. package/src/lib/components/chip/chip.component.integration.spec.ts +111 -0
  91. package/src/lib/components/chip/chip.component.scss +49 -0
  92. package/src/lib/components/chip/chip.component.spec.ts +84 -0
  93. package/src/lib/components/chip/chip.component.ts +16 -0
  94. package/src/lib/components/divider/divider.component.html +1 -0
  95. package/src/lib/components/divider/divider.component.scss +22 -0
  96. package/src/lib/components/divider/divider.component.spec.ts +24 -0
  97. package/src/lib/components/divider/divider.component.ts +12 -0
  98. package/src/lib/components/dropdown/dropdown-popover.component.integration.spec.ts +177 -0
  99. package/src/lib/components/dropdown/dropdown-popover.component.spec.ts +1154 -0
  100. package/src/lib/components/dropdown/dropdown.component.html +42 -0
  101. package/src/lib/components/dropdown/dropdown.component.scss +142 -0
  102. package/src/lib/components/dropdown/dropdown.component.spec.ts +1215 -0
  103. package/src/lib/components/dropdown/dropdown.component.ts +538 -0
  104. package/src/lib/components/dropdown/dropdown.types.ts +10 -0
  105. package/src/lib/components/dropdown/keyboard-handler.service.ts +38 -0
  106. package/src/lib/components/empty-state/empty-state.component.html +10 -0
  107. package/src/lib/components/empty-state/empty-state.component.integration.spec.ts +110 -0
  108. package/src/lib/components/empty-state/empty-state.component.scss +50 -0
  109. package/src/lib/components/empty-state/empty-state.component.spec.ts +40 -0
  110. package/src/lib/components/empty-state/empty-state.component.ts +50 -0
  111. package/src/lib/components/fab-sheet/fab-sheet.component.html +13 -0
  112. package/src/lib/components/fab-sheet/fab-sheet.component.scss +67 -0
  113. package/src/lib/components/fab-sheet/fab-sheet.component.spec.ts +29 -0
  114. package/src/lib/components/fab-sheet/fab-sheet.component.ts +100 -0
  115. package/src/lib/components/flag/flag.component.scss +40 -0
  116. package/src/lib/components/flag/flag.component.spec.ts +152 -0
  117. package/src/lib/components/flag/flag.component.ts +18 -0
  118. package/src/lib/components/form-field/_form-field-inputs.shared.scss +62 -0
  119. package/src/lib/components/form-field/directives/date/date-input.directive.spec.ts +127 -0
  120. package/src/lib/components/form-field/directives/date/date-input.directive.ts +94 -0
  121. package/src/lib/components/form-field/directives/decimal-mask/decimal-mask.directive.spec.ts +231 -0
  122. package/src/lib/components/form-field/directives/decimal-mask/decimal-mask.directive.ts +113 -0
  123. package/src/lib/components/form-field/form-field-message/form-field-message.component.html +1 -0
  124. package/src/lib/components/form-field/form-field-message/form-field-message.component.scss +11 -0
  125. package/src/lib/components/form-field/form-field-message/form-field-message.component.ts +12 -0
  126. package/src/lib/components/form-field/form-field.component.html +39 -0
  127. package/src/lib/components/form-field/form-field.component.scss +43 -0
  128. package/src/lib/components/form-field/form-field.component.spec.ts +521 -0
  129. package/src/lib/components/form-field/form-field.component.ts +141 -0
  130. package/src/lib/components/form-field/index.ts +7 -0
  131. package/src/lib/components/form-field/input/input.component.integration.spec.ts +83 -0
  132. package/src/lib/components/form-field/input/input.component.scss +54 -0
  133. package/src/lib/components/form-field/input/input.component.spec.ts +159 -0
  134. package/src/lib/components/form-field/input/input.component.ts +91 -0
  135. package/src/lib/components/form-field/input-counter/input-counter.component.html +1 -0
  136. package/src/lib/components/form-field/input-counter/input-counter.component.spec.ts +184 -0
  137. package/src/lib/components/form-field/input-counter/input-counter.component.ts +41 -0
  138. package/src/lib/components/form-field/textarea/textarea.component.html +2 -0
  139. package/src/lib/components/form-field/textarea/textarea.component.scss +11 -0
  140. package/src/lib/components/form-field/textarea/textarea.component.spec.ts +100 -0
  141. package/src/lib/components/form-field/textarea/textarea.component.ts +64 -0
  142. package/src/lib/components/grid/breakpoint-helper.service.ts +27 -0
  143. package/src/lib/components/grid/grid-card-configuration.ts +7 -0
  144. package/src/lib/components/grid/grid.component.html +6 -0
  145. package/src/lib/components/grid/grid.component.scss +26 -0
  146. package/src/lib/components/grid/grid.component.ts +106 -0
  147. package/src/lib/components/icon/icon-registry.service.spec.ts +107 -0
  148. package/src/lib/components/icon/icon-registry.service.ts +39 -0
  149. package/src/lib/components/icon/icon-settings.ts +8 -0
  150. package/src/lib/components/icon/icon.component.html +1 -0
  151. package/src/lib/components/icon/icon.component.scss +47 -0
  152. package/src/lib/components/icon/icon.component.spec.ts +254 -0
  153. package/src/lib/components/icon/icon.component.ts +89 -0
  154. package/src/lib/components/icon/icon.module.ts +11 -0
  155. package/src/lib/components/icon/index.ts +5 -0
  156. package/src/lib/components/icon/kirby-icon-settings.ts +65 -0
  157. package/src/lib/components/icon/readme.md +16 -0
  158. package/src/lib/components/icon/selection.json +1776 -0
  159. package/src/lib/components/index.ts +67 -0
  160. package/src/lib/components/item/_item.utils.scss +36 -0
  161. package/src/lib/components/item/index.ts +3 -0
  162. package/src/lib/components/item/item.component.html +16 -0
  163. package/src/lib/components/item/item.component.integration.spec.ts +64 -0
  164. package/src/lib/components/item/item.component.scss +156 -0
  165. package/src/lib/components/item/item.component.spec.ts +85 -0
  166. package/src/lib/components/item/item.component.ts +37 -0
  167. package/src/lib/components/item/item.module.ts +14 -0
  168. package/src/lib/components/item/label/label.component.html +3 -0
  169. package/src/lib/components/item/label/label.component.scss +36 -0
  170. package/src/lib/components/item/label/label.component.spec.ts +23 -0
  171. package/src/lib/components/item/label/label.component.ts +16 -0
  172. package/src/lib/components/item-group/item-group.component.html +1 -0
  173. package/src/lib/components/item-group/item-group.component.scss +3 -0
  174. package/src/lib/components/item-group/item-group.component.spec.ts +42 -0
  175. package/src/lib/components/item-group/item-group.component.ts +10 -0
  176. package/src/lib/components/item-sliding/index.ts +2 -0
  177. package/src/lib/components/item-sliding/item-sliding.component.html +20 -0
  178. package/src/lib/components/item-sliding/item-sliding.component.scss +9 -0
  179. package/src/lib/components/item-sliding/item-sliding.component.spec.ts +174 -0
  180. package/src/lib/components/item-sliding/item-sliding.component.ts +23 -0
  181. package/src/lib/components/item-sliding/item-sliding.shared.scss +18 -0
  182. package/src/lib/components/item-sliding/item-sliding.types.ts +13 -0
  183. package/src/lib/components/list/directives/infinite-scroll.directive.spec.ts +131 -0
  184. package/src/lib/components/list/directives/infinite-scroll.directive.ts +137 -0
  185. package/src/lib/components/list/directives/list-item-color.directive.ts +27 -0
  186. package/src/lib/components/list/directives/scroll.model.ts +5 -0
  187. package/src/lib/components/list/helpers/list-helper.spec.ts +109 -0
  188. package/src/lib/components/list/helpers/list-helper.ts +19 -0
  189. package/src/lib/components/list/index.ts +21 -0
  190. package/src/lib/components/list/list-experimental/list-experimental.component.html +4 -0
  191. package/src/lib/components/list/list-experimental/list-experimental.component.scss +6 -0
  192. package/src/lib/components/list/list-experimental/list-experimental.component.spec.ts +112 -0
  193. package/src/lib/components/list/list-experimental/list-experimental.component.ts +21 -0
  194. package/src/lib/components/list/list-header/list-header.component.html +1 -0
  195. package/src/lib/components/list/list-header/list-header.component.scss +10 -0
  196. package/src/lib/components/list/list-header/list-header.component.spec.ts +24 -0
  197. package/src/lib/components/list/list-header/list-header.component.ts +11 -0
  198. package/src/lib/components/list/list-item/list-item.component.html +39 -0
  199. package/src/lib/components/list/list-item/list-item.component.scss +13 -0
  200. package/src/lib/components/list/list-item/list-item.component.ts +144 -0
  201. package/src/lib/components/list/list-section-header/list-section-header.component.html +3 -0
  202. package/src/lib/components/list/list-section-header/list-section-header.component.spec.ts +24 -0
  203. package/src/lib/components/list/list-section-header/list-section-header.component.ts +13 -0
  204. package/src/lib/components/list/list-swipe-action.ts +2 -0
  205. package/src/lib/components/list/list-swipe-action.type.ts +23 -0
  206. package/src/lib/components/list/list.component.html +65 -0
  207. package/src/lib/components/list/list.component.integration.spec.ts +177 -0
  208. package/src/lib/components/list/list.component.scss +243 -0
  209. package/src/lib/components/list/list.component.spec.ts +219 -0
  210. package/src/lib/components/list/list.component.ts +213 -0
  211. package/src/lib/components/list/list.directive.ts +21 -0
  212. package/src/lib/components/list/list.event.ts +8 -0
  213. package/src/lib/components/list/list.module.ts +47 -0
  214. package/src/lib/components/list/pipes/group-by.pipe.spec.ts +71 -0
  215. package/src/lib/components/list/pipes/group-by.pipe.ts +34 -0
  216. package/src/lib/components/loading-overlay/index.ts +2 -0
  217. package/src/lib/components/loading-overlay/loading-overlay.component.html +8 -0
  218. package/src/lib/components/loading-overlay/loading-overlay.component.scss +37 -0
  219. package/src/lib/components/loading-overlay/loading-overlay.component.ts +12 -0
  220. package/src/lib/components/loading-overlay/loading-overlay.service.ts +44 -0
  221. package/src/lib/components/modal/action-sheet/action-sheet.component.html +24 -0
  222. package/src/lib/components/modal/action-sheet/action-sheet.component.scss +47 -0
  223. package/src/lib/components/modal/action-sheet/action-sheet.component.spec.ts +153 -0
  224. package/src/lib/components/modal/action-sheet/action-sheet.component.ts +27 -0
  225. package/src/lib/components/modal/action-sheet/config/action-sheet-config.ts +8 -0
  226. package/src/lib/components/modal/action-sheet/config/action-sheet-item.ts +4 -0
  227. package/src/lib/components/modal/alert/alert.component.html +29 -0
  228. package/src/lib/components/modal/alert/alert.component.scss +21 -0
  229. package/src/lib/components/modal/alert/alert.component.spec.ts +104 -0
  230. package/src/lib/components/modal/alert/alert.component.ts +67 -0
  231. package/src/lib/components/modal/alert/config/alert-config.ts +19 -0
  232. package/src/lib/components/modal/footer/modal-footer.component.html +3 -0
  233. package/src/lib/components/modal/footer/modal-footer.component.scss +57 -0
  234. package/src/lib/components/modal/footer/modal-footer.component.spec.ts +209 -0
  235. package/src/lib/components/modal/footer/modal-footer.component.ts +17 -0
  236. package/src/lib/components/modal/index.ts +9 -0
  237. package/src/lib/components/modal/modal-wrapper/compact/modal-compact-wrapper.component.html +3 -0
  238. package/src/lib/components/modal/modal-wrapper/compact/modal-compact-wrapper.component.scss +8 -0
  239. package/src/lib/components/modal/modal-wrapper/compact/modal-compact-wrapper.component.ts +79 -0
  240. package/src/lib/components/modal/modal-wrapper/config/drawer-supplementary-action.ts +4 -0
  241. package/src/lib/components/modal/modal-wrapper/config/modal-config.helper.ts +3 -0
  242. package/src/lib/components/modal/modal-wrapper/config/modal-config.ts +22 -0
  243. package/src/lib/components/modal/modal-wrapper/modal-wrapper.component.html +43 -0
  244. package/src/lib/components/modal/modal-wrapper/modal-wrapper.component.scss +159 -0
  245. package/src/lib/components/modal/modal-wrapper/modal-wrapper.component.spec.ts +942 -0
  246. package/src/lib/components/modal/modal-wrapper/modal-wrapper.component.ts +587 -0
  247. package/src/lib/components/modal/modal-wrapper/modal-wrapper.testbuilder.ts +155 -0
  248. package/src/lib/components/modal/services/action-sheet.helper.spec.ts +86 -0
  249. package/src/lib/components/modal/services/action-sheet.helper.ts +47 -0
  250. package/src/lib/components/modal/services/alert.helper.spec.ts +89 -0
  251. package/src/lib/components/modal/services/alert.helper.ts +57 -0
  252. package/src/lib/components/modal/services/modal-animation-builder.service.ts +276 -0
  253. package/src/lib/components/modal/services/modal-navigation.service.spec.ts +543 -0
  254. package/src/lib/components/modal/services/modal-navigation.service.ts +331 -0
  255. package/src/lib/components/modal/services/modal.controller.spec.ts +212 -0
  256. package/src/lib/components/modal/services/modal.controller.ts +194 -0
  257. package/src/lib/components/modal/services/modal.helper.spec.ts +828 -0
  258. package/src/lib/components/modal/services/modal.helper.ts +128 -0
  259. package/src/lib/components/modal/services/modal.interfaces.ts +28 -0
  260. package/src/lib/components/page/index.ts +13 -0
  261. package/src/lib/components/page/page-footer/page-footer.component.html +3 -0
  262. package/src/lib/components/page/page-footer/page-footer.component.scss +23 -0
  263. package/src/lib/components/page/page-footer/page-footer.component.spec.ts +52 -0
  264. package/src/lib/components/page/page-footer/page-footer.component.ts +46 -0
  265. package/src/lib/components/page/page.component.html +101 -0
  266. package/src/lib/components/page/page.component.scss +141 -0
  267. package/src/lib/components/page/page.component.spec.ts +224 -0
  268. package/src/lib/components/page/page.component.ts +415 -0
  269. package/src/lib/components/page/page.module.ts +52 -0
  270. package/src/lib/components/popover/popover.component.scss +26 -0
  271. package/src/lib/components/popover/popover.component.spec.ts +0 -0
  272. package/src/lib/components/popover/popover.component.ts +221 -0
  273. package/src/lib/components/progress-circle/progress-circle-ring.component.scss +22 -0
  274. package/src/lib/components/progress-circle/progress-circle-ring.component.spec.ts +143 -0
  275. package/src/lib/components/progress-circle/progress-circle-ring.component.svg +23 -0
  276. package/src/lib/components/progress-circle/progress-circle-ring.component.ts +42 -0
  277. package/src/lib/components/progress-circle/progress-circle.component.html +11 -0
  278. package/src/lib/components/progress-circle/progress-circle.component.scss +28 -0
  279. package/src/lib/components/progress-circle/progress-circle.component.spec.ts +339 -0
  280. package/src/lib/components/progress-circle/progress-circle.component.ts +96 -0
  281. package/src/lib/components/radio/index.ts +2 -0
  282. package/src/lib/components/radio/radio-group/radio-group.component.html +24 -0
  283. package/src/lib/components/radio/radio-group/radio-group.component.spec.ts +1328 -0
  284. package/src/lib/components/radio/radio-group/radio-group.component.ts +272 -0
  285. package/src/lib/components/radio/radio.component.html +9 -0
  286. package/src/lib/components/radio/radio.component.integration.spec.ts +93 -0
  287. package/src/lib/components/radio/radio.component.scss +133 -0
  288. package/src/lib/components/radio/radio.component.spec.ts +244 -0
  289. package/src/lib/components/radio/radio.component.ts +50 -0
  290. package/src/lib/components/range/range.component.html +16 -0
  291. package/src/lib/components/range/range.component.scss +81 -0
  292. package/src/lib/components/range/range.component.ts +105 -0
  293. package/src/lib/components/reorder-list/index.ts +3 -0
  294. package/src/lib/components/reorder-list/reorder-event.ts +17 -0
  295. package/src/lib/components/reorder-list/reorder-list.component.html +30 -0
  296. package/src/lib/components/reorder-list/reorder-list.component.scss +90 -0
  297. package/src/lib/components/reorder-list/reorder-list.component.spec.ts +123 -0
  298. package/src/lib/components/reorder-list/reorder-list.component.ts +86 -0
  299. package/src/lib/components/router-outlet/index.ts +5 -0
  300. package/src/lib/components/router-outlet/router-outlet.component.html +6 -0
  301. package/src/lib/components/router-outlet/router-outlet.component.scss +13 -0
  302. package/src/lib/components/router-outlet/router-outlet.component.spec.ts +28 -0
  303. package/src/lib/components/router-outlet/router-outlet.component.ts +11 -0
  304. package/src/lib/components/router-outlet/router-outlet.module.ts +12 -0
  305. package/src/lib/components/section-header/_section-header.utils.scss +34 -0
  306. package/src/lib/components/section-header/section-header.component.html +3 -0
  307. package/src/lib/components/section-header/section-header.component.scss +15 -0
  308. package/src/lib/components/section-header/section-header.component.spec.ts +59 -0
  309. package/src/lib/components/section-header/section-header.component.ts +9 -0
  310. package/src/lib/components/section-header/section-header.integration.spec.ts +67 -0
  311. package/src/lib/components/segmented-control/segment-item.ts +18 -0
  312. package/src/lib/components/segmented-control/segmented-control.component.html +39 -0
  313. package/src/lib/components/segmented-control/segmented-control.component.scss +84 -0
  314. package/src/lib/components/segmented-control/segmented-control.component.spec.ts +247 -0
  315. package/src/lib/components/segmented-control/segmented-control.component.ts +96 -0
  316. package/src/lib/components/shared/component-configuration.ts +6 -0
  317. package/src/lib/components/shared/component-loader.directive.ts +42 -0
  318. package/src/lib/components/shared/dynamic-component.ts +3 -0
  319. package/src/lib/components/shared/index.ts +9 -0
  320. package/src/lib/components/shared/resize-observer/resize-observer.factory.ts +20 -0
  321. package/src/lib/components/shared/resize-observer/resize-observer.service.ts +65 -0
  322. package/src/lib/components/shared/resize-observer/types/resize-observer-callback.ts +7 -0
  323. package/src/lib/components/shared/resize-observer/types/resize-observer-entry.ts +14 -0
  324. package/src/lib/components/shared/resize-observer/types/resize-observer.ts +17 -0
  325. package/src/lib/components/slide-button/slide-button.component.html +14 -0
  326. package/src/lib/components/slide-button/slide-button.component.scss +81 -0
  327. package/src/lib/components/slide-button/slide-button.component.shared.scss +12 -0
  328. package/src/lib/components/slide-button/slide-button.component.spec.ts +75 -0
  329. package/src/lib/components/slide-button/slide-button.component.ts +81 -0
  330. package/src/lib/components/slides/slides.component.spec.ts +76 -0
  331. package/src/lib/components/slides/slides.component.ts +57 -0
  332. package/src/lib/components/spinner/index.ts +2 -0
  333. package/src/lib/components/spinner/spinner.component.html +4 -0
  334. package/src/lib/components/spinner/spinner.component.scss +37 -0
  335. package/src/lib/components/spinner/spinner.component.ts +13 -0
  336. package/src/lib/components/spinner/spinner.module.ts +12 -0
  337. package/src/lib/components/stock-chart-deprecated/index.ts +2 -0
  338. package/src/lib/components/stock-chart-deprecated/options/stock-chart-deprecated-options.ts +220 -0
  339. package/src/lib/components/stock-chart-deprecated/stock-chart-deprecated.component.scss +3 -0
  340. package/src/lib/components/stock-chart-deprecated/stock-chart-deprecated.component.spec.ts +32 -0
  341. package/src/lib/components/stock-chart-deprecated/stock-chart-deprecated.component.ts +92 -0
  342. package/src/lib/components/tabs/index.ts +5 -0
  343. package/src/lib/components/tabs/tab-button/tab-button.component.html +13 -0
  344. package/src/lib/components/tabs/tab-button/tab-button.component.scss +48 -0
  345. package/src/lib/components/tabs/tab-button/tab-button.component.spec.ts +24 -0
  346. package/src/lib/components/tabs/tab-button/tab-button.component.ts +47 -0
  347. package/src/lib/components/tabs/tab-button/tab-button.events.ts +1 -0
  348. package/src/lib/components/tabs/tabs.component.html +5 -0
  349. package/src/lib/components/tabs/tabs.component.scss +52 -0
  350. package/src/lib/components/tabs/tabs.component.spec.ts +125 -0
  351. package/src/lib/components/tabs/tabs.component.ts +21 -0
  352. package/src/lib/components/tabs/tabs.module.ts +16 -0
  353. package/src/lib/components/tabs/tabs.service.ts +17 -0
  354. package/src/lib/components/toast/config/toast-config.ts +8 -0
  355. package/src/lib/components/toast/index.ts +2 -0
  356. package/src/lib/components/toast/services/toast.controller.ts +18 -0
  357. package/src/lib/components/toast/services/toast.helper.spec.ts +89 -0
  358. package/src/lib/components/toast/services/toast.helper.ts +39 -0
  359. package/src/lib/components/toggle/toggle.component.html +5 -0
  360. package/src/lib/components/toggle/toggle.component.scss +5 -0
  361. package/src/lib/components/toggle/toggle.component.spec.ts +62 -0
  362. package/src/lib/components/toggle/toggle.component.ts +17 -0
  363. package/src/lib/components/toggle-button/index.ts +2 -0
  364. package/src/lib/components/toggle-button/toggle-button.component.html +6 -0
  365. package/src/lib/components/toggle-button/toggle-button.component.spec.ts +23 -0
  366. package/src/lib/components/toggle-button/toggle-button.component.ts +24 -0
  367. package/src/lib/components/toggle-button/toggle-button.module.ts +13 -0
  368. package/src/lib/components/web-component-proxies.component.ts +25 -0
  369. package/src/lib/custom-elements-initializer.ts +19 -0
  370. package/src/lib/directives/element-as-button/element-as-button.directive.spec.ts +31 -0
  371. package/src/lib/directives/element-as-button/element-as-button.directive.ts +26 -0
  372. package/src/lib/directives/fit-heading/fit-heading.directive.ts +131 -0
  373. package/src/lib/directives/fit-heading/fit-heading.module.ts +9 -0
  374. package/src/lib/directives/index.ts +9 -0
  375. package/src/lib/directives/key-handler/key-handler.directive.ts +20 -0
  376. package/src/lib/directives/modal-router-link/modal-router-link.directive.ts +24 -0
  377. package/src/lib/directives/theme-color/theme-color.directive.ts +117 -0
  378. package/src/lib/helpers/color-helper.styles.ts +193 -0
  379. package/src/lib/helpers/color-helper.ts +1 -0
  380. package/src/lib/helpers/deep-copy.ts +13 -0
  381. package/src/lib/helpers/design-token-helper.styles.ts +78 -0
  382. package/src/lib/helpers/design-token-helper.ts +6 -0
  383. package/src/lib/helpers/element-has-ancestor.ts +28 -0
  384. package/src/lib/helpers/index.ts +8 -0
  385. package/src/lib/helpers/line-clamp-helper.ts +28 -0
  386. package/src/lib/helpers/merge-deep.spec.ts +11 -0
  387. package/src/lib/helpers/merge-deep.ts +41 -0
  388. package/src/lib/helpers/platform.service.ts +22 -0
  389. package/src/lib/helpers/string-helper.ts +6 -0
  390. package/src/lib/helpers/theme-color.type.ts +1 -0
  391. package/src/lib/helpers/unique-id-generator.helper.spec.ts +58 -0
  392. package/src/lib/helpers/unique-id-generator.helper.ts +19 -0
  393. package/src/lib/icons/svg/QR.svg +7 -0
  394. package/src/lib/icons/svg/accounts-outline.svg +9 -0
  395. package/src/lib/icons/svg/accounts.svg +9 -0
  396. package/src/lib/icons/svg/add.svg +7 -0
  397. package/src/lib/icons/svg/arrow-back.svg +7 -0
  398. package/src/lib/icons/svg/arrow-down.svg +7 -0
  399. package/src/lib/icons/svg/arrow-more.svg +7 -0
  400. package/src/lib/icons/svg/arrow-up.svg +7 -0
  401. package/src/lib/icons/svg/attach.svg +7 -0
  402. package/src/lib/icons/svg/backspace.svg +9 -0
  403. package/src/lib/icons/svg/calendar.svg +7 -0
  404. package/src/lib/icons/svg/camera.svg +9 -0
  405. package/src/lib/icons/svg/checkbox-outline.svg +7 -0
  406. package/src/lib/icons/svg/checkbox.svg +7 -0
  407. package/src/lib/icons/svg/checkmark-selected.svg +3 -0
  408. package/src/lib/icons/svg/clock.svg +7 -0
  409. package/src/lib/icons/svg/close.svg +7 -0
  410. package/src/lib/icons/svg/cog.svg +7 -0
  411. package/src/lib/icons/svg/copy.svg +9 -0
  412. package/src/lib/icons/svg/edit.svg +7 -0
  413. package/src/lib/icons/svg/filter.svg +7 -0
  414. package/src/lib/icons/svg/flag.svg +9 -0
  415. package/src/lib/icons/svg/flash-off.svg +7 -0
  416. package/src/lib/icons/svg/flash.svg +7 -0
  417. package/src/lib/icons/svg/foreign-payment.svg +7 -0
  418. package/src/lib/icons/svg/help.svg +7 -0
  419. package/src/lib/icons/svg/home.svg +5 -0
  420. package/src/lib/icons/svg/inbox-outline.svg +9 -0
  421. package/src/lib/icons/svg/inbox.svg +9 -0
  422. package/src/lib/icons/svg/information.svg +9 -0
  423. package/src/lib/icons/svg/investment.svg +5 -0
  424. package/src/lib/icons/svg/kirby.svg +3 -0
  425. package/src/lib/icons/svg/link.svg +7 -0
  426. package/src/lib/icons/svg/log-out.svg +7 -0
  427. package/src/lib/icons/svg/menu-outline.svg +9 -0
  428. package/src/lib/icons/svg/menu.svg +9 -0
  429. package/src/lib/icons/svg/misc.svg +5 -0
  430. package/src/lib/icons/svg/moneybag.svg +7 -0
  431. package/src/lib/icons/svg/more.svg +5 -0
  432. package/src/lib/icons/svg/move.svg +7 -0
  433. package/src/lib/icons/svg/payment-card.svg +6 -0
  434. package/src/lib/icons/svg/pension.svg +7 -0
  435. package/src/lib/icons/svg/person-outline.svg +9 -0
  436. package/src/lib/icons/svg/person.svg +9 -0
  437. package/src/lib/icons/svg/remove.svg +6 -0
  438. package/src/lib/icons/svg/reorder.svg +9 -0
  439. package/src/lib/icons/svg/search.svg +7 -0
  440. package/src/lib/icons/svg/share.svg +7 -0
  441. package/src/lib/icons/svg/sort.svg +7 -0
  442. package/src/lib/icons/svg/support.svg +9 -0
  443. package/src/lib/icons/svg/swap.svg +7 -0
  444. package/src/lib/icons/svg/trash.svg +7 -0
  445. package/src/lib/icons/svg/unsubscribe.svg +7 -0
  446. package/src/lib/icons/svg/verify.svg +7 -0
  447. package/src/lib/icons/svg/warning.svg +7 -0
  448. package/src/lib/icons/svg/write-message.svg +7 -0
  449. package/src/lib/index.ts +8 -0
  450. package/src/lib/kirby.module.spec.ts +20 -0
  451. package/src/lib/kirby.module.ts +219 -0
  452. package/src/lib/polyfills/intersection-observer-polyfill-loader.js +14 -0
  453. package/src/lib/polyfills/intersection-observer-polyfill-loader.min.js +1 -0
  454. package/src/lib/polyfills/intersection-observer-polyfill.js +2 -0
  455. package/src/lib/polyfills/intersection-observer-polyfill.min.js +1 -0
  456. package/src/lib/polyfills/resize-observer-polyfill-loader.js +14 -0
  457. package/src/lib/polyfills/resize-observer-polyfill-loader.min.js +1 -0
  458. package/src/lib/polyfills/resize-observer-polyfill.js +2 -0
  459. package/src/lib/polyfills/resize-observer-polyfill.min.js +1 -0
  460. package/src/lib/scss/link.spec.ts +47 -0
  461. package/src/lib/scss/scss-helper.ts +8 -0
  462. package/src/lib/scss/typography.spec.ts +241 -0
  463. package/src/lib/testing/element-css-custom-matchers.d.ts +7 -0
  464. package/src/lib/testing/element-css-custom-matchers.ts +139 -0
  465. package/src/lib/testing/styles.scss +13 -0
  466. package/src/lib/testing/test-helper.ts +158 -0
  467. package/src/lib/types/index.ts +1 -0
  468. package/src/lib/types/window-ref.ts +10 -0
  469. package/src/test.ts +34 -0
  470. package/src/typings.test.d.ts +1 -0
  471. package/testing-base/ng-package.json +3 -0
  472. package/testing-base/src/lib/components/index.ts +66 -0
  473. package/testing-base/src/lib/components/mock.accordion-item.component.ts +21 -0
  474. package/testing-base/src/lib/components/mock.action-sheet.component.ts +27 -0
  475. package/testing-base/src/lib/components/mock.app.component.ts +18 -0
  476. package/testing-base/src/lib/components/mock.avatar.component.ts +38 -0
  477. package/testing-base/src/lib/components/mock.badge.component.ts +20 -0
  478. package/testing-base/src/lib/components/mock.button.component.ts +26 -0
  479. package/testing-base/src/lib/components/mock.calendar.component.ts +36 -0
  480. package/testing-base/src/lib/components/mock.card-footer.component.ts +18 -0
  481. package/testing-base/src/lib/components/mock.card-header.component.ts +23 -0
  482. package/testing-base/src/lib/components/mock.card.component.ts +25 -0
  483. package/testing-base/src/lib/components/mock.chart-deprecated.component.ts +28 -0
  484. package/testing-base/src/lib/components/mock.chart.component.ts +36 -0
  485. package/testing-base/src/lib/components/mock.checkbox.component.ts +26 -0
  486. package/testing-base/src/lib/components/mock.chip.component.ts +21 -0
  487. package/testing-base/src/lib/components/mock.divider.component.ts +20 -0
  488. package/testing-base/src/lib/components/mock.dropdown.component.ts +32 -0
  489. package/testing-base/src/lib/components/mock.empty-state.component.ts +23 -0
  490. package/testing-base/src/lib/components/mock.fab-sheet.component.ts +21 -0
  491. package/testing-base/src/lib/components/mock.flag.component.ts +21 -0
  492. package/testing-base/src/lib/components/mock.form-field-message.component.ts +21 -0
  493. package/testing-base/src/lib/components/mock.form-field.component.ts +23 -0
  494. package/testing-base/src/lib/components/mock.grid.component.ts +21 -0
  495. package/testing-base/src/lib/components/mock.icon.component.ts +22 -0
  496. package/testing-base/src/lib/components/mock.input-counter.component.ts +24 -0
  497. package/testing-base/src/lib/components/mock.input.component.ts +29 -0
  498. package/testing-base/src/lib/components/mock.item-group.component.ts +18 -0
  499. package/testing-base/src/lib/components/mock.item-sliding.component.ts +21 -0
  500. package/testing-base/src/lib/components/mock.item.component.ts +24 -0
  501. package/testing-base/src/lib/components/mock.label.component.ts +20 -0
  502. package/testing-base/src/lib/components/mock.list-experimental.component.ts +18 -0
  503. package/testing-base/src/lib/components/mock.list-header.component.ts +18 -0
  504. package/testing-base/src/lib/components/mock.list-item.component.ts +33 -0
  505. package/testing-base/src/lib/components/mock.list-section-header.component.ts +20 -0
  506. package/testing-base/src/lib/components/mock.list.component.ts +39 -0
  507. package/testing-base/src/lib/components/mock.loading-overlay.component.ts +21 -0
  508. package/testing-base/src/lib/components/mock.modal-footer.component.ts +21 -0
  509. package/testing-base/src/lib/components/mock.page-footer.component.ts +20 -0
  510. package/testing-base/src/lib/components/mock.page.component.ts +152 -0
  511. package/testing-base/src/lib/components/mock.popover.component.ts +22 -0
  512. package/testing-base/src/lib/components/mock.progress-circle.component.ts +22 -0
  513. package/testing-base/src/lib/components/mock.radio-group.component.ts +27 -0
  514. package/testing-base/src/lib/components/mock.radio.component.ts +23 -0
  515. package/testing-base/src/lib/components/mock.range.component.ts +35 -0
  516. package/testing-base/src/lib/components/mock.reorder-list.component.ts +25 -0
  517. package/testing-base/src/lib/components/mock.router-outlet.component.ts +20 -0
  518. package/testing-base/src/lib/components/mock.section-header.component.ts +18 -0
  519. package/testing-base/src/lib/components/mock.segmented-control.component.ts +29 -0
  520. package/testing-base/src/lib/components/mock.slide-button.component.ts +23 -0
  521. package/testing-base/src/lib/components/mock.slides.component.ts +29 -0
  522. package/testing-base/src/lib/components/mock.spinner.component.ts +18 -0
  523. package/testing-base/src/lib/components/mock.tab-button.component.ts +21 -0
  524. package/testing-base/src/lib/components/mock.tabs.component.ts +18 -0
  525. package/testing-base/src/lib/components/mock.textarea.component.ts +26 -0
  526. package/testing-base/src/lib/components/mock.toggle-button.component.ts +21 -0
  527. package/testing-base/src/lib/components/mock.toggle.component.ts +22 -0
  528. package/testing-base/src/lib/components/mock.web-component-proxies.component.ts +32 -0
  529. package/testing-base/src/lib/directives/index.ts +3 -0
  530. package/testing-base/src/lib/directives/mock.accordion.directive.ts +15 -0
  531. package/testing-base/src/lib/directives/mock.fit-heading.directive.ts +19 -0
  532. package/testing-base/src/lib/directives/mock.theme-color.directive.ts +19 -0
  533. package/testing-base/src/lib/index.ts +4 -0
  534. package/testing-base/src/lib/kirby-testing-base.module.ts +10 -0
  535. package/testing-base/src/lib/mock-components.ts +133 -0
  536. package/testing-base/src/lib/mock-directives.ts +9 -0
  537. package/testing-base/src/public_api.ts +1 -0
  538. package/testing-base/src/tsconfig.json +9 -0
  539. package/testing-jasmine/ng-package.json +3 -0
  540. package/testing-jasmine/src/lib/kirby-testing.module.ts +14 -0
  541. package/testing-jasmine/src/lib/mock-providers.ts +68 -0
  542. package/testing-jasmine/src/public_api.ts +1 -0
  543. package/testing-jasmine/src/tsconfig.json +10 -0
  544. package/testing-jest/ng-package.json +3 -0
  545. package/testing-jest/src/lib/kirby-testing.module.ts +14 -0
  546. package/testing-jest/src/lib/mock-providers.ts +76 -0
  547. package/testing-jest/src/public_api.ts +1 -0
  548. package/testing-jest/src/tsconfig.json +10 -0
  549. package/tsconfig.json +17 -0
  550. package/tsconfig.lib.json +23 -0
  551. package/tsconfig.spec.json +9 -0
  552. package/tslint.json +10 -0
@@ -0,0 +1,193 @@
1
+ export const styles = {
2
+ brandColors: { primary: '#00e89a', secondary: '#005c3c', tertiary: '#01352c' },
3
+ notificationColors: { success: '#2cf287', warning: '#ffca3a', danger: '#ff595e' },
4
+ systemColors: {
5
+ backgroundColor: '#f6f6f6',
6
+ white: '#ffffff',
7
+ light: '#f2f2f2',
8
+ semiLight: '#ebebeb',
9
+ medium: '#d1d1d1',
10
+ semiDark: '#8e8e8e',
11
+ dark: '#353535',
12
+ black: '#1c1c1c',
13
+ },
14
+ textColors: { white: '#ffffff', semiDark: '#707070', black: '#1c1c1c', danger: '#ee0d0d' },
15
+ focusRingColor: '#4d90fe',
16
+ mainColors: {
17
+ primary: '#00e89a',
18
+ secondary: '#005c3c',
19
+ tertiary: '#01352c',
20
+ success: '#2cf287',
21
+ warning: '#ffca3a',
22
+ danger: '#ff595e',
23
+ light: '#f2f2f2',
24
+ medium: '#d1d1d1',
25
+ dark: '#353535',
26
+ },
27
+ kirbyColors: {
28
+ black: '#1c1c1c',
29
+ blackRgb: '28, 28, 28',
30
+ blackContrast: '#ffffff',
31
+ blackContrastRgb: '255, 255, 255',
32
+ blackShade: '#191919',
33
+ blackShadeRgb: '25, 25, 25',
34
+ blackTint: '#333333',
35
+ blackTintRgb: '51, 51, 51',
36
+ blackColorBrightness: 'dark',
37
+ dark: '#353535',
38
+ darkRgb: '53, 53, 53',
39
+ darkContrast: '#ffffff',
40
+ darkContrastRgb: '255, 255, 255',
41
+ darkShade: '#2f2f2f',
42
+ darkShadeRgb: '47, 47, 47',
43
+ darkTint: '#494949',
44
+ darkTintRgb: '73, 73, 73',
45
+ darkColorBrightness: 'dark',
46
+ semiDark: '#8e8e8e',
47
+ semiDarkRgb: '142, 142, 142',
48
+ semiDarkContrast: '#1c1c1c',
49
+ semiDarkContrastRgb: '28, 28, 28',
50
+ semiDarkShade: '#7d7d7d',
51
+ semiDarkShadeRgb: '125, 125, 125',
52
+ semiDarkTint: '#999999',
53
+ semiDarkTintRgb: '153, 153, 153',
54
+ semiDarkColorBrightness: 'light',
55
+ medium: '#d1d1d1',
56
+ mediumRgb: '209, 209, 209',
57
+ mediumContrast: '#1c1c1c',
58
+ mediumContrastRgb: '28, 28, 28',
59
+ mediumShade: '#b8b8b8',
60
+ mediumShadeRgb: '184, 184, 184',
61
+ mediumTint: '#d6d6d6',
62
+ mediumTintRgb: '214, 214, 214',
63
+ mediumColorBrightness: 'light',
64
+ semiLight: '#ebebeb',
65
+ semiLightRgb: '235, 235, 235',
66
+ semiLightContrast: '#1c1c1c',
67
+ semiLightContrastRgb: '28, 28, 28',
68
+ semiLightShade: '#cfcfcf',
69
+ semiLightShadeRgb: '207, 207, 207',
70
+ semiLightTint: '#ededed',
71
+ semiLightTintRgb: '237, 237, 237',
72
+ semiLightColorBrightness: 'light',
73
+ light: '#f2f2f2',
74
+ lightRgb: '242, 242, 242',
75
+ lightContrast: '#1c1c1c',
76
+ lightContrastRgb: '28, 28, 28',
77
+ lightShade: '#d5d5d5',
78
+ lightShadeRgb: '213, 213, 213',
79
+ lightTint: '#f3f3f3',
80
+ lightTintRgb: '243, 243, 243',
81
+ lightColorBrightness: 'light',
82
+ white: '#ffffff',
83
+ whiteRgb: '255, 255, 255',
84
+ whiteContrast: '#1c1c1c',
85
+ whiteContrastRgb: '28, 28, 28',
86
+ whiteShade: '#e0e0e0',
87
+ whiteShadeRgb: '224, 224, 224',
88
+ whiteTint: 'white',
89
+ whiteTintRgb: '255, 255, 255',
90
+ whiteColorBrightness: 'white',
91
+ backgroundColor: '#f6f6f6',
92
+ backgroundColorRgb: '246, 246, 246',
93
+ backgroundColorContrast: '#1c1c1c',
94
+ backgroundColorContrastRgb: '28, 28, 28',
95
+ backgroundColorShade: '#d8d8d8',
96
+ backgroundColorShadeRgb: '216, 216, 216',
97
+ backgroundColorTint: '#f7f7f7',
98
+ backgroundColorTintRgb: '247, 247, 247',
99
+ backgroundColorColorBrightness: 'light',
100
+ danger: '#ff595e',
101
+ dangerRgb: '255, 89, 94',
102
+ dangerContrast: '#1c1c1c',
103
+ dangerContrastRgb: '28, 28, 28',
104
+ dangerShade: '#e04e53',
105
+ dangerShadeRgb: '224, 78, 83',
106
+ dangerTint: '#ff6a6e',
107
+ dangerTintRgb: '255, 106, 110',
108
+ dangerColorBrightness: 'light',
109
+ warning: '#ffca3a',
110
+ warningRgb: '255, 202, 58',
111
+ warningContrast: '#1c1c1c',
112
+ warningContrastRgb: '28, 28, 28',
113
+ warningShade: '#e0b233',
114
+ warningShadeRgb: '224, 178, 51',
115
+ warningTint: '#ffcf4e',
116
+ warningTintRgb: '255, 207, 78',
117
+ warningColorBrightness: 'light',
118
+ success: '#2cf287',
119
+ successRgb: '44, 242, 135',
120
+ successContrast: '#1c1c1c',
121
+ successContrastRgb: '28, 28, 28',
122
+ successShade: '#27d577',
123
+ successShadeRgb: '39, 213, 119',
124
+ successTint: '#41f393',
125
+ successTintRgb: '65, 243, 147',
126
+ successColorBrightness: 'light',
127
+ tertiary: '#01352c',
128
+ tertiaryRgb: '1, 53, 44',
129
+ tertiaryContrast: '#ffffff',
130
+ tertiaryContrastRgb: '255, 255, 255',
131
+ tertiaryShade: '#012f27',
132
+ tertiaryShadeRgb: '1, 47, 39',
133
+ tertiaryTint: '#1a4941',
134
+ tertiaryTintRgb: '26, 73, 65',
135
+ tertiaryColorBrightness: 'dark',
136
+ secondary: '#005c3c',
137
+ secondaryRgb: '0, 92, 60',
138
+ secondaryContrast: '#ffffff',
139
+ secondaryContrastRgb: '255, 255, 255',
140
+ secondaryShade: '#005135',
141
+ secondaryShadeRgb: '0, 81, 53',
142
+ secondaryTint: '#1a6c50',
143
+ secondaryTintRgb: '26, 108, 80',
144
+ secondaryColorBrightness: 'dark',
145
+ primary: '#00e89a',
146
+ primaryRgb: '0, 232, 154',
147
+ primaryContrast: '#1c1c1c',
148
+ primaryContrastRgb: '28, 28, 28',
149
+ primaryShade: '#00cc88',
150
+ primaryShadeRgb: '0, 204, 136',
151
+ primaryTint: '#1aeaa4',
152
+ primaryTintRgb: '26, 234, 164',
153
+ primaryColorBrightness: 'light',
154
+ },
155
+ kirbyTextColors: {
156
+ danger: '#ee0d0d',
157
+ dangerRgb: '238, 13, 13',
158
+ dangerContrast: '#ffffff',
159
+ dangerContrastRgb: '255, 255, 255',
160
+ dangerShade: '#d10b0b',
161
+ dangerShadeRgb: '209, 11, 11',
162
+ dangerTint: '#f02525',
163
+ dangerTintRgb: '240, 37, 37',
164
+ dangerColorBrightness: 'dark',
165
+ black: '#1c1c1c',
166
+ blackRgb: '28, 28, 28',
167
+ blackContrast: '#ffffff',
168
+ blackContrastRgb: '255, 255, 255',
169
+ blackShade: '#191919',
170
+ blackShadeRgb: '25, 25, 25',
171
+ blackTint: '#333333',
172
+ blackTintRgb: '51, 51, 51',
173
+ blackColorBrightness: 'dark',
174
+ semiDark: '#707070',
175
+ semiDarkRgb: '112, 112, 112',
176
+ semiDarkContrast: '#ffffff',
177
+ semiDarkContrastRgb: '255, 255, 255',
178
+ semiDarkShade: '#636363',
179
+ semiDarkShadeRgb: '99, 99, 99',
180
+ semiDarkTint: '#7e7e7e',
181
+ semiDarkTintRgb: '126, 126, 126',
182
+ semiDarkColorBrightness: 'dark',
183
+ white: '#ffffff',
184
+ whiteRgb: '255, 255, 255',
185
+ whiteContrast: '#1c1c1c',
186
+ whiteContrastRgb: '28, 28, 28',
187
+ whiteShade: '#e0e0e0',
188
+ whiteShadeRgb: '224, 224, 224',
189
+ whiteTint: 'white',
190
+ whiteTintRgb: '255, 255, 255',
191
+ whiteColorBrightness: 'white',
192
+ },
193
+ };
@@ -0,0 +1 @@
1
+ export { ColorHelper, Color, BrandColor, KirbyColor, NotificationColor } from '@kirbydesign/core';
@@ -0,0 +1,13 @@
1
+ import _deepCopy from 'ts-deepcopy';
2
+
3
+ /**
4
+ * Do a deep copy of object that supports the composite data type Function
5
+ *
6
+ * @see https://stackoverflow.com/questions/122102/what-is-the-most-efficient-way-to-deep-clone-an-object-in-javascript#answer-122704
7
+ *
8
+ * @param obj
9
+ * @returns obj
10
+ */
11
+ export function deepCopy<T>(obj: T): T {
12
+ return _deepCopy<T>(obj);
13
+ }
@@ -0,0 +1,78 @@
1
+ export const styles = {
2
+ sizes: {
3
+ xxxl: '56px',
4
+ xxl: '48px',
5
+ xl: '40px',
6
+ l: '32px',
7
+ m: '24px',
8
+ s: '16px',
9
+ xs: '12px',
10
+ xxs: '8px',
11
+ xxxs: '4px',
12
+ xxxxs: '2px',
13
+ },
14
+ fontSizes: {
15
+ xxxxl: '72px',
16
+ xxxl: '56px',
17
+ xxl: '40px',
18
+ xl: '32px',
19
+ l: '22px',
20
+ m: '18px',
21
+ n: '16px',
22
+ s: '14px',
23
+ xs: '12px',
24
+ xxs: '10px',
25
+ },
26
+ lineHeight: { xl: '38px', l: '28px', m: '24px', n: '24px', s: '20px', xs: '16px', xxs: '11px' },
27
+ fontWeight: { light: '300', normal: '400', bold: '700', black: '900' },
28
+ iconFontSizes: { xs: '16px', sm: '24px', md: '32px', lg: '56px' },
29
+ zLayers: {
30
+ default: '1',
31
+ segmentBadge: '2',
32
+ dropdown: '800',
33
+ popover: '850',
34
+ modalOverlay: '900',
35
+ modal: '901',
36
+ loadingOverlay: '1001',
37
+ },
38
+ borderRadius: '16px',
39
+ borderRadiusRound: '999px',
40
+ breakpoints: {
41
+ small: '321px',
42
+ medium: '721px',
43
+ large: '1025px',
44
+ xlarge: '60em',
45
+ xxlarge: '80em',
46
+ },
47
+ elevations: {
48
+ 2: 'rgba(28, 28, 28, 0.3) 0px 5px 10px -10px, rgba(28, 28, 28, 0.08) 0px 0px 5px 0px',
49
+ 4: 'rgba(28, 28, 28, 0.3) 0px 10px 15px -10px, rgba(28, 28, 28, 0.08) 0px 0px 5px 0px',
50
+ 8: 'rgba(28, 28, 28, 0.3) 0px 20px 30px -15px, rgba(28, 28, 28, 0.08) 0px 0px 5px 0px',
51
+ },
52
+ avatarSizes: { xs: '32px', s: '40px', m: '56px', l: '96px' },
53
+ avatarBadgeSize: '16px',
54
+ pageContentMaxWidth: '720px',
55
+ alertMaxWidth: '359px',
56
+ compactModalMaxWidth: '359px',
57
+ modalMaxWidth: '720px',
58
+ modalHeights: { s: '288px', m: '460px', l: '576px' },
59
+ modalDefaultHeight: '460px',
60
+ drawerDefaultHeight: '288px',
61
+ itemHeights: { m: '56px', s: '44px', xs: '32px' },
62
+ dropdownItemHeight: '44px',
63
+ fatFingerSize: '44px',
64
+ checkboxRadioSizes: { xs: '32px', sm: '44px', md: '56px' },
65
+ checkboxRadioSpacing: { toEdge: '16px', toLabel: '12px' },
66
+ softKeyboardTransitionEnter: '250ms ease-out 1ms',
67
+ softKeyboardTransitionLeave: '150ms ease-out',
68
+ transitionDurations: { quick: '200ms', short: '300ms', long: '500ms', extraLong: '1000ms' },
69
+ transitionEasings: {
70
+ static: 'linear',
71
+ enter: 'ease-out',
72
+ exit: 'ease-in',
73
+ enterExit: 'ease',
74
+ motion: 'cubic-bezier(0.25, 0.1, 0.25, 1)',
75
+ modal: { enter: 'cubic-bezier(0.32, 0.72, 0, 1)', exit: 'cubic-bezier(0.32, 0.72, 0, 1)' },
76
+ },
77
+ loadingOverlayBackdropOpacity: '0.8',
78
+ };
@@ -0,0 +1,6 @@
1
+ export {
2
+ DesignTokenHelper,
3
+ ThemeColorDefinition,
4
+ ThemeColorExtended,
5
+ ThemeColorVariant,
6
+ } from '@kirbydesign/core';
@@ -0,0 +1,28 @@
1
+ /*
2
+ Utility function to check if a given element
3
+ has an ancestor with a specific node name.
4
+
5
+ Can be given a 'stopNodeName' to limit the search
6
+ as to not climb all the way up through the DOM tree.
7
+
8
+ Returns true when element has the ancestorNodeName
9
+ or an ancestor has the ancestorNodeName.
10
+
11
+ Returns false otherwise.
12
+ */
13
+
14
+ export const elementHasAncestor = (
15
+ element: HTMLElement,
16
+ ancestorNodeName: string,
17
+ stopNodeName?: string
18
+ ) => {
19
+ switch (element?.nodeName) {
20
+ case undefined:
21
+ case stopNodeName?.toUpperCase():
22
+ return false;
23
+ case ancestorNodeName.toUpperCase():
24
+ return true;
25
+ default:
26
+ return elementHasAncestor(element.parentElement, ancestorNodeName, stopNodeName);
27
+ }
28
+ };
@@ -0,0 +1,8 @@
1
+ // re-export helpers from core, to preserve backwards compatability
2
+ // of 'designsystem' library
3
+ export * from './element-has-ancestor';
4
+ export * from './color-helper';
5
+ export * from './design-token-helper';
6
+ export * from './string-helper';
7
+ export * from './theme-color.type';
8
+ export * from './platform.service';
@@ -0,0 +1,28 @@
1
+ import { Injectable, Renderer2, RendererStyleFlags2 } from '@angular/core';
2
+
3
+ const config = Object.freeze({
4
+ className: 'kirby-line-clamp',
5
+ lineClamp: '--line-clamp',
6
+ lineHeight: '--line-height',
7
+ });
8
+
9
+ @Injectable()
10
+ export class LineClampHelper {
11
+ constructor(private renderer: Renderer2) {}
12
+
13
+ setMaxLines(element: Element, maxLines: number): void {
14
+ this.renderer.setStyle(element, config.lineClamp, maxLines, RendererStyleFlags2.DashCase);
15
+ this.renderer.addClass(element, config.className);
16
+ }
17
+
18
+ setLineHeight(element: Element, lineHeight: string): void {
19
+ // Only necessary for the fallback solution to work
20
+ this.renderer.setStyle(element, config.lineHeight, lineHeight, RendererStyleFlags2.DashCase);
21
+ }
22
+
23
+ removeLineClamp(element: Element) {
24
+ this.renderer.removeClass(element, config.className);
25
+ this.renderer.removeStyle(element, config.lineClamp);
26
+ this.renderer.removeStyle(element, config.lineHeight);
27
+ }
28
+ }
@@ -0,0 +1,11 @@
1
+ import { mergeDeep } from './merge-deep';
2
+
3
+ describe('mergeDeep', () => {
4
+ it('should deep merge provided objects, right into left', () => {
5
+ const combinedRes = mergeDeep(
6
+ { a: { a: 'will be overridden' }, b: 'will be overridden' },
7
+ { a: { a: 'new val' }, b: 'new val' }
8
+ );
9
+ expect(combinedRes).toEqual({ a: { a: 'new val' }, b: 'new val' });
10
+ });
11
+ });
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Performs a deep merge of objects and returns new object. Does not modify
3
+ * objects (immutable).
4
+ * It merges from into object to the left
5
+ * eg. mergeDeep({a: 'will be overridden', b: 'some val'}, {a: 'new val'}) => {a: 'new val', b: 'some val'}
6
+ *
7
+ * @param originalObject object - Object to override,
8
+ * @param overrideObject object - Object to override "toOverride" values with
9
+ * @param config object - Configuration for how to merge.
10
+ * mergeArrays determines if it should merge or override arrays
11
+ * @returns object - New object with merged key/values
12
+ */
13
+ export function mergeDeep(originalObject, overrideObject, config = { mergeArrays: false }) {
14
+ const isObject = (obj) => obj && typeof obj === 'object';
15
+
16
+ return [originalObject, overrideObject].reduce((mergedObject, obj) => {
17
+ Object.keys(obj).forEach((key) => {
18
+ const mergedObjectValue = mergedObject[key];
19
+ const overrideObjectValue = obj[key];
20
+
21
+ if (Array.isArray(mergedObjectValue) && Array.isArray(overrideObjectValue)) {
22
+ mergedObject[key] = config.mergeArrays
23
+ ? mergedObjectValue.concat(overrideObjectValue)
24
+ : overrideObjectValue;
25
+ } else if (isObject(mergedObjectValue) && isObject(overrideObjectValue)) {
26
+ mergedObject[key] = mergeDeep(mergedObjectValue, overrideObjectValue);
27
+ } else {
28
+ mergedObject[key] = overrideObjectValue;
29
+ }
30
+ });
31
+
32
+ return mergedObject;
33
+ }, {});
34
+ }
35
+
36
+ export function mergeDeepAll(...objects: Object[]): Object {
37
+ const objectsWithoutUndefined = objects.filter((object) => object !== undefined);
38
+ return objectsWithoutUndefined.reduce((originalObject, overrideObject) =>
39
+ mergeDeep(originalObject, overrideObject)
40
+ );
41
+ }
@@ -0,0 +1,22 @@
1
+ import { Injectable } from '@angular/core';
2
+
3
+ import { DesignTokenHelper } from '@kirbydesign/core';
4
+
5
+ import { WindowRef } from '../types/window-ref';
6
+
7
+ @Injectable({
8
+ providedIn: 'root',
9
+ })
10
+ export class PlatformService {
11
+ constructor(private windowRef: WindowRef) {}
12
+
13
+ isTouch() {
14
+ const isTouchDeviceQuery = '(pointer: coarse)'; // No check for `hover: none`, as Samsung Galaxy will return false on `hover: none` media query
15
+ return this.windowRef.nativeWindow.matchMedia(isTouchDeviceQuery).matches;
16
+ }
17
+
18
+ isPhabletOrBigger() {
19
+ const query = `(min-width: ${DesignTokenHelper.breakpoints.medium})`;
20
+ return this.windowRef.nativeWindow.matchMedia(query).matches;
21
+ }
22
+ }
@@ -0,0 +1,6 @@
1
+ export {
2
+ kebabToCamelCase,
3
+ kebabToTitleCase,
4
+ camelToKebabCase,
5
+ capitalizeFirstLetter,
6
+ } from '@kirbydesign/core';
@@ -0,0 +1 @@
1
+ export { ThemeColor } from '@kirbydesign/core';
@@ -0,0 +1,58 @@
1
+ import { UniqueIdGenerator } from './unique-id-generator.helper';
2
+
3
+ describe('UniqueIdGenerator', () => {
4
+ let service: UniqueIdGenerator;
5
+
6
+ beforeEach(() => {
7
+ service = UniqueIdGenerator.scopedTo('kirby-test');
8
+ });
9
+
10
+ it('should create service', () => {
11
+ expect(service).toBeInstanceOf(UniqueIdGenerator);
12
+ });
13
+
14
+ describe('next', () => {
15
+ it('should return unique ids', () => {
16
+ expect(service.next()).not.toEqual(service.next());
17
+ });
18
+ });
19
+
20
+ describe('scopedTo', () => {
21
+ let service1: UniqueIdGenerator;
22
+ let service2: UniqueIdGenerator;
23
+
24
+ describe('same scope', () => {
25
+ beforeEach(() => {
26
+ service1 = UniqueIdGenerator.scopedTo('same-scope');
27
+ service2 = UniqueIdGenerator.scopedTo('same-scope');
28
+ });
29
+
30
+ it('should return existing instance', () => {
31
+ expect(service2).toBe(service1);
32
+ });
33
+
34
+ describe('next', () => {
35
+ it('should return unique ids from each instance', () => {
36
+ expect(service1.next()).not.toEqual(service2.next());
37
+ });
38
+ });
39
+ });
40
+
41
+ describe('different scopes', () => {
42
+ beforeEach(() => {
43
+ service1 = UniqueIdGenerator.scopedTo('first-scope');
44
+ service2 = UniqueIdGenerator.scopedTo('second-scope');
45
+ });
46
+
47
+ it('should create new instance', () => {
48
+ expect(service2).not.toBe(service1);
49
+ });
50
+
51
+ describe('next', () => {
52
+ it('should return unique ids from each instance', () => {
53
+ expect(service1.next()).not.toEqual(service2.next());
54
+ });
55
+ });
56
+ });
57
+ });
58
+ });
@@ -0,0 +1,19 @@
1
+ export class UniqueIdGenerator {
2
+ private static registry = new Map<string, UniqueIdGenerator>();
3
+ private id = 0;
4
+
5
+ private constructor(private scope: string) {}
6
+
7
+ static scopedTo(scope: string) {
8
+ let scopedGenerator = UniqueIdGenerator.registry.get(scope);
9
+ if (!scopedGenerator) {
10
+ scopedGenerator = new UniqueIdGenerator(scope);
11
+ UniqueIdGenerator.registry.set(scope, scopedGenerator);
12
+ }
13
+ return scopedGenerator;
14
+ }
15
+
16
+ next(): string {
17
+ return `${this.scope}-${this.id++}`;
18
+ }
19
+ }
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 55.1 (78136) - https://sketchapp.com -->
4
+ <g id="QR" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M5.0884,5.3811 L5.0884,8.6061 C5.0884,8.7411 5.1994,8.8521 5.3364,8.8521 L8.3314,8.8521 C8.4674,8.8521 8.5794,8.7411 8.5794,8.6061 L8.5794,5.3811 C8.5794,5.2451 8.4674,5.1341 8.3314,5.1341 L5.3364,5.1341 C5.1994,5.1341 5.0884,5.2451 5.0884,5.3811 Z M5.3364,10.3341 C4.3804,10.3341 3.6024,9.5581 3.6024,8.6061 L3.6024,5.3811 C3.6024,4.4281 4.3804,3.6531 5.3364,3.6531 L8.3314,3.6531 C9.2874,3.6531 10.0654,4.4281 10.0654,5.3811 L10.0654,8.6061 C10.0654,9.5581 9.2874,10.3341 8.3314,10.3341 L5.3364,10.3341 Z M19.0146,8.2805 L19.0146,5.2285 C19.0146,5.0925 18.9036,4.9815 18.7666,4.9815 L15.7706,4.9815 C15.6346,4.9815 15.5236,5.0925 15.5236,5.2285 L15.5236,8.2805 C15.5236,8.4165 15.6346,8.5275 15.7706,8.5275 L18.7666,8.5275 C18.9036,8.5275 19.0146,8.4165 19.0146,8.2805 Z M18.7666,3.4995 C19.7226,3.4995 20.4996,4.2755 20.4996,5.2285 L20.4996,8.2805 C20.4996,9.2335 19.7226,10.0085 18.7666,10.0085 L15.7706,10.0085 C14.8156,10.0085 14.0366,9.2335 14.0366,8.2805 L14.0366,5.2285 C14.0366,4.2755 14.8156,3.4995 15.7706,3.4995 L18.7666,3.4995 Z M4.7979,11.2742 L5.6039,11.2742 C6.0139,11.2742 6.3469,11.6062 6.3469,12.0152 C6.3469,12.4232 6.0139,12.7552 5.6039,12.7552 L4.7979,12.7552 C4.3879,12.7552 4.0549,12.4232 4.0549,12.0152 C4.0549,11.6062 4.3879,11.2742 4.7979,11.2742 Z M9.6484,11.3357 C10.0584,11.3357 10.3914,11.6677 10.3914,12.0767 C10.3914,12.4847 10.0584,12.8167 9.6484,12.8167 L7.9174,12.8167 C7.5074,12.8167 7.1744,12.4847 7.1744,12.0767 C7.1744,11.6677 7.5074,11.3357 7.9174,11.3357 L9.6484,11.3357 Z M12.0205,10.6052 C11.6105,10.6052 11.2775,10.2732 11.2775,9.8642 L11.2775,9.0612 C11.2775,8.6512 11.6105,8.3202 12.0205,8.3202 C12.4305,8.3202 12.7635,8.6512 12.7635,9.0612 L12.7635,9.8642 C12.7635,10.2732 12.4305,10.6052 12.0205,10.6052 Z M12.082,7.4949 C11.672,7.4949 11.339,7.1629 11.339,6.7539 L11.339,5.0289 C11.339,4.6199 11.672,4.2879 12.082,4.2879 C12.492,4.2879 12.825,4.6199 12.825,5.0289 L12.825,6.7539 C12.825,7.1629 12.492,7.4949 12.082,7.4949 Z M12.8252,17.2908 C12.8252,17.6988 12.4922,18.0308 12.0822,18.0308 C11.6722,18.0308 11.3392,17.6988 11.3392,17.2908 L11.3392,17.0728 C11.3392,16.6648 11.6722,16.3328 12.0822,16.3328 C12.4922,16.3328 12.8252,16.6648 12.8252,17.0728 L12.8252,17.2908 Z M15.1738,19.0183 C15.5838,19.0183 15.9168,19.3503 15.9168,19.7593 C15.9168,20.1683 15.5838,20.4993 15.1738,20.4993 L12.7348,20.4993 C12.3248,20.4993 11.9918,20.1683 11.9918,19.7593 C11.9918,19.3503 12.3248,19.0183 12.7348,19.0183 L15.1738,19.0183 Z M18.873,13.8191 C19.283,13.8191 19.616,14.1501 19.616,14.5591 C19.616,14.9681 19.283,15.2991 18.873,15.2991 L17.886,15.2991 C17.476,15.2991 17.143,14.9681 17.143,14.5591 C17.143,14.1501 17.476,13.8191 17.886,13.8191 L18.873,13.8191 Z M12.0195,15.5457 C11.6095,15.5457 11.2765,15.2147 11.2765,14.8057 L11.2765,14.2887 C11.2765,13.8807 11.6095,13.5487 12.0195,13.5487 C12.4295,13.5487 12.7625,13.8807 12.7625,14.2887 L12.7625,14.8057 C12.7625,15.2147 12.4295,15.5457 12.0195,15.5457 Z M12.1616,12.0149 C12.1616,11.6059 12.4946,11.2739 12.9046,11.2739 L13.1886,11.2739 C13.5986,11.2739 13.9316,11.6059 13.9316,12.0149 C13.9316,12.4239 13.5986,12.7549 13.1886,12.7549 L12.9046,12.7549 C12.4946,12.7549 12.1616,12.4239 12.1616,12.0149 Z M17.4111,6.0139 C17.8211,6.0139 18.1541,6.3459 18.1541,6.7539 C18.1541,7.1629 17.8211,7.4949 17.4111,7.4949 L17.1271,7.4949 C16.7171,7.4949 16.3841,7.1629 16.3841,6.7539 C16.3841,6.3459 16.7171,6.0139 17.1271,6.0139 L17.4111,6.0139 Z M20.1924,12.0149 C20.1924,12.4239 19.8594,12.7549 19.4494,12.7549 L15.5374,12.7549 C15.1274,12.7549 14.7954,12.4239 14.7954,12.0149 C14.7954,11.6059 15.1274,11.2739 15.5374,11.2739 L19.4494,11.2739 C19.8594,11.2739 20.1924,11.6059 20.1924,12.0149 Z M18.3311,17.073 C18.3311,17.482 17.9981,17.814 17.5881,17.814 L16.5251,17.814 C16.1151,17.814 15.7821,17.482 15.7821,17.073 C15.7821,16.665 16.1151,16.333 16.5251,16.333 L17.5881,16.333 C17.9981,16.333 18.3311,16.665 18.3311,17.073 Z M6.6914,7.7341 C6.2814,7.7341 5.9484,7.4021 5.9484,6.9931 C5.9484,6.5851 6.2814,6.2531 6.6914,6.2531 L6.9764,6.2531 C7.3864,6.2531 7.7194,6.5851 7.7194,6.9931 C7.7194,7.4021 7.3864,7.7341 6.9764,7.7341 L6.6914,7.7341 Z M6.9062,16.4187 C7.3162,16.4187 7.6492,16.7507 7.6492,17.1587 C7.6492,17.5677 7.3162,17.8997 6.9062,17.8997 L6.6212,17.8997 C6.2112,17.8997 5.8792,17.5677 5.8792,17.1587 C5.8792,16.7507 6.2112,16.4187 6.6212,16.4187 L6.9062,16.4187 Z M19.7568,16.3328 C20.1668,16.3328 20.4998,16.6648 20.4998,17.0728 L20.4998,19.7598 C20.4998,20.1688 20.1668,20.4998 19.7568,20.4998 L17.8858,20.4998 C17.4758,20.4998 17.1428,20.1688 17.1428,19.7598 C17.1428,19.3508 17.4758,19.0188 17.8858,19.0188 L19.0148,19.0188 L19.0148,17.0728 C19.0148,16.6648 19.3468,16.3328 19.7568,16.3328 Z M14.7803,16.6667 C14.3703,16.6667 14.0373,16.3347 14.0373,15.9257 L14.0373,14.5597 C14.0373,14.1497 14.3703,13.8187 14.7803,13.8187 L15.5373,13.8187 C15.9473,13.8187 16.2803,14.1497 16.2803,14.5597 C16.2803,14.9687 15.9473,15.2997 15.5373,15.2997 L15.5233,15.2997 L15.5233,15.9257 C15.5233,16.3347 15.1903,16.6667 14.7803,16.6667 Z M8.543,18.7722 L8.543,15.5462 C8.543,15.4112 8.432,15.2992 8.295,15.2992 L5.233,15.2992 C5.097,15.2992 4.986,15.4112 4.986,15.5462 L4.986,18.7722 C4.986,18.9082 5.097,19.0182 5.233,19.0182 L8.295,19.0182 C8.432,19.0182 8.543,18.9082 8.543,18.7722 Z M8.295,13.8192 C9.251,13.8192 10.029,14.5942 10.029,15.5462 L10.029,18.7722 C10.029,19.7242 9.251,20.5002 8.295,20.5002 L5.233,20.5002 C4.278,20.5002 3.5,19.7242 3.5,18.7722 L3.5,15.5462 C3.5,14.5942 4.278,13.8192 5.233,13.8192 L8.295,13.8192 Z" id="icon-color" fill="currentColor" fill-rule="nonzero"></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 57.1 (83088) - https://sketch.com -->
4
+ <title>accounts-outline</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="accounts-outline" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <path d="M16.288,4 C17.58,4 18.631,5.047 18.631,6.335 L18.631,6.335 L18.631,6.852 C19.951,6.939 20.999,7.967 20.999,9.232 L20.999,9.232 L20.999,17.602 C20.999,18.924 19.858,20 18.455,20 L18.455,20 L5.545,20 C4.142,20 3,18.924 3,17.602 L3,17.602 L3,6.104 C3,4.944 3.947,4 5.111,4 L5.111,4 Z M4.482,8.208 L4.482,17.602 C4.482,18.109 4.959,18.521 5.545,18.521 L5.545,18.521 L18.455,18.521 C19.041,18.521 19.517,18.109 19.517,17.602 L19.517,17.602 L19.517,16.127 L17.404,16.127 C15.956,16.127 14.779,14.953 14.779,13.509 L14.779,13.509 L14.779,13.365 C14.779,11.921 15.956,10.748 17.404,10.748 L17.404,10.748 L19.517,10.748 L19.517,9.232 C19.517,8.726 19.041,8.314 18.455,8.314 L18.455,8.314 L5.111,8.314 C4.891,8.314 4.682,8.271 4.482,8.208 L4.482,8.208 Z M19.517,12.226 L17.404,12.226 C16.775,12.226 16.262,12.737 16.262,13.365 L16.262,13.365 L16.262,13.509 C16.262,14.137 16.775,14.648 17.404,14.648 L17.404,14.648 L19.517,14.648 L19.517,12.226 Z M17.5837,12.7631 C17.9567,12.7631 18.2607,13.0651 18.2607,13.4371 C18.2607,13.8091 17.9567,14.1121 17.5837,14.1121 C17.2097,14.1121 16.9067,13.8091 16.9067,13.4371 C16.9067,13.0651 17.2097,12.7631 17.5837,12.7631 Z M16.288,5.478 L5.111,5.478 C4.765,5.478 4.482,5.759 4.482,6.104 L4.482,6.104 L4.482,6.21 C4.482,6.554 4.765,6.836 5.111,6.836 L5.111,6.836 L17.148,6.836 L17.148,6.335 C17.148,5.862 16.762,5.478 16.288,5.478 L16.288,5.478 Z" id="Combined-Shape" fill="currentColor" fill-rule="nonzero"></path>
8
+ </g>
9
+ </svg>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 57.1 (83088) - https://sketch.com -->
4
+ <title>accounts</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="accounts" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <path d="M16.4262,4 C17.5322,4 18.4262,5.01 18.4262,6.258 L18.4262,6.258 L18.4262,6.746 L19.0002,6.746 C20.1042,6.746 21.0002,7.647 21.0002,8.759 L21.0002,8.759 L21.0002,10.702 L17.4292,10.702 C15.9662,10.702 14.7792,11.896 14.7792,13.37 L14.7792,13.37 C14.7792,14.849 15.9662,16.044 17.4292,16.044 L17.4292,16.044 L21.0002,16.044 L21.0002,17.986 C21.0002,19.098 20.1042,20 19.0002,20 L19.0002,20 L5.0002,20 C3.8952,20 3.0002,19.098 3.0002,17.986 L3.0002,17.986 L3.0002,6.258 C3.0002,5.01 3.8952,4 5.0002,4 L5.0002,4 Z M20.9994,11.9168 L20.9994,14.8288 L17.4744,14.8288 C16.6904,14.8288 16.0544,14.1768 16.0544,13.3728 C16.0544,12.5678 16.6904,11.9168 17.4744,11.9168 L17.4744,11.9168 L20.9994,11.9168 Z M17.5054,12.6338 C17.1074,12.6338 16.7844,12.9648 16.7844,13.3728 C16.7844,13.7808 17.1074,14.1118 17.5054,14.1118 C17.9034,14.1118 18.2264,13.7808 18.2264,13.3728 C18.2264,12.9648 17.9034,12.6338 17.5054,12.6338 Z M16.2452,5.446 L5.2382,5.446 C4.8732,5.446 4.5732,5.74 4.5732,6.1 C4.5732,6.444 4.8502,6.721 5.1942,6.746 L5.1942,6.746 L16.9732,6.746 L16.9732,6.272 C16.9732,5.748 16.6672,5.446 16.2452,5.446 L16.2452,5.446 Z" id="icon-color" fill="currentColor" fill-rule="nonzero"></path>
8
+ </g>
9
+ </svg>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 55.1 (78136) - https://sketchapp.com -->
4
+ <g id="add" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M11.274,12.7256 L5.2254,12.7256 C4.8254,12.7256 4.5004,12.4006 4.5004,11.9996 C4.5004,11.5996 4.8254,11.2746 5.2254,11.2746 L11.274,11.2746 L11.274,5.226 C11.274,4.825 11.599,4.5 12,4.5 C12.401,4.5 12.726,4.825 12.726,5.226 L12.726,11.2746 L18.7744,11.2746 C19.1744,11.2746 19.5004,11.5996 19.5004,11.9996 C19.5004,12.4006 19.1744,12.7256 18.7744,12.7256 L12.726,12.7256 L12.726,18.774 C12.726,19.175 12.401,19.5 12,19.5 C11.599,19.5 11.274,19.175 11.274,18.774 L11.274,12.7256 Z" id="icon-color" fill="currentColor" fill-rule="nonzero"></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 55.1 (78136) - https://sketchapp.com -->
4
+ <g id="arrow-back" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M15.1896,18.9998 C14.9736,18.9998 14.7596,18.9218 14.6006,18.7678 L8.2116,12.4948 C7.9296,12.2178 7.9296,11.7908 8.2116,11.5138 L14.6116,5.2328 C14.9126,4.9388 15.4186,4.9208 15.7436,5.1918 C16.0666,5.4628 16.0876,5.9208 15.7886,6.2148 L9.8886,12.0038 L15.7786,17.7848 C16.0776,18.0788 16.0566,18.5368 15.7326,18.8088 C15.5786,18.9378 15.3836,18.9998 15.1896,18.9998" id="icon-color" fill="currentColor" fill-rule="nonzero"></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 55.1 (78136) - https://sketchapp.com -->
4
+ <g id="arrow-down" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M15.1895231,18.9999293 C14.9735231,18.9999293 14.7595231,18.9219293 14.6005231,18.7679293 L8.21152308,12.4949293 C7.92952308,12.2179293 7.92952308,11.7909293 8.21152308,11.5139293 L14.6115231,5.23292929 C14.9125231,4.93892929 15.4185231,4.92092929 15.7435231,5.19192929 C16.0665231,5.46292929 16.0875231,5.92092929 15.7885231,6.21492929 L9.88852308,12.0039293 L15.7785231,17.7849293 C16.0775231,18.0789293 16.0565231,18.5369293 15.7325231,18.8089293 C15.5785231,18.9379293 15.3835231,18.9999293 15.1895231,18.9999293" id="icon-color" fill="currentColor" fill-rule="nonzero" transform="translate(11.999976, 11.999953) rotate(-90.000000) translate(-11.999976, -11.999953) "></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 55.1 (78136) - https://sketchapp.com -->
4
+ <g id="arrow-more" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M15.1895,18.9999524 C14.9735,18.9999524 14.7595,18.9219524 14.6005,18.7679524 L8.2115,12.4949524 C7.9295,12.2179524 7.9295,11.7909524 8.2115,11.5139524 L14.6115,5.23295237 C14.9125,4.93895237 15.4185,4.92095237 15.7435,5.19195237 C16.0665,5.46295237 16.0875,5.92095237 15.7885,6.21495237 L9.8885,12.0039524 L15.7785,17.7849524 C16.0775,18.0789524 16.0565,18.5369524 15.7325,18.8089524 C15.5785,18.9379524 15.3835,18.9999524 15.1895,18.9999524" id="icon-color" fill="currentColor" fill-rule="nonzero" transform="translate(11.999953, 11.999976) rotate(-180.000000) translate(-11.999953, -11.999976) "></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 55.1 (78136) - https://sketchapp.com -->
4
+ <g id="arrow-up" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M15.1895231,18.9999293 C14.9735231,18.9999293 14.7595231,18.9219293 14.6005231,18.7679293 L8.21152308,12.4949293 C7.92952308,12.2179293 7.92952308,11.7909293 8.21152308,11.5139293 L14.6115231,5.23292929 C14.9125231,4.93892929 15.4185231,4.92092929 15.7435231,5.19192929 C16.0665231,5.46292929 16.0875231,5.92092929 15.7885231,6.21492929 L9.88852308,12.0039293 L15.7785231,17.7849293 C16.0775231,18.0789293 16.0565231,18.5369293 15.7325231,18.8089293 C15.5785231,18.9379293 15.3835231,18.9999293 15.1895231,18.9999293" id="icon-color" fill="currentColor" fill-rule="nonzero" transform="translate(11.999976, 11.999953) rotate(-270.000000) translate(-11.999976, -11.999953) "></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 55.1 (78136) - https://sketchapp.com -->
4
+ <g id="attach" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <path d="M9.18,19.9996 C8.247,19.9996 7.325,19.7276 6.56,19.2126 C4.459,17.7986 3.86,14.8546 5.253,12.7846 L9.317,6.7446 C9.555,6.3906 10.034,6.2966 10.388,6.5346 C10.742,6.7726 10.836,7.2526 10.598,7.6056 L6.534,13.6466 C5.609,15.0226 6.015,16.9846 7.422,17.9326 C8.087,18.3786 8.935,18.5516 9.746,18.4056 C10.574,18.2576 11.277,17.8076 11.726,17.1396 L17.619,8.3796 C17.901,7.9596 18.011,7.4666 17.929,6.9906 C17.848,6.5216 17.587,6.1186 17.193,5.8536 C16.347,5.2846 15.151,5.5056 14.59,6.3416 L9.37,14.1006 C9.205,14.3456 9.262,14.6746 9.497,14.8336 C9.732,14.9926 10.062,14.9226 10.227,14.6766 L13.888,9.2346 C14.126,8.8816 14.604,8.7876 14.96,9.0246 C15.314,9.2626 15.407,9.7426 15.17,10.0966 L11.508,15.5386 C10.868,16.4906 9.58,16.7476 8.635,16.1146 C7.694,15.4796 7.449,14.1896 8.089,13.2376 L13.308,5.4806 C14.336,3.9496 16.509,3.5346 18.055,4.5726 C18.802,5.0756 19.297,5.8406 19.45,6.7266 C19.601,7.5976 19.405,8.4906 18.899,9.2416 L13.007,18.0016 C12.323,19.0196 11.261,19.7026 10.019,19.9256 C9.741,19.9766 9.46,19.9996 9.18,19.9996" id="icon-color" fill="currentColor" fill-rule="nonzero"></path>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 57.1 (83088) - https://sketch.com -->
4
+ <title>backspace</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="backspace" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <path d="M22,3 C23.1,3 24,3.9 24,5 L24,5 L24,19 C24,20.1 23.1,21 22,21 L22,21 L7,21 C6.31,21 5.77,20.64 5.41,20.11 L5.41,20.11 L0,12 L5.41,3.88 C5.77,3.35 6.31,3 7,3 L7,3 Z M17.59,7 L14,10.59 L10.41,7 L9,8.41 L12.59,12 L9,15.59 L10.41,17 L14,13.41 L17.59,17 L19,15.59 L15.41,12 L19,8.41 L17.59,7 Z" id="icon-color" fill="currentColor" fill-rule="nonzero"></path>
8
+ </g>
9
+ </svg>