@norges-domstoler/dds-components 13.8.6 → 13.8.7

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/index.mjs CHANGED
@@ -5762,13 +5762,13 @@ import { forwardRef as forwardRef30 } from "react";
5762
5762
  import styled40, { css as css19 } from "styled-components";
5763
5763
 
5764
5764
  // src/components/List/bullets/jordskifterett_bullet1.svg
5765
- var jordskifterett_bullet1_default = "./jordskifterett_bullet1-JEURT2QQ.svg";
5765
+ var jordskifterett_bullet1_default = 'data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<circle cx="6.7085" cy="6.7085" r="2.625" fill="%230B0D0E"/>%0A</svg>%0A';
5766
5766
 
5767
5767
  // src/components/List/bullets/lagmannsrett_bullet2.svg
5768
- var lagmannsrett_bullet2_default = "./lagmannsrett_bullet2-UGFNA6RB.svg";
5768
+ var lagmannsrett_bullet2_default = 'data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<rect x="3.04346" y="6.08691" width="7.30435" height="1.82609" fill="%230B0D0E"/>%0A</svg>%0A';
5769
5769
 
5770
5770
  // src/components/List/bullets/tingrett_bullet3.svg
5771
- var tingrett_bullet3_default = "./tingrett_bullet3-KRK5OB4E.svg";
5771
+ var tingrett_bullet3_default = 'data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M6.70817 9.33333C8.80225 9.33333 10.4998 7.50516 10.4998 5.25H2.9165C2.9165 7.50516 4.61409 9.33333 6.70817 9.33333Z" fill="%230B0D0E"/>%0A</svg>%0A';
5772
5772
 
5773
5773
  // src/components/List/List.tsx
5774
5774
  import {
@@ -5852,16 +5852,13 @@ var StyledList = styled40.ul`
5852
5852
  left: 0;
5853
5853
  background-size: contain;
5854
5854
  background-repeat: no-repeat;
5855
- // Ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes
5856
- background-image: ${`url("${jordskifterett_bullet1_default}")`};
5855
+ background-image: ${`url('${jordskifterett_bullet1_default}')`};
5857
5856
  }
5858
5857
  ul > li:before {
5859
- // Ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes
5860
- background-image: ${`url("${lagmannsrett_bullet2_default}")`};
5858
+ background-image: ${`url('${lagmannsrett_bullet2_default}')`};
5861
5859
  }
5862
5860
  ul > li > ul > li:before {
5863
- // Ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes
5864
- background-image: ${`url("${tingrett_bullet3_default}")`};
5861
+ background-image: ${`url('${tingrett_bullet3_default}')`};
5865
5862
  }
5866
5863
  }
5867
5864
  ` : css19`
@@ -6645,7 +6642,7 @@ import { Label as Label5 } from "@norges-domstoler/dds-typography";
6645
6642
  import styled49, { css as css25 } from "styled-components";
6646
6643
 
6647
6644
  // src/components/Datepicker/calendar_today.svg
6648
- var calendar_today_default = "./calendar_today-PMIB5OWO.svg";
6645
+ var calendar_today_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V10h16v11zm0-13H4V5h16v3z" fill="%233a4146" /></svg>%0A';
6649
6646
 
6650
6647
  // src/components/Datepicker/Datepicker.tsx
6651
6648
  import {
@@ -6689,8 +6686,7 @@ var datepickerTokens = {
6689
6686
  import { jsx as jsx55, jsxs as jsxs31 } from "react/jsx-runtime";
6690
6687
  var StyledInput2 = styled49(StatefulInput3)`
6691
6688
  &::-webkit-calendar-picker-indicator {
6692
- // Ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes
6693
- background-image: ${`url("${calendar_today_default}")`};
6689
+ background-image: ${`url('${calendar_today_default}')`};
6694
6690
  position: absolute;
6695
6691
  ${({ componentSize }) => componentSize && css25`
6696
6692
  right: ${datepickerTokens.calendarIndicator.base.sizes[componentSize].right};