@kreftforeningen/web-react 1.0.23 → 1.0.25

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
@@ -1018,6 +1018,9 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
1018
1018
  @container banner-container (min-width: 40rem) {
1019
1019
  .kf-banner {
1020
1020
  grid-template-columns: repeat(2, minmax(0, 1fr));
1021
+ }
1022
+
1023
+ .kf-banner:has(.kf-banner__image) {
1021
1024
  min-height: 25rem;
1022
1025
  }
1023
1026
 
@@ -1027,11 +1030,6 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
1027
1030
 
1028
1031
  .kf-banner[data-variant="full"] {
1029
1032
  grid-template-columns: 1fr;
1030
- min-height: 25rem;
1031
- }
1032
-
1033
- .kf-banner[data-variant="full"] .kf-banner__image {
1034
- max-height: none;
1035
1033
  }
1036
1034
  }
1037
1035
 
@@ -1646,6 +1644,30 @@ ${Object.entries(A1).map(([r,n])=>` ${n.css}: var(--kf-box-${r}-${e}, var(--k
1646
1644
  overflow: hidden;
1647
1645
  background: var(--kf-color-gray-100, #ffffff);
1648
1646
  color: var(--kf-color-gray-950, #0f172a);
1647
+ height: 100%;
1648
+ }
1649
+
1650
+ a:has(> .kf-card),
1651
+ a:has(> .kf-card):hover,
1652
+ a:has(> .kf-card):focus,
1653
+ a:has(> .kf-card):active {
1654
+ display: block;
1655
+ height: 100%;
1656
+ text-decoration: none;
1657
+ }
1658
+
1659
+ a:hover .kf-card,
1660
+ a:focus-visible .kf-card {
1661
+ background-color: var(--kf-color-gray-200, rgba(148, 163, 184, 0.95));
1662
+ }
1663
+
1664
+ a:focus .kf-card,
1665
+ a:focus-visible .kf-card {
1666
+ border-radius: 0;
1667
+ outline: 0;
1668
+ box-shadow:
1669
+ 0 0 0 var(--kf-ring-offset-width) var(--kf-ring-offset-color),
1670
+ 0 0 0 calc(var(--kf-ring-offset-width) + var(--kf-ring-width)) var(--kf-ring-color);
1649
1671
  }
1650
1672
 
1651
1673
  .kf-card:has(> [data-radix-aspect-ratio-wrapper]:first-child > .kf-card__image) {
package/dist/main.es.js CHANGED
@@ -4826,6 +4826,9 @@ const nI = ue`
4826
4826
  @container banner-container (min-width: 40rem) {
4827
4827
  .kf-banner {
4828
4828
  grid-template-columns: repeat(2, minmax(0, 1fr));
4829
+ }
4830
+
4831
+ .kf-banner:has(.kf-banner__image) {
4829
4832
  min-height: 25rem;
4830
4833
  }
4831
4834
 
@@ -4835,11 +4838,6 @@ const nI = ue`
4835
4838
 
4836
4839
  .kf-banner[data-variant="full"] {
4837
4840
  grid-template-columns: 1fr;
4838
- min-height: 25rem;
4839
- }
4840
-
4841
- .kf-banner[data-variant="full"] .kf-banner__image {
4842
- max-height: none;
4843
4841
  }
4844
4842
  }
4845
4843
 
@@ -8872,6 +8870,30 @@ const $3 = ue`
8872
8870
  overflow: hidden;
8873
8871
  background: var(--kf-color-gray-100, #ffffff);
8874
8872
  color: var(--kf-color-gray-950, #0f172a);
8873
+ height: 100%;
8874
+ }
8875
+
8876
+ a:has(> .kf-card),
8877
+ a:has(> .kf-card):hover,
8878
+ a:has(> .kf-card):focus,
8879
+ a:has(> .kf-card):active {
8880
+ display: block;
8881
+ height: 100%;
8882
+ text-decoration: none;
8883
+ }
8884
+
8885
+ a:hover .kf-card,
8886
+ a:focus-visible .kf-card {
8887
+ background-color: var(--kf-color-gray-200, rgba(148, 163, 184, 0.95));
8888
+ }
8889
+
8890
+ a:focus .kf-card,
8891
+ a:focus-visible .kf-card {
8892
+ border-radius: 0;
8893
+ outline: 0;
8894
+ box-shadow:
8895
+ 0 0 0 var(--kf-ring-offset-width) var(--kf-ring-offset-color),
8896
+ 0 0 0 calc(var(--kf-ring-offset-width) + var(--kf-ring-width)) var(--kf-ring-color);
8875
8897
  }
8876
8898
 
8877
8899
  .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.25",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"