You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,33 +54,33 @@ MML React components could be divided in four categories:
54
54
55
55
> Always host other components, can be themable
56
56
57
-
-[`Card`](/components/card)
58
-
-[`CardHeader`](/components/card-header)
59
-
-[`CardBody`](/components/card-body)
57
+
-[`Card`](src/components/Card.mdx)
58
+
-[`CardHeader`](src/components/CardHeader.mdx)
59
+
-[`CardBody`](src/components/CardBody.mdx)
60
60
61
61
### Core Components
62
62
63
63
> Basic components that can be composed and themed
64
64
65
-
-[`Text`](/components/text): a block of text
66
-
-[`Button`](/components/button): a simple button
67
-
-[`Image`](/components/image): a simple responsive image
68
-
-[`Input`](/components/input): an input field
69
-
-[`MD`](/components/md): renders markdown
70
-
-[`Icon`](/components/icon): simply displays an icon from material design icons
71
-
-[`Loading`](/components/loading): signals a _loading_ temporary state with a circular spinner
72
-
-[`Error`](/components/error): display an _error_ message
73
-
-[`Success`](/components/success): display a _success_ message
65
+
-[`Text`](src/components/Text.mdx): a block of text
66
+
-[`Button`](src/components/Button.mdx): a simple button
67
+
-[`Image`](src/components/Image.mdx): a simple responsive image
68
+
-[`Input`](src/components/Input.mdx): an input field
69
+
-[`MD`](src/components/MD.mdx): renders markdown
70
+
-[`Icon`](src/components/Icon.mdx): simply displays an icon from material design icons
71
+
-[`Loading`](src/components/Loading.mdx): signals a _loading_ temporary state with a circular spinner
72
+
-[`Error`](src/components/Error.mdx): display an _error_ message
73
+
-[`Success`](src/components/Success.mdx): display a _success_ message
74
74
75
75
### Structured Components
76
76
77
77
> More complex components composed of other components, certainly themable
78
78
79
-
-[`AddToCalendar`](/components/add-to-calendar): wrapped in a [`Card`](/components/card)
80
-
-[`Scheduler`](/components/scheduler): wrapped in a [`Card`](/components/card)
81
-
-[`ButtonList`](/components/button-list): a list of [`Button`](/components/button)
82
-
-[`Carousel`](/components/carousel): a series of [`CarouselItem`](/components/carousel-item) typically containing [`Image`](/components/image), [`Text`](/components/text) and [`Button`](/components/button)
83
-
-[`Number`](/components/number): input spinner composed of two [`Button`](/components/button) and a counter
79
+
-[`AddToCalendar`](src/components/AddToCalendar.mdx): wrapped in a [`Card`](src/components/Card.mdx)
80
+
-[`Scheduler`](src/components/Scheduler.mdx): wrapped in a [`Card`](src/components/Card.mdx)
81
+
-[`ButtonList`](src/components/ButtonList.mdx): a list of [`Button`](src/components/Button.mdx)
82
+
-[`Carousel`](src/components/Carousel.mdx): a series of [`CarouselItem`](src/components/CarouselItem.mdx) typically containing [`Image`](src/components/Image.mdx), [`Text`](src/components/Text.mdx) and [`Button`](src/components/Button.mdx)
83
+
-[`Number`](src/components/Number.mdx): input spinner composed of two [`Button`](src/components/Button.mdx) and a counter
84
84
85
85
## Styles customization
86
86
@@ -162,7 +162,7 @@ MML attachments always have two wrapping elements with the following two classes
162
162
The class `.mml-container` is responsible for some very basic styling that other components inherit, like `border-box` and `font-family`.
163
163
The class `.mml-wrap` instead takes care of contextual styling, like `border-radius` and `margin`s, that are most likely dependent on the differentiation between _me_ and _other_ messages [seen above](#differentiations-between-mine-and-others-messages).
164
164
165
-
Inside `mml-wrap` you could have as immediate children either the components as they are or the components automatically wrapped in a `<div class="mml-card">...</div>` when `<mml type="card">` is used (see the [`MML` docs](/mml#with-card-type)). Note that the `mml-card` class (and its `Card` React component) is also used internally in various components like [`Scheduler`](/components/scheduler) and [`AddToCalendar`](/components/add-to-calendar).
165
+
Inside `mml-wrap` you could have as immediate children either the components as they are or the components automatically wrapped in a `<div class="mml-card">...</div>` when `<mml type="card">` is used (see the [`MML` docs](src/mml/MML.mdx#with-card-type)). Note that the `mml-card` class (and its `Card` React component) is also used internally in various components like [`Scheduler`](src/components/Scheduler.mdx) and [`AddToCalendar`](src/components/AddToCalendar.mdx).
0 commit comments