@dktunited-techoff/techoff-suite-ui 0.8.5 → 0.8.7

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 (295) hide show
  1. package/package.json +1 -1
  2. package/src/components/Icon/icons/index.ts +1 -1
  3. package/src/layouts/Header/Header.css +15 -23
  4. package/src/layouts/Header/Header.tsx +9 -4
  5. package/src/layouts/Header/Header.types.ts +1 -0
  6. package/src/layouts/Header/__stories__/Header.stories.mdx +11 -3
  7. package/src/layouts/Navigation/Navigation.css +1 -1
  8. package/esm/assets/fonts/Montserrat-Medium.ttf +0 -0
  9. package/esm/components/Button/Button.css +0 -93
  10. package/esm/components/Button/Button.d.ts +0 -5
  11. package/esm/components/Button/Button.js +0 -17
  12. package/esm/components/Button/Button.js.map +0 -1
  13. package/esm/components/Button/Button.types.d.ts +0 -9
  14. package/esm/components/Button/Button.types.js +0 -2
  15. package/esm/components/Button/Button.types.js.map +0 -1
  16. package/esm/components/Button/__stories__/Button.stories.mdx +0 -74
  17. package/esm/components/Checkbox/Checkbox.css +0 -61
  18. package/esm/components/Checkbox/Checkbox.d.ts +0 -7
  19. package/esm/components/Checkbox/Checkbox.js +0 -21
  20. package/esm/components/Checkbox/Checkbox.js.map +0 -1
  21. package/esm/components/Checkbox/Checkbox.types.d.ts +0 -4
  22. package/esm/components/Checkbox/Checkbox.types.js +0 -2
  23. package/esm/components/Checkbox/Checkbox.types.js.map +0 -1
  24. package/esm/components/Checkbox/__stories__/Checkbox.stories.mdx +0 -43
  25. package/esm/components/Icon/Icon.css +0 -26
  26. package/esm/components/Icon/Icon.d.ts +0 -4
  27. package/esm/components/Icon/Icon.js +0 -12
  28. package/esm/components/Icon/Icon.js.map +0 -1
  29. package/esm/components/Icon/Icon.types.d.ts +0 -4
  30. package/esm/components/Icon/Icon.types.js +0 -2
  31. package/esm/components/Icon/Icon.types.js.map +0 -1
  32. package/esm/components/Icon/__stories__/Icon.stories.mdx +0 -88
  33. package/esm/components/Icon/icons/alert-fill.svg +0 -1
  34. package/esm/components/Icon/icons/alert-line.svg +0 -1
  35. package/esm/components/Icon/icons/arrow-back.svg +0 -1
  36. package/esm/components/Icon/icons/arrow-down.svg +0 -1
  37. package/esm/components/Icon/icons/arrow-left.svg +0 -1
  38. package/esm/components/Icon/icons/arrow-right-.svg +0 -1
  39. package/esm/components/Icon/icons/arrow-up.svg +0 -1
  40. package/esm/components/Icon/icons/arrows-up-down.svg +0 -1
  41. package/esm/components/Icon/icons/check-circle-fill.svg +0 -1
  42. package/esm/components/Icon/icons/check-circle.svg +0 -1
  43. package/esm/components/Icon/icons/check.svg +0 -1
  44. package/esm/components/Icon/icons/chevron-down.svg +0 -1
  45. package/esm/components/Icon/icons/chevron-left.svg +0 -1
  46. package/esm/components/Icon/icons/chevron-right.svg +0 -1
  47. package/esm/components/Icon/icons/chevron-up.svg +0 -1
  48. package/esm/components/Icon/icons/circle.svg +0 -1
  49. package/esm/components/Icon/icons/dots-vertical.svg +0 -1
  50. package/esm/components/Icon/icons/download.svg +0 -1
  51. package/esm/components/Icon/icons/edit.svg +0 -1
  52. package/esm/components/Icon/icons/external-link.svg +0 -1
  53. package/esm/components/Icon/icons/filter-off.svg +0 -1
  54. package/esm/components/Icon/icons/filter.svg +0 -1
  55. package/esm/components/Icon/icons/header-bikestudio.svg +0 -32
  56. package/esm/components/Icon/icons/header-nsc-helmet.svg +0 -32
  57. package/esm/components/Icon/icons/header-opticost.svg +0 -32
  58. package/esm/components/Icon/icons/heart-fill.svg +0 -1
  59. package/esm/components/Icon/icons/heart.svg +0 -1
  60. package/esm/components/Icon/icons/home.svg +0 -1
  61. package/esm/components/Icon/icons/houglass.svg +0 -1
  62. package/esm/components/Icon/icons/in-progress.svg +0 -18
  63. package/esm/components/Icon/icons/index.d.ts +0 -3
  64. package/esm/components/Icon/icons/index.js +0 -49
  65. package/esm/components/Icon/icons/index.js.map +0 -1
  66. package/esm/components/Icon/icons/index.ts +0 -48
  67. package/esm/components/Icon/icons/lightning-off.svg +0 -1
  68. package/esm/components/Icon/icons/lightning.svg +0 -1
  69. package/esm/components/Icon/icons/list-settings.svg +0 -1
  70. package/esm/components/Icon/icons/lock.svg +0 -1
  71. package/esm/components/Icon/icons/plus-circle.svg +0 -1
  72. package/esm/components/Icon/icons/plus.svg +0 -1
  73. package/esm/components/Icon/icons/search.svg +0 -1
  74. package/esm/components/Icon/icons/seed-2.svg +0 -1
  75. package/esm/components/Icon/icons/square-check-fill.svg +0 -1
  76. package/esm/components/Icon/icons/square.svg +0 -1
  77. package/esm/components/Icon/icons/tools.svg +0 -1
  78. package/esm/components/Icon/icons/user.svg +0 -1
  79. package/esm/components/Icon/icons/waiting-validation.svg +0 -19
  80. package/esm/components/Icon/icons/x-circle-fill.svg +0 -1
  81. package/esm/components/Icon/icons/x.svg +0 -1
  82. package/esm/components/Inputs/BooleanInput/BooleanInput.css +0 -51
  83. package/esm/components/Inputs/BooleanInput/BooleanInput.d.ts +0 -4
  84. package/esm/components/Inputs/BooleanInput/BooleanInput.js +0 -13
  85. package/esm/components/Inputs/BooleanInput/BooleanInput.js.map +0 -1
  86. package/esm/components/Inputs/BooleanInput/BooleanInput.tsx +0 -24
  87. package/esm/components/Inputs/BooleanInput/BooleanInput.types.d.ts +0 -7
  88. package/esm/components/Inputs/BooleanInput/BooleanInput.types.js +0 -2
  89. package/esm/components/Inputs/BooleanInput/BooleanInput.types.js.map +0 -1
  90. package/esm/components/Inputs/BooleanInput/BooleanInput.types.ts +0 -7
  91. package/esm/components/Inputs/BooleanInput/__stories__/BooleanInput.stories.mdx +0 -44
  92. package/esm/components/Inputs/TextInput/TextInput.css +0 -42
  93. package/esm/components/Inputs/TextInput/TextInput.d.ts +0 -4
  94. package/esm/components/Inputs/TextInput/TextInput.js +0 -16
  95. package/esm/components/Inputs/TextInput/TextInput.js.map +0 -1
  96. package/esm/components/Inputs/TextInput/TextInput.tsx +0 -24
  97. package/esm/components/Inputs/TextInput/TextInput.types.d.ts +0 -8
  98. package/esm/components/Inputs/TextInput/TextInput.types.js +0 -2
  99. package/esm/components/Inputs/TextInput/TextInput.types.js.map +0 -1
  100. package/esm/components/Inputs/TextInput/TextInput.types.ts +0 -8
  101. package/esm/components/Inputs/TextInput/__stories__/TextInput.stories.mdx +0 -55
  102. package/esm/components/Loader/Loader.css +0 -42
  103. package/esm/components/Loader/Loader.d.ts +0 -4
  104. package/esm/components/Loader/Loader.js +0 -6
  105. package/esm/components/Loader/Loader.js.map +0 -1
  106. package/esm/components/Loader/Loader.types.d.ts +0 -3
  107. package/esm/components/Loader/Loader.types.js +0 -2
  108. package/esm/components/Loader/Loader.types.js.map +0 -1
  109. package/esm/components/Loader/__stories__/Loader.stories.mdx +0 -30
  110. package/esm/index.d.ts +0 -9
  111. package/esm/index.js +0 -10
  112. package/esm/index.js.map +0 -1
  113. package/esm/layouts/Header/Header.css +0 -83
  114. package/esm/layouts/Header/Header.d.ts +0 -4
  115. package/esm/layouts/Header/Header.js +0 -14
  116. package/esm/layouts/Header/Header.js.map +0 -1
  117. package/esm/layouts/Header/Header.types.d.ts +0 -4
  118. package/esm/layouts/Header/Header.types.js +0 -2
  119. package/esm/layouts/Header/Header.types.js.map +0 -1
  120. package/esm/layouts/Header/HeaderActions.d.ts +0 -3
  121. package/esm/layouts/Header/HeaderActions.js +0 -7
  122. package/esm/layouts/Header/HeaderActions.js.map +0 -1
  123. package/esm/layouts/Header/HeaderProfile.d.ts +0 -3
  124. package/esm/layouts/Header/HeaderProfile.js +0 -16
  125. package/esm/layouts/Header/HeaderProfile.js.map +0 -1
  126. package/esm/layouts/Header/HeaderTitle.d.ts +0 -3
  127. package/esm/layouts/Header/HeaderTitle.js +0 -11
  128. package/esm/layouts/Header/HeaderTitle.js.map +0 -1
  129. package/esm/layouts/Header/__stories__/Header.stories.mdx +0 -36
  130. package/esm/layouts/Navigation/Navigation.css +0 -74
  131. package/esm/layouts/Navigation/Navigation.d.ts +0 -4
  132. package/esm/layouts/Navigation/Navigation.js +0 -15
  133. package/esm/layouts/Navigation/Navigation.js.map +0 -1
  134. package/esm/layouts/Navigation/Navigation.types.d.ts +0 -5
  135. package/esm/layouts/Navigation/Navigation.types.js +0 -2
  136. package/esm/layouts/Navigation/Navigation.types.js.map +0 -1
  137. package/esm/layouts/Navigation/NavigationActions.d.ts +0 -4
  138. package/esm/layouts/Navigation/NavigationActions.js +0 -4
  139. package/esm/layouts/Navigation/NavigationActions.js.map +0 -1
  140. package/esm/layouts/Navigation/NavigationBreadcrumb.d.ts +0 -6
  141. package/esm/layouts/Navigation/NavigationBreadcrumb.js +0 -26
  142. package/esm/layouts/Navigation/NavigationBreadcrumb.js.map +0 -1
  143. package/esm/layouts/Navigation/__stories__/Navigation.stories.mdx +0 -46
  144. package/esm/utils/string.utils.d.ts +0 -1
  145. package/esm/utils/string.utils.js +0 -2
  146. package/esm/utils/string.utils.js.map +0 -1
  147. package/esm/utils/validator.utils.d.ts +0 -2
  148. package/esm/utils/validator.utils.js +0 -5
  149. package/esm/utils/validator.utils.js.map +0 -1
  150. package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
  151. package/lib/components/Button/Button.css +0 -93
  152. package/lib/components/Button/Button.d.ts +0 -5
  153. package/lib/components/Button/Button.js +0 -21
  154. package/lib/components/Button/Button.js.map +0 -1
  155. package/lib/components/Button/Button.types.d.ts +0 -9
  156. package/lib/components/Button/Button.types.js +0 -3
  157. package/lib/components/Button/Button.types.js.map +0 -1
  158. package/lib/components/Button/__stories__/Button.stories.mdx +0 -74
  159. package/lib/components/Checkbox/Checkbox.css +0 -61
  160. package/lib/components/Checkbox/Checkbox.d.ts +0 -7
  161. package/lib/components/Checkbox/Checkbox.js +0 -27
  162. package/lib/components/Checkbox/Checkbox.js.map +0 -1
  163. package/lib/components/Checkbox/Checkbox.types.d.ts +0 -4
  164. package/lib/components/Checkbox/Checkbox.types.js +0 -3
  165. package/lib/components/Checkbox/Checkbox.types.js.map +0 -1
  166. package/lib/components/Checkbox/__stories__/Checkbox.stories.mdx +0 -43
  167. package/lib/components/Icon/Icon.css +0 -26
  168. package/lib/components/Icon/Icon.d.ts +0 -4
  169. package/lib/components/Icon/Icon.js +0 -16
  170. package/lib/components/Icon/Icon.js.map +0 -1
  171. package/lib/components/Icon/Icon.types.d.ts +0 -4
  172. package/lib/components/Icon/Icon.types.js +0 -3
  173. package/lib/components/Icon/Icon.types.js.map +0 -1
  174. package/lib/components/Icon/__stories__/Icon.stories.mdx +0 -88
  175. package/lib/components/Icon/icons/alert-fill.svg +0 -1
  176. package/lib/components/Icon/icons/alert-line.svg +0 -1
  177. package/lib/components/Icon/icons/arrow-back.svg +0 -1
  178. package/lib/components/Icon/icons/arrow-down.svg +0 -1
  179. package/lib/components/Icon/icons/arrow-left.svg +0 -1
  180. package/lib/components/Icon/icons/arrow-right-.svg +0 -1
  181. package/lib/components/Icon/icons/arrow-up.svg +0 -1
  182. package/lib/components/Icon/icons/arrows-up-down.svg +0 -1
  183. package/lib/components/Icon/icons/check-circle-fill.svg +0 -1
  184. package/lib/components/Icon/icons/check-circle.svg +0 -1
  185. package/lib/components/Icon/icons/check.svg +0 -1
  186. package/lib/components/Icon/icons/chevron-down.svg +0 -1
  187. package/lib/components/Icon/icons/chevron-left.svg +0 -1
  188. package/lib/components/Icon/icons/chevron-right.svg +0 -1
  189. package/lib/components/Icon/icons/chevron-up.svg +0 -1
  190. package/lib/components/Icon/icons/circle.svg +0 -1
  191. package/lib/components/Icon/icons/dots-vertical.svg +0 -1
  192. package/lib/components/Icon/icons/download.svg +0 -1
  193. package/lib/components/Icon/icons/edit.svg +0 -1
  194. package/lib/components/Icon/icons/external-link.svg +0 -1
  195. package/lib/components/Icon/icons/filter-off.svg +0 -1
  196. package/lib/components/Icon/icons/filter.svg +0 -1
  197. package/lib/components/Icon/icons/header-bikestudio.svg +0 -32
  198. package/lib/components/Icon/icons/header-nsc-helmet.svg +0 -32
  199. package/lib/components/Icon/icons/header-opticost.svg +0 -32
  200. package/lib/components/Icon/icons/header-reparability.svg +0 -32
  201. package/lib/components/Icon/icons/heart-fill.svg +0 -1
  202. package/lib/components/Icon/icons/heart.svg +0 -1
  203. package/lib/components/Icon/icons/home.svg +0 -1
  204. package/lib/components/Icon/icons/houglass.svg +0 -1
  205. package/lib/components/Icon/icons/in-progress.svg +0 -18
  206. package/lib/components/Icon/icons/index.d.ts +0 -3
  207. package/lib/components/Icon/icons/index.js +0 -52
  208. package/lib/components/Icon/icons/index.js.map +0 -1
  209. package/lib/components/Icon/icons/index.ts +0 -48
  210. package/lib/components/Icon/icons/lightning-off.svg +0 -1
  211. package/lib/components/Icon/icons/lightning.svg +0 -1
  212. package/lib/components/Icon/icons/list-settings.svg +0 -1
  213. package/lib/components/Icon/icons/lock.svg +0 -1
  214. package/lib/components/Icon/icons/plus-circle.svg +0 -1
  215. package/lib/components/Icon/icons/plus.svg +0 -1
  216. package/lib/components/Icon/icons/search.svg +0 -1
  217. package/lib/components/Icon/icons/seed-2.svg +0 -1
  218. package/lib/components/Icon/icons/square-check-fill.svg +0 -1
  219. package/lib/components/Icon/icons/square.svg +0 -1
  220. package/lib/components/Icon/icons/tools.svg +0 -1
  221. package/lib/components/Icon/icons/user.svg +0 -1
  222. package/lib/components/Icon/icons/waiting-validation.svg +0 -19
  223. package/lib/components/Icon/icons/x-circle-fill.svg +0 -1
  224. package/lib/components/Icon/icons/x.svg +0 -1
  225. package/lib/components/Inputs/BooleanInput/BooleanInput.css +0 -51
  226. package/lib/components/Inputs/BooleanInput/BooleanInput.d.ts +0 -4
  227. package/lib/components/Inputs/BooleanInput/BooleanInput.js +0 -17
  228. package/lib/components/Inputs/BooleanInput/BooleanInput.js.map +0 -1
  229. package/lib/components/Inputs/BooleanInput/BooleanInput.tsx +0 -24
  230. package/lib/components/Inputs/BooleanInput/BooleanInput.types.d.ts +0 -7
  231. package/lib/components/Inputs/BooleanInput/BooleanInput.types.js +0 -3
  232. package/lib/components/Inputs/BooleanInput/BooleanInput.types.js.map +0 -1
  233. package/lib/components/Inputs/BooleanInput/BooleanInput.types.ts +0 -7
  234. package/lib/components/Inputs/BooleanInput/__stories__/BooleanInput.stories.mdx +0 -44
  235. package/lib/components/Inputs/TextInput/TextInput.css +0 -42
  236. package/lib/components/Inputs/TextInput/TextInput.d.ts +0 -4
  237. package/lib/components/Inputs/TextInput/TextInput.js +0 -20
  238. package/lib/components/Inputs/TextInput/TextInput.js.map +0 -1
  239. package/lib/components/Inputs/TextInput/TextInput.tsx +0 -24
  240. package/lib/components/Inputs/TextInput/TextInput.types.d.ts +0 -8
  241. package/lib/components/Inputs/TextInput/TextInput.types.js +0 -3
  242. package/lib/components/Inputs/TextInput/TextInput.types.js.map +0 -1
  243. package/lib/components/Inputs/TextInput/TextInput.types.ts +0 -8
  244. package/lib/components/Inputs/TextInput/__stories__/TextInput.stories.mdx +0 -55
  245. package/lib/components/Loader/Loader.css +0 -42
  246. package/lib/components/Loader/Loader.d.ts +0 -4
  247. package/lib/components/Loader/Loader.js +0 -10
  248. package/lib/components/Loader/Loader.js.map +0 -1
  249. package/lib/components/Loader/Loader.types.d.ts +0 -3
  250. package/lib/components/Loader/Loader.types.js +0 -3
  251. package/lib/components/Loader/Loader.types.js.map +0 -1
  252. package/lib/components/Loader/__stories__/Loader.stories.mdx +0 -30
  253. package/lib/index.d.ts +0 -9
  254. package/lib/index.js +0 -26
  255. package/lib/index.js.map +0 -1
  256. package/lib/layouts/Header/Header.css +0 -83
  257. package/lib/layouts/Header/Header.d.ts +0 -4
  258. package/lib/layouts/Header/Header.js +0 -18
  259. package/lib/layouts/Header/Header.js.map +0 -1
  260. package/lib/layouts/Header/Header.types.d.ts +0 -4
  261. package/lib/layouts/Header/Header.types.js +0 -3
  262. package/lib/layouts/Header/Header.types.js.map +0 -1
  263. package/lib/layouts/Header/HeaderActions.d.ts +0 -3
  264. package/lib/layouts/Header/HeaderActions.js +0 -11
  265. package/lib/layouts/Header/HeaderActions.js.map +0 -1
  266. package/lib/layouts/Header/HeaderProfile.d.ts +0 -3
  267. package/lib/layouts/Header/HeaderProfile.js +0 -20
  268. package/lib/layouts/Header/HeaderProfile.js.map +0 -1
  269. package/lib/layouts/Header/HeaderTitle.d.ts +0 -3
  270. package/lib/layouts/Header/HeaderTitle.js +0 -15
  271. package/lib/layouts/Header/HeaderTitle.js.map +0 -1
  272. package/lib/layouts/Header/__stories__/Header.stories.mdx +0 -36
  273. package/lib/layouts/Navigation/Navigation.css +0 -74
  274. package/lib/layouts/Navigation/Navigation.d.ts +0 -4
  275. package/lib/layouts/Navigation/Navigation.js +0 -19
  276. package/lib/layouts/Navigation/Navigation.js.map +0 -1
  277. package/lib/layouts/Navigation/Navigation.types.d.ts +0 -5
  278. package/lib/layouts/Navigation/Navigation.types.js +0 -3
  279. package/lib/layouts/Navigation/Navigation.types.js.map +0 -1
  280. package/lib/layouts/Navigation/NavigationActions.d.ts +0 -4
  281. package/lib/layouts/Navigation/NavigationActions.js +0 -8
  282. package/lib/layouts/Navigation/NavigationActions.js.map +0 -1
  283. package/lib/layouts/Navigation/NavigationBreadcrumb.d.ts +0 -6
  284. package/lib/layouts/Navigation/NavigationBreadcrumb.js +0 -31
  285. package/lib/layouts/Navigation/NavigationBreadcrumb.js.map +0 -1
  286. package/lib/layouts/Navigation/__stories__/Navigation.stories.mdx +0 -46
  287. package/lib/utils/string.utils.d.ts +0 -1
  288. package/lib/utils/string.utils.js +0 -6
  289. package/lib/utils/string.utils.js.map +0 -1
  290. package/lib/utils/validator.utils.d.ts +0 -2
  291. package/lib/utils/validator.utils.js +0 -9
  292. package/lib/utils/validator.utils.js.map +0 -1
  293. package/src/components/Icon/icons/header-reparability.svg +0 -32
  294. package/src/layouts/Header/HeaderTitle.tsx +0 -17
  295. /package/{esm/components/Icon/icons/header-reparability.svg → src/components/Icon/icons/header-repairability.svg} +0 -0
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M5.33003 3.27096C5.99706 3.03294 6.72061 3.00288 7.40509 3.18476C8.08957 3.36664 8.70277 3.75189 9.16368 4.28961C9.62459 4.82734 9.91152 5.49225 9.98657 6.19649C10.0616 6.90073 9.92126 7.61117 9.58403 8.23396L20.293 18.944L18.879 20.358L8.16903 9.64796C7.5461 9.98386 6.83602 10.1231 6.13236 10.0475C5.4287 9.97177 4.76448 9.68466 4.22724 9.22397C3.69 8.76327 3.30494 8.15061 3.12282 7.46673C2.9407 6.78284 2.97006 6.05982 3.20703 5.39296L5.44403 7.62996C5.5824 7.77322 5.74791 7.8875 5.93092 7.96611C6.11393 8.04472 6.31076 8.0861 6.50993 8.08783C6.70909 8.08956 6.90661 8.05161 7.09096 7.97619C7.2753 7.90077 7.44278 7.78939 7.58362 7.64855C7.72446 7.50771 7.83584 7.34023 7.91126 7.15589C7.98668 6.97154 8.02463 6.77402 8.0229 6.57485C8.02117 6.37569 7.97979 6.17886 7.90118 5.99585C7.82257 5.81284 7.70829 5.64733 7.56503 5.50896L5.32903 3.26996L5.33003 3.27096ZM15.697 5.15496L18.879 3.38696L20.293 4.80096L18.525 7.98296L16.757 8.33696L14.637 10.458L13.222 9.04396L15.343 6.92296L15.697 5.15496ZM8.97903 13.287L10.393 14.701L5.09003 20.004C4.90973 20.1848 4.66709 20.2898 4.41186 20.2974C4.15663 20.305 3.90814 20.2148 3.71734 20.0451C3.52655 19.8754 3.40789 19.6391 3.38571 19.3847C3.36352 19.1304 3.43949 18.8771 3.59803 18.677L3.67603 18.59L8.97903 13.287Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 23C4 20.8783 4.84285 18.8434 6.34315 17.3431C7.84344 15.8429 9.87827 15 12 15C14.1217 15 16.1566 15.8429 17.6569 17.3431C19.1571 18.8434 20 20.8783 20 23H18C18 21.4087 17.3679 19.8826 16.2426 18.7574C15.1174 17.6321 13.5913 17 12 17C10.4087 17 8.88258 17.6321 7.75736 18.7574C6.63214 19.8826 6 21.4087 6 23H4ZM12 14C8.685 14 6 11.315 6 8C6 4.685 8.685 2 12 2C15.315 2 18 4.685 18 8C18 11.315 15.315 14 12 14ZM12 12C14.21 12 16 10.21 16 8C16 5.79 14.21 4 12 4C9.79 4 8 5.79 8 8C8 10.21 9.79 12 12 12Z"/></svg>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 27.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 21.5 21.6" style="enable-background:new 0 0 21.5 21.6;" xml:space="preserve">
5
- <style type="text/css">
6
- .st0{fill:none;stroke:#4D6F56;stroke-width:2;stroke-miterlimit:10;}
7
- .st1{fill:none;stroke:#88CABA;stroke-width:2;stroke-miterlimit:10;}
8
- .st2{fill:none;stroke:#88CABA;stroke-width:1.8;stroke-miterlimit:10;}
9
- .st3{fill:#88CABA;}
10
- .st4{fill:none;stroke:#FFFFFF;stroke-width:1.1;stroke-miterlimit:10;}
11
- </style>
12
- <g id="XMLID_00000036946766399946185720000000839440717394961049_">
13
- <circle class="st0" cx="9" cy="12.6" r="8"/>
14
- <circle class="st1" cx="9" cy="12.6" r="8"/>
15
- </g>
16
- <polyline class="st2" points="13.8,9.3 8.2,15 8.2,15 5,11.9 "/>
17
- <circle class="st3" cx="15.8" cy="5.7" r="5.7"/>
18
- <polyline class="st4" points="18.7,6.2 15.8,6.2 15.8,2.9 "/>
19
- </svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 12C2 17.523 6.477 22 12 22C17.523 22 22 17.523 22 12C22 6.477 17.523 2 12 2C6.477 2 2 6.477 2 12ZM9.172 7.757L12 10.586L14.828 7.757L16.243 9.172L13.414 12L16.243 14.828L14.828 16.243L12 13.414L9.172 16.243L7.757 14.828L10.586 12L7.757 9.172L9.172 7.757Z"/></svg>
@@ -1 +0,0 @@
1
- <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 10.586L16.95 5.63599L18.364 7.04999L13.414 12L18.364 16.95L16.95 18.364L12 13.414L7.04999 18.364L5.63599 16.95L10.586 12L5.63599 7.04999L7.04999 5.63599L12 10.586Z"/></svg>
@@ -1,51 +0,0 @@
1
- .boolean-input {
2
- display: flex;
3
- flex-direction: column;
4
- }
5
- .boolean-input > label {
6
- display: block;
7
- margin-bottom: 4px;
8
- color: #012b49;
9
- font-weight: 700;
10
- }
11
- .boolean-input-container {
12
- display: flex;
13
- }
14
-
15
- /* ######## */
16
- /* INPUTS */
17
- .boolean-input-content {
18
- display: flex;
19
- height: 32px;
20
- border-radius: 6px;
21
- overflow: hidden;
22
- }
23
- .boolean-input-content > div {
24
- display: flex;
25
- align-items: center;
26
- justify-content: center;
27
- min-width: 44px;
28
- padding: 12px;
29
- background: #e7f3f9;
30
- color: #007dbc;
31
- font-weight: 700;
32
- cursor: pointer;
33
- transition: all ease 0.3s;
34
- }
35
- .boolean-input-content > div:first-child {
36
- border-right: 1px solid #007dbc;
37
- }
38
- .boolean-input-content > .boolean-input--selected {
39
- background: #007dbc;
40
- color: #ffffff;
41
- }
42
-
43
- /* ######### */
44
- /* GLOBALS */
45
- * {
46
- font-size: 14px;
47
- outline: none;
48
- box-sizing: border-box;
49
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
50
- 'Helvetica Neue', sans-serif;
51
- }
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { BooleanInputProps } from './BooleanInput.types';
3
- import './BooleanInput.css';
4
- export declare const BooleanInput: ({ label, labelFalse, labelTrue, value, onChange }: BooleanInputProps) => React.JSX.Element;
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
- import './BooleanInput.css';
3
- export const BooleanInput = ({ label, labelFalse, labelTrue, value, onChange }) => {
4
- // #########
5
- // Rendering
6
- return (React.createElement("div", { className: "boolean-input" },
7
- label && React.createElement("label", null, label),
8
- React.createElement("div", { className: "boolean-input-container" },
9
- React.createElement("div", { className: "boolean-input-content" },
10
- React.createElement("div", { className: value === true ? 'boolean-input--selected' : '', onClick: () => onChange(true) }, labelTrue ?? 'Yes'),
11
- React.createElement("div", { className: value === false ? 'boolean-input--selected' : '', onClick: () => onChange(false) }, labelFalse ?? 'No')))));
12
- };
13
- //# sourceMappingURL=BooleanInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BooleanInput.js","sourceRoot":"","sources":["../../../../src/components/Inputs/BooleanInput/BooleanInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,oBAAoB,CAAC;AAE5B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAqB,EAAE,EAAE;IACnG,YAAY;IACZ,YAAY;IACZ,OAAO,CACL,6BAAK,SAAS,EAAC,eAAe;QAC3B,KAAK,IAAI,mCAAQ,KAAK,CAAS;QAEhC,6BAAK,SAAS,EAAC,yBAAyB;YACtC,6BAAK,SAAS,EAAC,uBAAuB;gBACpC,6BAAK,SAAS,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,IAC3F,SAAS,IAAI,KAAK,CACf;gBACN,6BAAK,SAAS,EAAE,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAC7F,UAAU,IAAI,IAAI,CACf,CACF,CACF,CACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
- import { BooleanInputProps } from './BooleanInput.types';
3
- import './BooleanInput.css';
4
-
5
- export const BooleanInput = ({ label, labelFalse, labelTrue, value, onChange }: BooleanInputProps) => {
6
- // #########
7
- // Rendering
8
- return (
9
- <div className="boolean-input">
10
- {label && <label>{label}</label>}
11
-
12
- <div className="boolean-input-container">
13
- <div className="boolean-input-content">
14
- <div className={value === true ? 'boolean-input--selected' : ''} onClick={() => onChange(true)}>
15
- {labelTrue ?? 'Yes'}
16
- </div>
17
- <div className={value === false ? 'boolean-input--selected' : ''} onClick={() => onChange(false)}>
18
- {labelFalse ?? 'No'}
19
- </div>
20
- </div>
21
- </div>
22
- </div>
23
- );
24
- };
@@ -1,7 +0,0 @@
1
- export type BooleanInputProps = {
2
- label?: string;
3
- labelFalse?: string;
4
- labelTrue?: string;
5
- value?: boolean;
6
- onChange: (value: boolean) => void;
7
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=BooleanInput.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BooleanInput.types.js","sourceRoot":"","sources":["../../../../src/components/Inputs/BooleanInput/BooleanInput.types.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export type BooleanInputProps = {
2
- label?: string;
3
- labelFalse?: string;
4
- labelTrue?: string;
5
- value?: boolean;
6
- onChange: (value: boolean) => void;
7
- };
@@ -1,44 +0,0 @@
1
- import React from 'react';
2
- import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
3
- import { BooleanInput } from '../BooleanInput';
4
-
5
- <Meta title="Components/Inputs/BooleanInput" />
6
-
7
- export const inputArgType = {
8
- label: {
9
- control: 'text',
10
- description: 'Label of the input.',
11
- },
12
- labelFalse: {
13
- control: 'text',
14
- description: 'Label of the FALSE value.',
15
- },
16
- labelTrue: {
17
- control: 'text',
18
- description: 'Label of the TRUE value.',
19
- },
20
- value: {
21
- control: 'boolean',
22
- description: 'Value of the input (can be undefined).',
23
- },
24
- onChange: {
25
- control: 'function',
26
- description: 'The handler called when clicking on input.',
27
- },
28
- };
29
-
30
- # Boolean Input
31
-
32
- The Boolean input is used to quickly switch between two possible states. It is commonly used for "yes/no" switches. The input can in some cases have a 3rd state, EMPTY.
33
-
34
- ## Overview
35
-
36
- <Canvas>
37
- <Story name="Overview" args={{ label: 'Label', onChange: () => {} }} argTypes={inputArgType}>
38
- {args => <BooleanInput {...args} />}
39
- </Story>
40
- </Canvas>
41
-
42
- ## Props
43
-
44
- <ArgsTable story="Overview" of={BooleanInput} />
@@ -1,42 +0,0 @@
1
- .text-input {
2
- display: flex;
3
- flex-direction: column;
4
- }
5
- .text-input > label {
6
- display: block;
7
- margin-bottom: 4px;
8
- color: #012b49;
9
- font-weight: 700;
10
- }
11
- .text-input-container {
12
- position: relative;
13
- }
14
- .text-input-container > input {
15
- width: 100%;
16
- height: 32px;
17
- padding: 0 40px 0 12px;
18
- border: 1px solid #d4d4d4;
19
- border-radius: 6px;
20
- color: #007dbc;
21
- font-weight: 700;
22
- }
23
- .text-input-container > input::placeholder {
24
- font-weight: 400;
25
- }
26
- .text-input-container > .icon {
27
- position: absolute;
28
- top: 50%;
29
- right: 12px;
30
- color: #4e5d6b;
31
- transform: translateY(-50%);
32
- }
33
-
34
- /* ######### */
35
- /* GLOBALS */
36
- * {
37
- font-size: 14px;
38
- outline: none;
39
- box-sizing: border-box;
40
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
41
- 'Helvetica Neue', sans-serif;
42
- }
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { TextInputProps } from './TextInput.types';
3
- import './TextInput.css';
4
- export declare const TextInput: ({ icon, label, placeholder, value, autofocus, onChange }: TextInputProps) => React.JSX.Element;
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- import { Icon } from '../../Icon/Icon';
3
- import './TextInput.css';
4
- export const TextInput = ({ icon, label, placeholder, value, autofocus, onChange }) => {
5
- // ########
6
- // Handlers
7
- const handleChange = (e) => onChange(e.target.value);
8
- // #########
9
- // Rendering
10
- return (React.createElement("div", { className: "text-input" },
11
- label && React.createElement("label", null, label),
12
- React.createElement("div", { className: "text-input-container" },
13
- React.createElement("input", { type: "text", placeholder: placeholder, value: value, autoFocus: autofocus, onChange: handleChange }),
14
- icon && React.createElement(Icon, { name: icon, size: "16" }))));
15
- };
16
- //# sourceMappingURL=TextInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInput/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC,OAAO,iBAAiB,CAAC;AAEzB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAkB,EAAE,EAAE;IACpG,WAAW;IACX,WAAW;IACX,MAAM,YAAY,GAAG,CAAC,CAAgC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAEpF,YAAY;IACZ,YAAY;IACZ,OAAO,CACL,6BAAK,SAAS,EAAC,YAAY;QACxB,KAAK,IAAI,mCAAQ,KAAK,CAAS;QAEhC,6BAAK,SAAS,EAAC,sBAAsB;YACnC,+BAAO,IAAI,EAAC,MAAM,EAAC,WAAW,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAI;YAC1G,IAAI,IAAI,oBAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,IAAI,GAAG,CACnC,CACF,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,24 +0,0 @@
1
- import * as React from 'react';
2
- import { ChangeEvent } from 'react';
3
- import { Icon } from '../../Icon/Icon';
4
- import { TextInputProps } from './TextInput.types';
5
- import './TextInput.css';
6
-
7
- export const TextInput = ({ icon, label, placeholder, value, autofocus, onChange }: TextInputProps) => {
8
- // ########
9
- // Handlers
10
- const handleChange = (e: ChangeEvent<HTMLInputElement>) => onChange(e.target.value);
11
-
12
- // #########
13
- // Rendering
14
- return (
15
- <div className="text-input">
16
- {label && <label>{label}</label>}
17
-
18
- <div className="text-input-container">
19
- <input type="text" placeholder={placeholder} value={value} autoFocus={autofocus} onChange={handleChange} />
20
- {icon && <Icon name={icon} size="16" />}
21
- </div>
22
- </div>
23
- );
24
- };
@@ -1,8 +0,0 @@
1
- export type TextInputProps = {
2
- icon?: string;
3
- label?: string;
4
- placeholder?: string;
5
- value: string;
6
- autofocus?: boolean;
7
- onChange: (value: string) => void;
8
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=TextInput.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInput.types.js","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInput/TextInput.types.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- export type TextInputProps = {
2
- icon?: string;
3
- label?: string;
4
- placeholder?: string;
5
- value: string;
6
- autofocus?: boolean;
7
- onChange: (value: string) => void;
8
- };
@@ -1,55 +0,0 @@
1
- import React from 'react';
2
- import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
3
- import { TextInput } from '../TextInput';
4
- import { icons } from '../../../Icon/icons';
5
-
6
- <Meta title="Components/Inputs/TextInput" />
7
-
8
- export const inputArgTypes = {
9
- icon: {
10
- control: 'select',
11
- options: Object.keys(icons),
12
- description: 'Name of an icon.',
13
- },
14
- label: {
15
- control: 'text',
16
- description: 'Label of the input.',
17
- },
18
- placeholder: {
19
- control: 'text',
20
- description: 'Placeholder displayed when the input is empty.',
21
- },
22
- value: {
23
- control: 'text',
24
- description: 'Value of the input.',
25
- },
26
- autofocus: {
27
- control: 'boolean',
28
- description: 'Auto focus the input once mounted',
29
- table: { defaultValue: { summary: 'false' } },
30
- },
31
- onChange: {
32
- control: 'function',
33
- description: 'The handler called when the value of the input changes.',
34
- },
35
- };
36
-
37
- # Text Input
38
-
39
- Text input allows the user to enter content and data when the expected user input is a single line of text.
40
-
41
- ## Overview
42
-
43
- <Canvas>
44
- <Story
45
- name="Overview"
46
- args={{ label: 'Label', placeholder: 'This is a placeholder', autofocus: false, onChange: () => {} }}
47
- argTypes={inputArgTypes}
48
- >
49
- {args => <TextInput {...args} />}
50
- </Story>
51
- </Canvas>
52
-
53
- ## Props
54
-
55
- <ArgsTable story="Overview" of={TextInput} />
@@ -1,42 +0,0 @@
1
- @keyframes rotation {
2
- 0% {
3
- transform: rotate(0deg);
4
- }
5
- 100% {
6
- transform: rotate(360deg);
7
- }
8
- }
9
-
10
- .loader {
11
- border: 2px solid;
12
- border-color: #00689d transparent;
13
- border-radius: 50%;
14
- display: inline-block;
15
- box-sizing: border-box;
16
- animation: rotation 1.5s linear infinite;
17
- }
18
-
19
- /* ####### */
20
- /* SIZES */
21
- .loader--sm {
22
- width: 24px;
23
- height: 24px;
24
- }
25
- .loader--md {
26
- width: 32px;
27
- height: 32px;
28
- }
29
- .loader--lg {
30
- width: 44px;
31
- height: 44px;
32
- }
33
-
34
- /* ######### */
35
- /* GLOBALS */
36
- * {
37
- font-size: 14px;
38
- outline: none;
39
- box-sizing: border-box;
40
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
41
- 'Helvetica Neue', sans-serif;
42
- }
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { LoaderProps } from './Loader.types';
3
- import './Loader.css';
4
- export declare const Loader: ({ size }: LoaderProps) => React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import './Loader.css';
3
- export const Loader = ({ size = 'md' }) => {
4
- return React.createElement("div", { className: `loader loader--${size}` });
5
- };
6
- //# sourceMappingURL=Loader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,EAAe,EAAE,EAAE;IACrD,OAAO,6BAAK,SAAS,EAAE,kBAAkB,IAAI,EAAE,GAAI,CAAC;AACtD,CAAC,CAAC"}
@@ -1,3 +0,0 @@
1
- export type LoaderProps = {
2
- size?: 'sm' | 'md' | 'lg';
3
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Loader.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Loader.types.js","sourceRoot":"","sources":["../../../src/components/Loader/Loader.types.ts"],"names":[],"mappings":""}
@@ -1,30 +0,0 @@
1
- import React from 'react';
2
- import { ArgsTable, Canvas, Meta, Story } from '@storybook/blocks';
3
- import { Loader } from '../Loader';
4
-
5
- <Meta title="Components/Loader" />
6
-
7
- export const loaderArgTypes = {
8
- size: {
9
- control: 'inline-radio',
10
- options: ['sm', 'md', 'lg'],
11
- description: 'Define the size of the loader.',
12
- table: { defaultValue: { summary: 'md' } },
13
- },
14
- };
15
-
16
- # Loader
17
-
18
- Loader express to user that an action is occuring.
19
-
20
- ## Overview
21
-
22
- <Canvas>
23
- <Story name="Overview" args={{ size: 'md' }} argTypes={loaderArgTypes}>
24
- {args => <Loader {...args}>{args.children}</Loader>}
25
- </Story>
26
- </Canvas>
27
-
28
- ## Props
29
-
30
- <ArgsTable story="Overview" of={Loader} />
package/esm/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export * from './components/Button/Button';
2
- export * from './components/Icon/Icon';
3
- export * from './layouts/Header/Header';
4
- export * from './layouts/Header/HeaderActions';
5
- export * from './layouts/Header/HeaderProfile';
6
- export * from './layouts/Header/HeaderTitle';
7
- export * from './layouts/Navigation/Navigation';
8
- export * from './layouts/Navigation/NavigationActions';
9
- export * from './layouts/Navigation/NavigationBreadcrumb';
package/esm/index.js DELETED
@@ -1,10 +0,0 @@
1
- export * from './components/Button/Button';
2
- export * from './components/Icon/Icon';
3
- export * from './layouts/Header/Header';
4
- export * from './layouts/Header/HeaderActions';
5
- export * from './layouts/Header/HeaderProfile';
6
- export * from './layouts/Header/HeaderTitle';
7
- export * from './layouts/Navigation/Navigation';
8
- export * from './layouts/Navigation/NavigationActions';
9
- export * from './layouts/Navigation/NavigationBreadcrumb';
10
- //# sourceMappingURL=index.js.map
package/esm/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC"}
@@ -1,83 +0,0 @@
1
- @font-face {
2
- font-family: 'Montserrat';
3
- src: url('../../assets/fonts/Montserrat-Medium.ttf');
4
- }
5
-
6
- /* ######## */
7
- /* HEADER */
8
- header {
9
- display: flex;
10
- align-items: center;
11
- justify-content: space-between;
12
- width: 100%;
13
- height: 64px;
14
- padding: 0 24px;
15
- }
16
- .header-actions {
17
- display: flex;
18
- }
19
- .header-actions > * {
20
- margin-left: 12px;
21
- }
22
-
23
- /* ############## */
24
- /* HEADER TITLE */
25
- .header-title-container {
26
- display: flex;
27
- align-items: flex-end;
28
- height: 30px;
29
- }
30
- .header-title {
31
- font-family: 'Montserrat';
32
- font-size: 25px;
33
- line-height: 19px;
34
- text-transform: uppercase;
35
- }
36
- .header-by {
37
- margin-left: 15px;
38
- font-family: 'Montserrat';
39
- font-size: 12px;
40
- line-height: 10px;
41
- text-transform: uppercase;
42
- }
43
- .header-techoff {
44
- width: 64px;
45
- margin-left: 4px;
46
- margin-bottom: -2px;
47
- }
48
-
49
- /* ################ */
50
- /* HEADER PROFILE */
51
- .header-profile {
52
- display: flex;
53
- align-items: center;
54
- height: 40px;
55
- padding: 0 4px;
56
- border-radius: 9999px;
57
- box-shadow: 0px 12px 12px 0px #00537d1a;
58
- background: white;
59
- }
60
- .header-profile--icon {
61
- display: flex;
62
- align-items: center;
63
- justify-content: center;
64
- width: 32px;
65
- height: 32px;
66
- border-radius: 9999px;
67
- background: #e5e5e5;
68
- }
69
- .header-profile--name {
70
- padding-left: 8px;
71
- padding-right: 12px;
72
- color: #4e5d6b;
73
- }
74
-
75
- /* ######### */
76
- /* GLOBALS */
77
- * {
78
- font-size: 14px;
79
- outline: none;
80
- box-sizing: border-box;
81
- font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
82
- 'Helvetica Neue', sans-serif;
83
- }
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- import './Header.css';
4
- export declare const Header: ({ children }: PropsWithChildren) => React.JSX.Element;
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
- import { Children } from 'react';
3
- import { isSuiteElement } from '../../utils/validator.utils';
4
- import './Header.css';
5
- export const Header = ({ children }) => {
6
- const titleElement = Children.toArray(children).find(c => isSuiteElement(c, 'HeaderTitle'));
7
- const actionsElement = Children.toArray(children).find(c => isSuiteElement(c, 'HeaderActions'));
8
- // #########
9
- // Rendering
10
- return (React.createElement("header", null,
11
- React.createElement("div", null, titleElement),
12
- React.createElement("div", null, actionsElement)));
13
- };
14
- //# sourceMappingURL=Header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/layouts/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAqB,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,EAAE,QAAQ,EAAqB,EAAE,EAAE;IACxD,MAAM,YAAY,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC;IAC5F,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC;IAEhG,YAAY;IACZ,YAAY;IACZ,OAAO,CACL;QACE,iCAAM,YAAY,CAAO;QACzB,iCAAM,cAAc,CAAO,CACpB,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- export type HeaderProfileProps = {
2
- firstname: string;
3
- lastname: string;
4
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Header.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.types.js","sourceRoot":"","sources":["../../../src/layouts/Header/Header.types.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { PropsWithChildren } from 'react';
3
- export declare const HeaderActions: ({ children }: PropsWithChildren) => React.JSX.Element;