Skip to content

Commit 338b6ac

Browse files
author
unknown
committed
4.25.1
1 parent bfacb08 commit 338b6ac

File tree

32 files changed

+2156
-2279
lines changed

32 files changed

+2156
-2279
lines changed

.huskyrc.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"hooks": {
3-
"pre-commit": ""
4-
}
2+
"hooks": {}
53
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ All fully responsive. All compatible with different browsers.
5959

6060
# Version:
6161

62-
- MDBReact 4.25.0
62+
- MDBReact 4.25.1
6363
- React 16.9.0
6464

6565
# Quick start

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Material Design for Bootstrap
22

3-
Version: MDB React 4.25.0
3+
Version: MDB React Pro 4.25.1
44

55
Documentation:
66
https://mdbootstrap.com/docs/react/

dist/css/mdb.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mdbreact.esm.js

Lines changed: 46 additions & 208 deletions
Large diffs are not rendered by default.

dist/mdbreact.js

Lines changed: 43 additions & 209 deletions
Large diffs are not rendered by default.

dist/scss/core/_typography.scss

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,5 @@
11
// Typography
22

3-
// Roboto font
4-
@font-face {
5-
font-family: Roboto;
6-
font-weight: 200;
7-
src: local(Roboto Thin), url("#{$roboto-font-path}Roboto-Thin.eot");
8-
src: url("#{$roboto-font-path}Roboto-Thin.eot?#iefix") format("embedded-opentype"), url("#{$roboto-font-path}Roboto-Thin.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Thin.woff") format("woff"), url("#{$roboto-font-path}Roboto-Thin.ttf") format("truetype");
9-
}
10-
11-
@font-face {
12-
font-family: Roboto;
13-
font-weight: 300;
14-
src: local(Roboto Light), url("#{$roboto-font-path}Roboto-Light.eot");
15-
src: url("#{$roboto-font-path}Roboto-Light.eot?#iefix") format("embedded-opentype"), url("#{$roboto-font-path}Roboto-Light.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Light.woff") format("woff"), url("#{$roboto-font-path}Roboto-Light.ttf") format("truetype");
16-
}
17-
18-
@font-face {
19-
font-family: Roboto;
20-
font-weight: 400;
21-
src: local(Roboto Regular), url("#{$roboto-font-path}Roboto-Regular.eot");
22-
src: url("#{$roboto-font-path}Roboto-Regular.eot?#iefix") format("embedded-opentype"), url("#{$roboto-font-path}Roboto-Regular.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Regular.woff") format("woff"), url("#{$roboto-font-path}Roboto-Regular.ttf") format("truetype");
23-
}
24-
25-
@font-face {
26-
font-family: Roboto;
27-
font-weight: 500;
28-
src: url("#{$roboto-font-path}Roboto-Medium.eot");
29-
src: url("#{$roboto-font-path}Roboto-Medium.eot?#iefix") format("embedded-opentype"), url("#{$roboto-font-path}Roboto-Medium.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Medium.woff") format("woff"), url("#{$roboto-font-path}Roboto-Medium.ttf") format("truetype");
30-
}
31-
32-
@font-face {
33-
font-family: Roboto;
34-
font-weight: 700;
35-
src: url("#{$roboto-font-path}Roboto-Bold.eot");
36-
src: url("#{$roboto-font-path}Roboto-Bold.eot?#iefix") format("embedded-opentype"), url("#{$roboto-font-path}Roboto-Bold.woff2") format("woff2"), url("#{$roboto-font-path}Roboto-Bold.woff") format("woff"), url("#{$roboto-font-path}Roboto-Bold.ttf") format("truetype");
37-
}
38-
393
// General properties
404
body {
415
font-family: $mdb-font-family;

dist/scss/core/_variables.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
// ===========================================================================
3131

3232
// Basic font properties
33-
$roboto-font-path: "../font/roboto/" !default;
3433
$roboto-font-family: "Roboto", sans-serif !default;
3534
$mdb-font-family: $roboto-font-family !default;
3635

dist/types/index.d.ts

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FunctionComponent, ReactNode, Component, ElementType, SyntheticEvent, ReactChild, RefObject, FormEvent } from 'react';
1+
import { FunctionComponent, ReactNode, Component, ElementType, SyntheticEvent, RefObject, FormEvent } from 'react';
22

33
declare const MDBAlert: FunctionComponent<{
44
color?:
@@ -642,26 +642,6 @@ declare const MDBFreeBird: FunctionComponent<{
642642
[rest: string]: any;
643643
}>;
644644

645-
declare const MDBGallery: FunctionComponent<{
646-
cellHeight?: number;
647-
children?: ReactChild;
648-
className?: string;
649-
cols?: number;
650-
tag?: string;
651-
spacing?: number;
652-
style?: object;
653-
}>;
654-
655-
declare const MDBGalleryList: FunctionComponent<{
656-
children?: ReactNode;
657-
className?: string;
658-
cols?: number;
659-
tag?: string;
660-
rows?: number;
661-
titleClasses?: string;
662-
elementClasses?: string;
663-
}>;
664-
665645
declare const MDBHamburgerToggler: FunctionComponent<{
666646
color?: string;
667647
className?: string;
@@ -1113,6 +1093,7 @@ declare const MDBTable: FunctionComponent<{
11131093
scrollY?: boolean;
11141094
small?: boolean;
11151095
striped?: boolean;
1096+
wrapperClassName ?:string;
11161097
[rest: string]: any;
11171098
}>;
11181099

@@ -1405,4 +1386,4 @@ interface TypesFree$1 extends classNameType {
14051386

14061387
declare class MDBInput extends Component<TypesFree$1, any> {}
14071388

1408-
export { MDBAlert, MDBAnimation, MDBBadge, MDBBox, MDBBreadcrumb, MDBBreadcrumbItem, MDBBtn, MDBBtnGroup, MDBBtnToolbar, MDBCard, MDBCardBody, MDBCardFooter, MDBCardGroup, MDBCardHeader, MDBCardImage, MDBCardText, MDBCardTitle, MDBCardImage$1 as MDBCardVideo, MDBCarousel, MDBCarouselCaption, MDBCarouselControl, MDBCarouselIndicator, MDBCarouselIndicators, MDBCarouselInner, MDBCarouselItem, MDBCloseIcon, MDBCol, MDBCollapse, MDBContainer, MDBDataTable, MDBDropdown, MDBDropdownItem, MDBDropdownMenu, MDBDropdownToggle, MDBEdgeHeader, MDBFooter, MDBFormInline, MDBFreeBird, MDBGallery, MDBGalleryList, MDBHamburgerToggler, MDBIcon, MDBIframe, MDBInput, MDBInputGroup, MDBInputSelect as MDBInputNumeric, MDBJumbotron, MDBLink, MDBListGroup, MDBListGroupItem, MDBMask, MDBMedia, MDBModal, MDBModalBody, MDBModalFooter, MDBModalHeader, MDBNav, MDBNavItem, MDBNavLink, MDBNavbar, MDBNavbarBrand, MDBNavbarNav, MDBNavbarToggler, MDBNotification, MDBPageItem, MDBPageLink as MDBPageNav, MDBPagination, MDBPopper as MDBPopover, MDBPopoverBody, MDBPopoverHeader, MDBPopper, MDBProgress, MDBRating, MDBRow, MDBTabContent, MDBTabPane, MDBTable, MDBTableBody, MDBTableFoot, MDBTableHead, MDBPopper as MDBTooltip, MDBTreeview, MDBTreeviewItem, MDBTreeviewList, MDBTypogrphy as MDBTypo, MDBTypogrphy as MDBTypography, MDBView, MDBWaves };
1389+
export { MDBAlert, MDBAnimation, MDBBadge, MDBBox, MDBBreadcrumb, MDBBreadcrumbItem, MDBBtn, MDBBtnGroup, MDBBtnToolbar, MDBCard, MDBCardBody, MDBCardFooter, MDBCardGroup, MDBCardHeader, MDBCardImage, MDBCardText, MDBCardTitle, MDBCardImage$1 as MDBCardVideo, MDBCarousel, MDBCarouselCaption, MDBCarouselControl, MDBCarouselIndicator, MDBCarouselIndicators, MDBCarouselInner, MDBCarouselItem, MDBCloseIcon, MDBCol, MDBCollapse, MDBContainer, MDBDataTable, MDBDropdown, MDBDropdownItem, MDBDropdownMenu, MDBDropdownToggle, MDBEdgeHeader, MDBFooter, MDBFormInline, MDBFreeBird, MDBHamburgerToggler, MDBIcon, MDBIframe, MDBInput, MDBInputGroup, MDBInputSelect as MDBInputNumeric, MDBJumbotron, MDBLink, MDBListGroup, MDBListGroupItem, MDBMask, MDBMedia, MDBModal, MDBModalBody, MDBModalFooter, MDBModalHeader, MDBNav, MDBNavItem, MDBNavLink, MDBNavbar, MDBNavbarBrand, MDBNavbarNav, MDBNavbarToggler, MDBNotification, MDBPageItem, MDBPageLink as MDBPageNav, MDBPagination, MDBPopper as MDBPopover, MDBPopoverBody, MDBPopoverHeader, MDBPopper, MDBProgress, MDBRating, MDBRow, MDBTabContent, MDBTabPane, MDBTable, MDBTableBody, MDBTableFoot, MDBTableHead, MDBPopper as MDBTooltip, MDBTreeview, MDBTreeviewItem, MDBTreeviewList, MDBTypogrphy as MDBTypo, MDBTypogrphy as MDBTypography, MDBView, MDBWaves };

docs/pages/TablePage.js

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,10 @@ const TablePage = props => {
198198

199199
return (
200200
<MDBContainer className='mt-3'>
201-
<DocsLink title='Tables' href='https://mdbootstrap.com/docs/react/tables/basic/' />
201+
<DocsLink
202+
title='Tables'
203+
href='https://mdbootstrap.com/docs/react/tables/basic/'
204+
/>
202205
<MDBRow className='py-3'>
203206
<MDBCol md='12'>
204207
<SectionContainer noBorder title='Basic example'>
@@ -246,7 +249,11 @@ const TablePage = props => {
246249
<MDBCard>
247250
<MDBCardBody>
248251
<MDBTable className='mb-5'>
249-
<MDBTableHead columns={data.columns} color='primary-color' textWhite />
252+
<MDBTableHead
253+
columns={data.columns}
254+
color='primary-color'
255+
textWhite
256+
/>
250257
<MDBTableBody rows={data.rows} />
251258
</MDBTable>
252259

@@ -281,7 +288,11 @@ const TablePage = props => {
281288
<MDBCard>
282289
<MDBCardBody>
283290
<MDBTable bordered>
284-
<MDBTableHead columns={data_collspan.columns} color='primary-color' textWhite />
291+
<MDBTableHead
292+
columns={data_collspan.columns}
293+
color='primary-color'
294+
textWhite
295+
/>
285296
<MDBTableBody rows={data_collspan.rows} />
286297
</MDBTable>
287298
</MDBCardBody>
@@ -311,7 +322,11 @@ const TablePage = props => {
311322
<MDBCard>
312323
<MDBCardBody>
313324
<MDBTable hover>
314-
<MDBTableHead columns={data_collspan.columns} color='secondary-color' textWhite />
325+
<MDBTableHead
326+
columns={data_collspan.columns}
327+
color='secondary-color'
328+
textWhite
329+
/>
315330
<MDBTableBody rows={data_collspan.rows} />
316331
</MDBTable>
317332
</MDBCardBody>
@@ -326,7 +341,11 @@ const TablePage = props => {
326341
<MDBCard>
327342
<MDBCardBody>
328343
<MDBTable small>
329-
<MDBTableHead columns={data_collspan.columns} color='primary-color' textWhite />
344+
<MDBTableHead
345+
columns={data_collspan.columns}
346+
color='primary-color'
347+
textWhite
348+
/>
330349
<MDBTableBody rows={data_collspan.rows} />
331350
</MDBTable>
332351
</MDBCardBody>
@@ -342,7 +361,11 @@ const TablePage = props => {
342361
<MDBCardBody>
343362
<MDBTable>
344363
<caption>List of users</caption>
345-
<MDBTableHead columns={data.columns} color='indigo' textWhite />
364+
<MDBTableHead
365+
columns={data.columns}
366+
color='indigo'
367+
textWhite
368+
/>
346369
<MDBTableBody rows={data.rows} />
347370
</MDBTable>
348371
</MDBCardBody>
@@ -357,7 +380,11 @@ const TablePage = props => {
357380
<MDBCard>
358381
<MDBCardBody>
359382
<MDBTable responsive>
360-
<MDBTableHead columns={data_responsive.columns} color='primary-color' textWhite />
383+
<MDBTableHead
384+
columns={data_responsive.columns}
385+
color='primary-color'
386+
textWhite
387+
/>
361388
<MDBTableBody rows={data_responsive.rows} />
362389
</MDBTable>
363390
</MDBCardBody>

0 commit comments

Comments
 (0)