@ilo-org/styles 0.16.0 → 1.0.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.
package/package.json CHANGED
@@ -1,12 +1,16 @@
1
1
  {
2
2
  "name": "@ilo-org/styles",
3
3
  "description": "Styles for products using ILO's Design System",
4
- "version": "0.16.0",
4
+ "version": "1.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/international-labour-organization/designsystem.git",
8
8
  "directory": "packages/styles"
9
9
  },
10
+ "files": [
11
+ "css/**/*",
12
+ "scss/**/*"
13
+ ],
10
14
  "contributors": [
11
15
  {
12
16
  "name": "Justin Smith",
@@ -34,9 +38,9 @@
34
38
  "author": "@justintemps, @johnpauldavis, @avrilpearl, @ghlost",
35
39
  "license": "Apache-2.0",
36
40
  "dependencies": {
37
- "@ilo-org/fonts": "0.2.0",
38
- "@ilo-org/icons": "0.3.0",
39
- "@ilo-org/themes": "0.8.0"
41
+ "@ilo-org/fonts": "0.2.1",
42
+ "@ilo-org/icons": "0.3.1",
43
+ "@ilo-org/themes": "0.8.1"
40
44
  },
41
45
  "devDependencies": {
42
46
  "del": "^7.0.0",
@@ -201,11 +201,6 @@
201
201
  }
202
202
 
203
203
  &--inner {
204
- // margin: auto;
205
- // max-width: $layout-max-width;
206
- // padding: 0 16px;
207
- // width: 100%;
208
-
209
204
  .ilo--subnav--open & {
210
205
  visibility: hidden;
211
206
  }
@@ -657,8 +652,8 @@
657
652
  }
658
653
 
659
654
  .ilo--context-menu {
655
+ display: none;
660
656
  opacity: 0;
661
- visibility: hidden;
662
657
  position: absolute;
663
658
  right: 0;
664
659
  top: calc(100% + 12px);
@@ -668,20 +663,22 @@
668
663
  .ilo--context--open &,
669
664
  .ilo--language-switcher:focus-within &,
670
665
  &:focus-within {
666
+ display: block;
671
667
  opacity: 1;
672
- visibility: visible;
673
668
  z-index: 1;
674
669
  }
675
670
  }
676
671
 
677
- .ilo--language-switcher--button:focus + .ilo--context-menu {
672
+ .ilo--language-switcher--button:focus {
673
+ display: block;
678
674
  opacity: 1;
679
- visibility: visible;
680
675
  z-index: 1;
681
676
  }
682
677
  }
683
678
 
684
679
  .ilo--subnav {
680
+ display: none;
681
+ visibility: hidden;
685
682
  background: $brand-ilo-white;
686
683
  height: 100%;
687
684
  left: 0;
@@ -693,6 +690,7 @@
693
690
  width: 100%;
694
691
 
695
692
  .ilo--subnav--open & {
693
+ visibility: visible;
696
694
  transform: translateX(0);
697
695
  }
698
696
 
@@ -719,11 +717,6 @@
719
717
  }
720
718
 
721
719
  &--inner {
722
- // margin: auto;
723
- // max-width: 1300px;
724
- // padding: 0 20px;
725
- // width: 100%;
726
-
727
720
  @include breakpoint("large") {
728
721
  display: flex;
729
722
  justify-content: space-between;
@@ -854,6 +847,8 @@
854
847
  }
855
848
 
856
849
  .ilo--search-box {
850
+ display: none;
851
+ visibility: hidden;
857
852
  background: $brand-ilo-white;
858
853
  left: 0;
859
854
  position: absolute;
@@ -863,6 +858,7 @@
863
858
  width: 100%;
864
859
 
865
860
  .ilo--search--open & {
861
+ visibility: visible;
866
862
  transform: translateX(0);
867
863
  }
868
864
 
@@ -874,7 +870,7 @@
874
870
  padding: spacing(8) 0;
875
871
  top: auto;
876
872
  transform: translateY(-100%);
877
- transition: transform 225ms ease-out;
873
+ transition: all 225ms ease-out;
878
874
  z-index: -1;
879
875
 
880
876
  .ilo--header.ilo--search--open & {
@@ -93,7 +93,7 @@
93
93
  margin-bottom: spacing(2);
94
94
 
95
95
  @include breakpoint("medium") {
96
- @include font-styles("headline-3");
96
+ @include font-styles("headline-2");
97
97
  }
98
98
  }
99
99
 
@@ -112,7 +112,7 @@
112
112
  @include font-styles("headline-4");
113
113
 
114
114
  @include breakpoint("medium") {
115
- @include font-styles("headline-3");
115
+ @include font-styles("headline-2");
116
116
  }
117
117
  }
118
118
 
@@ -1,25 +0,0 @@
1
-
2
- > @ilo-org/styles@0.16.0 build:lib /home/runner/work/designsystem/designsystem/packages/styles
3
- > pnpm build
4
-
5
-
6
- > @ilo-org/styles@0.16.0 build /home/runner/work/designsystem/designsystem/packages/styles
7
- > gulp
8
-
9
- [14:57:34] Using gulpfile ~/work/designsystem/designsystem/packages/styles/gulpfile.mjs
10
- [14:57:34] Starting 'default'...
11
- [14:57:34] Starting 'create temp dir'...
12
- [14:57:34] Finished 'create temp dir' after 109 ms
13
- [14:57:34] Starting 'create temp components'...
14
- [14:57:34] Finished 'create temp components' after 71 ms
15
- [14:57:34] Starting 'compile components into css'...
16
- [14:57:39] Finished 'compile components into css' after 5.07 s
17
- [14:57:39] Starting 'minify css components'...
18
- [14:57:40] Finished 'minify css components' after 1.48 s
19
- [14:57:40] Starting 'clean temp components'...
20
- [14:57:40] Finished 'clean temp components' after 12 ms
21
- [14:57:40] Starting 'bundle main css'...
22
- [14:57:44] Finished 'bundle main css' after 3.81 s
23
- [14:57:44] Starting 'minify main css bundle'...
24
- [14:57:44] Finished 'minify main css bundle' after 2.58 ms
25
- [14:57:44] Finished 'default' after 11 s