slu-design-system 7.0.29 → 22.0.0-beta.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.
Files changed (34) hide show
  1. package/README.md +14 -14
  2. package/dist/designsystem-default.css +175 -179
  3. package/dist/designsystem-default.css.map +1 -1
  4. package/dist/designsystem-default.min.css +1 -1
  5. package/{dist/fonts → fonts}/slu.svg +10 -10
  6. package/package.json +28 -22
  7. package/scss/media-mixins.scss +36 -28
  8. package/src/abstract/_bootstrap-features.scss +48 -0
  9. package/src/abstract/_bootstrap-override.scss +53 -0
  10. package/src/abstract/palettes/_aqua.scss +4 -0
  11. package/src/abstract/palettes/_artportalen.scss +32 -0
  12. package/src/abstract/palettes/_default.scss +74 -0
  13. package/src/abstract/palettes/_fynddata.scss +32 -0
  14. package/src/abstract/palettes/_mk.scss +54 -0
  15. package/src/abstract/palettes/_quiz.scss +22 -0
  16. package/src/abstract/palettes/_slu.scss +32 -0
  17. package/src/abstract/themes/_dark.scss +18 -0
  18. package/src/features/_buttons.scss +150 -0
  19. package/src/features/_date-picker.scss +59 -0
  20. package/src/features/_fonts.scss +31 -0
  21. package/src/features/_form.scss +82 -0
  22. package/src/features/_general.scss +185 -0
  23. package/src/features/_images.scss +26 -0
  24. package/src/features/_lists.scss +13 -0
  25. package/src/features/_loader.scss +27 -0
  26. package/src/features/_map.scss +345 -0
  27. package/src/features/_none-taxonomic.scss +34 -0
  28. package/src/features/_panels.scss +134 -0
  29. package/src/features/_special_colors.scss +54 -0
  30. package/src/styles.scss +11 -0
  31. package/build-and-deploy-to-npm.yaml +0 -67
  32. /package/{dist/fonts → fonts}/slu.eot +0 -0
  33. /package/{dist/fonts → fonts}/slu.ttf +0 -0
  34. /package/{dist/fonts → fonts}/slu.woff +0 -0
package/README.md CHANGED
@@ -1,15 +1,15 @@
1
-
2
-
3
- Read the documentation at <a href="https://designsystem.slu.se">https://designsystem.slu.se</a>
4
-
5
- We are using Bootstrap 5 in this package. You dont need to install it. But don't use this package in a way that would harm Bootstrap 5.
6
-
7
- https://getbootstrap.com/docs/5.1/about/license/
8
-
9
- The MIT License (MIT)
10
-
11
- Copyright (c) 2015-2018 Angular ng-bootstrap team
12
-
13
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
14
-
1
+
2
+
3
+ Read the documentation at <a href="https://designsystem.slu.se">https://designsystem.slu.se</a>
4
+
5
+ We are using Bootstrap 5 in this package. You dont need to install it. But don't use this package in a way that would harm Bootstrap 5.
6
+
7
+ https://getbootstrap.com/docs/5.1/about/license/
8
+
9
+ The MIT License (MIT)
10
+
11
+ Copyright (c) 2015-2018 Angular ng-bootstrap team
12
+
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
14
+
15
15
  THE SOFTWARE IS PROVIDED ""AS IS"", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -12256,6 +12256,7 @@ a.no-underline:hover {
12256
12256
 
12257
12257
  .alert a {
12258
12258
  color: var(--bs-alert-link-color);
12259
+ font-weight: 700;
12259
12260
  text-decoration: underline;
12260
12261
  }
12261
12262
 
@@ -12463,181 +12464,6 @@ a.no-underline:hover {
12463
12464
  border: 1px solid rgb(249.9088607595, 232.0898734177, 159.5411392405) !important;
12464
12465
  }
12465
12466
 
12466
- .legend {
12467
- width: 1rem;
12468
- height: 1rem;
12469
- }
12470
-
12471
- .presence-none {
12472
- background-color: white;
12473
- color: white;
12474
- }
12475
-
12476
- .legend.presence-none {
12477
- border-color: #cccccc;
12478
- }
12479
-
12480
- svg .presence-none {
12481
- stroke: black;
12482
- stroke-opacity: 1;
12483
- stroke-width: 1;
12484
- fill: white;
12485
- fill-opacity: 0.8;
12486
- }
12487
-
12488
- .presence-region-extinct {
12489
- background-color: #4c4c4c;
12490
- color: #4c4c4c;
12491
- }
12492
-
12493
- .legend.presence-region-extinct {
12494
- border-color: rgb(60.8, 60.8, 60.8);
12495
- }
12496
-
12497
- svg .presence-region-extinct {
12498
- stroke: black;
12499
- stroke-opacity: 1;
12500
- stroke-width: 1;
12501
- fill: #4c4c4c;
12502
- fill-opacity: 0.8;
12503
- }
12504
-
12505
- .presence-unsure {
12506
- background-color: #c38bc3;
12507
- color: #c38bc3;
12508
- }
12509
-
12510
- .legend.presence-unsure {
12511
- border-color: rgb(172.2272727273, 94.9727272727, 172.2272727273);
12512
- }
12513
-
12514
- svg .presence-unsure {
12515
- stroke: black;
12516
- stroke-opacity: 1;
12517
- stroke-width: 1;
12518
- fill: #c38bc3;
12519
- fill-opacity: 0.8;
12520
- }
12521
-
12522
- .presence-noted {
12523
- background-color: #97cb97;
12524
- color: #97cb97;
12525
- }
12526
-
12527
- .legend.presence-noted {
12528
- border-color: rgb(103.8, 179.4, 103.8);
12529
- }
12530
-
12531
- svg .presence-noted {
12532
- stroke: black;
12533
- stroke-opacity: 1;
12534
- stroke-width: 1;
12535
- fill: #97cb97;
12536
- fill-opacity: 0.8;
12537
- }
12538
-
12539
- .presence-noted-no-reproduction {
12540
- background-color: #52a852;
12541
- color: #52a852;
12542
- }
12543
-
12544
- .legend.presence-noted-no-reproduction {
12545
- border-color: rgb(65.6, 134.4, 65.6);
12546
- }
12547
-
12548
- svg .presence-noted-no-reproduction {
12549
- stroke: black;
12550
- stroke-opacity: 1;
12551
- stroke-width: 1;
12552
- fill: #52a852;
12553
- fill-opacity: 0.8;
12554
- }
12555
-
12556
- .presence-resident {
12557
- background-color: #52a852;
12558
- color: #52a852;
12559
- }
12560
-
12561
- .legend.presence-resident {
12562
- border-color: rgb(65.6, 134.4, 65.6);
12563
- }
12564
-
12565
- svg .presence-resident {
12566
- stroke: black;
12567
- stroke-opacity: 1;
12568
- stroke-width: 1;
12569
- fill: #52a852;
12570
- fill-opacity: 0.8;
12571
- }
12572
-
12573
- .presence-probably-resident {
12574
- background-color: #52a852;
12575
- color: #52a852;
12576
- }
12577
-
12578
- .legend.presence-probably-resident {
12579
- border-color: rgb(65.6, 134.4, 65.6);
12580
- }
12581
-
12582
- svg .presence-probably-resident {
12583
- stroke: black;
12584
- stroke-opacity: 1;
12585
- stroke-width: 1;
12586
- fill: #52a852;
12587
- fill-opacity: 0.8;
12588
- }
12589
-
12590
- .presence-not-noted {
12591
- background-color: #c8c8c8;
12592
- color: #c8c8c8;
12593
- }
12594
-
12595
- .legend.presence-not-noted {
12596
- border-color: #a0a0a0;
12597
- }
12598
-
12599
- svg .presence-not-noted {
12600
- stroke: black;
12601
- stroke-opacity: 1;
12602
- stroke-width: 1;
12603
- fill: #c8c8c8;
12604
- fill-opacity: 0.8;
12605
- }
12606
-
12607
- .presence-naturalized {
12608
- background-color: #66d0f6;
12609
- color: #66d0f6;
12610
- }
12611
-
12612
- .legend.presence-naturalized {
12613
- border-color: rgb(36.2666666667, 187.8074074074, 242.1333333333);
12614
- }
12615
-
12616
- svg .presence-naturalized {
12617
- stroke: black;
12618
- stroke-opacity: 1;
12619
- stroke-width: 1;
12620
- fill: #66d0f6;
12621
- fill-opacity: 0.8;
12622
- }
12623
-
12624
- .presence-temp-reproduction {
12625
- background-color: #fadb7f;
12626
- color: #fadb7f;
12627
- }
12628
-
12629
- .legend.presence-temp-reproduction {
12630
- border-color: rgb(247.1654135338, 198.5909774436, 54.4345864662);
12631
- }
12632
-
12633
- svg .presence-temp-reproduction {
12634
- stroke: black;
12635
- stroke-opacity: 1;
12636
- stroke-width: 1;
12637
- fill: #fadb7f;
12638
- fill-opacity: 0.8;
12639
- }
12640
-
12641
12467
  .loading {
12642
12468
  position: relative;
12643
12469
  pointer-events: none;
@@ -12827,12 +12653,182 @@ ul {
12827
12653
  content: ", ";
12828
12654
  }
12829
12655
 
12830
- .leaflet-tile {
12831
- margin: -0.5px;
12656
+ .adb-map {
12657
+ height: 100%;
12658
+ width: 100%;
12659
+ background-color: white;
12660
+ }
12661
+
12662
+ .map-height-xs .adb-map {
12663
+ height: 12rem;
12664
+ }
12665
+
12666
+ .map-height-sm .adb-map {
12667
+ height: 20rem;
12668
+ }
12669
+
12670
+ .map-height-md .adb-map {
12671
+ height: 30rem;
12672
+ }
12673
+
12674
+ .map-height-lg .adb-map {
12675
+ height: 40rem;
12676
+ }
12677
+
12678
+ .adb-map-layers {
12679
+ top: 0.5rem;
12680
+ right: 0.5rem;
12681
+ padding: 0.5rem;
12682
+ background: white;
12683
+ }
12684
+ .adb-map-layers label {
12685
+ display: block;
12686
+ }
12687
+ .adb-map-layers input {
12688
+ margin-right: 0.5rem;
12689
+ }
12690
+
12691
+ .adb-map-feature-picker {
12692
+ position: absolute;
12693
+ inset: 0;
12694
+ z-index: 10;
12695
+ pointer-events: none;
12696
+ }
12697
+
12698
+ .adb-map-feature-picker-panel {
12699
+ position: absolute;
12700
+ width: 22rem;
12701
+ max-width: 100%;
12702
+ max-height: 100%;
12703
+ overflow-y: auto;
12704
+ margin: 0;
12705
+ pointer-events: auto;
12706
+ }
12707
+ @media (max-width: 767.98px) {
12708
+ .adb-map-feature-picker-panel {
12709
+ inset: 0 !important;
12710
+ width: 100%;
12711
+ height: 100%;
12712
+ }
12713
+ }
12714
+
12715
+ .legend {
12716
+ width: 1rem;
12717
+ height: 1rem;
12718
+ flex-shrink: 0;
12719
+ border: 1px solid currentColor;
12720
+ }
12721
+
12722
+ .legend-cluster {
12723
+ display: inline-block;
12724
+ border-radius: 50%;
12725
+ border: 2px solid #000;
12726
+ background-color: #1e90ff;
12727
+ }
12728
+
12729
+ .legend-before {
12730
+ display: inline-block;
12731
+ border-radius: 50%;
12732
+ background-color: transparent;
12733
+ border: 3px solid #8a3fd0;
12734
+ }
12735
+
12736
+ .legend-after {
12737
+ display: inline-block;
12738
+ border-radius: 50%;
12739
+ background-color: #3366cc;
12740
+ /* same as marker fill */
12741
+ border: 2px solid #000;
12742
+ }
12743
+
12744
+ .presence-none {
12745
+ background-color: white;
12746
+ color: white;
12747
+ }
12748
+
12749
+ .legend.presence-none {
12750
+ border-color: #cccccc;
12751
+ }
12752
+
12753
+ .presence-region-extinct {
12754
+ background-color: #4c4c4c;
12755
+ color: #4c4c4c;
12756
+ }
12757
+
12758
+ .legend.presence-region-extinct {
12759
+ border-color: rgb(60.8, 60.8, 60.8);
12760
+ }
12761
+
12762
+ .presence-unsure {
12763
+ background-color: #c38bc3;
12764
+ color: #c38bc3;
12765
+ }
12766
+
12767
+ .legend.presence-unsure {
12768
+ border-color: rgb(172.2272727273, 94.9727272727, 172.2272727273);
12769
+ }
12770
+
12771
+ .presence-noted {
12772
+ background-color: #97cb97;
12773
+ color: #97cb97;
12832
12774
  }
12833
12775
 
12834
- .leaflet-tile {
12835
- transform: translateZ(0);
12776
+ .legend.presence-noted {
12777
+ border-color: rgb(103.8, 179.4, 103.8);
12778
+ }
12779
+
12780
+ .presence-noted-no-reproduction {
12781
+ background-color: #52a852;
12782
+ color: #52a852;
12783
+ }
12784
+
12785
+ .legend.presence-noted-no-reproduction {
12786
+ border-color: rgb(65.6, 134.4, 65.6);
12787
+ }
12788
+
12789
+ .presence-resident {
12790
+ background-color: #52a852;
12791
+ color: #52a852;
12792
+ }
12793
+
12794
+ .legend.presence-resident {
12795
+ border-color: rgb(65.6, 134.4, 65.6);
12796
+ }
12797
+
12798
+ .presence-probably-resident {
12799
+ background-color: #52a852;
12800
+ color: #52a852;
12801
+ }
12802
+
12803
+ .legend.presence-probably-resident {
12804
+ border-color: rgb(65.6, 134.4, 65.6);
12805
+ }
12806
+
12807
+ .presence-not-noted {
12808
+ background-color: #c8c8c8;
12809
+ color: #c8c8c8;
12810
+ }
12811
+
12812
+ .legend.presence-not-noted {
12813
+ border-color: #a0a0a0;
12814
+ }
12815
+
12816
+ .presence-naturalized {
12817
+ background-color: #66d0f6;
12818
+ color: #66d0f6;
12819
+ }
12820
+
12821
+ .legend.presence-naturalized {
12822
+ border-color: rgb(36.2666666667, 187.8074074074, 242.1333333333);
12823
+ }
12824
+
12825
+ .presence-temp-reproduction {
12826
+ background-color: #fadb7f;
12827
+ color: #fadb7f;
12828
+ }
12829
+
12830
+ .legend.presence-temp-reproduction {
12831
+ border-color: rgb(247.1654135338, 198.5909774436, 54.4345864662);
12836
12832
  }
12837
12833
 
12838
12834
  .map-symbol-square,