@norges-domstoler/dds-components 0.0.0-dev-20250206105514 → 0.0.0-dev-20250210103108

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.css CHANGED
@@ -1363,17 +1363,66 @@
1363
1363
  }
1364
1364
  .DateInput_popover {
1365
1365
  z-index: var(--dds-zindex-popover);
1366
- border-radius: var(--dds-border-radius-surface);
1367
- background-color: var(--dds-color-surface-default);
1368
- border: 1px solid var(--dds-color-border-default);
1369
1366
  padding: var(--dds-spacing-x0-5);
1370
- box-shadow: var(--dds-shadow-2);
1371
- height: 347px;
1367
+ }
1368
+ .DateInput_popover--large-screen-hide-xs {
1369
+ @media only screen and (max-width: 600px) {
1370
+ display: none;
1371
+ }
1372
+ }
1373
+ .DateInput_popover--large-screen-hide-sm {
1374
+ @media only screen and (max-width: 960px) {
1375
+ display: none;
1376
+ }
1377
+ }
1378
+ .DateInput_popover--large-screen-hide-md {
1379
+ @media only screen and (max-width: 1280px) {
1380
+ display: none;
1381
+ }
1382
+ }
1383
+ .DateInput_popover--large-screen-hide-lg {
1384
+ @media only screen and (max-width: 1920px) {
1385
+ display: none;
1386
+ }
1387
+ }
1388
+ .DateInput_popover--large-screen-hide-xl {
1389
+ display: none;
1390
+ }
1391
+ .DateInput_modal {
1392
+ display: none;
1393
+ }
1394
+ .DateInput_modal--small-screen-show-xs {
1395
+ @media only screen and (max-width: 600px) {
1396
+ display: block;
1397
+ }
1398
+ }
1399
+ .DateInput_modal--small-screen-show-sm {
1400
+ @media only screen and (max-width: 960px) {
1401
+ display: block;
1402
+ }
1403
+ }
1404
+ .DateInput_modal--small-screen-show-md {
1405
+ @media only screen and (max-width: 1280px) {
1406
+ display: block;
1407
+ }
1408
+ }
1409
+ .DateInput_modal--small-screen-show-lg {
1410
+ @media only screen and (max-width: 1920px) {
1411
+ display: block;
1412
+ }
1413
+ }
1414
+ .DateInput_modal--small-screen-show-xl {
1415
+ display: block;
1416
+ }
1417
+ .DateInput_modal-close-button-wrapper {
1418
+ display: flex;
1419
+ justify-content: right;
1372
1420
  }
1373
1421
  .DateInput_calendar {
1374
1422
  display: flex;
1375
1423
  flex-direction: column;
1376
1424
  gap: 1rem;
1425
+ height: 327px;
1377
1426
  }
1378
1427
  .DateInput_calendar__header {
1379
1428
  display: flex;
@@ -1437,6 +1486,30 @@
1437
1486
  text-decoration: underline line-through;
1438
1487
  }
1439
1488
 
1489
+ /* src/components/ThemeProvider/ThemeProvider.module.css */
1490
+ .ThemeProvider_global-variables {
1491
+ --dds-color-text-body: var(--dds-color-text-default);
1492
+ --dds-color-text-body-subtle: var(--dds-color-text-subtle);
1493
+ --dds-color-text-link: var(--dds-color-text-action-resting);
1494
+ --dds-color-text-link-visited: var(--dds-color-text-action-visited);
1495
+ --dds-color-text-label: var(--dds-color-text-medium);
1496
+ --dds-color-text-placeholder: var(--dds-color-text-subtle);
1497
+ --dds-color-text-helper: var(--dds-color-text-subtle);
1498
+ --dds-color-icon-link: var(--dds-color-text-action-resting);
1499
+ --dds-focus-outline: var(--dds-color-focus-outside) 2px solid;
1500
+ --dds-focus-outline-offset: var(--dds-spacing-x0-125);
1501
+ --dds-focus-outline-inset: calc(0px - var(--dds-spacing-x0-25));
1502
+ --dds-focus-box-shadow: 0 0 0 2px var(--dds-color-focus-inside);
1503
+ --dds-focus-transition: outline-offset 0.2s;
1504
+ --dds-input-default-width: 320px;
1505
+ --dds-transition-duration-surface-move: 0.5s;
1506
+ }
1507
+ .ThemeProvider_global-styles {
1508
+ font: var(--dds-font-body-medium);
1509
+ letter-spacing: var(--dds-font-body-medium-letter-spacing);
1510
+ color: var(--dds-color-text-default);
1511
+ }
1512
+
1440
1513
  /* src/components/InputMessage/InputMessage.module.css */
1441
1514
  .InputMessage_container {
1442
1515
  display: flex;
@@ -1620,30 +1693,6 @@
1620
1693
  align-self: flex-end;
1621
1694
  }
1622
1695
 
1623
- /* src/components/ThemeProvider/ThemeProvider.module.css */
1624
- .ThemeProvider_global-variables {
1625
- --dds-color-text-body: var(--dds-color-text-default);
1626
- --dds-color-text-body-subtle: var(--dds-color-text-subtle);
1627
- --dds-color-text-link: var(--dds-color-text-action-resting);
1628
- --dds-color-text-link-visited: var(--dds-color-text-action-visited);
1629
- --dds-color-text-label: var(--dds-color-text-medium);
1630
- --dds-color-text-placeholder: var(--dds-color-text-subtle);
1631
- --dds-color-text-helper: var(--dds-color-text-subtle);
1632
- --dds-color-icon-link: var(--dds-color-text-action-resting);
1633
- --dds-focus-outline: var(--dds-color-focus-outside) 2px solid;
1634
- --dds-focus-outline-offset: var(--dds-spacing-x0-125);
1635
- --dds-focus-outline-inset: calc(0px - var(--dds-spacing-x0-25));
1636
- --dds-focus-box-shadow: 0 0 0 2px var(--dds-color-focus-inside);
1637
- --dds-focus-transition: outline-offset 0.2s;
1638
- --dds-input-default-width: 320px;
1639
- --dds-transition-duration-surface-move: 0.5s;
1640
- }
1641
- .ThemeProvider_global-styles {
1642
- font: var(--dds-font-body-medium);
1643
- letter-spacing: var(--dds-font-body-medium-letter-spacing);
1644
- color: var(--dds-color-text-default);
1645
- }
1646
-
1647
1696
  /* src/components/EmptyContent/EmptyContent.module.css */
1648
1697
  .EmptyContent_containter {
1649
1698
  display: flex;