@oslokommune/punkt-css 11.4.8 → 11.5.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.
package/dist/css/pkt.css CHANGED
@@ -13555,7 +13555,7 @@ a:active, a.pkt-link--active,
13555
13555
  }
13556
13556
  .pkt-link--external::after {
13557
13557
  content: " ";
13558
- --svg: url(https://punkt-cdn.oslo.kommune.no/11.4/icons/new-window-small.svg);
13558
+ --svg: url(https://punkt-cdn.oslo.kommune.no/11.5/icons/new-window-small.svg);
13559
13559
  background-image: var(--svg);
13560
13560
  background-repeat: no-repeat;
13561
13561
  background-size: 18px 18px;
@@ -17476,7 +17476,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
17476
17476
  outline-color: var(--pkt-color-input-border-hover);
17477
17477
  }
17478
17478
  .pkt-input-check__input-checkbox:checked[type=checkbox] {
17479
- --svg: url(https://punkt-cdn.oslo.kommune.no/11.4/icons/check-medium.svg);
17479
+ --svg: url(https://punkt-cdn.oslo.kommune.no/11.5/icons/check-medium.svg);
17480
17480
  position: relative;
17481
17481
  background-color: var(--pkt-color-input-border-normal);
17482
17482
  }
@@ -17536,7 +17536,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
17536
17536
  cursor: not-allowed;
17537
17537
  }
17538
17538
  .pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
17539
- --svg: url(https://punkt-cdn.oslo.kommune.no/11.4/icons/check-medium.svg);
17539
+ --svg: url(https://punkt-cdn.oslo.kommune.no/11.5/icons/check-medium.svg);
17540
17540
  --pkt-color-input-check-border: var(
17541
17541
  --pkt-color-input-border-normal
17542
17542
  );
@@ -17747,7 +17747,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
17747
17747
  .pkt-select:not(textarea[cols]):not(input[size]):not(.pkt-input--fullwidth):is(select), .pkt-input__container:not(:is(:has(textarea[cols]))):not(:is(:has(input[size]))):not(:is(:has(.pkt-input--fullwidth))) {
17748
17748
  width: min(100%, 31rem);
17749
17749
  }
17750
- .pkt-input--fullwidth {
17750
+ .pkt-input--fullwidth, .pkt-input--fullwidth + .pkt-input__counter {
17751
17751
  width: 100%;
17752
17752
  }
17753
17753
  .pkt-input:is(textarea), .pkt-textinput__input:is(textarea), .pkt-select select:is(textarea),
@@ -17763,7 +17763,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
17763
17763
  }
17764
17764
  .pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
17765
17765
  .pkt-select:is(select):not([multiple]) {
17766
- --svg: url(https://punkt-cdn.oslo.kommune.no/11.4/icons/chevron-thin-down.svg);
17766
+ --svg: url(https://punkt-cdn.oslo.kommune.no/11.5/icons/chevron-thin-down.svg);
17767
17767
  background-image: var(--svg);
17768
17768
  background-repeat: no-repeat;
17769
17769
  background-position: right 0.7rem top 50%;
@@ -19743,6 +19743,56 @@ Therefore, this is removed from the reset here, and images who need to be fluid
19743
19743
  filter: brightness(0) saturate(100%) invert(14%) sepia(64%) saturate(913%) hue-rotate(210deg) brightness(91%) contrast(95%) !important;
19744
19744
  }
19745
19745
 
19746
+ /*
19747
+ * Loader component
19748
+ */
19749
+ .pkt-loader {
19750
+ width: fit-content;
19751
+ text-align: center;
19752
+ }
19753
+ .pkt-loader--inline {
19754
+ display: inline-block;
19755
+ }
19756
+ .pkt-loader > p {
19757
+ margin: 1rem 0;
19758
+ }
19759
+ .pkt-loader--small > p {
19760
+ font-size: 0.75rem;
19761
+ font-weight: 300;
19762
+ letter-spacing: -0.2px;
19763
+ line-height: 1.25rem;
19764
+ }
19765
+ .pkt-loader--small .pkt-loader__svg svg {
19766
+ height: 1rem;
19767
+ }
19768
+ .pkt-loader--small .pkt-loader__svg:not(.pkt-loader__shapes) svg {
19769
+ width: 1rem;
19770
+ }
19771
+ .pkt-loader--medium > p {
19772
+ font-size: 1rem;
19773
+ font-weight: 300;
19774
+ letter-spacing: -0.2px;
19775
+ line-height: 1.5rem;
19776
+ }
19777
+ .pkt-loader--medium .pkt-loader__svg svg {
19778
+ height: 2.5rem;
19779
+ }
19780
+ .pkt-loader--medium .pkt-loader__svg:not(.pkt-loader__shapes) svg {
19781
+ width: 2.5rem;
19782
+ }
19783
+ .pkt-loader--large > p {
19784
+ font-size: 1.125rem;
19785
+ font-weight: 300;
19786
+ letter-spacing: -0.2px;
19787
+ line-height: 1.75rem;
19788
+ }
19789
+ .pkt-loader--large .pkt-loader__svg svg {
19790
+ height: 3.5rem;
19791
+ }
19792
+ .pkt-loader--large .pkt-loader__svg:not(.pkt-loader__shapes) svg {
19793
+ width: 3.5rem;
19794
+ }
19795
+
19746
19796
  /*
19747
19797
  * Textinput component
19748
19798
  *