Skip to content

Commit

Permalink
feat(TotalLayout): Added TopZone to StepContainer
Browse files Browse the repository at this point in the history
feat(Icons): ReportIcon
  • Loading branch information
johan-fx committed Oct 9, 2024
1 parent 1f5bb39 commit 7f0a1e6
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { LoadingOverlay } from '../../../overlay/LoadingOverlay';
const TotalLayoutStepContainer = ({
stepName,
titleZone,
TopZone,
fullWidth,
noMargin,
children,
Expand All @@ -27,6 +28,7 @@ const TotalLayoutStepContainer = ({
fullWidth,
noMargin,
footerPadding,
TopZone,
},
{ name: 'TotalLayoutStepContainer' },
);
Expand All @@ -41,6 +43,7 @@ const TotalLayoutStepContainer = ({

return (
<Stack className={classes.stepContainer} fullHeight direction="column">
{TopZone}
{stepName && (
<Title className={classes.stepName} order={2} noFlex>
{stepName}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const TotalLayoutStepContainerStyles = createStyles(
(theme, { hasFooter, clean, fullWidth, noMargin, footerPadding, TopZone, forceNotMaxWidth }) => ({
root: {},
stepContainer: {
padding: clean ? 0 : '30px 0 0 0 ',
padding: clean || TopZone ? 0 : '30px 0 0 0 ',
marginLeft: fullWidth && !noMargin ? theme.spacing[8] : 0,
marginRight: fullWidth && !noMargin ? theme.spacing[8] : 0,
height: '100%',
Expand Down
1 change: 1 addition & 0 deletions packages/icons/solid/esm/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export { default as RedirectIcon } from './RedirectIcon'
export { default as RefreshIcon } from './RefreshIcon'
export { default as RemoveBoldIcon } from './RemoveBoldIcon'
export { default as ReorderDownIcon } from './ReorderDownIcon'
export { default as ReportPageIcon } from './ReportPageIcon'
export { default as RestoreIcon } from './RestoreIcon'
export { default as SearchPlusIcon } from './SearchPlusIcon'
export { default as SettingMenuHorizontalIcon } from './SettingMenuHorizontalIcon'
Expand Down
1 change: 1 addition & 0 deletions packages/icons/solid/esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export { default as RedirectIcon } from './RedirectIcon.js'
export { default as RefreshIcon } from './RefreshIcon.js'
export { default as RemoveBoldIcon } from './RemoveBoldIcon.js'
export { default as ReorderDownIcon } from './ReorderDownIcon.js'
export { default as ReportPageIcon } from './ReportPageIcon.js'
export { default as RestoreIcon } from './RestoreIcon.js'
export { default as SearchPlusIcon } from './SearchPlusIcon.js'
export { default as SettingMenuHorizontalIcon } from './SettingMenuHorizontalIcon.js'
Expand Down
1 change: 1 addition & 0 deletions packages/icons/solid/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export { default as RedirectIcon } from './RedirectIcon'
export { default as RefreshIcon } from './RefreshIcon'
export { default as RemoveBoldIcon } from './RemoveBoldIcon'
export { default as ReorderDownIcon } from './ReorderDownIcon'
export { default as ReportPageIcon } from './ReportPageIcon'
export { default as RestoreIcon } from './RestoreIcon'
export { default as SearchPlusIcon } from './SearchPlusIcon'
export { default as SettingMenuHorizontalIcon } from './SettingMenuHorizontalIcon'
Expand Down
1 change: 1 addition & 0 deletions packages/icons/solid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ module.exports.RedirectIcon = require("./RedirectIcon.js")
module.exports.RefreshIcon = require("./RefreshIcon.js")
module.exports.RemoveBoldIcon = require("./RemoveBoldIcon.js")
module.exports.ReorderDownIcon = require("./ReorderDownIcon.js")
module.exports.ReportPageIcon = require("./ReportPageIcon.js")
module.exports.RestoreIcon = require("./RestoreIcon.js")
module.exports.SearchPlusIcon = require("./SearchPlusIcon.js")
module.exports.SettingMenuHorizontalIcon = require("./SettingMenuHorizontalIcon.js")
Expand Down
3 changes: 3 additions & 0 deletions packages/icons/src/solid/report-page.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7f0a1e6

Please sign in to comment.