frst-components 0.23.73 → 0.23.75

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/dist/index.js CHANGED
@@ -24,7 +24,6 @@ var StepConnector = require('@mui/material/StepConnector');
24
24
  var styles = require('@mui/material/styles');
25
25
  var Select$4 = require('react-select');
26
26
  var reactToastify = require('react-toastify');
27
- require('react-toastify/dist/ReactToastify.css');
28
27
  var usehooksTs = require('usehooks-ts');
29
28
  var CloseIcon$2 = require('@mui/icons-material/Close');
30
29
  var ArrowDropUpOutlinedIcon = require('@mui/icons-material/ArrowDropUpOutlined');
@@ -6727,8 +6726,8 @@ const TableAdm = styled__default["default"].td `
6727
6726
  }
6728
6727
 
6729
6728
  `;
6730
- const TableVisit = styled__default["default"].td ``;
6731
- const TableVisitContent = styled__default["default"].div `
6729
+ styled__default["default"].td ``;
6730
+ styled__default["default"].div `
6732
6731
  align-items: center;
6733
6732
  justify-content: center;
6734
6733
  display: flex;
@@ -6895,7 +6894,7 @@ function GroupsTable({ textHeader, textHeader2, textHeader3, textHeader4, textHe
6895
6894
  display: 'flex',
6896
6895
  justifyContent: 'center',
6897
6896
  boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
6898
- }, 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$1, { isRoot: i.isRoot, children: [jsxRuntime.jsx(TableChecked, { children: !i.isRoot ?
6897
+ }, 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$1, { isRoot: i.isRoot, children: [jsxRuntime.jsx(TableChecked, { children: !i.isRoot ?
6899
6898
  jsxRuntime.jsx(Checkbox, { label: i.group, handleCheck: () => handleToggleSelectRow(index), isChecked: i.checked })
6900
6899
  :
6901
6900
  jsxRuntime.jsxs("p", { id: 'group-root', style: { fontFamily: 'PT Sans', fontWeight: 400, fontSize: '16px', paddingLeft: '32px', lineHeight: '21px', fontStyle: 'normal' }, children: [i.textRoot, " (", i.group, ")"] }) }), jsxRuntime.jsx(TableAdm, { id: 'container-adm', children: jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Tooltip$2, { content: textTooltipAdd, delay: 500, direction: 'bottom', style: {
@@ -6939,47 +6938,7 @@ function GroupsTable({ textHeader, textHeader2, textHeader3, textHeader4, textHe
6939
6938
  whiteSpace: 'nowrap',
6940
6939
  boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
6941
6940
  }, children: jsxRuntime.jsx(AdmButton, { image: adm.image, variant: 'image' }, adm.id) });
6942
- })] }) }), jsxRuntime.jsx(TableVisit, { id: 'container-visit', children: jsxRuntime.jsx(TableVisitContent, { children: jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Tooltip$2, { content: textTooltipAdd, delay: 500, direction: 'bottom', style: {
6943
- fontFamily: 'PT Sans',
6944
- fontWeight: 400,
6945
- fontSize: '14px',
6946
- color: 'rgba(117, 117, 117, 1)',
6947
- width: '73px',
6948
- height: '31px',
6949
- top: '8px',
6950
- left: '4px',
6951
- display: 'flex',
6952
- justifyContent: 'center',
6953
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
6954
- }, 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: {
6955
- fontFamily: 'PT Sans',
6956
- fontWeight: 400,
6957
- fontSize: '14px',
6958
- color: 'rgba(117, 117, 117, 1)',
6959
- width: '73px',
6960
- height: '31px',
6961
- top: '8px',
6962
- left: '4px',
6963
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
6964
- }, children: i.visitors.length < 9 ?
6965
- jsxRuntime.jsx(AdmButton, { onClick: () => onShowMoreVisitorsClick(i.id), variant: 'count', count: i.visitors.length - maxAdmToShow })
6966
- :
6967
- jsxRuntime.jsx(AdmButton, { onClick: () => onShowMoreVisitorsClick(i.id), variant: 'countMore', count: 9 }) })), i.visitors
6968
- ?.filter((a, aIndex) => aIndex < maxAdmToShow)
6969
- .map((visit) => {
6970
- return jsxRuntime.jsx(Tooltip$2, { content: visit.name, direction: 'bottom', delay: 500, style: {
6971
- fontFamily: 'PT Sans',
6972
- fontWeight: 400,
6973
- fontSize: '14px',
6974
- color: 'rgba(117, 117, 117, 1)',
6975
- width: 'fit-content',
6976
- height: '31px',
6977
- top: '8px',
6978
- left: '4px',
6979
- whiteSpace: 'nowrap',
6980
- boxShadow: ' 0px 0px 18px 0px rgba(34, 34, 34, 0.2)'
6981
- }, children: jsxRuntime.jsx(AdmButton, { image: visit.avatar, variant: 'image' }, visit.id) });
6982
- })] }) }) }), jsxRuntime.jsx("td", { children: jsxRuntime.jsx("div", { style: { display: 'flex', width: 'fit-content', alignItems: 'center', gap: '60px', paddingLeft: '54px' }, children: !i.isRoot &&
6941
+ })] }) }), jsxRuntime.jsx("td", { children: jsxRuntime.jsx("div", { style: { display: 'flex', width: 'fit-content', alignItems: 'center', gap: '60px', paddingLeft: '54px' }, children: !i.isRoot &&
6983
6942
  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))) })] }) })] }));
6984
6943
  }
6985
6944
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/groups-table/index.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAoC5C,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EACnC,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,eAAe,EACf,KAAK,EACL,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,cAAc,EACd,uBAAuB,GACvB,EAAE,YAAY,2CAmTd"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/groups-table/index.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAoC5C,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EACnC,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,eAAe,EACf,KAAK,EACL,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,cAAc,EACd,uBAAuB,GACvB,EAAE,YAAY,2CAyNd"}
@@ -1,4 +1,3 @@
1
- import 'react-toastify/dist/ReactToastify.css';
2
1
  import { ToastProps } from './toast-v2.types';
3
2
  export declare const showToastV2: ({ type, message, showBySeconds, styles }: ToastProps) => void;
4
3
  export declare const ToastV2: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/toast-v2/index.tsx"],"names":[],"mappings":"AAEA,OAAO,uCAAuC,CAAA;AAG9C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAK7C,eAAO,MAAM,WAAW,6CAA8D,UAAU,SAiD/F,CAAA;AAED,eAAO,MAAM,OAAO,+CAMnB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DS/toast-v2/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAK7C,eAAO,MAAM,WAAW,6CAA8D,UAAU,SAiD/F,CAAA;AAED,eAAO,MAAM,OAAO,+CAMnB,CAAA"}
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.23.73",
4
+ "version": "0.23.75",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -54,13 +54,13 @@
54
54
  "react-scrollbars-custom": "^4.1.1",
55
55
  "react-select": "^5.3.2",
56
56
  "react-switch": "^7.0.0",
57
+ "react-toastify": "^9.0.3",
57
58
  "slate-history": "^0.66.0",
58
59
  "slate-react": "^0.83.0",
59
60
  "styled-components": "^5.3.3",
60
61
  "use-sound": "^4.0.1",
61
62
  "usehooks-ts": "^2.9.1",
62
- "web-vitals": "^2.1.4",
63
- "react-toastify": "^9.0.3"
63
+ "web-vitals": "^2.1.4"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@emotion/react": "^11.8.1",
@@ -92,7 +92,7 @@
92
92
  "rollup-plugin-img": "^1.1.0",
93
93
  "rollup-plugin-postcss": "^4.0.2",
94
94
  "rollup-plugin-typescript2": "^0.31.2",
95
- "storybook": "^7.6.7",
95
+ "storybook": "^8.2.9",
96
96
  "storybook-react-i18next": "^1.0.17",
97
97
  "typescript": "^4.5.5",
98
98
  "webpack": "^5.69.1"