Skip to content

Commit

Permalink
feat: add ModalDimmer
Browse files Browse the repository at this point in the history
  • Loading branch information
qoalu authored and layershifter committed Jul 31, 2020
1 parent 125fda7 commit 34cddac
Show file tree
Hide file tree
Showing 15 changed files with 254 additions and 356 deletions.
34 changes: 0 additions & 34 deletions docs/src/examples/modules/Modal/Content/ModalExampleCloseIcon.js

This file was deleted.

59 changes: 0 additions & 59 deletions docs/src/examples/modules/Modal/Content/ModalExampleDimmer.js

This file was deleted.

75 changes: 0 additions & 75 deletions docs/src/examples/modules/Modal/Usage/ModalExampleCloseConfig.js

This file was deleted.

54 changes: 0 additions & 54 deletions docs/src/examples/modules/Modal/Usage/ModalExampleMultiple.js

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,11 @@ export {
ModalDescriptionProps,
StrictModalDescriptionProps,
} from './dist/commonjs/modules/Modal/ModalDescription'
export {
default as ModalDimmer,
ModalDimmerProps,
StrictModalDimmerProps,
} from './dist/commonjs/modules/Modal/ModalDimmer'
export {
default as ModalHeader,
ModalHeaderProps,
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export Modal from './modules/Modal'
export ModalActions from './modules/Modal/ModalActions'
export ModalContent from './modules/Modal/ModalContent'
export ModalDescription from './modules/Modal/ModalDescription'
export ModalDimmer from './modules/Modal/ModalDimmer'
export ModalHeader from './modules/Modal/ModalHeader'

export Popup from './modules/Popup'
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Modal/Modal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface StrictModalProps extends StrictPortalProps {
/** A Modal can reduce its complexity */
basic?: boolean

/** A modal can be vertically centered in the viewport */
/** A modal can be vertically centered in the viewport. */
centered?: boolean

/** Primary content. */
Expand Down
Loading

0 comments on commit 34cddac

Please sign in to comment.