@tap-payments/os-micro-frontend-shared 0.1.283-test.1 → 0.1.283-test.2

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.
@@ -1,4 +1,4 @@
1
- import { OptionsListItem } from '../../utils/index.js';
1
+ import { OptionsListItem } from '../../types/index.js';
2
2
  interface SalesChannelFilterProps {
3
3
  onSalesChannelChange: (salesChannels: OptionsListItem[] | undefined) => void;
4
4
  onSearchChange: (searchValue: string) => void;
@@ -1,9 +1,9 @@
1
1
  import { Box, styled } from '@mui/material';
2
2
  export const FilterButton = styled(Box, { shouldForwardProp: (props) => props !== 'isActive' })(({ theme, isActive }) => (Object.assign({ borderRadius: '4px', border: `1px solid ${theme.palette.divider}`, height: 32, width: 30, display: 'flex', alignItems: 'center', justifyContent: 'center', cursor: 'pointer', backgroundColor: theme.palette.common.white, ':hover': {
3
- opacity: 0.7
3
+ opacity: 0.7,
4
4
  } }, (isActive && {
5
5
  boxShadow: `0px 0px 4px 0px ${theme.palette.info.dark}80`,
6
- border: `1px solid ${theme.palette.info.dark}`
6
+ border: `1px solid ${theme.palette.info.dark}`,
7
7
  }))));
8
8
  export const ListWrapper = styled(Box)(({ theme }) => ({
9
9
  display: 'flex',
@@ -12,12 +12,12 @@ export const ListWrapper = styled(Box)(({ theme }) => ({
12
12
  border: `1px solid ${theme.palette.divider}`,
13
13
  backgroundColor: theme.palette.common.white,
14
14
  maxHeight: '232px',
15
- overflow: 'auto'
15
+ overflow: 'auto',
16
16
  }));
17
17
  export const FilterWrapper = styled(Box)(() => ({
18
18
  display: 'flex',
19
19
  flexDirection: 'column',
20
- gap: '8px'
20
+ gap: '8px',
21
21
  }));
22
22
  export const SearchIconWrapper = styled(Box)(() => ({
23
23
  display: 'flex',
@@ -25,5 +25,5 @@ export const SearchIconWrapper = styled(Box)(() => ({
25
25
  justifyContent: 'center',
26
26
  width: '13px',
27
27
  height: '13px',
28
- borderRadius: '50%'
28
+ borderRadius: '50%',
29
29
  }));
@@ -28,3 +28,4 @@ export * from './appEvents';
28
28
  export * from './common';
29
29
  export * from './discount';
30
30
  export * from './receipt';
31
+ export * from './utilities';
@@ -28,3 +28,4 @@ export * from './appEvents';
28
28
  export * from './common';
29
29
  export * from './discount';
30
30
  export * from './receipt';
31
+ export * from './utilities';
@@ -44,4 +44,3 @@ export * from './style';
44
44
  export * from './boolean';
45
45
  export * from './columnResizeStorage';
46
46
  export * from './timezone';
47
- export * from './utilities';
@@ -44,4 +44,3 @@ export * from './style';
44
44
  export * from './boolean';
45
45
  export * from './columnResizeStorage';
46
46
  export * from './timezone';
47
- export * from './utilities';
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.283-test.1",
5
- "testVersion": 1,
4
+ "version": "0.1.283-test.2",
5
+ "testVersion": 2,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
File without changes
File without changes