slu-design-system 7.0.30 → 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 +174 -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.
@@ -12464,181 +12464,6 @@ a.no-underline:hover {
12464
12464
  border: 1px solid rgb(249.9088607595, 232.0898734177, 159.5411392405) !important;
12465
12465
  }
12466
12466
 
12467
- .legend {
12468
- width: 1rem;
12469
- height: 1rem;
12470
- }
12471
-
12472
- .presence-none {
12473
- background-color: white;
12474
- color: white;
12475
- }
12476
-
12477
- .legend.presence-none {
12478
- border-color: #cccccc;
12479
- }
12480
-
12481
- svg .presence-none {
12482
- stroke: black;
12483
- stroke-opacity: 1;
12484
- stroke-width: 1;
12485
- fill: white;
12486
- fill-opacity: 0.8;
12487
- }
12488
-
12489
- .presence-region-extinct {
12490
- background-color: #4c4c4c;
12491
- color: #4c4c4c;
12492
- }
12493
-
12494
- .legend.presence-region-extinct {
12495
- border-color: rgb(60.8, 60.8, 60.8);
12496
- }
12497
-
12498
- svg .presence-region-extinct {
12499
- stroke: black;
12500
- stroke-opacity: 1;
12501
- stroke-width: 1;
12502
- fill: #4c4c4c;
12503
- fill-opacity: 0.8;
12504
- }
12505
-
12506
- .presence-unsure {
12507
- background-color: #c38bc3;
12508
- color: #c38bc3;
12509
- }
12510
-
12511
- .legend.presence-unsure {
12512
- border-color: rgb(172.2272727273, 94.9727272727, 172.2272727273);
12513
- }
12514
-
12515
- svg .presence-unsure {
12516
- stroke: black;
12517
- stroke-opacity: 1;
12518
- stroke-width: 1;
12519
- fill: #c38bc3;
12520
- fill-opacity: 0.8;
12521
- }
12522
-
12523
- .presence-noted {
12524
- background-color: #97cb97;
12525
- color: #97cb97;
12526
- }
12527
-
12528
- .legend.presence-noted {
12529
- border-color: rgb(103.8, 179.4, 103.8);
12530
- }
12531
-
12532
- svg .presence-noted {
12533
- stroke: black;
12534
- stroke-opacity: 1;
12535
- stroke-width: 1;
12536
- fill: #97cb97;
12537
- fill-opacity: 0.8;
12538
- }
12539
-
12540
- .presence-noted-no-reproduction {
12541
- background-color: #52a852;
12542
- color: #52a852;
12543
- }
12544
-
12545
- .legend.presence-noted-no-reproduction {
12546
- border-color: rgb(65.6, 134.4, 65.6);
12547
- }
12548
-
12549
- svg .presence-noted-no-reproduction {
12550
- stroke: black;
12551
- stroke-opacity: 1;
12552
- stroke-width: 1;
12553
- fill: #52a852;
12554
- fill-opacity: 0.8;
12555
- }
12556
-
12557
- .presence-resident {
12558
- background-color: #52a852;
12559
- color: #52a852;
12560
- }
12561
-
12562
- .legend.presence-resident {
12563
- border-color: rgb(65.6, 134.4, 65.6);
12564
- }
12565
-
12566
- svg .presence-resident {
12567
- stroke: black;
12568
- stroke-opacity: 1;
12569
- stroke-width: 1;
12570
- fill: #52a852;
12571
- fill-opacity: 0.8;
12572
- }
12573
-
12574
- .presence-probably-resident {
12575
- background-color: #52a852;
12576
- color: #52a852;
12577
- }
12578
-
12579
- .legend.presence-probably-resident {
12580
- border-color: rgb(65.6, 134.4, 65.6);
12581
- }
12582
-
12583
- svg .presence-probably-resident {
12584
- stroke: black;
12585
- stroke-opacity: 1;
12586
- stroke-width: 1;
12587
- fill: #52a852;
12588
- fill-opacity: 0.8;
12589
- }
12590
-
12591
- .presence-not-noted {
12592
- background-color: #c8c8c8;
12593
- color: #c8c8c8;
12594
- }
12595
-
12596
- .legend.presence-not-noted {
12597
- border-color: #a0a0a0;
12598
- }
12599
-
12600
- svg .presence-not-noted {
12601
- stroke: black;
12602
- stroke-opacity: 1;
12603
- stroke-width: 1;
12604
- fill: #c8c8c8;
12605
- fill-opacity: 0.8;
12606
- }
12607
-
12608
- .presence-naturalized {
12609
- background-color: #66d0f6;
12610
- color: #66d0f6;
12611
- }
12612
-
12613
- .legend.presence-naturalized {
12614
- border-color: rgb(36.2666666667, 187.8074074074, 242.1333333333);
12615
- }
12616
-
12617
- svg .presence-naturalized {
12618
- stroke: black;
12619
- stroke-opacity: 1;
12620
- stroke-width: 1;
12621
- fill: #66d0f6;
12622
- fill-opacity: 0.8;
12623
- }
12624
-
12625
- .presence-temp-reproduction {
12626
- background-color: #fadb7f;
12627
- color: #fadb7f;
12628
- }
12629
-
12630
- .legend.presence-temp-reproduction {
12631
- border-color: rgb(247.1654135338, 198.5909774436, 54.4345864662);
12632
- }
12633
-
12634
- svg .presence-temp-reproduction {
12635
- stroke: black;
12636
- stroke-opacity: 1;
12637
- stroke-width: 1;
12638
- fill: #fadb7f;
12639
- fill-opacity: 0.8;
12640
- }
12641
-
12642
12467
  .loading {
12643
12468
  position: relative;
12644
12469
  pointer-events: none;
@@ -12828,12 +12653,182 @@ ul {
12828
12653
  content: ", ";
12829
12654
  }
12830
12655
 
12831
- .leaflet-tile {
12832
- 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;
12833
12668
  }
12834
12669
 
12835
- .leaflet-tile {
12836
- transform: translateZ(0);
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;
12774
+ }
12775
+
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);
12837
12832
  }
12838
12833
 
12839
12834
  .map-symbol-square,