frst-components 0.21.30 → 0.21.31

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -44
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4572,8 +4572,8 @@ const TableAdm = styled__default["default"].td `
4572
4572
  }
4573
4573
 
4574
4574
  `;
4575
- const TableVisit = styled__default["default"].td ``;
4576
- const TableVisitContent = styled__default["default"].div `
4575
+ styled__default["default"].td ``;
4576
+ styled__default["default"].div `
4577
4577
  align-items: center;
4578
4578
  justify-content: center;
4579
4579
  display: flex;
@@ -4740,7 +4740,7 @@ function GroupsTable({ textHeader, textHeader2, textHeader3, textHeader4, textHe
4740
4740
  display: 'flex',
4741
4741
  justifyContent: 'center',
4742
4742
  boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
4743
- }, direction: 'bottom', content: textTooltipAllSelected, delay: 500, children: jsxRuntime.jsx(Checkbox, { isChecked: isAllChecked, label: "", handleCheck: handleToggleSelectAll, color: "rgba(67, 159, 159, 1)" }) }), jsxRuntime.jsx("span", { children: textHeader })] }), jsxRuntime.jsx(TableHeader, { children: textHeader2 }), jsxRuntime.jsx(TableHeader, { children: textHeaderVisit }), jsxRuntime.jsx(TableHeader, { style: { paddingRight: '40px', paddingLeft: '44px', width: '220px' }, children: jsxRuntime.jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '40px' }, children: [jsxRuntime.jsx("div", { children: textHeader3 }), jsxRuntime.jsx("div", { children: textHeader4 })] }) })] }), jsxRuntime.jsx("tbody", { children: internalItems.map((i, index) => (jsxRuntime.jsxs(TableRow, { isRoot: i.isRoot, children: [jsxRuntime.jsx(TableChecked, { children: !i.isRoot ?
4743
+ }, direction: 'bottom', content: textTooltipAllSelected, delay: 500, children: jsxRuntime.jsx(Checkbox, { isChecked: isAllChecked, label: "", handleCheck: handleToggleSelectAll, color: "rgba(67, 159, 159, 1)" }) }), jsxRuntime.jsx("span", { children: textHeader })] }), jsxRuntime.jsx(TableHeader, { children: textHeader2 }), jsxRuntime.jsx(TableHeader, { style: { paddingRight: '40px', paddingLeft: '44px', width: '220px' }, children: jsxRuntime.jsxs("div", { style: { display: 'flex', alignItems: 'center', gap: '40px' }, children: [jsxRuntime.jsx("div", { children: textHeader3 }), jsxRuntime.jsx("div", { children: textHeader4 })] }) })] }), jsxRuntime.jsx("tbody", { children: internalItems.map((i, index) => (jsxRuntime.jsxs(TableRow, { isRoot: i.isRoot, children: [jsxRuntime.jsx(TableChecked, { children: !i.isRoot ?
4744
4744
  jsxRuntime.jsx(Checkbox, { label: i.group, handleCheck: () => handleToggleSelectRow(index), isChecked: i.checked })
4745
4745
  :
4746
4746
  jsxRuntime.jsxs("p", { style: { fontFamily: 'PT Sans', fontWeight: 400, fontSize: '16px', paddingLeft: '32px', lineHeight: '21px', fontStyle: 'normal' }, children: [i.textRoot, " (", i.group, ")"] }) }), jsxRuntime.jsx(TableAdm, { children: jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Tooltip$2, { content: textTooltipAdd, delay: 500, direction: 'bottom', style: {
@@ -4784,47 +4784,7 @@ function GroupsTable({ textHeader, textHeader2, textHeader3, textHeader4, textHe
4784
4784
  whiteSpace: 'nowrap',
4785
4785
  boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
4786
4786
  }, children: jsxRuntime.jsx(AdmButton, { image: adm.image, variant: 'image' }, adm.id) });
4787
- })] }) }), jsxRuntime.jsx(TableVisit, { children: jsxRuntime.jsx(TableVisitContent, { children: jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Tooltip$2, { content: textTooltipAdd, delay: 500, direction: 'bottom', style: {
4788
- fontFamily: 'PT Sans',
4789
- fontWeight: 400,
4790
- fontSize: '14px',
4791
- color: 'rgba(117, 117, 117, 1)',
4792
- width: '73px',
4793
- height: '31px',
4794
- top: '8px',
4795
- left: '4px',
4796
- display: 'flex',
4797
- justifyContent: 'center',
4798
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
4799
- }, children: jsxRuntime.jsx(AdmButton, { variant: 'add', onClick: () => visitMoreClick(i.id) }) }), i.visitors?.length > maxAdmToShow && (jsxRuntime.jsx(Tooltip$2, { content: textTooltipCount, delay: 500, direction: 'bottom', style: {
4800
- fontFamily: 'PT Sans',
4801
- fontWeight: 400,
4802
- fontSize: '14px',
4803
- color: 'rgba(117, 117, 117, 1)',
4804
- width: '73px',
4805
- height: '31px',
4806
- top: '8px',
4807
- left: '4px',
4808
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
4809
- }, children: i.visitors.length < 9 ?
4810
- jsxRuntime.jsx(AdmButton, { onClick: () => onShowMoreVisitorsClick(i.id), variant: 'count', count: i.visitors.length - maxAdmToShow })
4811
- :
4812
- jsxRuntime.jsx(AdmButton, { onClick: () => onShowMoreVisitorsClick(i.id), variant: 'countMore', count: 9 }) })), i.visitors
4813
- ?.filter((a, aIndex) => aIndex < maxAdmToShow)
4814
- .map((visit) => {
4815
- return jsxRuntime.jsx(Tooltip$2, { content: visit.name, direction: 'bottom', delay: 500, style: {
4816
- fontFamily: 'PT Sans',
4817
- fontWeight: 400,
4818
- fontSize: '14px',
4819
- color: 'rgba(117, 117, 117, 1)',
4820
- width: 'fit-content',
4821
- height: '31px',
4822
- top: '8px',
4823
- left: '4px',
4824
- whiteSpace: 'nowrap',
4825
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
4826
- }, children: jsxRuntime.jsx(AdmButton, { image: visit.avatar, variant: 'image' }, visit.id) });
4827
- })] }) }) }), jsxRuntime.jsx("td", { children: jsxRuntime.jsx("div", { style: { display: 'flex', width: 'fit-content', alignItems: 'center', gap: '60px', paddingLeft: '54px' }, children: !i.isRoot &&
4787
+ })] }) }), jsxRuntime.jsx("td", { children: jsxRuntime.jsx("div", { style: { display: 'flex', width: 'fit-content', alignItems: 'center', gap: '60px', paddingLeft: '54px' }, children: !i.isRoot &&
4828
4788
  jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(TdEditButtom, { onClick: () => !i.isRoot && onEditClick(i.id) }), jsxRuntime.jsx(TdTrashButton, { onClick: () => !i.isRoot && onDeleteClick(i.id, index) })] }) }) })] }, index))) })] }) })] }));
4829
4789
  }
4830
4790
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.21.30",
4
+ "version": "0.21.31",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",