forstok-ui-lib 6.7.8 → 6.7.10

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": "forstok-ui-lib",
3
- "version": "6.7.8",
3
+ "version": "6.7.10",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -2481,7 +2481,7 @@ export const TabsWrapper = styled.section<{ $mode?: string }>`
2481
2481
  left: 220px;
2482
2482
  }
2483
2483
  @media only screen and (min-width: 1800px) {
2484
- padding: 0 20px 0 28px;
2484
+ padding: 0 16px 0 16px;
2485
2485
  }
2486
2486
  }
2487
2487
  ${getTabsWrapperModFunc}
@@ -4,7 +4,7 @@ import { InitialContainer, APILabel } from '../../assets/stylesheets/shares.styl
4
4
 
5
5
  import { ImageMode } from './type'
6
6
 
7
- const ImageChannelComponent = ({ data, label, size, isImageOnly, $mode, $isPhone }:{ data?: any, label?: string, size?: string, isImageOnly?: boolean, $mode?: ImageMode, $isPhone?: boolean }) => {
7
+ const ImageChannelComponent = ({ data, label, size, isImageOnly, $mode, $isPhone, labelPhone }:{ data?: any, label?: string, size?: string, isImageOnly?: boolean, $mode?: ImageMode, $isPhone?: boolean, labelPhone?: string }) => {
8
8
  const fontSize = size ? ((parseInt(size) / 2) > 10 ? (parseInt(size) / 2) : 10) : 10
9
9
  const defSize = size || '20px'
10
10
 
@@ -18,7 +18,7 @@ const ImageChannelComponent = ({ data, label, size, isImageOnly, $mode, $isPhone
18
18
  const defSrc = data?.icon || data?.imageUrl || data?.channelImage || data?.channel_image || ''
19
19
  const defColor = data?.color || data?.channelColor || data?.channel_color || '#ooo'
20
20
  const defInitial = data?.channelInitials || data?.channelInitial || data?.channel_initials || data?.initials || ''
21
- const defPhone = data?.phone || data?.storeId || '-'
21
+ const defPhone = labelPhone || data?.phone || data?.storeId || '-'
22
22
  const isAPI = data?.availableAPI
23
23
 
24
24
  return (