@granto-umbrella/umbrella-components 3.0.42 → 3.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@granto-umbrella/umbrella-components",
3
- "version": "3.0.42",
3
+ "version": "3.0.45",
4
4
  "description": "Umbrella Components for React",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -1,11 +1,11 @@
1
1
  import styled from 'styled-components';
2
2
  import { primitiveSizes } from '../../../styles/tokens';
3
3
 
4
- export const Logo = styled.img<{ marginBottom?: string }>`
4
+ export const Logo = styled.img<{ marginBottom?: string; width?: number }>`
5
5
  margin-bottom: ${(props) => props.marginBottom || primitiveSizes.size.x6};
6
- width: 112px;
6
+ width: ${(props) => props.width || 112}px;
7
7
 
8
8
  @media (max-width: 768px) {
9
- width: 114.12px;
9
+ width: ${(props) => props.width || 114.12}px;
10
10
  }
11
11
  `;
@@ -2,7 +2,7 @@ import {
2
2
  semanticBorders,
3
3
  semanticColors,
4
4
  typographyTokens,
5
- } from '@/styles/tokens';
5
+ } from '../../../styles/tokens';
6
6
  import styled from 'styled-components';
7
7
 
8
8
  export const Container = styled.div`
@@ -9,7 +9,7 @@ import {
9
9
  Panel,
10
10
  } from './ExportExcelModal.styles';
11
11
  import FieldSelector from '../../molecules/FieldSelector/FieldSelector';
12
- import ButtonGroup from '@/components/molecules/ButtonGroup/ButtonGroup';
12
+ import ButtonGroup from '../../molecules/ButtonGroup/ButtonGroup';
13
13
  export const ExportExcelModal = ({
14
14
  open,
15
15
  onOpenChange,