forstok-ui-lib 5.9.2 → 5.9.5

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": "5.9.2",
3
+ "version": "5.9.5",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -576,7 +576,7 @@ const getTabsWrapperModFunc =({ $mode }:{ $mode?: string }) => {
576
576
  const getTableItemWrapperModFunc = ({ $mode, $isBorder, $isPopup }:{ $mode: string, $isBorder?: boolean, $isPopup?: boolean }) => {
577
577
  let style = `
578
578
  ${TableItemColumn} {
579
- width: 960px;
579
+ width: 100%;
580
580
  border-bottom: 1px solid var(--pri-clr-ln);
581
581
  &:first-child {
582
582
  border-bottom: 1px solid var(--sec-clr-ln);
@@ -1040,10 +1040,10 @@ const getTableItemWrapperModFunc = ({ $mode, $isBorder, $isPopup }:{ $mode: stri
1040
1040
  style += `
1041
1041
  ${TableItemColumn} {
1042
1042
  &[role=rowheader] {
1043
- grid-template-columns: 310px 270px var(--qty-pd20);
1043
+ grid-template-columns: 270px 270px var(--qty-pd20);
1044
1044
  }
1045
1045
  &[role=row] {
1046
- grid-template-columns: 310px auto;
1046
+ grid-template-columns: 270px auto;
1047
1047
  }
1048
1048
  &[role=row] > div[role=cellgroup] > div[role=rowgroup],
1049
1049
  ._refCollapse > div,
@@ -1063,7 +1063,16 @@ const getTableItemWrapperModFunc = ({ $mode, $isBorder, $isPopup }:{ $mode: stri
1063
1063
  ._refCollapseContainer > div {
1064
1064
  grid-template-columns: 270px var(--qty-pd20);
1065
1065
  }
1066
-
1066
+ }
1067
+ @media only screen and (min-width: 1024px) {
1068
+ ${TableItemColumn} {
1069
+ &[role=rowheader] {
1070
+ grid-template-columns: 310px 270px var(--qty-pd20);
1071
+ }
1072
+ &[role=row] {
1073
+ grid-template-columns: 310px auto;
1074
+ }
1075
+ }
1067
1076
  }
1068
1077
  `
1069
1078
  }
@@ -1775,10 +1784,6 @@ export const HeaderContainer = styled.aside`
1775
1784
  `
1776
1785
  export const TabsContainer = styled.section<{ $mode?: string }>`
1777
1786
  width: 100%;
1778
- @media only screen and (max-width: 767.9px) {
1779
- overflow-x: auto;
1780
- overflow-y: hidden;
1781
- }
1782
1787
  ${({ $mode }:{ $mode?: string }) => {
1783
1788
  if ($mode === 'master-listing') {
1784
1789
  return css`
@@ -54,7 +54,7 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
54
54
  case 'search':
55
55
  style += `
56
56
  &:before {
57
- content: url(${IconSearch});
57
+ content: url('https://forstok-staging-storage.s3.ap-southeast-1.amazonaws.com/public/frontend/icons/search.svg');
58
58
  }
59
59
  `
60
60
  break;