@aotearoan/neon 22.5.0 → 22.5.2

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 (106) hide show
  1. package/dist/common/utils/NeonIconRegistry.cjs.js.map +1 -1
  2. package/dist/common/utils/NeonIconRegistry.es.js +2 -2
  3. package/dist/common/utils/NeonIconRegistry.es.js.map +1 -1
  4. package/dist/components/presentation/icon/NeonIcon.cjs.js +1 -1
  5. package/dist/components/presentation/icon/NeonIcon.cjs.js.map +1 -1
  6. package/dist/components/presentation/icon/NeonIcon.es.js +18 -10
  7. package/dist/components/presentation/icon/NeonIcon.es.js.map +1 -1
  8. package/dist/components/presentation/icon/NeonIcon.vue.cjs.js +1 -1
  9. package/dist/components/presentation/icon/NeonIcon.vue.cjs.js.map +1 -1
  10. package/dist/components/presentation/icon/NeonIcon.vue.es.js +5 -5
  11. package/dist/components/presentation/icon/NeonIcon.vue.es.js.map +1 -1
  12. package/dist/components/presentation/image-carousel/NeonImageCarousel.cjs.js +1 -1
  13. package/dist/components/presentation/image-carousel/NeonImageCarousel.cjs.js.map +1 -1
  14. package/dist/components/presentation/image-carousel/NeonImageCarousel.es.js +57 -35
  15. package/dist/components/presentation/image-carousel/NeonImageCarousel.es.js.map +1 -1
  16. package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.cjs.js +1 -1
  17. package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.cjs.js.map +1 -1
  18. package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.es.js +44 -46
  19. package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.es.js.map +1 -1
  20. package/dist/components/presentation/tabs/NeonTabs.cjs.js +1 -1
  21. package/dist/components/presentation/tabs/NeonTabs.cjs.js.map +1 -1
  22. package/dist/components/presentation/tabs/NeonTabs.es.js +17 -18
  23. package/dist/components/presentation/tabs/NeonTabs.es.js.map +1 -1
  24. package/dist/components/presentation/tabs/tab/NeonTab.cjs.js +1 -1
  25. package/dist/components/presentation/tabs/tab/NeonTab.cjs.js.map +1 -1
  26. package/dist/components/presentation/tabs/tab/NeonTab.es.js +6 -20
  27. package/dist/components/presentation/tabs/tab/NeonTab.es.js.map +1 -1
  28. package/dist/components/presentation/tabs/tab/NeonTab.vue.cjs.js +1 -1
  29. package/dist/components/presentation/tabs/tab/NeonTab.vue.cjs.js.map +1 -1
  30. package/dist/components/presentation/tabs/tab/NeonTab.vue.es.js +24 -16
  31. package/dist/components/presentation/tabs/tab/NeonTab.vue.es.js.map +1 -1
  32. package/dist/components/user-input/field/NeonField.cjs.js +1 -1
  33. package/dist/components/user-input/field/NeonField.cjs.js.map +1 -1
  34. package/dist/components/user-input/field/NeonField.es.js +2 -6
  35. package/dist/components/user-input/field/NeonField.es.js.map +1 -1
  36. package/dist/components/user-input/field/NeonField.vue.cjs.js +1 -1
  37. package/dist/components/user-input/field/NeonField.vue.cjs.js.map +1 -1
  38. package/dist/components/user-input/field/NeonField.vue.es.js +22 -26
  39. package/dist/components/user-input/field/NeonField.vue.es.js.map +1 -1
  40. package/dist/components/user-input/input/NeonInput.cjs.js +1 -1
  41. package/dist/components/user-input/input/NeonInput.cjs.js.map +1 -1
  42. package/dist/components/user-input/input/NeonInput.es.js +65 -47
  43. package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
  44. package/dist/components/user-input/input/NeonInput.vue.cjs.js +1 -1
  45. package/dist/components/user-input/input/NeonInput.vue.cjs.js.map +1 -1
  46. package/dist/components/user-input/input/NeonInput.vue.es.js +35 -31
  47. package/dist/components/user-input/input/NeonInput.vue.es.js.map +1 -1
  48. package/dist/src/common/utils/NeonIconRegistry.d.ts +3 -3
  49. package/dist/src/components/feedback/alert/NeonAlert.d.ts +36 -9
  50. package/dist/src/components/feedback/alert/container/NeonAlertContainer.d.ts +24 -6
  51. package/dist/src/components/feedback/alert/container/NeonToastContainer.d.ts +12 -3
  52. package/dist/src/components/feedback/dialog/NeonDialog.d.ts +64 -12
  53. package/dist/src/components/feedback/linear-progress/NeonLinearProgress.d.ts +30 -7
  54. package/dist/src/components/feedback/note/NeonNote.d.ts +36 -9
  55. package/dist/src/components/feedback/splash-loader/NeonSplashLoader.d.ts +12 -3
  56. package/dist/src/components/feedback/tooltip/NeonTooltip.d.ts +1 -1
  57. package/dist/src/components/layout/card-list/NeonCardList.d.ts +54 -15
  58. package/dist/src/components/layout/modal/NeonModal.d.ts +24 -6
  59. package/dist/src/components/navigation/action-menu/NeonActionMenu.d.ts +12 -3
  60. package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +672 -193
  61. package/dist/src/components/navigation/link/NeonLink.d.ts +12 -3
  62. package/dist/src/components/navigation/menu/NeonMenu.d.ts +522 -141
  63. package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +522 -141
  64. package/dist/src/components/navigation/stepper/NeonStepper.d.ts +12 -3
  65. package/dist/src/components/navigation/tree-menu/NeonTreeMenu.d.ts +12 -3
  66. package/dist/src/components/presentation/badge/NeonBadge.d.ts +188 -49
  67. package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +170 -97
  68. package/dist/src/components/presentation/expansion-panel/NeonExpansionPanel.d.ts +12 -3
  69. package/dist/src/components/presentation/icon/NeonIcon.d.ts +20 -3
  70. package/dist/src/components/presentation/image-carousel/NeonImageCarousel.d.ts +107 -18
  71. package/dist/src/components/presentation/label/NeonLabel.d.ts +12 -3
  72. package/dist/src/components/presentation/tabs/NeonTabs.d.ts +48 -12
  73. package/dist/src/components/presentation/tabs/tab/NeonTab.d.ts +8 -10
  74. package/dist/src/components/user-input/button/NeonButton.d.ts +24 -6
  75. package/dist/src/components/user-input/chip/NeonChip.d.ts +12 -3
  76. package/dist/src/components/user-input/color/NeonColor.d.ts +26 -7
  77. package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +336 -224
  78. package/dist/src/components/user-input/field/NeonField.d.ts +1 -113
  79. package/dist/src/components/user-input/file/NeonFile.d.ts +188 -52
  80. package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +36 -6
  81. package/dist/src/components/user-input/input/NeonInput.d.ts +36 -13
  82. package/dist/src/components/user-input/input-indicator/NeonInputIndicator.d.ts +12 -3
  83. package/dist/src/components/user-input/list/NeonList.d.ts +12 -3
  84. package/dist/src/components/user-input/number/NeonNumber.d.ts +140 -43
  85. package/dist/src/components/user-input/password/NeonPassword.d.ts +26 -7
  86. package/dist/src/components/user-input/search/NeonSearch.d.ts +608 -328
  87. package/dist/src/components/user-input/select/NeonSelect.d.ts +678 -153
  88. package/dist/src/components/user-input/selectable-card/NeonSelectableCard.d.ts +12 -3
  89. package/dist/src/components/user-input/switch/NeonSwitch.d.ts +22 -3
  90. package/dist/src/components/user-input/toggle/NeonToggle.d.ts +16 -19
  91. package/dist/src/components/user-input/toggle-chip/NeonToggleChip.d.ts +12 -3
  92. package/package.json +1 -1
  93. package/src/sass/components/_field.scss +8 -0
  94. package/src/sass/components/_footer.scss +8 -0
  95. package/src/sass/components/_image-carousel.scss +12 -10
  96. package/src/sass/components/_input.scss +3 -3
  97. package/src/sass/components/_menu.scss +32 -24
  98. package/src/sass/components/_mobile-menu.scss +27 -19
  99. package/src/sass/components/_note.scss +2 -3
  100. package/src/sass/components/_page.scss +5 -4
  101. package/src/sass/components/_tooltip.scss +1 -1
  102. package/src/sass/components/_top-nav.scss +1 -1
  103. package/src/sass/global/_base-html.scss +1 -1
  104. package/src/sass/includes/_dependencies.scss +1 -1
  105. package/src/sass/includes/_typography.scss +4 -2
  106. package/src/sass/variables.scss +15 -6
@@ -220,6 +220,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
220
220
  type: StringConstructor;
221
221
  required: true;
222
222
  };
223
+ id: {
224
+ type: StringConstructor;
225
+ default: null;
226
+ };
223
227
  color: {
224
228
  type: () => NeonFunctionalColor;
225
229
  default: null;
@@ -233,15 +237,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
233
237
  default: boolean;
234
238
  };
235
239
  }>, {
236
- attrs: {
240
+ sanitizedAttributes: import("vue").ComputedRef<{
237
241
  [x: string]: unknown;
238
- };
239
- icon: import("vue").ComputedRef<string>;
242
+ }>;
243
+ icon: import("vue").ComputedRef<string | undefined>;
240
244
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
241
245
  name: {
242
246
  type: StringConstructor;
243
247
  required: true;
244
248
  };
249
+ id: {
250
+ type: StringConstructor;
251
+ default: null;
252
+ };
245
253
  color: {
246
254
  type: () => NeonFunctionalColor;
247
255
  default: null;
@@ -257,6 +265,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
257
265
  }>> & Readonly<{}>, {
258
266
  disabled: boolean;
259
267
  color: NeonFunctionalColor;
268
+ id: string;
260
269
  inverse: boolean;
261
270
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
262
271
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -145,11 +145,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
145
145
  type: StringConstructor;
146
146
  required: true;
147
147
  };
148
+ id: {
149
+ type: StringConstructor;
150
+ default: null;
151
+ };
148
152
  color: {
149
153
  type: () => NeonFunctionalColor;
150
154
  default: null;
151
155
  };
152
156
  inverse: {
157
+ /**
158
+ * Emitted when the switch is toggled checked or unchecked.
159
+ *
160
+ * @type {boolean} The checked state of the switch.
161
+ */
153
162
  type: BooleanConstructor;
154
163
  default: boolean;
155
164
  };
@@ -158,20 +167,29 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
158
167
  default: boolean;
159
168
  };
160
169
  }>, {
161
- attrs: {
170
+ sanitizedAttributes: import("vue").ComputedRef<{
162
171
  [x: string]: unknown;
163
- };
164
- icon: import("vue").ComputedRef<string>;
172
+ }>;
173
+ icon: import("vue").ComputedRef<string | undefined>;
165
174
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
166
175
  name: {
167
176
  type: StringConstructor;
168
177
  required: true;
169
178
  };
179
+ id: {
180
+ type: StringConstructor;
181
+ default: null;
182
+ };
170
183
  color: {
171
184
  type: () => NeonFunctionalColor;
172
185
  default: null;
173
186
  };
174
187
  inverse: {
188
+ /**
189
+ * Emitted when the switch is toggled checked or unchecked.
190
+ *
191
+ * @type {boolean} The checked state of the switch.
192
+ */
175
193
  type: BooleanConstructor;
176
194
  default: boolean;
177
195
  };
@@ -182,6 +200,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
182
200
  }>> & Readonly<{}>, {
183
201
  disabled: boolean;
184
202
  color: NeonFunctionalColor;
203
+ id: string;
185
204
  inverse: boolean;
186
205
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
187
206
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -144,48 +144,44 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
144
144
  type: StringConstructor;
145
145
  required: true;
146
146
  };
147
+ id: {
148
+ type: StringConstructor;
149
+ default: null;
150
+ };
147
151
  color: {
148
152
  type: () => NeonFunctionalColor;
149
153
  default: null;
150
154
  };
151
155
  inverse: {
152
156
  type: BooleanConstructor;
153
- default: boolean; /**
154
- * Emitted when the selected value changes.
155
- * @type {string} The key of the selected model item.
156
- */
157
- }; /**
158
- * Emitted when the selected value changes.
159
- * @type {string} The key of the selected model item.
160
- */
157
+ default: boolean;
158
+ };
161
159
  disabled: {
162
160
  type: BooleanConstructor;
163
161
  default: boolean;
164
162
  };
165
163
  }>, {
166
- attrs: {
164
+ sanitizedAttributes: import("vue").ComputedRef<{
167
165
  [x: string]: unknown;
168
- };
169
- icon: import("vue").ComputedRef<string>;
166
+ }>;
167
+ icon: import("vue").ComputedRef<string | undefined>;
170
168
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
171
169
  name: {
172
170
  type: StringConstructor;
173
171
  required: true;
174
172
  };
173
+ id: {
174
+ type: StringConstructor;
175
+ default: null;
176
+ };
175
177
  color: {
176
178
  type: () => NeonFunctionalColor;
177
179
  default: null;
178
180
  };
179
181
  inverse: {
180
182
  type: BooleanConstructor;
181
- default: boolean; /**
182
- * Emitted when the selected value changes.
183
- * @type {string} The key of the selected model item.
184
- */
185
- }; /**
186
- * Emitted when the selected value changes.
187
- * @type {string} The key of the selected model item.
188
- */
183
+ default: boolean;
184
+ };
189
185
  disabled: {
190
186
  type: BooleanConstructor;
191
187
  default: boolean;
@@ -193,6 +189,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
193
189
  }>> & Readonly<{}>, {
194
190
  disabled: boolean;
195
191
  color: NeonFunctionalColor;
192
+ id: string;
196
193
  inverse: boolean;
197
194
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
198
195
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -111,6 +111,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
111
111
  type: StringConstructor;
112
112
  required: true;
113
113
  };
114
+ id: {
115
+ type: StringConstructor;
116
+ default: null;
117
+ };
114
118
  color: {
115
119
  type: () => NeonFunctionalColor;
116
120
  default: null;
@@ -124,15 +128,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
124
128
  default: boolean;
125
129
  };
126
130
  }>, {
127
- attrs: {
131
+ sanitizedAttributes: import("vue").ComputedRef<{
128
132
  [x: string]: unknown;
129
- };
130
- icon: import("vue").ComputedRef<string>;
133
+ }>;
134
+ icon: import("vue").ComputedRef<string | undefined>;
131
135
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
132
136
  name: {
133
137
  type: StringConstructor;
134
138
  required: true;
135
139
  };
140
+ id: {
141
+ type: StringConstructor;
142
+ default: null;
143
+ };
136
144
  color: {
137
145
  type: () => NeonFunctionalColor;
138
146
  default: null;
@@ -148,6 +156,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
148
156
  }>> & Readonly<{}>, {
149
157
  disabled: boolean;
150
158
  color: NeonFunctionalColor;
159
+ id: string;
151
160
  inverse: boolean;
152
161
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
153
162
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aotearoan/neon",
3
3
  "description": "Neon is a lightweight design library of Vue 3 components with minimal dependencies.",
4
- "version": "22.5.0",
4
+ "version": "22.5.2",
5
5
  "main": "./dist/neon.cjs.js",
6
6
  "module": "./dist/neon.es.js",
7
7
  "types": "./dist/src/neon.d.ts",
@@ -10,11 +10,19 @@ $message-height: calc(var(--neon-font-size-s) * var(--neon-line-height-ratio));
10
10
  &__label-wrapper {
11
11
  display: inline-flex;
12
12
  align-items: center;
13
+ justify-content: space-between;
14
+ width: 100%;
13
15
  margin-bottom: var(--neon-space-4);
14
16
  gap: var(--neon-space-6);
15
17
  @include typography.label;
16
18
  }
17
19
 
20
+ &__optional {
21
+ font-size: var(--neon-font-size-s);
22
+ color: var(--neon-color-text-tertiary);
23
+ user-select: none;
24
+ }
25
+
18
26
  &.neon-field--disabled {
19
27
  cursor: not-allowed;
20
28
 
@@ -12,24 +12,32 @@
12
12
 
13
13
  &__container {
14
14
  display: flex;
15
+ flex-direction: row;
15
16
  justify-content: center;
16
17
  width: 100%;
17
18
  max-width: calc(var(--neon-max-width-page) - 2 * var(--neon-gutter-desktop));
18
19
  line-height: var(--neon-line-height-one);
20
+ margin-left: auto;
21
+ margin-right: auto;
19
22
 
20
23
  @include responsive.responsive(larger-than-tablet) {
21
24
  font-size: var(--neon-font-size-m);
22
25
  height: var(--neon-footer-height-desktop);
26
+ padding: 0 var(--neon-gutter-desktop);
27
+ max-width: var(--neon-max-width-page);
23
28
  }
24
29
 
25
30
  @include responsive.responsive(tablet) {
26
31
  font-size: var(--neon-font-size-s);
27
32
  height: var(--neon-footer-height-tablet);
33
+ padding: 0 var(--neon-gutter-tablet);
34
+ max-width: 100vw;
28
35
  }
29
36
 
30
37
  @include responsive.responsive(mobile-large) {
31
38
  font-size: var(--neon-font-size-s);
32
39
  height: var(--neon-footer-height-mobile);
40
+ padding: 0 var(--neon-gutter-mobile);
33
41
  }
34
42
  }
35
43
  }
@@ -86,23 +86,24 @@
86
86
  }
87
87
 
88
88
  .neon-image-carousel__nav-item {
89
- width: 16rem;
90
- height: 16rem;
89
+ width: 12rem;
90
+ height: 12rem;
91
91
  justify-content: center;
92
92
  align-items: center;
93
93
  cursor: pointer;
94
94
 
95
95
  &-indicator {
96
- width: 8rem;
97
- height: 8rem;
96
+ width: 10rem;
97
+ height: 10rem;
98
98
  border-radius: 50%;
99
99
  border: var(--neon-border);
100
- border-color: var(--neon-color-high-contrast);
100
+ border-color: var(--neon-color-image-carousel-nav-indicator);
101
101
  }
102
102
 
103
- &--active {
103
+ &--active,
104
+ &:hover {
104
105
  .neon-image-carousel__nav-item-indicator {
105
- background-color: var(--neon-color-high-contrast);
106
+ background-color: var(--neon-color-image-carousel-nav-indicator);
106
107
  }
107
108
 
108
109
  margin-left: var(--neon-image-carousel-swipe-distance);
@@ -204,12 +205,13 @@
204
205
  &-indicator {
205
206
  width: 12rem;
206
207
  height: 12rem;
207
- border-color: var(--neon-color-image-carousel-expanded-button);
208
+ border-color: var(--neon-color-image-carousel-expanded-nav-indicator);
208
209
  }
209
210
 
210
- &--active {
211
+ &--active,
212
+ &:hover {
211
213
  .neon-image-carousel__nav-item-indicator {
212
- background-color: var(--neon-color-image-carousel-expanded-button);
214
+ background-color: var(--neon-color-image-carousel-expanded-nav-indicator);
213
215
  }
214
216
  }
215
217
  }
@@ -149,13 +149,13 @@
149
149
  }
150
150
 
151
151
  &-counter {
152
- align-self: flex-end;
152
+ align-self: flex-start;
153
153
  user-select: none;
154
- font-size: var(--neon-font-size-xs);
154
+ font-size: var(--neon-font-size-s);
155
155
  font-weight: var(--neon-font-weight-normal);
156
156
  letter-spacing: var(--neon-letter-spacing-s);
157
157
  color: var(--neon-color-text-tertiary);
158
- margin-bottom: var(--neon-space-4);
158
+ margin-top: var(--neon-space-4);
159
159
  }
160
160
  }
161
161
 
@@ -23,14 +23,18 @@
23
23
  gap: var(--neon-space-12);
24
24
  font-family: var(--neon-font-family-menu);
25
25
  font-weight: var(--neon-font-weight-menu);
26
- @include svg.color-with-svg(var(--neon-color-text-primary));
27
- opacity: var(--neon-opacity-menu-inactive);
28
- transition: opacity ease-in-out var(--neon-animation-speed-slow);
26
+ @include svg.color-with-svg(var(--neon-color-text-tertiary));
27
+
28
+ &,
29
+ .neon-svg--stroke,
30
+ .neon-svg--fill {
31
+ transition: color ease-in-out var(--neon-animation-speed-slow);
32
+ }
29
33
 
30
34
  &:before {
31
35
  content: '';
32
36
  position: absolute;
33
- bottom: 0;
37
+ bottom: calc(-1 * var(--neon-border-width-top-nav));
34
38
  left: 0;
35
39
  width: 100%;
36
40
  opacity: 0;
@@ -38,30 +42,34 @@
38
42
  transition: opacity ease-in-out var(--neon-animation-speed-slow);
39
43
  }
40
44
  }
45
+ }
41
46
 
42
- &:hover {
43
- .neon-menu__link-container {
44
- opacity: 1;
47
+ &:not(.neon-menu__item--disabled) {
48
+ .neon-link {
49
+ &:hover {
50
+ .neon-menu__link-container {
51
+ @include svg.color-with-svg(var(--neon-color-text-primary));
45
52
 
46
- &:before {
47
- opacity: 1;
53
+ &:before {
54
+ opacity: 1;
55
+ }
48
56
  }
49
- }
50
57
 
51
- }
58
+ }
52
59
 
53
- &:focus {
54
- .neon-menu__link-container {
55
- opacity: 1;
60
+ &:focus {
61
+ .neon-menu__link-container {
62
+ @include svg.color-with-svg(var(--neon-color-text-primary));
63
+ }
56
64
  }
57
- }
58
65
 
59
- &.router-link-active {
60
- .neon-menu__link-container {
61
- opacity: 1;
66
+ &.router-link-active {
67
+ .neon-menu__link-container {
68
+ @include svg.color-with-svg(var(--neon-color-text-primary));
62
69
 
63
- &:before {
64
- opacity: 1;
70
+ &:before {
71
+ opacity: 1;
72
+ }
65
73
  }
66
74
  }
67
75
  }
@@ -174,10 +182,10 @@
174
182
  }
175
183
 
176
184
  &__responsive-menu {
177
- font-family: var(---neon-font-family-heading);
185
+ font-family: var(--neon-font-family-heading);
178
186
 
179
187
  &.neon-menu__responsive-menu:not(:first-child) {
180
- margin-left: var(--neon-space-20);
188
+ margin-left: calc(5 * var(--neon-base-space));
181
189
  }
182
190
 
183
191
  &.neon-menu__responsive-menu--hidden {
@@ -205,7 +213,7 @@
205
213
  &__label {
206
214
  display: flex;
207
215
  align-items: center;
208
- font-family: var(---neon-font-family-heading);
216
+ font-family: var(--neon-font-family-heading);
209
217
  }
210
218
  }
211
219
 
@@ -217,7 +225,7 @@
217
225
  }
218
226
 
219
227
  .neon-dropdown .neon-dropdown__button {
220
- font-family: var(---neon-font-family-heading);
228
+ font-family: var(--neon-font-family-heading);
221
229
  font-weight: var(--neon-font-weight-normal);
222
230
  letter-spacing: var(--neon-letter-spacing-m);
223
231
  }
@@ -26,14 +26,18 @@
26
26
  font-size: var(--neon-font-size-mobile-menu);
27
27
  line-height: var(--neon-line-height-mobile-menu);
28
28
  font-weight: var(--neon-font-weight-mobile-menu);
29
- opacity: var(--neon-opacity-mobile-menu-inactive);
30
- transition: opacity ease-in-out var(--neon-animation-speed-slow);
31
- @include svg.color-with-svg(var(--neon-color-text-primary));
29
+ @include svg.color-with-svg(var(--neon-color-text-tertiary));
30
+
31
+ &,
32
+ .neon-svg--stroke,
33
+ .neon-svg--fill {
34
+ transition: color ease-in-out var(--neon-animation-speed-slow);
35
+ }
32
36
 
33
37
  &:before {
34
38
  content: '';
35
39
  position: absolute;
36
- top: 0;
40
+ top: calc(-1 * var(--neon-height-mobile-menu-indicator));
37
41
  left: 0;
38
42
  width: 100%;
39
43
  opacity: 0;
@@ -41,29 +45,33 @@
41
45
  transition: opacity ease-in-out var(--neon-animation-speed-slow);
42
46
  }
43
47
  }
48
+ }
44
49
 
45
- &:hover {
46
- .neon-mobile-menu__link-container {
47
- opacity: 1;
50
+ &:not(.neon-mobile-menu__item--disabled) {
51
+ .neon-link {
52
+ &:hover {
53
+ .neon-mobile-menu__link-container {
54
+ @include svg.color-with-svg(var(--neon-color-text-primary));
48
55
 
49
- &:before {
50
- opacity: 1;
56
+ &:before {
57
+ opacity: 1;
58
+ }
51
59
  }
52
60
  }
53
- }
54
61
 
55
- &:focus {
56
- .neon-mobile-menu__link-container {
57
- opacity: 1;
62
+ &:focus {
63
+ .neon-mobile-menu__link-container {
64
+ @include svg.color-with-svg(var(--neon-color-text-primary));
65
+ }
58
66
  }
59
- }
60
67
 
61
- &.router-link-active {
62
- .neon-mobile-menu__link-container {
63
- opacity: 1;
68
+ &.router-link-active {
69
+ .neon-mobile-menu__link-container {
70
+ @include svg.color-with-svg(var(--neon-color-text-primary));
64
71
 
65
- &:before {
66
- opacity: 1;
72
+ &:before {
73
+ opacity: 1;
74
+ }
67
75
  }
68
76
  }
69
77
  }
@@ -1,5 +1,4 @@
1
1
  @use '../includes/palettes';
2
- @use '../includes/layout';
3
2
  @use '../includes/responsive';
4
3
 
5
4
  @mixin note {
@@ -75,7 +74,7 @@
75
74
  }
76
75
 
77
76
  &__container {
78
- padding: var(--neon-space-12) var(--neon-space-16) var(--neon-space-12) var(--neon-space-20);
77
+ padding: var(--neon-padding-note);
79
78
  width: 100%;
80
79
  justify-items: flex-start;
81
80
  align-items: flex-start;
@@ -114,7 +113,7 @@
114
113
  max-width: var(--neon-max-width-note);
115
114
  margin: 0;
116
115
  border-radius: 0 var(--neon-border-radius) var(--neon-border-radius) 0;
117
- padding: var(--neon-space-12) var(--neon-space-16) var(--neon-space-12) var(--neon-space-20);
116
+ padding: var(--neon-padding-note);
118
117
  color: var(--neon-color-note);
119
118
  background-color: var(--neon-background-color-note);
120
119
  border-left: var(--neon-border-width-note) var(--neon-border-style) var(--neon-color-primary);
@@ -6,21 +6,22 @@
6
6
  position: relative;
7
7
  left: 0;
8
8
  width: 100vw;
9
+ @include layout.min-height(100);
9
10
 
10
11
  &--with-top-nav .neon-page__container {
11
12
  @include responsive.responsive(larger-than-tablet) {
12
13
  padding-top: var(--neon-top-nav-height-desktop);
13
- @include layout.min-height(100, 'var(--neon-top-nav-height-desktop)');
14
+ @include layout.min-height(100, 'var(--neon-footer-height-desktop) + var(--neon-border-width-footer)');
14
15
  }
15
16
 
16
17
  @include responsive.responsive(tablet) {
17
18
  padding-top: var(--neon-top-nav-height-tablet);
18
- @include layout.min-height(100, 'var(--neon-top-nav-height-tablet)');
19
+ @include layout.min-height(100, 'var(--neon-footer-height-tablet) + var(--neon-border-width-footer)');
19
20
  }
20
21
 
21
22
  @include responsive.responsive(mobile-large) {
22
23
  padding-top: var(--neon-top-nav-height-mobile);
23
- @include layout.min-height(100, 'var(--neon-top-nav-height-mobile)');
24
+ @include layout.min-height(100, 'var(--neon-footer-height-mobile) + var(--neon-border-width-footer)');
24
25
  }
25
26
  }
26
27
 
@@ -57,7 +58,7 @@
57
58
 
58
59
  &--center {
59
60
  .neon-page__container {
60
- margin: auto;
61
+ margin: 0 auto;
61
62
  }
62
63
  }
63
64
  }
@@ -58,7 +58,7 @@
58
58
  .neon-tooltip__content {
59
59
  max-width: var(--neon-tooltip-max-width);
60
60
  max-height: var(--neon-tooltip-max-height);
61
- margin: auto;
61
+ margin: 0 auto;
62
62
  position: relative;
63
63
  border-radius: var(--neon-border-radius);
64
64
  padding: var(--neon-space-4) var(--neon-space-8);
@@ -10,7 +10,7 @@
10
10
  display: flex;
11
11
  z-index: var(--neon-z-index-above-3);
12
12
  background-color: var(--neon-background-color-top-nav);
13
- border-bottom: var(--neon-border-width) var(--neon-border-style) var(--neon-border-color-top-nav);
13
+ border-bottom: var(--neon-border-width-top-nav) var(--neon-border-style) var(--neon-border-color-top-nav);
14
14
 
15
15
  &__container {
16
16
  @include responsive.responsive(larger-than-tablet) {
@@ -133,7 +133,7 @@
133
133
  transition: opacity ease-in-out var(--neon-animation-speed-fast);
134
134
  }
135
135
 
136
- &-enter,
136
+ &-enter-from,
137
137
  &-leave-to {
138
138
  opacity: 0;
139
139
  }
@@ -122,7 +122,7 @@
122
122
  NeonStepper: [NeonIcon],
123
123
  NeonSelectableCard: [NeonCard, NeonCardHeader, NeonSwitch, NeonIcon],
124
124
  NeonDatePicker: [NeonDropdown, NeonBadge, NeonButton, NeonExpansionIndicator, NeonIcon, NeonLink, NeonInput],
125
- NeonField: [NeonLabel, NeonIcon],
125
+ NeonField: [],
126
126
  NeonStack: [],
127
127
  NeonInline: [],
128
128
  NeonCardList: [NeonButton, NeonExpansionIndicator, NeonIcon, NeonLink, NeonCard, NeonCardBody, NeonInline, NeonStack],
@@ -49,8 +49,10 @@
49
49
 
50
50
  @mixin label {
51
51
  color: var(--neon-color-label);
52
- font-size: var(--neon-font-size-xs);
53
- font-weight: var(--neon-font-weight-semi-bold);
52
+ font-size: var(--neon-font-size-label);
53
+ line-height: var(--neon-line-height-ratio);
54
+ font-weight: var(--neon-font-weight-label);
54
55
  letter-spacing: var(--neon-letter-spacing-s);
55
56
  user-select: none;
57
+ white-space: nowrap;
56
58
  }