@ssa-ui-kit/templates 2.19.1 → 2.20.0

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
@@ -10166,7 +10166,6 @@ function Header_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to str
10166
10166
 
10167
10167
 
10168
10168
 
10169
-
10170
10169
  var Header_ref = true ? {
10171
10170
  name: "15tog3",
10172
10171
  styles: "gap:6px"
@@ -10202,10 +10201,10 @@ const Header_Header = ({
10202
10201
  handleSortingChange?.(newSortInfo);
10203
10202
  }
10204
10203
  };
10205
- return (0,jsx_runtime_namespaceObject.jsx)(widgets_namespaceObject.BotsTableHead, {
10204
+ return (0,jsx_runtime_namespaceObject.jsx)(core_namespaceObject.TableHead, {
10206
10205
  "data-testid": "table-header",
10207
- children: (0,jsx_runtime_namespaceObject.jsx)(widgets_namespaceObject.BotsTableRow, {
10208
- children: columnsTranslated.map((columnName, index) => (0,jsx_runtime_namespaceObject.jsx)(widgets_namespaceObject.BotsTableCell, {
10206
+ children: (0,jsx_runtime_namespaceObject.jsx)(core_namespaceObject.TableRow, {
10207
+ children: columnsTranslated.map((columnName, index) => (0,jsx_runtime_namespaceObject.jsx)(core_namespaceObject.TableCellHeader, {
10209
10208
  onClick: columnName === '' ? undefined : handleSorting(columnsApiNames[index]),
10210
10209
  css: /*#__PURE__*/(0,react_namespaceObject.css)({
10211
10210
  cursor: columnsApiNames[index] ? 'pointer' : 'default',
@@ -10267,7 +10266,7 @@ const TableCellWithLink = ({
10267
10266
  includeLink = true,
10268
10267
  href,
10269
10268
  ...rest
10270
- }) => (0,jsx_runtime_namespaceObject.jsx)(widgets_namespaceObject.BotsTableCell, {
10269
+ }) => (0,jsx_runtime_namespaceObject.jsx)(core_namespaceObject.TableCell, {
10271
10270
  css: /*#__PURE__*/(0,react_namespaceObject.css)({
10272
10271
  padding: includeLink ? 0 : '0 16px',
10273
10272
  whiteSpace: 'nowrap',
@@ -11330,7 +11329,6 @@ function Body_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to strin
11330
11329
 
11331
11330
 
11332
11331
 
11333
-
11334
11332
  var Body_ref = true ? {
11335
11333
  name: "9bws6o",
11336
11334
  styles: "background:#EEF1F7"
@@ -11352,7 +11350,7 @@ const Body = ({
11352
11350
  } = useCurrency();
11353
11351
  if (!totalCount) {
11354
11352
  return (0,jsx_runtime_namespaceObject.jsx)(core_namespaceObject.TableBody, {
11355
- children: (0,jsx_runtime_namespaceObject.jsx)(widgets_namespaceObject.BotsTableRow, {
11353
+ children: (0,jsx_runtime_namespaceObject.jsx)(core_namespaceObject.TableRow, {
11356
11354
  children: (0,jsx_runtime_namespaceObject.jsx)(InformationLinkCell, {
11357
11355
  includeLink: false,
11358
11356
  colSpan: 7,
@@ -11372,7 +11370,7 @@ const Body = ({
11372
11370
  } = getStatusInfo(bot.status, colorsByStatus);
11373
11371
  return (0,jsx_runtime_namespaceObject.jsx)(TableRowProvider, {
11374
11372
  row: bot,
11375
- children: (0,jsx_runtime_namespaceObject.jsxs)(widgets_namespaceObject.BotsTableRow, {
11373
+ children: (0,jsx_runtime_namespaceObject.jsxs)(core_namespaceObject.TableRow, {
11376
11374
  isDisabled: allRowsDisabled,
11377
11375
  css: /*#__PURE__*/(0,react_namespaceObject.css)({
11378
11376
  height: 'auto',
@@ -11427,7 +11425,6 @@ function BotsTable_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to
11427
11425
 
11428
11426
 
11429
11427
 
11430
-
11431
11428
  var BotsTable_ref = true ? {
11432
11429
  name: "7q4buk",
11433
11430
  styles: "margin-bottom:20px;min-width:340px;overflow-x:auto"
@@ -11438,7 +11435,7 @@ const BotsTable = ({
11438
11435
  handleSortingChange
11439
11436
  }) => (0,jsx_runtime_namespaceObject.jsxs)(core_namespaceObject.Wrapper, {
11440
11437
  css: BotsTable_ref,
11441
- children: [(0,jsx_runtime_namespaceObject.jsxs)(widgets_namespaceObject.BotsTableWrapper, {
11438
+ children: [(0,jsx_runtime_namespaceObject.jsxs)(core_namespaceObject.Table, {
11442
11439
  children: [(0,jsx_runtime_namespaceObject.jsx)(Header_Header, {
11443
11440
  handleSortingChange: handleSortingChange,
11444
11441
  columns: COLUMNS,