@danske/sapphire-css 27.0.0 → 27.0.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.
@@ -28,6 +28,7 @@
28
28
  padding: var(--sapphire-list-spacing-item-vertical-default)
29
29
  var(--sapphire-list-spacing-item-horizontal-default);
30
30
  background-color: var(--sapphire-list-color-background-item-default);
31
+ outline: none;
31
32
  }
32
33
 
33
34
  .sapphire-list__item:has(.sapphire-list__item-content-wrapper) {
@@ -51,7 +52,6 @@
51
52
 
52
53
  /* Counterstyling anything passed as custom content wrapper */
53
54
  text-decoration: none;
54
- cursor: pointer;
55
55
  background-color: inherit;
56
56
  color: inherit;
57
57
  font-family: inherit;
@@ -69,13 +69,11 @@
69
69
  );
70
70
  }
71
71
 
72
+ .sapphire-list__item:disabled .sapphire-list__item-content-wrapper,
73
+ .sapphire-list__item[aria-disabled='true'] .sapphire-list__item-content-wrapper,
72
74
  .sapphire-list__item-content-wrapper:disabled,
73
75
  .sapphire-list__item-content-wrapper[aria-disabled='true'] {
74
76
  cursor: not-allowed;
75
- }
76
-
77
- .sapphire-list__item-content-wrapper:disabled > *,
78
- .sapphire-list__item-content-wrapper[aria-disabled='true'] > * {
79
77
  opacity: var(--sapphire-list-opacity-disabled);
80
78
  }
81
79
 
@@ -118,6 +116,7 @@
118
116
  .sapphire-list
119
117
  .sapphire-list__item-content-wrapper:not(.js-hover):not([aria-disabled='true']):not(:disabled):hover {
120
118
  background-color: var(--sapphire-list-color-background-item-hover);
119
+ cursor: pointer;
121
120
  }
122
121
 
123
122
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danske/sapphire-css",
3
- "version": "27.0.0",
3
+ "version": "27.0.1",
4
4
  "description": "CSS implementation of the Sapphire Design System from Danske Bank A/S",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "sideEffects": false,
@@ -68,5 +68,5 @@
68
68
  "dependencies": {
69
69
  "@danske/sapphire-design-tokens": "^37.0.0"
70
70
  },
71
- "gitHead": "e207779162338643e012a71b68cbd4d2ad5def7d"
71
+ "gitHead": "ed8a61f0521fe4e7601d6b962e677cd9e151a401"
72
72
  }