@aarhus-university/au-designsystem-delphinus 0.34.5 → 0.34.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/Gruntfile.js +1 -1
  3. package/build/changelog.html +27 -1
  4. package/build/figma-tokens/breakpoint-styles.json +132 -24
  5. package/build/figma-tokens/color-themes.json +1524 -12
  6. package/build/figma-tokens/design-file.json +136 -24
  7. package/build/figma-tokens/design-system.json +1844 -33
  8. package/build/projects/bachelor-applications/style.css +1 -1
  9. package/build/projects/bachelor-applications/style.css.map +1 -1
  10. package/build/projects/brightspace/style.css +1 -1
  11. package/build/projects/brightspace/style.css.map +1 -1
  12. package/build/projects/course-catalogue/style.css +1 -1
  13. package/build/projects/course-catalogue/style.css.map +1 -1
  14. package/build/projects/medarbejdere/style.css +1 -1
  15. package/build/projects/medarbejdere/style.css.map +1 -1
  16. package/build/projects/mitstudie/style.css +1 -1
  17. package/build/projects/mitstudie/style.css.map +1 -1
  18. package/build/projects/typo3/style.css +1 -1
  19. package/build/projects/typo3/style.css.map +4 -1
  20. package/build/style.css +1 -1
  21. package/build/style.css.map +1 -1
  22. package/package.json +1 -1
  23. package/source/figma-tokens/colors-all.json +187 -0
  24. package/source/figma-tokens/cssvars/figma-tokens.scss +0 -2
  25. package/source/figma-tokens/spacing.json +4 -0
  26. package/source/figma-tokens/styles/theme.json +126 -0
  27. package/source/figma-tokens/typography-fonts.json +12 -4
  28. package/source/figma-tokens/typography-styles.json +120 -20
  29. package/source/projects/typo3/style.scss +2 -1
  30. package/source/style/_sass-variables.scss +2 -0
  31. package/source/style/base/_text.scss +2 -2
  32. package/source/style/module/_card.scss +2 -0
  33. package/source/style/module/_horizontal-scroll.scss +0 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## 0.34.7 (January 26, 2022)
2
+
3
+ ### Core Delphinus Updates
4
+ * Update Figma Tokens to use Font Awesome 6.
5
+ * Add Figma Tokens for fading.
6
+
7
+ ### Delphinus Projects Updates
8
+ None
9
+
10
+ ## 0.34.6 (January 20, 2022)
11
+
12
+ ### Core Delphinus Updates
13
+ * Removes top/bottom margin of first/last child in Cards.
14
+ * Adds Figma Tokens for dense paragraph spacing.
15
+ * Fixes issue in `.horizontal-scroll--no-overflow` where content was squashed on wider screens.
16
+
17
+ ### Delphinus Projects Updates
18
+ #### Typo3
19
+ Adds processing-state and forms styling. But is not yet modified to work fully within the .typo3-delphinus wrapper.
20
+
1
21
  ## 0.34.5 (January 18, 2022)
2
22
 
3
23
  ### Core Delphinus Updates
package/Gruntfile.js CHANGED
@@ -80,7 +80,7 @@ module.exports = (grunt) => {
80
80
  tasks: ['sass', 'cleanempty'],
81
81
  },
82
82
  pug: {
83
- files: ['source/**/*.pug'],
83
+ files: ['source/**/*.pug', 'CHANGELOG.md'],
84
84
  tasks: ['pug', 'cleanempty'],
85
85
  },
86
86
  copy: {
@@ -17,7 +17,33 @@ a(href="/components" class= active_nav_item=="components" ? "nav__item--active"
17
17
  a(href="/atom-fonts.html" class= active_nav_item=="atoms" ? "nav__item--active" : "").nav__item Atoms
18
18
  a(href="/code.html" class= active_nav_item=="code" ? "nav__item--active" : "").nav__item Code
19
19
  a(href="/projects" class= active_nav_item=="projects" ? "nav__item--active" : "").nav__item Projects
20
- a(href="/changelog.html" class= active_nav_item=="changelog" ? "nav__item--active" : "").nav__item Changelog--><!--button(title="Show full menu" aria-label="Show full menu" aria-haspopup="true" aria-expanded="false" aria-controls="nav-items-global").nav__toggle Menu--></div></nav></header><main class="page__content theme--normal" id="content"><div class="page__content__block"><h1> <strong>Changelog</strong></h1><div class="changelog"><h2>0.34.4 (January 17, 2022)</h2>
20
+ a(href="/changelog.html" class= active_nav_item=="changelog" ? "nav__item--active" : "").nav__item Changelog--><!--button(title="Show full menu" aria-label="Show full menu" aria-haspopup="true" aria-expanded="false" aria-controls="nav-items-global").nav__toggle Menu--></div></nav></header><main class="page__content theme--normal" id="content"><div class="page__content__block"><h1> <strong>Changelog</strong></h1><div class="changelog"><h2>0.34.7 (January 26, 2022)</h2>
21
+ <h3>Core Delphinus Updates</h3>
22
+ <ul>
23
+ <li>Update Figma Tokens to use Font Awesome 6.</li>
24
+ <li>Add Figma Tokens for fading.</li>
25
+ </ul>
26
+ <h3>Delphinus Projects Updates</h3>
27
+ <p>None</p>
28
+ <h2>0.34.6 (January 20, 2022)</h2>
29
+ <h3>Core Delphinus Updates</h3>
30
+ <ul>
31
+ <li>Removes top/bottom margin of first/last child in Cards.</li>
32
+ <li>Adds Figma Tokens for dense paragraph spacing.</li>
33
+ <li>Fixes issue in <code>.horizontal-scroll--no-overflow</code> where content was squashed on wider screens.</li>
34
+ </ul>
35
+ <h3>Delphinus Projects Updates</h3>
36
+ <h4>Typo3</h4>
37
+ <p>Adds processing-state and forms styling. But is not yet modified to work fully within the .typo3-delphinus wrapper.</p>
38
+ <h2>0.34.5 (January 18, 2022)</h2>
39
+ <h3>Core Delphinus Updates</h3>
40
+ <ul>
41
+ <li>Adjust padding on normal and large buttons</li>
42
+ <li>Figma Tokens updated to include fifth font size introduced in 0.34.0</li>
43
+ </ul>
44
+ <h3>Delphinus Projects Updates</h3>
45
+ <p>None</p>
46
+ <h2>0.34.4 (January 17, 2022)</h2>
21
47
  <h3>Core Delphinus Updates</h3>
22
48
  <ul>
23
49
  <li>Fix gap in <a href="https://delphinus.au.dk/components/copy-to-clipboard">copy-to-clipboard</a> hover hint and confirmation message, due to subpixel rendering.</li>
@@ -13,12 +13,12 @@
13
13
  "value": "AU Peto",
14
14
  "type": "fontFamilies"
15
15
  },
16
- "font-awesome-5-pro": {
17
- "value": "Font Awesome 5 Pro",
16
+ "font-awesome-pro": {
17
+ "value": "Font Awesome 6 Pro",
18
18
  "type": "fontFamilies"
19
19
  },
20
- "font-awesome-5-brands": {
21
- "value": "Font Awesome 5 Brands",
20
+ "font-awesome-brands": {
21
+ "value": "Font Awesome 6 Brands",
22
22
  "type": "fontFamilies"
23
23
  }
24
24
  },
@@ -40,6 +40,10 @@
40
40
  "value": "Light",
41
41
  "type": "fontWeights"
42
42
  },
43
+ "Regular": {
44
+ "value": "Regular",
45
+ "type": "fontWeights"
46
+ },
43
47
  "Solid": {
44
48
  "value": "Solid",
45
49
  "type": "fontWeights"
@@ -73,6 +77,10 @@
73
77
  "value": "$spacingSizes.Minus1",
74
78
  "type": "paragraphSpacing"
75
79
  },
80
+ "Dense": {
81
+ "value": "$spacingSizes.Minus5",
82
+ "type": "paragraphSpacing"
83
+ },
76
84
  "None": {
77
85
  "value": "0",
78
86
  "type": "paragraphSpacing"
@@ -196,6 +204,34 @@
196
204
  },
197
205
  "type": "typography",
198
206
  "description": "Use this lineheight for paragraphs"
207
+ },
208
+ "Regular, single line, dense": {
209
+ "value": {
210
+ "fontFamily": "$fontFamilies.au-passata",
211
+ "fontWeight": "$fontWeights.Regular",
212
+ "lineHeight": "$lineHieghts.Singleline.Default",
213
+ "fontSize": "$fontSizes.Default",
214
+ "letterSpacing": "$letterSpacings.Default",
215
+ "paragraphSpacing": "$paragraphSpacings.Dense",
216
+ "textDecoration": "$textDecorations.None",
217
+ "textCase": "$textCases.None"
218
+ },
219
+ "type": "typography",
220
+ "description": "Use this lineheight for labels and headings"
221
+ },
222
+ "Regular, multiple lines, dense": {
223
+ "value": {
224
+ "fontFamily": "$fontFamilies.au-passata",
225
+ "fontWeight": "$fontWeights.Regular",
226
+ "lineHeight": "$lineHieghts.Multiline.Default",
227
+ "fontSize": "$fontSizes.Default",
228
+ "letterSpacing": "$letterSpacings.Default",
229
+ "paragraphSpacing": "$paragraphSpacings.Dense",
230
+ "textDecoration": "$textDecorations.None",
231
+ "textCase": "$textCases.None"
232
+ },
233
+ "type": "typography",
234
+ "description": "Use this lineheight for paragraphs"
199
235
  }
200
236
  },
201
237
  "Small": {
@@ -598,7 +634,7 @@
598
634
  "FontAwesome": {
599
635
  "Default": {
600
636
  "value": {
601
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
637
+ "fontFamily": "$fontFamilies.font-awesome-pro",
602
638
  "fontWeight": "$fontWeights.FontAwesome.Light",
603
639
  "lineHeight": "$lineHieghts.Singleline.Default",
604
640
  "fontSize": "$fontSizes.Default",
@@ -612,7 +648,7 @@
612
648
  },
613
649
  "Small": {
614
650
  "value": {
615
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
651
+ "fontFamily": "$fontFamilies.font-awesome-pro",
616
652
  "fontWeight": "$fontWeights.FontAwesome.Light",
617
653
  "lineHeight": "$lineHieghts.Singleline.Small",
618
654
  "fontSize": "$fontSizes.Small",
@@ -626,7 +662,7 @@
626
662
  },
627
663
  "Large": {
628
664
  "value": {
629
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
665
+ "fontFamily": "$fontFamilies.font-awesome-pro",
630
666
  "fontWeight": "$fontWeights.FontAwesome.Light",
631
667
  "lineHeight": "$lineHieghts.Singleline.Large",
632
668
  "fontSize": "$fontSizes.Large",
@@ -640,7 +676,7 @@
640
676
  },
641
677
  "Larger": {
642
678
  "value": {
643
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
679
+ "fontFamily": "$fontFamilies.font-awesome-pro",
644
680
  "fontWeight": "$fontWeights.FontAwesome.Light",
645
681
  "lineHeight": "$lineHieghts.Singleline.Larger",
646
682
  "fontSize": "$fontSizes.Larger",
@@ -654,7 +690,7 @@
654
690
  },
655
691
  "Largest": {
656
692
  "value": {
657
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
693
+ "fontFamily": "$fontFamilies.font-awesome-pro",
658
694
  "fontWeight": "$fontWeights.FontAwesome.Light",
659
695
  "lineHeight": "$lineHieghts.Singleline.Largest",
660
696
  "fontSize": "$fontSizes.Largest",
@@ -669,7 +705,7 @@
669
705
  "Solid": {
670
706
  "Default": {
671
707
  "value": {
672
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
708
+ "fontFamily": "$fontFamilies.font-awesome-pro",
673
709
  "fontWeight": "$fontWeights.FontAwesome.Solid",
674
710
  "lineHeight": "$lineHieghts.Singleline.Default",
675
711
  "fontSize": "$fontSizes.Default",
@@ -683,7 +719,7 @@
683
719
  },
684
720
  "Small": {
685
721
  "value": {
686
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
722
+ "fontFamily": "$fontFamilies.font-awesome-pro",
687
723
  "fontWeight": "$fontWeights.FontAwesome.Solid",
688
724
  "lineHeight": "$lineHieghts.Singleline.Small",
689
725
  "fontSize": "$fontSizes.Small",
@@ -697,7 +733,7 @@
697
733
  },
698
734
  "Large": {
699
735
  "value": {
700
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
736
+ "fontFamily": "$fontFamilies.font-awesome-pro",
701
737
  "fontWeight": "$fontWeights.FontAwesome.Solid",
702
738
  "lineHeight": "$lineHieghts.Singleline.Large",
703
739
  "fontSize": "$fontSizes.Large",
@@ -711,7 +747,7 @@
711
747
  },
712
748
  "Larger": {
713
749
  "value": {
714
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
750
+ "fontFamily": "$fontFamilies.font-awesome-pro",
715
751
  "fontWeight": "$fontWeights.FontAwesome.Solid",
716
752
  "lineHeight": "$lineHieghts.Singleline.Larger",
717
753
  "fontSize": "$fontSizes.Larger",
@@ -725,7 +761,7 @@
725
761
  },
726
762
  "Largest": {
727
763
  "value": {
728
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
764
+ "fontFamily": "$fontFamilies.font-awesome-pro",
729
765
  "fontWeight": "$fontWeights.FontAwesome.Solid",
730
766
  "lineHeight": "$lineHieghts.Singleline.Largest",
731
767
  "fontSize": "$fontSizes.Largest",
@@ -738,10 +774,82 @@
738
774
  "description": "Use this icon weight ONLY when the icon is an interactive element, that is active."
739
775
  }
740
776
  },
777
+ "Brands": {
778
+ "Default": {
779
+ "value": {
780
+ "fontFamily": "$fontFamilies.font-awesome-brands",
781
+ "fontWeight": "$fontWeights.FontAwesome.Regular",
782
+ "lineHeight": "$lineHieghts.Singleline.Default",
783
+ "fontSize": "$fontSizes.Default",
784
+ "letterSpacing": "$letterSpacings.Default",
785
+ "paragraphSpacing": "$paragraphSpacings.None",
786
+ "textCase": "$textCases.None",
787
+ "textDecoration": "$textDecorations.None"
788
+ },
789
+ "type": "typography",
790
+ "description": "Use this text style when you need an icon from Font Awesome Brands. Like twitter and linkedin."
791
+ },
792
+ "Small": {
793
+ "value": {
794
+ "fontFamily": "$fontFamilies.font-awesome-brands",
795
+ "fontWeight": "$fontWeights.FontAwesome.Regular",
796
+ "lineHeight": "$lineHieghts.Singleline.Small",
797
+ "fontSize": "$fontSizes.Small",
798
+ "letterSpacing": "$letterSpacings.Default",
799
+ "paragraphSpacing": "$paragraphSpacings.None",
800
+ "textCase": "$textCases.None",
801
+ "textDecoration": "$textDecorations.None"
802
+ },
803
+ "type": "typography",
804
+ "description": "Use this text style when you need an icon from Font Awesome Brands. Like twitter and linkedin."
805
+ },
806
+ "Large": {
807
+ "value": {
808
+ "fontFamily": "$fontFamilies.font-awesome-brands",
809
+ "fontWeight": "$fontWeights.FontAwesome.Regular",
810
+ "lineHeight": "$lineHieghts.Singleline.Large",
811
+ "fontSize": "$fontSizes.Large",
812
+ "letterSpacing": "$letterSpacings.Default",
813
+ "paragraphSpacing": "$paragraphSpacings.None",
814
+ "textCase": "$textCases.None",
815
+ "textDecoration": "$textDecorations.None"
816
+ },
817
+ "type": "typography",
818
+ "description": "Use this text style when you need an icon from Font Awesome Brands. Like twitter and linkedin."
819
+ },
820
+ "Larger": {
821
+ "value": {
822
+ "fontFamily": "$fontFamilies.font-awesome-brands",
823
+ "fontWeight": "$fontWeights.FontAwesome.Regular",
824
+ "lineHeight": "$lineHieghts.Singleline.Larger",
825
+ "fontSize": "$fontSizes.Larger",
826
+ "letterSpacing": "$letterSpacings.Default",
827
+ "paragraphSpacing": "$paragraphSpacings.None",
828
+ "textCase": "$textCases.None",
829
+ "textDecoration": "$textDecorations.None"
830
+ },
831
+ "type": "typography",
832
+ "description": "Use this text style when you need an icon from Font Awesome Brands. Like twitter and linkedin."
833
+ },
834
+ "Largest": {
835
+ "value": {
836
+ "fontFamily": "$fontFamilies.font-awesome-brands",
837
+ "fontWeight": "$fontWeights.FontAwesome.Regular",
838
+ "lineHeight": "$lineHieghts.Singleline.Largest",
839
+ "fontSize": "$fontSizes.Largest",
840
+ "letterSpacing": "$letterSpacings.Default",
841
+ "paragraphSpacing": "$paragraphSpacings.None",
842
+ "textCase": "$textCases.None",
843
+ "textDecoration": "$textDecorations.None"
844
+ },
845
+ "type": "typography",
846
+ "description": "Use this text style when you need an icon from Font Awesome Brands. Like twitter and linkedin."
847
+ }
848
+ },
741
849
  "NoLineSpacing": {
742
850
  "Default": {
743
851
  "value": {
744
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
852
+ "fontFamily": "$fontFamilies.font-awesome-pro",
745
853
  "fontWeight": "$fontWeights.FontAwesome.Light",
746
854
  "lineHeight": "$fontSizes.Default",
747
855
  "fontSize": "$fontSizes.Default",
@@ -755,7 +863,7 @@
755
863
  },
756
864
  "Small": {
757
865
  "value": {
758
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
866
+ "fontFamily": "$fontFamilies.font-awesome-pro",
759
867
  "fontWeight": "$fontWeights.FontAwesome.Light",
760
868
  "lineHeight": "$fontSizes.Small",
761
869
  "fontSize": "$fontSizes.Small",
@@ -769,7 +877,7 @@
769
877
  },
770
878
  "Large": {
771
879
  "value": {
772
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
880
+ "fontFamily": "$fontFamilies.font-awesome-pro",
773
881
  "fontWeight": "$fontWeights.FontAwesome.Light",
774
882
  "lineHeight": "$fontSizes.Large",
775
883
  "fontSize": "$fontSizes.Large",
@@ -783,7 +891,7 @@
783
891
  },
784
892
  "Larger": {
785
893
  "value": {
786
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
894
+ "fontFamily": "$fontFamilies.font-awesome-pro",
787
895
  "fontWeight": "$fontWeights.FontAwesome.Light",
788
896
  "lineHeight": "$fontSizes.Larger",
789
897
  "fontSize": "$fontSizes.Larger",
@@ -797,7 +905,7 @@
797
905
  },
798
906
  "Largest": {
799
907
  "value": {
800
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
908
+ "fontFamily": "$fontFamilies.font-awesome-pro",
801
909
  "fontWeight": "$fontWeights.FontAwesome.Light",
802
910
  "lineHeight": "$fontSizes.Largest",
803
911
  "fontSize": "$fontSizes.Largest",
@@ -812,7 +920,7 @@
812
920
  "Solid": {
813
921
  "Default": {
814
922
  "value": {
815
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
923
+ "fontFamily": "$fontFamilies.font-awesome-pro",
816
924
  "fontWeight": "$fontWeights.FontAwesome.Solid",
817
925
  "lineHeight": "$fontSizes.Default",
818
926
  "fontSize": "$fontSizes.Default",
@@ -826,7 +934,7 @@
826
934
  },
827
935
  "Small": {
828
936
  "value": {
829
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
937
+ "fontFamily": "$fontFamilies.font-awesome-pro",
830
938
  "fontWeight": "$fontWeights.FontAwesome.Solid",
831
939
  "lineHeight": "$fontSizes.Small",
832
940
  "fontSize": "$fontSizes.Small",
@@ -840,7 +948,7 @@
840
948
  },
841
949
  "Large": {
842
950
  "value": {
843
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
951
+ "fontFamily": "$fontFamilies.font-awesome-pro",
844
952
  "fontWeight": "$fontWeights.FontAwesome.Solid",
845
953
  "lineHeight": "$fontSizes.Large",
846
954
  "fontSize": "$fontSizes.Large",
@@ -854,7 +962,7 @@
854
962
  },
855
963
  "Larger": {
856
964
  "value": {
857
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
965
+ "fontFamily": "$fontFamilies.font-awesome-pro",
858
966
  "fontWeight": "$fontWeights.FontAwesome.Solid",
859
967
  "lineHeight": "$fontSizes.Larger",
860
968
  "fontSize": "$fontSizes.Larger",
@@ -868,7 +976,7 @@
868
976
  },
869
977
  "Largest": {
870
978
  "value": {
871
- "fontFamily": "$fontFamilies.font-awesome-5-pro",
979
+ "fontFamily": "$fontFamilies.font-awesome-pro",
872
980
  "fontWeight": "$fontWeights.FontAwesome.Solid",
873
981
  "lineHeight": "$fontSizes.Largest",
874
982
  "fontSize": "$fontSizes.Largest",