@dbcdk/react-components 0.0.114 → 0.0.115

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.
@@ -146,6 +146,10 @@
146
146
  border-block-start: var(--spacing-xs) solid var(--table-component-row-bg);
147
147
  }
148
148
 
149
+ .embedded [data-show-header='true'] .body .row:first-child .cell {
150
+ border-block-start: none;
151
+ }
152
+
149
153
  .headerCell,
150
154
  .cell {
151
155
  position: relative;
@@ -49,7 +49,7 @@ function TableRow({
49
49
  rowSeverity && styles__default.default.severity
50
50
  ),
51
51
  style: {
52
- ["--row-severity-color"]: rowSeverity ? severity.SeverityBorderColor[rowSeverity] : void 0
52
+ ["--row-severity-color"]: rowSeverity ? `color-mix(in srgb, ${severity.SeverityBgColor[rowSeverity]} 65%, var(--table-component-row-bg))` : void 0
53
53
  },
54
54
  tabIndex: onRowClick ? 0 : -1,
55
55
  onKeyDown: handleRowKeyDown,
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { Checkbox } from '../../../components/forms/checkbox/Checkbox';
3
3
  import { RadioButton } from '../../../components/forms/radio-buttons/RadioButton';
4
- import { SeverityBorderColor } from '../../../constants/severity';
4
+ import { SeverityBgColor } from '../../../constants/severity';
5
5
  import { useTableRowInteractions } from '../hooks/useTableRowInteractions';
6
6
  import { cx } from '../table.classes';
7
7
  import styles from '../Table.module.css';
@@ -43,7 +43,7 @@ function TableRow({
43
43
  rowSeverity && styles.severity
44
44
  ),
45
45
  style: {
46
- ["--row-severity-color"]: rowSeverity ? SeverityBorderColor[rowSeverity] : void 0
46
+ ["--row-severity-color"]: rowSeverity ? `color-mix(in srgb, ${SeverityBgColor[rowSeverity]} 65%, var(--table-component-row-bg))` : void 0
47
47
  },
48
48
  tabIndex: onRowClick ? 0 : -1,
49
49
  onKeyDown: handleRowKeyDown,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcdk/react-components",
3
- "version": "0.0.114",
3
+ "version": "0.0.115",
4
4
  "description": "Reusable React components for DBC projects",
5
5
  "license": "ISC",
6
6
  "author": "",