@navikt/ds-css 6.16.0 → 6.16.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @navikt/ds-css
2
2
 
3
+ ## 6.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Table: Fixed background-clipping when using ExpandableRow. ([#3095](https://github.com/navikt/aksel/pull/3095))
8
+
3
9
  ## 6.16.0
4
10
 
5
11
  ### Minor Changes
@@ -1,10 +1,10 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Tue, 13 Aug 2024 11:47:08 GMT
4
+ * Generated on Wed, 21 Aug 2024 05:57:35 GMT
5
5
  */
6
6
  :root, :host {
7
- --a-version: "6.16.0";
7
+ --a-version: "6.16.1";
8
8
  --a-spacing-1-alt: 0.375rem;
9
9
  --a-spacing-05: 0.125rem;
10
10
  --a-spacing-32: 8rem;
@@ -6947,9 +6947,8 @@ button.navds-stepper__step {
6947
6947
  border-color: transparent;
6948
6948
  }
6949
6949
  .navds-table__toggle-expand-cell {
6950
- padding: 0 var(--a-spacing-2);
6951
- position: relative;
6952
- width: 2.5rem;
6950
+ padding: 0;
6951
+ width: 3rem;
6953
6952
  }
6954
6953
  .navds-table--large .navds-table__toggle-expand-cell {
6955
6954
  padding: 0 var(--a-spacing-2);
@@ -6961,18 +6960,22 @@ button.navds-stepper__step {
6961
6960
  display: grid;
6962
6961
  place-content: center;
6963
6962
  cursor: pointer;
6964
- margin: 0;
6965
6963
  background: transparent;
6966
6964
  border: none;
6967
6965
  border-radius: var(--a-border-radius-medium);
6968
6966
  height: 2rem;
6969
6967
  width: 2rem;
6970
6968
  font-size: 1.5rem;
6969
+ margin: 0 auto;
6971
6970
  }
6972
6971
  .navds-table__expandable-icon {
6973
6972
  transition: transform 150ms ease-in-out;
6974
6973
  }
6974
+ .navds-table__toggle-expand-cell:hover {
6975
+ cursor: pointer;
6976
+ }
6975
6977
  .navds-table__toggle-expand-button:hover,
6978
+ .navds-table__toggle-expand-cell:hover > .navds-table__toggle-expand-button,
6976
6979
  .navds-table__expandable-row--clickable:hover .navds-table__toggle-expand-button {
6977
6980
  background-color: var(--a-surface-hover);
6978
6981
  }
@@ -6995,15 +6998,6 @@ button.navds-stepper__step {
6995
6998
  box-shadow: var(--a-shadow-focus);
6996
6999
  }
6997
7000
  }
6998
- .navds-table__toggle-expand-button::after {
6999
- inset: 0;
7000
- z-index: 1;
7001
- position: absolute;
7002
- content: "";
7003
- height: 100%;
7004
- width: 100%;
7005
- cursor: pointer;
7006
- }
7007
7001
  .navds-table__expanded-row-cell {
7008
7002
  padding: 0;
7009
7003
  }