@kreftforeningen/web-react 1.0.23 → 1.0.24

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/main.cjs.js CHANGED
@@ -1646,6 +1646,30 @@ ${Object.entries(A1).map(([r,n])=>` ${n.css}: var(--kf-box-${r}-${e}, var(--k
1646
1646
  overflow: hidden;
1647
1647
  background: var(--kf-color-gray-100, #ffffff);
1648
1648
  color: var(--kf-color-gray-950, #0f172a);
1649
+ height: 100%;
1650
+ }
1651
+
1652
+ a:has(> .kf-card),
1653
+ a:has(> .kf-card):hover,
1654
+ a:has(> .kf-card):focus,
1655
+ a:has(> .kf-card):active {
1656
+ display: block;
1657
+ height: 100%;
1658
+ text-decoration: none;
1659
+ }
1660
+
1661
+ a:hover .kf-card,
1662
+ a:focus-visible .kf-card {
1663
+ background-color: var(--kf-color-gray-200, rgba(148, 163, 184, 0.95));
1664
+ }
1665
+
1666
+ a:focus .kf-card,
1667
+ a:focus-visible .kf-card {
1668
+ border-radius: 0;
1669
+ outline: 0;
1670
+ box-shadow:
1671
+ 0 0 0 var(--kf-ring-offset-width) var(--kf-ring-offset-color),
1672
+ 0 0 0 calc(var(--kf-ring-offset-width) + var(--kf-ring-width)) var(--kf-ring-color);
1649
1673
  }
1650
1674
 
1651
1675
  .kf-card:has(> [data-radix-aspect-ratio-wrapper]:first-child > .kf-card__image) {
package/dist/main.es.js CHANGED
@@ -8872,6 +8872,30 @@ const $3 = ue`
8872
8872
  overflow: hidden;
8873
8873
  background: var(--kf-color-gray-100, #ffffff);
8874
8874
  color: var(--kf-color-gray-950, #0f172a);
8875
+ height: 100%;
8876
+ }
8877
+
8878
+ a:has(> .kf-card),
8879
+ a:has(> .kf-card):hover,
8880
+ a:has(> .kf-card):focus,
8881
+ a:has(> .kf-card):active {
8882
+ display: block;
8883
+ height: 100%;
8884
+ text-decoration: none;
8885
+ }
8886
+
8887
+ a:hover .kf-card,
8888
+ a:focus-visible .kf-card {
8889
+ background-color: var(--kf-color-gray-200, rgba(148, 163, 184, 0.95));
8890
+ }
8891
+
8892
+ a:focus .kf-card,
8893
+ a:focus-visible .kf-card {
8894
+ border-radius: 0;
8895
+ outline: 0;
8896
+ box-shadow:
8897
+ 0 0 0 var(--kf-ring-offset-width) var(--kf-ring-offset-color),
8898
+ 0 0 0 calc(var(--kf-ring-offset-width) + var(--kf-ring-width)) var(--kf-ring-color);
8875
8899
  }
8876
8900
 
8877
8901
  .kf-card:has(> [data-radix-aspect-ratio-wrapper]:first-child > .kf-card__image) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kreftforeningen/web-react",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"