diff --git a/packages/calendars/CHANGELOG.md b/packages/calendars/CHANGELOG.md
index e22921e7e..a50c57622 100644
--- a/packages/calendars/CHANGELOG.md
+++ b/packages/calendars/CHANGELOG.md
@@ -1,5 +1,14 @@
# @bubbles-ui/calendars
+## 1.2.72
+
+### Patch Changes
+
+- Versions bump
+- Updated dependencies
+ - @bubbles-ui/components@1.2.72
+ - @bubbles-ui/icons@1.2.72
+
## 1.2.71
### Patch Changes
diff --git a/packages/calendars/package.json b/packages/calendars/package.json
index 8203ace28..dff2be43b 100644
--- a/packages/calendars/package.json
+++ b/packages/calendars/package.json
@@ -1,6 +1,6 @@
{
"name": "@bubbles-ui/calendars",
- "version": "1.2.71",
+ "version": "1.2.72",
"description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.",
"main": "lib/index.js",
"module": "es/index.js",
@@ -59,8 +59,8 @@
"rrule": "^2.6.8"
},
"peerDependencies": {
- "@bubbles-ui/components": "^1.2.71",
- "@bubbles-ui/icons": "^1.2.71",
+ "@bubbles-ui/components": "^1.2.72",
+ "@bubbles-ui/icons": "^1.2.72",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"webpack": "*"
diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md
index 077de1827..d6710fca1 100644
--- a/packages/components/CHANGELOG.md
+++ b/packages/components/CHANGELOG.md
@@ -1,5 +1,13 @@
# @bubbles-ui/components
+## 1.2.72
+
+### Patch Changes
+
+- Versions bump
+- Updated dependencies
+ - @bubbles-ui/icons@1.2.72
+
## 1.2.71
### Patch Changes
diff --git a/packages/components/package.json b/packages/components/package.json
index 93ea4fb00..1c4dce151 100644
--- a/packages/components/package.json
+++ b/packages/components/package.json
@@ -1,6 +1,6 @@
{
"name": "@bubbles-ui/components",
- "version": "1.2.71",
+ "version": "1.2.72",
"description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.",
"main": "lib/index.js",
"module": "es/index.js",
@@ -61,7 +61,7 @@
"chromatic": "npx chromatic --project-token=7b10302a7b6b --build-script-name=build:storybook:raw"
},
"dependencies": {
- "@bubbles-ui/icons": "^1.2.71",
+ "@bubbles-ui/icons": "^1.2.72",
"@emotion/react": "^11.10.0",
"@heroicons/react": "^1.0.5",
"@hookform/resolvers": "^3.3.2",
diff --git a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js
index 144f971a4..3b25766a4 100644
--- a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js
+++ b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.js
@@ -71,9 +71,7 @@ const TotalLayoutHeader = ({
{/* CHILDREN */}
{!!children && direction === 'column' && (
-
- {children}
-
+ {children}
)}
);
diff --git a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.styles.js b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.styles.js
index 3545fd5db..7083ebaf4 100644
--- a/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.styles.js
+++ b/packages/components/src/layout/TotalLayout/TotalLayoutHeader/TotalLayoutHeader.styles.js
@@ -6,12 +6,10 @@ const TotalLayoutHeaderStyles = createStyles((theme, { children, direction, comp
root: {},
headerContainer: {
padding: `${!expandedHeader ? '16px' : '12px'} 24px`,
- minHeight: !expandedHeader ? '72px' : '120px',
- maxHeight: !expandedHeader ? '72px' : '120px',
backgroundColor: 'white',
},
- header: { height: '40px', maxHeight: '40px' },
- headerTools: { maxHeight: '40px', minHeight: '40px', marginTop: '12px' },
+ header: { height: '40px' },
+ headerTools: { marginTop: '12px' },
iconContainer: {
display: 'flex',
alignItems: 'center',
diff --git a/packages/components/src/misc/CardEmptyCover/CardEmptyCover.js b/packages/components/src/misc/CardEmptyCover/CardEmptyCover.js
index 23cf00d07..9df20e727 100644
--- a/packages/components/src/misc/CardEmptyCover/CardEmptyCover.js
+++ b/packages/components/src/misc/CardEmptyCover/CardEmptyCover.js
@@ -17,7 +17,7 @@ import { AssetExpressTaskIcon } from '../FileIcon/AssetExpressTaskIcon';
import { AssetModuleIcon } from '../FileIcon/AssetModuleIcon';
import { AssetFeedbackIcon } from '../FileIcon/AssetFeedbackIcon';
import { FileItemDisplay } from '../../informative/FileItemDisplay';
-import { AssetDocumentIcon } from '../FileIcon/AssetDocumentIcon';
+import { AssetDocumentIconSmall } from '../FileIcon/AssetDocumentIcon';
const CardEmptyCover = memo(({ icon, fileType }) => {
const pairColumnRef = useRef(null);
@@ -28,7 +28,7 @@ const CardEmptyCover = memo(({ icon, fileType }) => {
{ key: 'image', value: },
{ key: 'bookmark', value: },
{ key: 'feedback', value: },
- { key: 'document', value: },
+ { key: 'document', value: },
{ key: 'task', value: },
{
key: 'taskexpress',
diff --git a/packages/components/src/misc/FileIcon/AssetDocumentIcon/AssetDocumentIcon.constants.js b/packages/components/src/misc/FileIcon/AssetDocumentIcon/AssetDocumentIcon.constants.js
index b813b179c..d4ef0dc55 100644
--- a/packages/components/src/misc/FileIcon/AssetDocumentIcon/AssetDocumentIcon.constants.js
+++ b/packages/components/src/misc/FileIcon/AssetDocumentIcon/AssetDocumentIcon.constants.js
@@ -10,3 +10,14 @@ export const DOCUMENT_ICON_PROP_TYPES = {
height: PropTypes.number,
color: PropTypes.string,
};
+
+export const DOCUMENT_ICON_SMALL_DEFAULT_PROPS = {
+ width: 18,
+ height: 18,
+ color: '#7E8795',
+};
+export const DOCUMENT_ICON_SMALL_PROP_TYPES = {
+ width: PropTypes.number,
+ height: PropTypes.number,
+ color: PropTypes.string,
+};
diff --git a/packages/components/src/misc/FileIcon/AssetDocumentIcon/AssetDocumentIcon.js b/packages/components/src/misc/FileIcon/AssetDocumentIcon/AssetDocumentIcon.js
index 04a719741..d1825df73 100644
--- a/packages/components/src/misc/FileIcon/AssetDocumentIcon/AssetDocumentIcon.js
+++ b/packages/components/src/misc/FileIcon/AssetDocumentIcon/AssetDocumentIcon.js
@@ -8,7 +8,7 @@ const AssetDocumentIcon = ({ width, height, color }) => (