@oslokommune/punkt-css 16.0.5 → 16.3.0

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.
@@ -14410,7 +14410,7 @@ a:active, a.pkt-link--active,
14410
14410
  .pkt-link--external::after {
14411
14411
  display: inline-block;
14412
14412
  content: " ";
14413
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.0/icons/new-window-small.svg);
14413
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.3/icons/new-window-small.svg);
14414
14414
  background-image: var(--svg);
14415
14415
  background-repeat: no-repeat;
14416
14416
  background-size: 18px 18px;
@@ -18452,7 +18452,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18452
18452
  outline-color: var(--pkt-color-input-border-hover);
18453
18453
  }
18454
18454
  .pkt-input-check__input-checkbox:indeterminate[type=checkbox]:not([role=switch]) {
18455
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.0/icons/minus-sign.svg);
18455
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.3/icons/minus-sign.svg);
18456
18456
  position: relative;
18457
18457
  background-color: var(--pkt-color-input-border-normal);
18458
18458
  }
@@ -18478,7 +18478,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18478
18478
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(271deg) brightness(105%) contrast(101%);
18479
18479
  }
18480
18480
  .pkt-input-check__input-checkbox:checked[type=checkbox] {
18481
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.0/icons/check-medium.svg);
18481
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.3/icons/check-medium.svg);
18482
18482
  position: relative;
18483
18483
  background-color: var(--pkt-color-input-border-normal);
18484
18484
  }
@@ -18536,7 +18536,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18536
18536
  cursor: not-allowed;
18537
18537
  }
18538
18538
  .pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
18539
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.0/icons/check-medium.svg);
18539
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.3/icons/check-medium.svg);
18540
18540
  --pkt-color-input-check-border: var(--pkt-color-input-border-normal);
18541
18541
  filter: grayscale(100%) brightness(400%);
18542
18542
  }
@@ -18754,7 +18754,7 @@ pkt-select {
18754
18754
  }
18755
18755
  .pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
18756
18756
  .pkt-select:is(select):not([multiple]) {
18757
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.0/icons/chevron-thin-down.svg);
18757
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.3/icons/chevron-thin-down.svg);
18758
18758
  background-image: var(--svg);
18759
18759
  background-repeat: no-repeat;
18760
18760
  background-position: right 0.7rem top 50%;
@@ -20304,6 +20304,7 @@ pkt-card {
20304
20304
  .pkt-card .pkt-card__image.pkt-card__image-round {
20305
20305
  border-radius: 50%;
20306
20306
  align-self: unset;
20307
+ flex-grow: 0;
20307
20308
  max-height: 400px;
20308
20309
  max-width: 400px;
20309
20310
  }
@@ -23541,7 +23542,7 @@ pkt-listbox {
23541
23542
  .pkt-modal {
23542
23543
  border: none;
23543
23544
  padding: 0;
23544
- background-color: transparent;
23545
+ background-color: var(--pkt-color-background-default);
23545
23546
  opacity: 0;
23546
23547
  display: none;
23547
23548
  transition: translate 0.2s ease-in-out, opacity 0.2s ease-in-out, overlay 0.2s ease-in-out allow-discrete, display 0.2s ease-in-out allow-discrete;
@@ -23595,11 +23596,10 @@ pkt-listbox {
23595
23596
  max-height: 100vh;
23596
23597
  max-height: 100dvh;
23597
23598
  margin: 0;
23598
- overflow-y: auto;
23599
23599
  }
23600
23600
  .pkt-modal__drawer .pkt-modal__wrapper {
23601
- min-height: 100vh;
23602
- min-height: 100dvh;
23601
+ height: 100vh;
23602
+ height: 100dvh;
23603
23603
  }
23604
23604
  .pkt-modal__drawer[open] {
23605
23605
  translate: 0 0;
@@ -23654,13 +23654,17 @@ pkt-listbox {
23654
23654
  }
23655
23655
  .pkt-modal .pkt-modal__container {
23656
23656
  padding-top: 2rem;
23657
+ margin-top: -1px;
23657
23658
  background: var(--pkt-color-background-default);
23658
- overflow-y: auto;
23659
+ display: flex;
23660
+ flex-direction: column;
23661
+ min-height: 0;
23662
+ overflow: hidden;
23659
23663
  }
23660
23664
  .pkt-modal .pkt-modal__header {
23661
23665
  display: grid;
23662
23666
  grid-template-columns: 1fr 4rem;
23663
- grid-template-rows: 4rem 1fr;
23667
+ grid-template-rows: calc(4rem + 1px) 1fr;
23664
23668
  grid-template-areas: "header close" "header empty";
23665
23669
  justify-content: flex-start;
23666
23670
  width: 100%;
@@ -23727,6 +23731,7 @@ pkt-listbox {
23727
23731
  flex-grow: 1;
23728
23732
  gap: 1rem;
23729
23733
  overflow-y: auto;
23734
+ overscroll-behavior: contain;
23730
23735
  padding: 2rem 2.5rem;
23731
23736
  padding-top: 0;
23732
23737
  position: relative;
@@ -23802,6 +23807,7 @@ body.pkt-modal--open {
23802
23807
  }
23803
23808
  .pkt-modal--noShadow {
23804
23809
  box-shadow: none;
23810
+ background-color: transparent;
23805
23811
  }
23806
23812
 
23807
23813
  .pkt-modal--transparentBackdrop::backdrop, .pkt-modal--transparentBackdrop[open]::backdrop {