@vaadin/side-nav 25.0.0-alpha17 → 25.0.0-alpha19

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/side-nav",
3
- "version": "25.0.0-alpha17",
3
+ "version": "25.0.0-alpha19",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,16 +34,16 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/a11y-base": "25.0.0-alpha17",
38
- "@vaadin/component-base": "25.0.0-alpha17",
39
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha17",
37
+ "@vaadin/a11y-base": "25.0.0-alpha19",
38
+ "@vaadin/component-base": "25.0.0-alpha19",
39
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha19",
40
40
  "lit": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vaadin/chai-plugins": "25.0.0-alpha17",
44
- "@vaadin/test-runner-commands": "25.0.0-alpha17",
43
+ "@vaadin/chai-plugins": "25.0.0-alpha19",
44
+ "@vaadin/test-runner-commands": "25.0.0-alpha19",
45
45
  "@vaadin/testing-helpers": "^2.0.0",
46
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha17",
46
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha19",
47
47
  "lit": "^3.0.0",
48
48
  "sinon": "^21.0.0"
49
49
  },
@@ -51,5 +51,5 @@
51
51
  "web-types.json",
52
52
  "web-types.lit.json"
53
53
  ],
54
- "gitHead": "8264c71309907be99368b09414f0f8d7f591e0b9"
54
+ "gitHead": "1f9af1ce5f0bae8daff044176c8a8df697763881"
55
55
  }
@@ -20,7 +20,7 @@ const sideNav = css`
20
20
  justify-content: start;
21
21
  gap: var(--vaadin-side-nav-item-gap, var(--vaadin-gap-s));
22
22
  padding: var(--vaadin-side-nav-item-padding, var(--vaadin-padding-container));
23
- font-size: var(--vaadin-side-nav-label-font-size, 0.875em);
23
+ font-size: var(--vaadin-side-nav-label-font-size, max(11px, 0.875em));
24
24
  font-weight: var(--vaadin-side-nav-label-font-weight, 500);
25
25
  color: var(--vaadin-side-nav-label-color, var(--vaadin-color-subtle));
26
26
  line-height: var(--vaadin-side-nav-label-line-height, inherit);
@@ -102,16 +102,21 @@ const sideNavItem = css`
102
102
  }
103
103
 
104
104
  @media (forced-colors: active) {
105
+ [part='content'] {
106
+ border: 1px solid Canvas !important;
107
+ }
108
+
105
109
  :host([current]) [part='content'] {
106
- color: Highlight;
110
+ color: Highlight !important;
111
+ border-color: Highlight !important;
107
112
  }
108
113
 
109
114
  :host([disabled]) [part='content'] {
110
- --vaadin-side-nav-item-color: GrayText;
115
+ --vaadin-side-nav-item-color: GrayText !important;
111
116
  }
112
117
 
113
118
  :host([disabled]) [part='toggle-button']::before {
114
- background: GrayText;
119
+ background: GrayText !important;
115
120
  }
116
121
  }
117
122
  `;
@@ -21,7 +21,7 @@ export declare class SideNavChildrenMixinClass {
21
21
  * just the individual properties you want to change.
22
22
  *
23
23
  * The object has the following structure and default values:
24
- * ```
24
+ * ```js
25
25
  * {
26
26
  * toggle: 'Toggle child items'
27
27
  * }
@@ -65,7 +65,7 @@ export const SideNavChildrenMixin = (superClass) =>
65
65
  * just the individual properties you want to change.
66
66
  *
67
67
  * The object has the following structure and default values:
68
- * ```
68
+ * ```js
69
69
  * {
70
70
  * toggle: 'Toggle child items'
71
71
  * }
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/side-nav",
4
- "version": "25.0.0-alpha17",
4
+ "version": "25.0.0-alpha19",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -97,7 +97,7 @@
97
97
  },
98
98
  {
99
99
  "name": "i18n",
100
- "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```\n{\n toggle: 'Toggle child items'\n}\n```",
100
+ "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```js\n{\n toggle: 'Toggle child items'\n}\n```",
101
101
  "value": {
102
102
  "type": [
103
103
  "SideNavI18n"
@@ -228,7 +228,7 @@
228
228
  "properties": [
229
229
  {
230
230
  "name": "i18n",
231
- "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```\n{\n toggle: 'Toggle child items'\n}\n```",
231
+ "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```js\n{\n toggle: 'Toggle child items'\n}\n```",
232
232
  "value": {
233
233
  "type": [
234
234
  "SideNavI18n"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/side-nav",
4
- "version": "25.0.0-alpha17",
4
+ "version": "25.0.0-alpha19",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  {
51
51
  "name": ".i18n",
52
- "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```\n{\n toggle: 'Toggle child items'\n}\n```",
52
+ "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```js\n{\n toggle: 'Toggle child items'\n}\n```",
53
53
  "value": {
54
54
  "kind": "expression"
55
55
  }
@@ -112,7 +112,7 @@
112
112
  },
113
113
  {
114
114
  "name": ".i18n",
115
- "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```\n{\n toggle: 'Toggle child items'\n}\n```",
115
+ "description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following structure and default values:\n```js\n{\n toggle: 'Toggle child items'\n}\n```",
116
116
  "value": {
117
117
  "kind": "expression"
118
118
  }