@moises.ai/design-system 3.10.0 → 3.10.1

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": "@moises.ai/design-system",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",
@@ -160,7 +160,8 @@ const DataRow = React.memo(function DataRow({
160
160
  key={column.id}
161
161
  className={classNames(
162
162
  styles.projectCell,
163
- index === 0 ? styles.columnProject : styles.dataColumn,
163
+ index === 0 ? styles.columnProject : styles.dataColumn,
164
+ index === 1 ? styles.firstDataColumn : null,
164
165
  { [styles.sortedColumn]: sortedKey === column.id },
165
166
  )}
166
167
  data-column-id={column.id}
@@ -435,7 +436,8 @@ export const DataTable = ({
435
436
  key={column.id}
436
437
  className={classNames(styles.columnHeaderCell, {
437
438
  [styles.columnProject]: index === 0,
438
- [styles.dataColumn]: index !== 0,
439
+ [styles.dataColumn]: index !== 0,
440
+ [styles.firstDataColumn]: index === 1,
439
441
  [styles.sortedColumn]: toUpperCase(sortedKey) === toUpperCase(column.id),
440
442
  })}
441
443
  >
@@ -178,7 +178,7 @@
178
178
 
179
179
  .DataTable :global(.rt-TableColumnHeaderCell:nth-child(2)),
180
180
  .DataTable :global(.rt-TableCell:nth-child(2)) {
181
- max-width: 565px;
181
+ max-width: 480px;
182
182
  min-width: 260px;
183
183
  box-shadow: none;
184
184
  width: 100%;
@@ -401,7 +401,7 @@
401
401
  display: table-cell !important;
402
402
  }
403
403
 
404
- .sortedColumn {
404
+ .dataColumn.sortedColumn {
405
405
  display: table-cell !important;
406
406
  }
407
407
 
@@ -413,4 +413,10 @@
413
413
  .dropdownTriggerWrapperIcon {
414
414
  opacity: 1;
415
415
  }
416
+ }
417
+
418
+ @media (max-width: 1124px) {
419
+ .firstDataColumn {
420
+ display: table-cell !important;
421
+ }
416
422
  }