@conduction/components 2.1.27 → 2.1.28

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/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  - **Version 2.1 (breaking changes from 2.0.x)**
6
6
 
7
+ - 2.1.28: Fixed PrimaryTopNav dropdown token and added new features for dropdown.
7
8
  - 2.1.27: TimeFormat in DatePicker is now consistant with DateFormat.
8
9
  - 2.1.26: Avoid dependency on `@gemeente-denhaag/components-react`, only depend on components we actually use.
9
10
  - 2.1.25: Added id prop to select component.
@@ -9,6 +9,8 @@
9
9
  --conduction-primary-top-nav-toggle-icon-size: 24px;
10
10
  --conduction-primary-top-nav-mobile-logo-padding: 18px;
11
11
  --conduction-primary-top-nav-item-icon-margin: var(--skeleton-size-2x);
12
+ --conduction-primary-top-nav-dropdown-background-color: var(--skeleton-color-white);
13
+ --conduction-primary-top-nav-dropdown-background-color-hover: var(--skeleton-color-grey-1);
12
14
  }
13
15
 
14
16
  .container {
@@ -112,6 +114,10 @@
112
114
  color: var(--conduction-primary-top-nav-dropdown-color);
113
115
  }
114
116
 
117
+ .primary .dropdown .li:hover .link {
118
+ color: var(--conduction-primary-top-nav-dropdown-color-hover);
119
+ }
120
+
115
121
  .dropdown .li:hover {
116
122
  background: var(--conduction-primary-top-nav-dropdown-background-color-hover);
117
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/components",
3
- "version": "2.1.27",
3
+ "version": "2.1.28",
4
4
  "description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -9,6 +9,8 @@
9
9
  --conduction-primary-top-nav-toggle-icon-size: 24px;
10
10
  --conduction-primary-top-nav-mobile-logo-padding: 18px;
11
11
  --conduction-primary-top-nav-item-icon-margin: var(--skeleton-size-2x);
12
+ --conduction-primary-top-nav-dropdown-background-color: var(--skeleton-color-white);
13
+ --conduction-primary-top-nav-dropdown-background-color-hover: var(--skeleton-color-grey-1);
12
14
  }
13
15
 
14
16
  .container {
@@ -112,6 +114,10 @@
112
114
  color: var(--conduction-primary-top-nav-dropdown-color);
113
115
  }
114
116
 
117
+ .primary .dropdown .li:hover .link {
118
+ color: var(--conduction-primary-top-nav-dropdown-color-hover);
119
+ }
120
+
115
121
  .dropdown .li:hover {
116
122
  background: var(--conduction-primary-top-nav-dropdown-background-color-hover);
117
123
  }