@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.js CHANGED
@@ -5664,13 +5664,13 @@ var import_react45 = require("react");
5664
5664
  var import_styled_components40 = __toESM(require("styled-components"));
5665
5665
 
5666
5666
  // src/components/List/bullets/jordskifterett_bullet1.svg
5667
- var jordskifterett_bullet1_default = "./jordskifterett_bullet1-JEURT2QQ.svg";
5667
+ 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';
5668
5668
 
5669
5669
  // src/components/List/bullets/lagmannsrett_bullet2.svg
5670
- var lagmannsrett_bullet2_default = "./lagmannsrett_bullet2-UGFNA6RB.svg";
5670
+ 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';
5671
5671
 
5672
5672
  // src/components/List/bullets/tingrett_bullet3.svg
5673
- var tingrett_bullet3_default = "./tingrett_bullet3-KRK5OB4E.svg";
5673
+ 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';
5674
5674
 
5675
5675
  // src/components/List/List.tsx
5676
5676
  var import_dds_typography22 = require("@norges-domstoler/dds-typography");
@@ -5746,16 +5746,13 @@ var StyledList = import_styled_components40.default.ul`
5746
5746
  left: 0;
5747
5747
  background-size: contain;
5748
5748
  background-repeat: no-repeat;
5749
- // Ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes
5750
- background-image: ${`url("${jordskifterett_bullet1_default}")`};
5749
+ background-image: ${`url('${jordskifterett_bullet1_default}')`};
5751
5750
  }
5752
5751
  ul > li:before {
5753
- // Ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes
5754
- background-image: ${`url("${lagmannsrett_bullet2_default}")`};
5752
+ background-image: ${`url('${lagmannsrett_bullet2_default}')`};
5755
5753
  }
5756
5754
  ul > li > ul > li:before {
5757
- // Ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes
5758
- background-image: ${`url("${tingrett_bullet3_default}")`};
5755
+ background-image: ${`url('${tingrett_bullet3_default}')`};
5759
5756
  }
5760
5757
  }
5761
5758
  ` : import_styled_components40.css`
@@ -6496,7 +6493,7 @@ var import_dds_typography28 = require("@norges-domstoler/dds-typography");
6496
6493
  var import_styled_components49 = __toESM(require("styled-components"));
6497
6494
 
6498
6495
  // src/components/Datepicker/calendar_today.svg
6499
- var calendar_today_default = "./calendar_today-PMIB5OWO.svg";
6496
+ 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';
6500
6497
 
6501
6498
  // src/components/Datepicker/Datepicker.tsx
6502
6499
  var import_dds_form17 = require("@norges-domstoler/dds-form");
@@ -6537,8 +6534,7 @@ var datepickerTokens = {
6537
6534
  var import_jsx_runtime56 = require("react/jsx-runtime");
6538
6535
  var StyledInput2 = (0, import_styled_components49.default)(import_dds_form17.StatefulInput)`
6539
6536
  &::-webkit-calendar-picker-indicator {
6540
- // Ensure double quotes in url due to svg data URI in image bundle that requires them, as the attributes use single quotes
6541
- background-image: ${`url("${calendar_today_default}")`};
6537
+ background-image: ${`url('${calendar_today_default}')`};
6542
6538
  position: absolute;
6543
6539
  ${({ componentSize }) => componentSize && import_styled_components49.css`
6544
6540
  right: ${datepickerTokens.calendarIndicator.base.sizes[componentSize].right};