@oslokommune/punkt-css 16.2.0 → 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.2/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.2/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.2/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.2/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.2/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%;
@@ -23542,7 +23542,7 @@ pkt-listbox {
23542
23542
  .pkt-modal {
23543
23543
  border: none;
23544
23544
  padding: 0;
23545
- background-color: transparent;
23545
+ background-color: var(--pkt-color-background-default);
23546
23546
  opacity: 0;
23547
23547
  display: none;
23548
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;
@@ -23596,11 +23596,10 @@ pkt-listbox {
23596
23596
  max-height: 100vh;
23597
23597
  max-height: 100dvh;
23598
23598
  margin: 0;
23599
- overflow-y: auto;
23600
23599
  }
23601
23600
  .pkt-modal__drawer .pkt-modal__wrapper {
23602
- min-height: 100vh;
23603
- min-height: 100dvh;
23601
+ height: 100vh;
23602
+ height: 100dvh;
23604
23603
  }
23605
23604
  .pkt-modal__drawer[open] {
23606
23605
  translate: 0 0;
@@ -23655,13 +23654,17 @@ pkt-listbox {
23655
23654
  }
23656
23655
  .pkt-modal .pkt-modal__container {
23657
23656
  padding-top: 2rem;
23657
+ margin-top: -1px;
23658
23658
  background: var(--pkt-color-background-default);
23659
- overflow-y: auto;
23659
+ display: flex;
23660
+ flex-direction: column;
23661
+ min-height: 0;
23662
+ overflow: hidden;
23660
23663
  }
23661
23664
  .pkt-modal .pkt-modal__header {
23662
23665
  display: grid;
23663
23666
  grid-template-columns: 1fr 4rem;
23664
- grid-template-rows: 4rem 1fr;
23667
+ grid-template-rows: calc(4rem + 1px) 1fr;
23665
23668
  grid-template-areas: "header close" "header empty";
23666
23669
  justify-content: flex-start;
23667
23670
  width: 100%;
@@ -23728,6 +23731,7 @@ pkt-listbox {
23728
23731
  flex-grow: 1;
23729
23732
  gap: 1rem;
23730
23733
  overflow-y: auto;
23734
+ overscroll-behavior: contain;
23731
23735
  padding: 2rem 2.5rem;
23732
23736
  padding-top: 0;
23733
23737
  position: relative;
@@ -23803,6 +23807,7 @@ body.pkt-modal--open {
23803
23807
  }
23804
23808
  .pkt-modal--noShadow {
23805
23809
  box-shadow: none;
23810
+ background-color: transparent;
23806
23811
  }
23807
23812
 
23808
23813
  .pkt-modal--transparentBackdrop::backdrop, .pkt-modal--transparentBackdrop[open]::backdrop {