matcha-components 1.0.5 → 1.0.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 (288) hide show
  1. package/README.md +239 -2
  2. package/assets/open_in_new.png +0 -0
  3. package/ng-package.json +7 -0
  4. package/package.json +10 -23
  5. package/src/documentation/presentation.mdx +105 -0
  6. package/src/foundation/borders/borders.mdx +180 -0
  7. package/src/foundation/colors/base/amber.mdx +235 -0
  8. package/src/foundation/colors/base/blue.mdx +235 -0
  9. package/src/foundation/colors/base/cyan.mdx +235 -0
  10. package/src/foundation/colors/base/deep-orange.mdx +235 -0
  11. package/src/foundation/colors/base/deep-purple.mdx +235 -0
  12. package/src/foundation/colors/base/green.mdx +235 -0
  13. package/src/foundation/colors/base/indigo.mdx +235 -0
  14. package/src/foundation/colors/base/light-blue.mdx +235 -0
  15. package/src/foundation/colors/base/light-green.mdx +235 -0
  16. package/src/foundation/colors/base/lime.mdx +235 -0
  17. package/src/foundation/colors/base/orange.mdx +235 -0
  18. package/src/foundation/colors/base/pink.mdx +235 -0
  19. package/src/foundation/colors/base/purple.mdx +235 -0
  20. package/src/foundation/colors/base/red.mdx +235 -0
  21. package/src/foundation/colors/base/teal.mdx +235 -0
  22. package/src/foundation/colors/base/yellow.mdx +235 -0
  23. package/src/foundation/colors/base-colors.mdx +144 -0
  24. package/src/foundation/colors/surface-colors.mdx +93 -0
  25. package/src/foundation/colors/theme/accent.mdx +235 -0
  26. package/src/foundation/colors/theme/primary.mdx +235 -0
  27. package/src/foundation/colors/theme/warn.mdx +235 -0
  28. package/src/foundation/colors/theme-colors.mdx +133 -0
  29. package/src/foundation/sizes/heights.mdx +232 -0
  30. package/src/foundation/sizes/max-heights.mdx +237 -0
  31. package/src/foundation/sizes/max-width.mdx +236 -0
  32. package/src/foundation/sizes/min-heights.mdx +237 -0
  33. package/src/foundation/sizes/min-width.mdx +236 -0
  34. package/src/foundation/sizes/sizes.mdx +219 -0
  35. package/src/foundation/sizes/widths.mdx +234 -0
  36. package/src/foundation/spacing/margins.mdx +183 -0
  37. package/src/foundation/spacing/paddings.mdx +156 -0
  38. package/src/foundation/typography/colors.mdx +26 -0
  39. package/src/foundation/typography/font-size.mdx +57 -0
  40. package/src/foundation/typography/font-weight.mdx +65 -0
  41. package/src/foundation/typography/helpers.mdx +86 -0
  42. package/src/foundation/typography/letter-spacing.mdx +35 -0
  43. package/src/foundation/typography/line-height.mdx +52 -0
  44. package/src/foundation/typography/message-box.mdx +43 -0
  45. package/src/foundation/typography/text-align.mdx +22 -0
  46. package/src/foundation/typography/text-styles.mdx +88 -0
  47. package/src/lib/matcha-autocomplete/autocomplete-overview.directive.ts +16 -0
  48. package/src/lib/matcha-autocomplete/autocomplete.argtypes.ts +64 -0
  49. package/src/lib/matcha-autocomplete/autocomplete.directive.ts +14 -0
  50. package/src/lib/matcha-autocomplete/autocomplete.mdx +112 -0
  51. package/src/lib/matcha-autocomplete/autocomplete.module.ts +14 -0
  52. package/src/lib/matcha-autocomplete/autocomplete.stories.ts +104 -0
  53. package/src/lib/matcha-autocomplete/example/autocomplete-auto-active-first-option-example.css +9 -0
  54. package/src/lib/matcha-autocomplete/example/autocomplete-auto-active-first-option-example.html +9 -0
  55. package/src/lib/matcha-autocomplete/example/autocomplete-auto-active-first-option-example.ts +37 -0
  56. package/src/lib/matcha-autocomplete/example/autocomplete-overview-example.css +19 -0
  57. package/src/lib/matcha-autocomplete/example/autocomplete-overview-example.html +17 -0
  58. package/src/lib/matcha-autocomplete/example/autocomplete-overview-example.ts +70 -0
  59. package/src/lib/matcha-badge/badge.argtypes.ts +77 -0
  60. package/src/lib/matcha-badge/badge.directive.ts +11 -0
  61. package/src/lib/matcha-badge/badge.mdx +69 -0
  62. package/src/lib/matcha-badge/badge.module.ts +9 -0
  63. package/src/lib/matcha-badge/badge.stories.ts +79 -0
  64. package/src/lib/matcha-bottom-sheet/bottom-sheet-overview-example-sheet.html +21 -0
  65. package/src/lib/matcha-bottom-sheet/bottom-sheet-overview-example.component.ts +34 -0
  66. package/src/lib/matcha-bottom-sheet/bottom-sheet-overview-example.html +2 -0
  67. package/src/lib/matcha-bottom-sheet/bottom-sheet.argtypes.ts +117 -0
  68. package/src/lib/matcha-bottom-sheet/bottom-sheet.directive.ts +16 -0
  69. package/src/lib/matcha-bottom-sheet/bottom-sheet.mdx +69 -0
  70. package/src/lib/matcha-bottom-sheet/bottom-sheet.module.ts +9 -0
  71. package/src/lib/matcha-bottom-sheet/bottom-sheet.stories.ts +39 -0
  72. package/src/lib/matcha-button/button-overview-example.component.ts +18 -0
  73. package/src/lib/matcha-button/button-overview-example.html +118 -0
  74. package/src/lib/matcha-button/button-overview-example.scss +31 -0
  75. package/src/lib/matcha-button/button.argtypes.ts +20 -0
  76. package/src/lib/matcha-button/button.directive.ts +39 -0
  77. package/src/lib/matcha-button/button.mdx +171 -0
  78. package/src/lib/matcha-button/button.module.ts +10 -0
  79. package/src/lib/matcha-button/button.stories.ts +38 -0
  80. package/src/lib/matcha-button/button.stories.ts.TXT +111 -0
  81. package/src/lib/matcha-button-toggle/button-toggle.argtype.ts +115 -0
  82. package/src/lib/matcha-button-toggle/button-toggle.directive.ts +13 -0
  83. package/src/lib/matcha-button-toggle/button-toggle.mdx +63 -0
  84. package/src/lib/matcha-button-toggle/button-toggle.module.ts +14 -0
  85. package/src/lib/matcha-button-toggle/button-toggle.stories.ts +64 -0
  86. package/src/lib/matcha-button-toggle/matcha-button-toggle.directive.ts +15 -0
  87. package/src/lib/matcha-card/card-argtype.ts +54 -0
  88. package/src/lib/matcha-card/card-header.html +10 -0
  89. package/src/lib/matcha-card/card-title-group.html +12 -0
  90. package/src/lib/matcha-card/card.component.html +3 -0
  91. package/src/lib/matcha-card/card.component.scss +0 -0
  92. package/src/lib/matcha-card/card.component.spec.ts +21 -0
  93. package/src/lib/matcha-card/card.component.ts +47 -0
  94. package/src/lib/matcha-card/card.mdx +43 -0
  95. package/src/lib/matcha-card/card.module.ts +10 -0
  96. package/src/lib/matcha-card/card.stories.ts +92 -0
  97. package/src/lib/matcha-checkbox/checkbox.argtype.ts +79 -0
  98. package/src/lib/matcha-checkbox/checkbox.directive.ts +14 -0
  99. package/src/lib/matcha-checkbox/checkbox.mdx +76 -0
  100. package/src/lib/matcha-checkbox/checkbox.module.ts +9 -0
  101. package/src/lib/matcha-checkbox/checkbox.stories.ts +161 -0
  102. package/src/lib/matcha-checkbox/checkbox.stories.txt +74 -0
  103. package/src/lib/matcha-chips/chips.module.ts +12 -0
  104. package/src/lib/matcha-chips/matcha-chips.directive.ts +16 -0
  105. package/src/lib/matcha-components.module.ts +43 -0
  106. package/src/lib/matcha-datepicker/datepicker.argtypes.ts +63 -0
  107. package/src/lib/matcha-datepicker/datepicker.directive.ts +14 -0
  108. package/src/lib/matcha-datepicker/datepicker.mdx +73 -0
  109. package/src/lib/matcha-datepicker/datepicker.module.ts +9 -0
  110. package/src/lib/matcha-datepicker/datepicker.stories.ts +277 -0
  111. package/src/lib/matcha-dialog/confirmation-dialog.component.ts +39 -0
  112. package/src/lib/matcha-dialog/confirmation-dialog.stories.ts +21 -0
  113. package/src/lib/matcha-dialog/dialog.module.ts +14 -0
  114. package/src/lib/matcha-dialog/matcha-dialog.directive.ts +16 -0
  115. package/src/lib/matcha-dialog2/confirmation-dialog.component.ts.txt +54 -0
  116. package/src/lib/matcha-dialog2/confirmation-dialog.stories.ts.txt +24 -0
  117. package/src/lib/matcha-divider/divider.argtypes.ts +18 -0
  118. package/src/lib/matcha-divider/divider.directive.ts +16 -0
  119. package/src/lib/matcha-divider/divider.mdx +51 -0
  120. package/src/lib/matcha-divider/divider.module.ts +10 -0
  121. package/src/lib/matcha-divider/divider.stories.ts +49 -0
  122. package/src/lib/matcha-elevation/elevation.argtypes.ts +16 -0
  123. package/src/lib/matcha-elevation/elevation.directive.ts +24 -0
  124. package/src/lib/matcha-elevation/elevation.mdx +50 -0
  125. package/src/lib/matcha-elevation/elevation.module.ts +10 -0
  126. package/src/lib/matcha-elevation/elevation.stories.ts +50 -0
  127. package/src/lib/matcha-expansion/expansion.argtypes.ts +44 -0
  128. package/src/lib/matcha-expansion/expansion.directive.ts +11 -0
  129. package/src/lib/matcha-expansion/expansion.mdx +69 -0
  130. package/src/lib/matcha-expansion/expansion.module.ts +10 -0
  131. package/src/lib/matcha-expansion/expansion.stories.ts +67 -0
  132. package/src/lib/matcha-forms/form-field-argtype.ts +60 -0
  133. package/src/lib/matcha-forms/form-field.directive.ts +11 -0
  134. package/src/lib/matcha-forms/form-field.mdx +20 -0
  135. package/src/lib/matcha-forms/form-field.stories.ts +341 -0
  136. package/src/lib/matcha-forms/forms.module.ts +10 -0
  137. package/src/lib/matcha-headers/headers.argtype.ts +14 -0
  138. package/src/lib/matcha-headers/headers.mdx +94 -0
  139. package/src/lib/matcha-headers/headers.module.ts +12 -0
  140. package/src/lib/matcha-headers/headers.stories.ts +88 -0
  141. package/src/lib/matcha-headers/headine/headline.component.html +1 -0
  142. package/src/lib/matcha-headers/headine/headline.component.scss +0 -0
  143. package/src/lib/matcha-headers/headine/headline.component.ts +20 -0
  144. package/src/lib/matcha-headers/subhead/subhead.component.html +1 -0
  145. package/src/lib/matcha-headers/subhead/subhead.component.scss +0 -0
  146. package/src/lib/matcha-headers/subhead/subhead.component.ts +20 -0
  147. package/src/lib/matcha-headers/title/title.component.html +1 -0
  148. package/src/lib/matcha-headers/title/title.component.scss +0 -0
  149. package/src/lib/matcha-headers/title/title.component.ts +20 -0
  150. package/src/lib/matcha-icon/icon-argtype.ts +36 -0
  151. package/src/lib/matcha-icon/icon.component.html +3 -0
  152. package/src/lib/matcha-icon/icon.component.scss +0 -0
  153. package/src/lib/matcha-icon/icon.component.ts +34 -0
  154. package/src/lib/matcha-icon/icon.mdx +60 -0
  155. package/src/lib/matcha-icon/icon.module.ts +10 -0
  156. package/src/lib/matcha-icon/icon.stories.ts +416 -0
  157. package/src/lib/matcha-input/input.argtypes.ts +42 -0
  158. package/src/lib/matcha-input/input.directive.ts +11 -0
  159. package/src/lib/matcha-input/input.mdx +73 -0
  160. package/src/lib/matcha-input/input.module.ts +9 -0
  161. package/src/lib/matcha-input/input.stories.ts +97 -0
  162. package/src/lib/matcha-list/list.argtypes.ts +44 -0
  163. package/src/lib/matcha-list/list.directive.ts +11 -0
  164. package/src/lib/matcha-list/list.mdx +69 -0
  165. package/src/lib/matcha-list/list.module.ts +10 -0
  166. package/src/lib/matcha-list/list.stories.ts +101 -0
  167. package/src/lib/matcha-menu/menu.argtypes.ts +114 -0
  168. package/src/lib/matcha-menu/menu.directive.ts +16 -0
  169. package/src/lib/matcha-menu/menu.mdx +59 -0
  170. package/src/lib/matcha-menu/menu.module.ts +10 -0
  171. package/src/lib/matcha-menu/menu.stories.ts +122 -0
  172. package/src/lib/matcha-paginator/paginator-overview-example.component.ts +13 -0
  173. package/src/lib/matcha-paginator/paginator-overview-example.css +0 -0
  174. package/src/lib/matcha-paginator/paginator-overview-example.html +1 -0
  175. package/src/lib/matcha-paginator/paginator.argtypes.ts +11 -0
  176. package/src/lib/matcha-paginator/paginator.directive.ts +16 -0
  177. package/src/lib/matcha-paginator/paginator.mdx +53 -0
  178. package/src/lib/matcha-paginator/paginator.module.ts +10 -0
  179. package/src/lib/matcha-paginator/paginator.stories.ts +34 -0
  180. package/src/lib/matcha-progress-bar/progress-bar.argtype.ts +48 -0
  181. package/src/lib/matcha-progress-bar/progress-bar.directive.ts +16 -0
  182. package/src/lib/matcha-progress-bar/progress-bar.mdx +95 -0
  183. package/src/lib/matcha-progress-bar/progress-bar.module.ts +14 -0
  184. package/src/lib/matcha-progress-bar/progress-bar.stories.ts +89 -0
  185. package/src/lib/matcha-progress-spinner/progress-spinner.argtype.ts +65 -0
  186. package/src/lib/matcha-progress-spinner/progress-spinner.directive.ts +16 -0
  187. package/src/lib/matcha-progress-spinner/progress-spinner.mdx +43 -0
  188. package/src/lib/matcha-progress-spinner/progress-spinner.module.ts +14 -0
  189. package/src/lib/matcha-progress-spinner/progress-spinner.stories.ts +44 -0
  190. package/src/lib/matcha-radio-button/matcha-radio-button.argtype.ts +85 -0
  191. package/src/lib/matcha-radio-button/matcha-radio-button.directive.ts +16 -0
  192. package/src/lib/matcha-radio-button/matcha-radio-button.stories.ts +44 -0
  193. package/src/lib/matcha-radio-button/radio-button.module.ts +12 -0
  194. package/src/lib/matcha-select/select.argtypes.ts +265 -0
  195. package/src/lib/matcha-select/select.directive.ts +11 -0
  196. package/src/lib/matcha-select/select.mdx +54 -0
  197. package/src/lib/matcha-select/select.module.ts +10 -0
  198. package/src/lib/matcha-select/select.stories.ts +164 -0
  199. package/src/lib/matcha-select/select.stories.txt +109 -0
  200. package/src/lib/matcha-sidenav/sidenav.argtypes.ts +60 -0
  201. package/src/lib/matcha-sidenav/sidenav.directive.ts +11 -0
  202. package/src/lib/matcha-sidenav/sidenav.mdx +57 -0
  203. package/src/lib/matcha-sidenav/sidenav.module.ts +10 -0
  204. package/src/lib/matcha-sidenav/sidenav.stories.ts +79 -0
  205. package/src/lib/matcha-slide-toggle/slide-toggle.argtype.ts +66 -0
  206. package/src/lib/matcha-slide-toggle/slide-toggle.directive.ts +16 -0
  207. package/src/lib/matcha-slide-toggle/slide-toggle.mdx +92 -0
  208. package/src/lib/matcha-slide-toggle/slide-toggle.module.ts +12 -0
  209. package/src/lib/matcha-slide-toggle/slide-toggle.stories.ts +167 -0
  210. package/src/lib/matcha-slider/matcha-slider.directive.ts +16 -0
  211. package/src/lib/matcha-slider/slider.argtypes.ts +83 -0
  212. package/src/lib/matcha-slider/slider.mdx +45 -0
  213. package/src/lib/matcha-slider/slider.module.ts +12 -0
  214. package/src/lib/matcha-slider/slider.stories.ts +149 -0
  215. package/src/lib/matcha-snackbar/snack-bar-overview-example.component.ts +23 -0
  216. package/src/lib/matcha-snackbar/snack-bar-overview-example.css +3 -0
  217. package/src/lib/matcha-snackbar/snack-bar-overview-example.html +11 -0
  218. package/src/lib/matcha-snackbar/snack-bar.argtypes.ts +11 -0
  219. package/src/lib/matcha-snackbar/snack-bar.directive.ts +11 -0
  220. package/src/lib/matcha-snackbar/snack-bar.mdx +53 -0
  221. package/src/lib/matcha-snackbar/snack-bar.module.ts +10 -0
  222. package/src/lib/matcha-snackbar/snack-bar.stories.ts +34 -0
  223. package/src/lib/matcha-sort-header/example/sort-overview-example.component.ts +67 -0
  224. package/src/lib/matcha-sort-header/example/sort-overview-example.css +3 -0
  225. package/src/lib/matcha-sort-header/example/sort-overview-example.html +21 -0
  226. package/src/lib/matcha-sort-header/sort-header.argtypes.ts +11 -0
  227. package/src/lib/matcha-sort-header/sort-header.directive.ts +16 -0
  228. package/src/lib/matcha-sort-header/sort-header.mdx +78 -0
  229. package/src/lib/matcha-sort-header/sort-header.module.ts +10 -0
  230. package/src/lib/matcha-sort-header/sort-header.stories.ts +34 -0
  231. package/src/lib/matcha-stepper/stepper.argtypes.ts +92 -0
  232. package/src/lib/matcha-stepper/stepper.directive.ts +16 -0
  233. package/src/lib/matcha-stepper/stepper.mdx +68 -0
  234. package/src/lib/matcha-stepper/stepper.module.ts +10 -0
  235. package/src/lib/matcha-stepper/stepper.stories.ts +163 -0
  236. package/src/lib/matcha-table/example/table-basic-example.component.ts +37 -0
  237. package/src/lib/matcha-table/example/table-basic-example.css +0 -0
  238. package/src/lib/matcha-table/example/table-basic-example.html +35 -0
  239. package/src/lib/matcha-table/table.argtypes.ts +11 -0
  240. package/src/lib/matcha-table/table.directive.ts +16 -0
  241. package/src/lib/matcha-table/table.mdx +78 -0
  242. package/src/lib/matcha-table/table.module.ts +10 -0
  243. package/src/lib/matcha-table/table.stories.ts +34 -0
  244. package/src/lib/matcha-tabs/tabs.argtypes.ts +11 -0
  245. package/src/lib/matcha-tabs/tabs.directive.ts +17 -0
  246. package/src/lib/matcha-tabs/tabs.mdx +69 -0
  247. package/src/lib/matcha-tabs/tabs.module.ts +10 -0
  248. package/src/lib/matcha-tabs/tabs.stories.ts +49 -0
  249. package/src/lib/matcha-tabs/tabs.stories.txt +18 -0
  250. package/src/lib/matcha-toolbar/toolbar.argtypes.ts +20 -0
  251. package/src/lib/matcha-toolbar/toolbar.directive.ts +11 -0
  252. package/src/lib/matcha-toolbar/toolbar.mdx +57 -0
  253. package/src/lib/matcha-toolbar/toolbar.module.ts +10 -0
  254. package/src/lib/matcha-toolbar/toolbar.stories.ts +100 -0
  255. package/src/lib/matcha-tooltip/tooltip.argtypes.ts +11 -0
  256. package/src/lib/matcha-tooltip/tooltip.directive.ts +16 -0
  257. package/src/lib/matcha-tooltip/tooltip.mdx +69 -0
  258. package/src/lib/matcha-tooltip/tooltip.module.ts +10 -0
  259. package/src/lib/matcha-tooltip/tooltip.stories.ts +79 -0
  260. package/src/lib/matcha-tree/tree.argtypes.ts +42 -0
  261. package/src/lib/matcha-tree/tree.directive.ts +16 -0
  262. package/src/lib/matcha-tree/tree.mdx +49 -0
  263. package/src/lib/matcha-tree/tree.module.ts +10 -0
  264. package/src/lib/matcha-tree/tree.stories.ts +130 -0
  265. package/src/public-api.ts +92 -0
  266. package/tsconfig.lib.json +18 -0
  267. package/tsconfig.lib.prod.json +10 -0
  268. package/tsconfig.spec.json +14 -0
  269. package/esm2022/lib/matcha-button/matcha-button.component.mjs +0 -12
  270. package/esm2022/lib/matcha-card/matcha-card-content/matcha-card-content.component.mjs +0 -12
  271. package/esm2022/lib/matcha-card/matcha-card-footer/matcha-card-footer.component.mjs +0 -12
  272. package/esm2022/lib/matcha-card/matcha-card-header/matcha-card-header.component.mjs +0 -12
  273. package/esm2022/lib/matcha-card/matcha-card.component.mjs +0 -12
  274. package/esm2022/lib/matcha-card/matcha-card.module.mjs +0 -40
  275. package/esm2022/lib/matcha-components.module.mjs +0 -27
  276. package/esm2022/matcha-components.mjs +0 -5
  277. package/esm2022/public-api.mjs +0 -20
  278. package/fesm2022/matcha-components.mjs +0 -113
  279. package/fesm2022/matcha-components.mjs.map +0 -1
  280. package/index.d.ts +0 -5
  281. package/lib/matcha-button/matcha-button.component.d.ts +0 -5
  282. package/lib/matcha-card/matcha-card-content/matcha-card-content.component.d.ts +0 -5
  283. package/lib/matcha-card/matcha-card-footer/matcha-card-footer.component.d.ts +0 -5
  284. package/lib/matcha-card/matcha-card-header/matcha-card-header.component.d.ts +0 -5
  285. package/lib/matcha-card/matcha-card.component.d.ts +0 -5
  286. package/lib/matcha-card/matcha-card.module.d.ts +0 -11
  287. package/lib/matcha-components.module.d.ts +0 -8
  288. package/public-api.d.ts +0 -7
package/README.md CHANGED
@@ -4,8 +4,9 @@ This library was generated with [Angular CLI](https://github.com/angular/angular
4
4
 
5
5
  ## Code scaffolding
6
6
 
7
- Run `ng generate component component-name --project matcha-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project matcha-components`.
8
- > Note: Don't forget to add `--project matcha-components` or else it will be added to the default project in your `angular.json` file.
7
+ Run `ng g c component-name --project matcha-components` to generate a new component. You can also use `ng g directive|pipe|service|class|guard|interface|enum|module --project matcha-components`, in case of nested components you can use `ng g c component-name/child-component --project matcha-component`.
8
+
9
+ > Note: Don't forget to add `--project matcha-components` or else it will be added to the default project in your `angular.json` file.
9
10
 
10
11
  ## Build
11
12
 
@@ -19,6 +20,242 @@ After building your library with `ng build matcha-components`, go to the dist fo
19
20
 
20
21
  Run `ng test matcha-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
22
 
23
+ ## Running storybook
24
+
25
+ Run `ng run matcha-components:storybook` or `npm run storybook`to execute the storybook aplication and see the documentation of all components via [storybook](https://storybook.js.org/tutorials/intro-to-storybook/angular/en/get-started/).
26
+
27
+ ## Running example aplication
28
+
29
+ Run `ng s --project matcha-design-system` to execute an angular aplication that you can for exemple test your components or directives in pratice.
30
+
31
+ ## Models of Theme Files
32
+
33
+ - Theming both Angular Material and Matcha Components
34
+
35
+ ```scss
36
+ @use "@angular/material" as mat;
37
+ @use "../lib/main.scss" as matcha;
38
+ @include mat.core();
39
+
40
+ //MATCHA THEME - LIGHT
41
+ // palettes
42
+ $default-light-primary: matcha.palette(matcha.$blue-grey, 500, 400, 600);
43
+ $default-light-accent: matcha.palette(matcha.$lime, 500, 200, 900);
44
+ $default-light-warn: matcha.palette(matcha.$red, 900, 200, 900);
45
+ // typography
46
+ $matcha-default-typography: matcha.matcha-typography-config(
47
+ $font-family: "Arial",
48
+ );
49
+ $mat-default-typography: mat.define-typography-config(
50
+ $font-family: "Arial",
51
+ );
52
+ // theme
53
+ $matcha-default-theme: matcha.light-theme($default-light-primary, $default-light-accent, $default-light-warn);
54
+ $mat-default-theme: mat.define-light-theme(
55
+ (
56
+ color: (
57
+ primary: $default-light-primary,
58
+ accent: $default-light-accent,
59
+ warn: $default-light-warn,
60
+ ),
61
+ typography: $mat-default-typography,
62
+ )
63
+ );
64
+
65
+ .theme-default-light {
66
+ @include mat.all-component-themes($mat-default-theme);
67
+ @include matcha.matcha-components($matcha-default-theme);
68
+ @include matcha.matcha-typography($matcha-default-typography);
69
+ }
70
+ ```
71
+
72
+ - Theming Matcha Components
73
+
74
+ ```scss
75
+ @use "../lib/main.scss" as matcha;
76
+
77
+ //MATCHA THEME - DARK
78
+ // palette
79
+ $default-dark-primary: matcha.palette(matcha.$blue-grey, 100, 50, 200);
80
+ $default-dark-accent: matcha.palette(matcha.$lime, A400, A200, A700);
81
+ $default-dark-warn: matcha.palette(matcha.$red, 200, 50, 300);
82
+ // typography
83
+ $matcha-default-typography: matcha.matcha-typography-config(
84
+ $font-family: "Arial",
85
+ );
86
+ // theme
87
+ $matcha-default-theme: matcha.dark-theme($default-dark-primary, $default-dark-accent, $default-dark-warn);
88
+
89
+ .theme-default-dark {
90
+ @include matcha.matcha-components($matcha-default-theme);
91
+ @include matcha.matcha-typography($matcha-default-typography);
92
+ }
93
+ ```
94
+
22
95
  ## Further help
23
96
 
24
97
  To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
98
+ To get more help on the Storybook [stories](https://github.com/geromegrignon/angular-material-storybook/blob/main/stories/components/progress-bar/progress-bar.stories.ts)
99
+
100
+ ## Roadmap
101
+
102
+ **Alpha** components are in-development and may have many frequent breaking
103
+ changes.
104
+
105
+ **Beta** components are mostly polished and ready for use, but may still have
106
+ breaking changes.
107
+
108
+ **Stable** components are reviewed, documented, and API complete.
109
+
110
+ - ❌ Not started
111
+ - 🟡 In progress
112
+ - ✅ Complete
113
+
114
+ ### `v1.0.0` (2023)
115
+
116
+ | Component | Alpha | Beta | Stable |
117
+ | ----------------------------- | :---: | :--: | :----: |
118
+ | Button | ❌ | ❌ | ❌ |
119
+ | FAB | ❌ | ❌ | ❌ |
120
+ | Icon button | ❌ | ❌ | ❌ |
121
+ | Card | ✅ | ❌ | ❌ |
122
+ | Checkbox | ❌ | ❌ | ❌ |
123
+ | Chips | ❌ | ❌ | ❌ |
124
+ | Dialog | ❌ | ❌ | ❌ |
125
+ | Divider | ❌ | ❌ | ❌ |
126
+ | Elevation | ❌ | ❌ | ❌ |
127
+ | Focus ring | ❌ | ❌ | ❌ |
128
+ | Field | ❌ | ❌ | ❌ |
129
+ | Icon | ❌ | ❌ | ❌ |
130
+ | List | ❌ | ❌ | ❌ |
131
+ | Menu | ❌ | ❌ | ❌ |
132
+ | Progress indicator (circular) | ❌ | ❌ | ❌ |
133
+ | Progress indicator (linear) | ❌ | ❌ | ❌ |
134
+ | Radio button | ❌ | ❌ | ❌ |
135
+ | Ripple | ❌ | ❌ | ❌ |
136
+ | Select | ❌ | ❌ | ❌ |
137
+ | Slider | ❌ | ❌ | ❌ |
138
+ | Switch | ❌ | ❌ | ❌ |
139
+ | Tabs | ❌ | ❌ | ❌ |
140
+ | Title | 🟡 | ❌ | ❌ |
141
+ | Text field | ❌ | ❌ | ❌ |
142
+
143
+ ### Future
144
+
145
+ These features are planned for a future release.
146
+
147
+ | Component | Alpha | Beta | Stable |
148
+ | ----------------- | :---: | :--: | :----: |
149
+ | Autocomplete | ❌ | ❌ | ❌ |
150
+ | Badge | ❌ | ❌ | ❌ |
151
+ | Banner | ❌ | ❌ | ❌ |
152
+ | Bottom app bar | ❌ | ❌ | ❌ |
153
+ | Bottom sheet | ❌ | ❌ | ❌ |
154
+ | Segmented button | ❌ | ❌ | ❌ |
155
+ | Card | ❌ | ❌ | ❌ |
156
+ | Data table | ❌ | ❌ | ❌ |
157
+ | Date picker | ❌ | ❌ | ❌ |
158
+ | Navigation bar | ❌ | ❌ | ❌ |
159
+ | Navigation drawer | ❌ | ❌ | ❌ |
160
+ | Navigation rail | ❌ | ❌ | ❌ |
161
+ | Search | ❌ | ❌ | ❌ |
162
+ | Snackbar | ❌ | ❌ | ❌ |
163
+ | Time picker | ❌ | ❌ | ❌ |
164
+ | Tooltip | ❌ | ❌ | ❌ |
165
+ | Top app bar | ❌ | ❌ | ❌ |
166
+
167
+ ### Base CLASSES CSS
168
+
169
+ ❌TYPOGRAPHY
170
+ ❌SPACING
171
+ ❌BORDER
172
+ ✅COLORS
173
+ ❌SIZES
174
+
175
+ ### Atomic Components
176
+
177
+ FORM
178
+ ❌autocomplete
179
+ ❌checkbox
180
+ ❌datepicker
181
+ ❌form field
182
+ ❌input
183
+ ❌radio button
184
+ ❌select
185
+ ❌slider
186
+ ❌slide toggle
187
+
188
+ ---
189
+
190
+ NAVIGATION
191
+ ❌menu
192
+ ❌sidebar
193
+ ❌toolbar
194
+ ❌header
195
+
196
+ ---
197
+
198
+ LAYOUT
199
+ ❌badge
200
+ ❌bottom sheet
201
+ ✅card
202
+ ❌divider
203
+ ❌elevation
204
+ ❌expansion panel
205
+ ❌display grid
206
+ ❌display flex
207
+ ❌list
208
+ ❌stepper
209
+ ❌tabs
210
+ ❌titles
211
+ ❌tree
212
+
213
+ ---
214
+
215
+ BUTTONS/INDICATORS
216
+ ❌button
217
+ ❌button toggle
218
+ ❌chips
219
+ ❌icon
220
+ ✅progress spinner
221
+ ❌progress bar
222
+ ❌ripple
223
+
224
+ ---
225
+
226
+ POPUP/MODALS
227
+ ❌dialog
228
+ ❌snackbar
229
+ ❌tooltip
230
+
231
+ ---
232
+
233
+ DATATABLE
234
+ ❌paginator
235
+ ❌sort header
236
+ ❌table
237
+
238
+ ---
239
+
240
+ At moment we have 6 bases and 42 atoms to make documentation
241
+ 1 component equals to 2,083% do progresso
242
+
243
+ ---
244
+
245
+ ### Molecular Components
246
+
247
+ ---
248
+
249
+ Autocomplete de membros
250
+
251
+ ### Organisms Components
252
+
253
+ ---
254
+
255
+ Header de buscas
256
+
257
+ ### Pages Components
258
+
259
+ ---
260
+
261
+ List page
Binary file
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/matcha-components",
4
+ "lib": {
5
+ "entryFile": "src/public-api.ts"
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,25 +1,12 @@
1
1
  {
2
- "name": "matcha-components",
3
- "version": "1.0.5",
4
- "peerDependencies": {
5
- "@angular/common": "^16.0.0",
6
- "@angular/core": "^16.0.0"
7
- },
8
- "dependencies": {
9
- "tslib": "^2.3.0"
10
- },
11
- "sideEffects": false,
12
- "module": "fesm2022/matcha-components.mjs",
13
- "typings": "index.d.ts",
14
- "exports": {
15
- "./package.json": {
16
- "default": "./package.json"
2
+ "name": "matcha-components",
3
+ "version": "1.0.7",
4
+ "peerDependencies": {
5
+ "@angular/common": "^16.0.0",
6
+ "@angular/core": "^16.0.0"
17
7
  },
18
- ".": {
19
- "types": "./index.d.ts",
20
- "esm2022": "./esm2022/matcha-components.mjs",
21
- "esm": "./esm2022/matcha-components.mjs",
22
- "default": "./fesm2022/matcha-components.mjs"
23
- }
24
- }
25
- }
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "sideEffects": false
12
+ }
@@ -0,0 +1,105 @@
1
+ import { Story } from "@storybook/blocks";
2
+ import { Meta } from "@storybook/addon-docs";
3
+
4
+ <Meta title="Apresentação / Boas-Vindas" />
5
+
6
+ <svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" class="w-100-p" viewBox="0 0 980 489.48047" xmlns:xlink="http://www.w3.org/1999/xlink">
7
+ <path d="M317.06006,205.25977a205.979,205.979,0,0,0-77.68457,15.06689c-.99365.40723-1.99121.81641-2.98828,1.23486A206.78061,206.78061,0,0,0,110,412.31982v225.94a9.01016,9.01016,0,0,0,9,9l.17871.01562c173.4668,31.50195,342.106,47.46484,501.37207,47.46484q3.58155,0,7.15625-.01074c156.55469-.47656,308.99414-16.43945,453.083-47.44726l.21-.02246a9.00984,9.00984,0,0,0,9-9v-424a9.01015,9.01015,0,0,0-9-9Z" transform="translate(-110 -205.25977)" class="fill-surface" />
8
+ <path id="f4300551-56ef-4356-8f30-d0080b223343-211" data-name="Path 40" d="M855.79948,385.45241a5.94683,5.94683,0,0,0,0,11.89205H1004.8852a5.94683,5.94683,0,1,0,.19525-11.89205q-.09762-.00165-.19525,0Z" transform="translate(-110 -205.25977)" class="fill-bg" />
9
+ <path d="M1038.69419,383.79676a1.17,1.17,0,0,0,0,1.65472l5.02282,5.02288H1031.3312a1.17005,1.17005,0,1,0,0,2.34011H1043.717l-5.02282,5.02287a1.17005,1.17005,0,1,0,1.65468,1.65473l7.02029-7.02029a1.17011,1.17011,0,0,0,0-1.65473l-7.02029-7.02029A1.17,1.17,0,0,0,1038.69419,383.79676Z" transform="translate(-110 -205.25977)" class="fill-accent" />
10
+ <path d="M821.92744,383.79676a1.17,1.17,0,0,1,0,1.65472l-5.02282,5.02288h12.38581a1.17006,1.17006,0,1,1,0,2.34011H816.90462l5.02282,5.02287a1.17,1.17,0,0,1-1.65467,1.65473l-7.0203-7.02029a1.17011,1.17011,0,0,1,0-1.65473l7.0203-7.02029A1.17,1.17,0,0,1,821.92744,383.79676Z" transform="translate(-110 -205.25977)" class="fill-accent" />
11
+ <g opacity="0.4">
12
+ <circle cx="751.81992" cy="50.3899" r="6.3899" class="fill-accent" />
13
+ <circle cx="778.44451" cy="50.3899" r="6.3899" class="fill-accent" />
14
+ <circle cx="805.06909" cy="50.3899" r="6.3899" class="fill-accent" />
15
+ <circle cx="831.69368" cy="50.3899" r="6.3899" class="fill-accent" />
16
+ <circle cx="858.31826" cy="50.3899" r="6.3899" class="fill-accent" />
17
+ <circle cx="884.94285" cy="50.3899" r="6.3899" class="fill-accent" />
18
+ <circle cx="911.56744" cy="50.3899" r="6.3899" class="fill-accent" />
19
+ <circle cx="751.81992" cy="70.62459" r="6.3899" class="fill-accent" />
20
+ <circle cx="778.44451" cy="70.62459" r="6.3899" class="fill-accent" />
21
+ <circle cx="805.06909" cy="70.62459" r="6.3899" class="fill-accent" />
22
+ <circle cx="831.69368" cy="70.62459" r="6.3899" class="fill-accent" />
23
+ <circle cx="858.31826" cy="70.62459" r="6.3899" class="fill-accent" />
24
+ <circle cx="884.94285" cy="70.62459" r="6.3899" class="fill-accent" />
25
+ <circle cx="911.56744" cy="70.62459" r="6.3899" class="fill-accent" />
26
+ <circle cx="751.81992" cy="90.85927" r="6.3899" class="fill-accent" />
27
+ <circle cx="778.44451" cy="90.85927" r="6.3899" class="fill-accent" />
28
+ <circle cx="805.06909" cy="90.85927" r="6.3899" class="fill-accent" />
29
+ <circle cx="831.69368" cy="90.85927" r="6.3899" class="fill-accent" />
30
+ <circle cx="858.31826" cy="90.85927" r="6.3899" class="fill-accent" />
31
+ <circle cx="884.94285" cy="90.85927" r="6.3899" class="fill-accent" />
32
+ <circle cx="911.56744" cy="90.85927" r="6.3899" class="fill-accent" />
33
+ <circle cx="751.81992" cy="111.09396" r="6.3899" class="fill-accent" />
34
+ <circle cx="778.44451" cy="111.09396" r="6.3899" class="fill-accent" />
35
+ <circle cx="751.81992" cy="131.32864" r="6.3899" class="fill-accent" />
36
+ <circle cx="778.44451" cy="131.32864" r="6.3899" class="fill-accent" />
37
+ <circle cx="805.06909" cy="131.32864" r="6.3899" class="fill-accent" />
38
+ <circle cx="805.06909" cy="111.09396" r="6.3899" class="fill-accent" />
39
+ <circle cx="831.69368" cy="111.09396" r="6.3899" class="fill-accent" />
40
+ <circle cx="858.31826" cy="111.09396" r="6.3899" class="fill-accent" />
41
+ <circle cx="884.94285" cy="111.09396" r="6.3899" class="fill-accent" />
42
+ <circle cx="911.56744" cy="111.09396" r="6.3899" class="fill-accent" />
43
+ </g>
44
+ <path d="M770.15723,580.71875a35.27246,35.27246,0,1,1,35.27246-35.27246A35.31251,35.31251,0,0,1,770.15723,580.71875Zm0-68.54492a33.27246,33.27246,0,1,0,33.27246,33.27246A33.30991,33.30991,0,0,0,770.15723,512.17383Z" transform="translate(-110 -205.25977)" class="fill-bg-inverse" />
45
+ <path d="M783.68058,542.06548H773.53835V531.92315a3.38081,3.38081,0,0,0-6.76162,0v10.14233H756.6344a3.38076,3.38076,0,0,0,0,6.76152h10.14233v10.14233a3.38081,3.38081,0,0,0,6.76162,0V548.827h10.14223a3.38076,3.38076,0,1,0,0-6.76152Z" transform="translate(-110 -205.25977)" class="fill-accent" />
46
+ <g opacity="0.4">
47
+ <circle cx="54.0239" cy="374.76553" r="5.02391" class="fill-accent" />
48
+ <circle cx="54.0239" cy="353.83257" r="5.02391" class="fill-accent" />
49
+ <circle cx="54.0239" cy="332.89961" r="5.02391" class="fill-accent" />
50
+ <circle cx="54.0239" cy="311.96665" r="5.02391" class="fill-accent" />
51
+ <circle cx="54.0239" cy="291.03369" r="5.02391" class="fill-accent" />
52
+ <circle cx="54.0239" cy="270.10073" r="5.02391" class="fill-accent" />
53
+ <circle cx="54.0239" cy="249.16777" r="5.02391" class="fill-accent" />
54
+ <circle cx="69.93295" cy="374.76553" r="5.02391" class="fill-accent" />
55
+ <circle cx="69.93295" cy="353.83257" r="5.02391" class="fill-accent" />
56
+ <circle cx="69.93295" cy="332.89961" r="5.02391" class="fill-accent" />
57
+ <circle cx="69.93295" cy="311.96665" r="5.02391" class="fill-accent" />
58
+ <circle cx="69.93295" cy="291.03369" r="5.02391" class="fill-accent" />
59
+ <circle cx="69.93295" cy="270.10073" r="5.02391" class="fill-accent" />
60
+ <circle cx="69.93295" cy="249.16777" r="5.02391" class="fill-accent" />
61
+ <circle cx="85.842" cy="374.76553" r="5.02391" class="fill-accent" />
62
+ <circle cx="85.842" cy="353.83257" r="5.02391" class="fill-accent" />
63
+ <circle cx="85.842" cy="332.89961" r="5.02391" class="fill-accent" />
64
+ <circle cx="85.842" cy="311.96665" r="5.02391" class="fill-accent" />
65
+ <circle cx="85.842" cy="291.03369" r="5.02391" class="fill-accent" />
66
+ <circle cx="85.842" cy="270.10073" r="5.02391" class="fill-accent" />
67
+ <circle cx="85.842" cy="249.16777" r="5.02391" class="fill-accent" />
68
+ <circle cx="101.75105" cy="374.76553" r="5.02391" class="fill-accent" />
69
+ <circle cx="101.75105" cy="353.83257" r="5.02391" class="fill-accent" />
70
+ <circle cx="117.6601" cy="374.76553" r="5.02391" class="fill-accent" />
71
+ <circle cx="117.6601" cy="353.83257" r="5.02391" class="fill-accent" />
72
+ <circle cx="117.6601" cy="332.89961" r="5.02391" class="fill-accent" />
73
+ <circle cx="101.75105" cy="332.89961" r="5.02391" class="fill-accent" />
74
+ <circle cx="101.75105" cy="311.96665" r="5.02391" class="fill-accent" />
75
+ <circle cx="101.75105" cy="291.03369" r="5.02391" class="fill-accent" />
76
+ <circle cx="101.75105" cy="270.10073" r="5.02391" class="fill-accent" />
77
+ <circle cx="101.75105" cy="249.16777" r="5.02391" class="fill-accent" />
78
+ </g>
79
+ <path d="M607.40837,238.262H273.66631a6.18856,6.18856,0,0,0-6.1823,6.18237v285.3832a6.18855,6.18855,0,0,0,6.1823,6.18236H607.40837a6.1886,6.1886,0,0,0,6.18237-6.18236V244.44434A6.18861,6.18861,0,0,0,607.40837,238.262Zm3.70479,291.56557a3.71813,3.71813,0,0,1-3.70479,3.71637H273.66631a3.71067,3.71067,0,0,1-3.70472-3.71637V244.44434a3.71067,3.71067,0,0,1,3.70472-3.71637H607.40837a3.71813,3.71813,0,0,1,3.70479,3.71637Z" transform="translate(-110 -205.25977)" class="fill-bg-inverse" />
80
+ <path d="M350.70245,485.26609c0,.43995-.01159.87989-.03477,1.30825a25.17464,25.17464,0,0,1-50.28069,0c-.02317-.42836-.03469-.8683-.03469-1.30825a25.17508,25.17508,0,1,1,50.35015,0Z" transform="translate(-110 -205.25977)" class="fill-accent" />
81
+ <path d="M581.475,468.47884H383.66331a4.19682,4.19682,0,0,0,0,8.39363H581.475a4.19682,4.19682,0,0,0,0-8.39363Z" transform="translate(-110 -205.25977)" class="fill-bg-inverse" />
82
+ <path d="M468.78046,493.65971H383.66331a4.191,4.191,0,0,0,0,8.382h85.11715a4.191,4.191,0,1,0,0-8.382Z" transform="translate(-110 -205.25977)" class="fill-accent" />
83
+ <path d="M686.69824,438.84082H352.958a8.559,8.559,0,0,1-8.54883-8.5498V283.8291a8.55888,8.55888,0,0,1,8.54883-8.54931H686.69824a8.55888,8.55888,0,0,1,8.54883,8.54931V430.291A8.559,8.559,0,0,1,686.69824,438.84082ZM352.958,278.27979a5.55529,5.55529,0,0,0-5.54883,5.54931V430.291a5.55572,5.55572,0,0,0,5.54883,5.5498H686.69824a5.55572,5.55572,0,0,0,5.54883-5.5498V283.8291a5.55529,5.55529,0,0,0-5.54883-5.54931Z" transform="translate(-110 -205.25977)" class="fill-accent" />
84
+ <path d="M420.9242,328.69922a4.19591,4.19591,0,1,0,0,8.39182H618.73156a4.19591,4.19591,0,1,0,0-8.39182Z" transform="translate(-110 -205.25977)" class="fill-accent" />
85
+ <path d="M420.9242,353.01178a4.19591,4.19591,0,0,0,0,8.39183H618.73156a4.19592,4.19592,0,0,0,0-8.39183Z" transform="translate(-110 -205.25977)" class="fill-accent" />
86
+ <path d="M420.9242,377.02952a4.19591,4.19591,0,0,0,0,8.39183h85.11711a4.19592,4.19592,0,0,0,0-8.39183Z" transform="translate(-110 -205.25977)" class="fill-accent" />
87
+ <path d="M741.72363,500.89258l-33.51977-47.30731,10.85107,2.2611a1.50113,1.50113,0,1,0,.61212-2.9392l-16.17059-3.36628-2.18262,16.37055a1.50115,1.50115,0,1,0,2.976.39642l1.46319-10.99322L739.27637,502.627a1.49976,1.49976,0,1,0,2.44726-1.73437Z" transform="translate(-110 -205.25977)" class="fill-accent" />
88
+ <path d="M559.66593,638.58034H321.40883a4.41735,4.41735,0,0,1-4.41216-4.41216V575.06677a4.41735,4.41735,0,0,1,4.41216-4.41216h238.2571a4.41735,4.41735,0,0,1,4.41216,4.41216v59.10141A4.41735,4.41735,0,0,1,559.66593,638.58034Zm-238.2571-66.16087a2.65019,2.65019,0,0,0-2.6473,2.6473v59.10141a2.65019,2.65019,0,0,0,2.6473,2.64729h238.2571a2.65019,2.65019,0,0,0,2.64729-2.64729V575.06677a2.65019,2.65019,0,0,0-2.64729-2.6473Z" transform="translate(-110 -205.25977)" class="fill-bg-inverse" />
89
+ <circle cx="248.42913" cy="397.08997" r="17.97281" class="fill-accent" />
90
+ <path d="M399.93776,590.36787a2.99547,2.99547,0,1,0,0,5.99093H541.15269a2.99546,2.99546,0,1,0,0-5.99093Z" transform="translate(-110 -205.25977)" class="fill-accent" />
91
+ <path d="M399.93776,608.34068a2.99547,2.99547,0,1,0,0,5.99093H460.703a2.99546,2.99546,0,1,0,0-5.99093Z" transform="translate(-110 -205.25977)" class="fill-accent" />
92
+ <path d="M874.0245,428.0156H979.91678a4.41735,4.41735,0,0,1,4.41216,4.41216V542.71023a4.41735,4.41735,0,0,1-4.41216,4.41216H874.0245a4.41736,4.41736,0,0,1-4.41217-4.41216V432.42776A4.41736,4.41736,0,0,1,874.0245,428.0156ZM979.91678,545.35752a2.65019,2.65019,0,0,0,2.6473-2.64729V432.42776a2.6502,2.6502,0,0,0-2.6473-2.6473H874.0245a2.65019,2.65019,0,0,0-2.6473,2.6473V542.71023a2.65019,2.65019,0,0,0,2.6473,2.64729Z" transform="translate(-110 -205.25977)" class="fill-bg-inverse" />
93
+ <path d="M957.35324,524.38014a2.99547,2.99547,0,0,0,0-5.99094H896.588a2.99547,2.99547,0,0,0,0,5.99094Z" transform="translate(-110 -205.25977)" class="fill-accent" />
94
+ <path d="M957.35324,506.73149a2.99547,2.99547,0,1,0,0-5.99093H896.588a2.99547,2.99547,0,1,0,0,5.99093Z" transform="translate(-110 -205.25977)" class="fill-accent" />
95
+ <path d="M926.97042,450.75785a18.85509,18.85509,0,1,1-18.85509,18.85509A18.87645,18.87645,0,0,1,926.97042,450.75785Z" transform="translate(-110 -205.25977)" class="fill-accent" />
96
+ </svg>
97
+
98
+ <div class="d-flex-column mt-64">
99
+ <h3 class="">Seja Bem-Vindo(a) ao</h3>
100
+ <h1 class="">Matcha Design System</h1>
101
+ </div>
102
+
103
+ ---
104
+
105
+ <div class="grid-md-5"></div>
@@ -0,0 +1,180 @@
1
+ import { Meta } from '@storybook/addon-docs';
2
+
3
+ <Meta title="Fundamentos / Borders" />
4
+
5
+ ### Borders
6
+
7
+ Os tamanhos para as classes de border vão de **0** até **8**.
8
+
9
+ <div class="h-400 w-100-p overflow-y-scroll">
10
+ <table class="w-100-p">
11
+ <thead>
12
+ <tr>
13
+ <th>Classe</th>
14
+ <th>Propriedade</th>
15
+ </tr>
16
+ </thead>
17
+ <tbody>
18
+ <tr>
19
+ <td>border-none</td>
20
+ <td>border: none;</td>
21
+ </tr>
22
+ {Array.from({ length: 9 }, (_, index) => {
23
+ const borderValue = (index - 1) + 1;
24
+ return (
25
+ <>
26
+ {[
27
+ {'abrev':'b', 'prop': ''},
28
+ {'abrev':'bt', 'prop': '-top'},
29
+ {'abrev':'br', 'prop': '-right'},
30
+ {'abrev':'bb', 'prop': '-bottom'},
31
+ {'abrev':'bl', 'prop': '-left'},
32
+ {'abrev':'bx', 'prop': '-left and border-right'},
33
+ {'abrev':'by', 'prop': '-top and border-bottom'}
34
+ ].map((border) => (
35
+ <tr>
36
+ <td>{`${border.abrev}-${borderValue}`}</td>
37
+ <td>{`border${border.prop}: ${borderValue}px solid;`}</td>
38
+ </tr>
39
+ ))
40
+ }
41
+ </>
42
+ );
43
+ })}
44
+ </tbody>
45
+ </table>
46
+ </div>
47
+
48
+ <div class="h-24"></div>
49
+
50
+ <p class="h5 mb-8 font-size-16 mt-4">Exemplos</p>
51
+
52
+ <div class="matcha-card background-surface d-flex-column gap-16">
53
+ <div class="matcha-card background-bg grid-2 gap-16 grid-sm-7 d-flex-sm-space-between">
54
+ <div class="accent-400-bg b-4 d-flex-center-center h-52 w-52 text-center font-size-14">b-4</div>
55
+ <div class="accent-400-bg bt-4 d-flex-center-center h-52 w-52 text-center font-size-14">bt-4</div>
56
+ <div class="accent-400-bg br-4 d-flex-center-center h-52 w-52 text-center font-size-14">br-4</div>
57
+ <div class="accent-400-bg bb-4 d-flex-center-center h-52 w-52 text-center font-size-14">bb-4</div>
58
+ <div class="accent-400-bg bl-4 d-flex-center-center h-52 w-52 text-center font-size-14">bl-4</div>
59
+ <div class="accent-400-bg bx-4 d-flex-center-center h-52 w-52 text-center font-size-14">bx-4</div>
60
+ <div class="accent-400-bg by-4 d-flex-center-center h-52 w-52 text-center font-size-14">by-4</div>
61
+ </div>
62
+ <div>
63
+ ```html
64
+ <div class="b-4">4px border</div>
65
+ <div class="bt-4">4px border-top</div>
66
+ <div class="br-4">4px border-right</div>
67
+ <div class="bb-4">4px border-bottom</div>
68
+ <div class="bl-4">4px border-left</div>
69
+ <div class="bx-4">4px border-left and border-right</div>
70
+ <div class="by-4">4px border-top and border-bottom</div>
71
+ ```
72
+ </div>
73
+ </div>
74
+
75
+ <div class="h-24"></div>
76
+
77
+ ### Border-radius
78
+
79
+ Os tamanhos para as classes de border vão de **1** até **8**.
80
+
81
+ <div class="h-400 w-100-p overflow-y-scroll">
82
+ <table class="w-100-p">
83
+ <thead>
84
+ <tr>
85
+ <th>Classe</th>
86
+ <th>Propriedade</th>
87
+ </tr>
88
+ </thead>
89
+ <tbody>
90
+ <tr>
91
+ <td>border-radius-0</td>
92
+ <td>border-radius: 0;</td>
93
+ </tr>
94
+ <tr>
95
+ <td>border-radius-t-0</td>
96
+ <td>border-radius: 0;</td>
97
+ </tr>
98
+ <tr>
99
+ <td>border-radius-r-0</td>
100
+ <td>border-radius: 0;</td>
101
+ </tr>
102
+ <tr>
103
+ <td>border-radius-b-0</td>
104
+ <td>border-radius: 0;</td>
105
+ </tr>
106
+ <tr>
107
+ <td>border-radius-l-0</td>
108
+ <td>border-radius: 0;</td>
109
+ </tr>
110
+ {Array.from({ length: 8 }, (_, index) => {
111
+ const borderValue = index + 1;
112
+ return (
113
+ <>
114
+ <tr>
115
+ <td>{`border-radius-${borderValue}`}</td>
116
+ <td>{`border-radius: ${borderValue}px;`}</td>
117
+ </tr>
118
+ <tr>
119
+ <td>{`border-radius-t-${borderValue}`}</td>
120
+ <td>{`border-radius: ${borderValue}px ${borderValue}px 0 0;`}</td>
121
+ </tr>
122
+ <tr>
123
+ <td>{`border-radius-r-${borderValue}`}</td>
124
+ <td>{`border-radius: 0 ${borderValue}px ${borderValue}px 0;`}</td>
125
+ </tr>
126
+ <tr>
127
+ <td>{`border-radius-b-${borderValue}`}</td>
128
+ <td>{`border-radius: 0 0 ${borderValue}px ${borderValue}px;`}</td>
129
+ </tr>
130
+ <tr>
131
+ <td>{`border-radius-l-${borderValue}`}</td>
132
+ <td>{`border-radius: ${borderValue}px 0 0 ${borderValue}px;`}</td>
133
+ </tr>
134
+ </>
135
+ );
136
+ })}
137
+ </tbody>
138
+ </table>
139
+ </div>
140
+
141
+ <div class="h-24"></div>
142
+
143
+ <p class="h5 mb-8 font-size-16 mt-4">Exemplos</p>
144
+
145
+ <div class="matcha-card background-surface d-flex-column gap-16">
146
+ <div class="matcha-card background-bg grid-2 gap-16 grid-sm-3 d-flex-md-space-between">
147
+ <div class="accent-400-bg border-radius-8 b-2 d-flex-center-center h-124 w-124 text-center font-size-14">border-radius-8</div>
148
+ <div class="accent-400-bg border-radius-t-8 b-2 d-flex-center-center h-124 w-124 text-center font-size-14">border-radius-t-8</div>
149
+ <div class="accent-400-bg border-radius-r-8 b-2 d-flex-center-center h-124 w-124 text-center font-size-14">border-radius-r-8</div>
150
+ <div class="accent-400-bg border-radius-b-8 b-2 d-flex-center-center h-124 w-124 text-center font-size-14">border-radius-b-8</div>
151
+ <div class="accent-400-bg border-radius-l-8 b-2 d-flex-center-center h-124 w-124 text-center font-size-14">border-radius-l-8</div>
152
+ </div>
153
+ <div>
154
+ ```html
155
+ <div class="border-radius-8">border-radius: 8px</div>
156
+ <div class="border-radius-t-8">border-radius: 8px 8px 0 0</div>
157
+ <div class="border-radius-r-8">border-radius: 0 8px 8px 0</div>
158
+ <div class="border-radius-b-8">border-radius: 0 0 8px 8px</div>
159
+ <div class="border-radius-l-8">border-radius: 8px 0 0 8px</div>
160
+ ```
161
+ </div>
162
+ </div>
163
+
164
+ <div class="h-24"></div>
165
+
166
+ ### Border Circle
167
+
168
+ <div class="h-24"></div>
169
+ <div class="matcha-card background-surface d-flex-column gap-16">
170
+ <div class="matcha-card background-bg d-flex-center-center py-16">
171
+ <div class="h-200 w-200 border-radius-circle accent-400-bg d-flex-center-center text-center">border-radius-circle</div>
172
+ </div>
173
+ <div>
174
+ ```html
175
+ <div class="border-radius-circle">border-radius: 999px</div>
176
+ ```
177
+ </div>
178
+
179
+ </div>
180
+