@aotearoan/neon 19.0.2 → 21.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/dist/common/enums/NeonButtonStyle.cjs.js +1 -1
- package/dist/common/enums/NeonButtonStyle.cjs.js.map +1 -1
- package/dist/common/enums/NeonButtonStyle.es.js +1 -1
- package/dist/common/enums/NeonButtonStyle.es.js.map +1 -1
- package/dist/common/enums/NeonDropdownStyle.cjs.js +1 -1
- package/dist/common/enums/NeonDropdownStyle.cjs.js.map +1 -1
- package/dist/common/enums/NeonDropdownStyle.es.js +2 -2
- package/dist/common/enums/NeonDropdownStyle.es.js.map +1 -1
- package/dist/common/enums/NeonMode.cjs.js +1 -1
- package/dist/common/enums/NeonMode.cjs.js.map +1 -1
- package/dist/common/enums/NeonMode.es.js +1 -1
- package/dist/common/enums/NeonMode.es.js.map +1 -1
- package/dist/common/icons/light-mode-sunny.svg.cjs.js +26 -0
- package/dist/common/icons/light-mode-sunny.svg.cjs.js.map +1 -0
- package/dist/common/icons/light-mode-sunny.svg.es.js +29 -0
- package/dist/common/icons/light-mode-sunny.svg.es.js.map +1 -0
- package/dist/common/utils/NeonModeUtils.cjs.js +1 -1
- package/dist/common/utils/NeonModeUtils.cjs.js.map +1 -1
- package/dist/common/utils/NeonModeUtils.es.js +38 -43
- package/dist/common/utils/NeonModeUtils.es.js.map +1 -1
- package/dist/common/utils/RegisterIcons.cjs.js +1 -1
- package/dist/common/utils/RegisterIcons.cjs.js.map +1 -1
- package/dist/common/utils/RegisterIcons.es.js +23 -22
- package/dist/common/utils/RegisterIcons.es.js.map +1 -1
- package/dist/components/feedback/dialog/NeonDialog.vue.cjs.js +1 -1
- package/dist/components/feedback/dialog/NeonDialog.vue.cjs.js.map +1 -1
- package/dist/components/feedback/dialog/NeonDialog.vue.es.js +6 -5
- package/dist/components/feedback/dialog/NeonDialog.vue.es.js.map +1 -1
- package/dist/components/feedback/note/NeonNote.vue.cjs.js +1 -1
- package/dist/components/feedback/note/NeonNote.vue.cjs.js.map +1 -1
- package/dist/components/feedback/note/NeonNote.vue.es.js +1 -0
- package/dist/components/feedback/note/NeonNote.vue.es.js.map +1 -1
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.cjs.js +2 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.cjs.js.map +1 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.es.js +44 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.es.js.map +1 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.cjs.js +2 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.cjs.js.map +1 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.es.js +57 -0
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.es.js.map +1 -0
- package/dist/components/presentation/dropdown/NeonDropdown.cjs.js +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.cjs.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.es.js +44 -40
- package/dist/components/presentation/dropdown/NeonDropdown.es.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.cjs.js +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.cjs.js.map +1 -1
- package/dist/components/presentation/dropdown/NeonDropdown.vue.es.js +9 -9
- package/dist/components/presentation/dropdown/NeonDropdown.vue.es.js.map +1 -1
- package/dist/components/presentation/icon/NeonIcon.cjs.js.map +1 -1
- package/dist/components/presentation/icon/NeonIcon.es.js.map +1 -1
- package/dist/components/presentation/tabs/NeonTabs.cjs.js +1 -1
- package/dist/components/presentation/tabs/NeonTabs.cjs.js.map +1 -1
- package/dist/components/presentation/tabs/NeonTabs.es.js +13 -19
- package/dist/components/presentation/tabs/NeonTabs.es.js.map +1 -1
- package/dist/components/presentation/tabs/NeonTabs.vue.cjs.js +1 -1
- package/dist/components/presentation/tabs/NeonTabs.vue.cjs.js.map +1 -1
- package/dist/components/presentation/tabs/NeonTabs.vue.es.js +6 -6
- package/dist/components/presentation/tabs/NeonTabs.vue.es.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.vue.cjs.js +1 -1
- package/dist/components/user-input/button/NeonButton.vue.cjs.js.map +1 -1
- package/dist/components/user-input/button/NeonButton.vue.es.js +12 -12
- package/dist/components/user-input/button/NeonButton.vue.es.js.map +1 -1
- package/dist/components/user-input/field/NeonField.vue.cjs.js +1 -1
- package/dist/components/user-input/field/NeonField.vue.cjs.js.map +1 -1
- package/dist/components/user-input/field/NeonField.vue.es.js +1 -1
- package/dist/components/user-input/field/NeonField.vue.es.js.map +1 -1
- package/dist/components/user-input/file/NeonFile.vue.cjs.js +1 -1
- package/dist/components/user-input/file/NeonFile.vue.cjs.js.map +1 -1
- package/dist/components/user-input/file/NeonFile.vue.es.js +1 -0
- package/dist/components/user-input/file/NeonFile.vue.es.js.map +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js +1 -1
- package/dist/components/user-input/input/NeonInput.cjs.js.map +1 -1
- package/dist/components/user-input/input/NeonInput.es.js +17 -17
- package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
- package/dist/components/user-input/select/NeonSelect.cjs.js +1 -1
- package/dist/components/user-input/select/NeonSelect.cjs.js.map +1 -1
- package/dist/components/user-input/select/NeonSelect.es.js +75 -69
- package/dist/components/user-input/select/NeonSelect.es.js.map +1 -1
- package/dist/components/user-input/select/NeonSelect.vue.cjs.js +1 -1
- package/dist/components/user-input/select/NeonSelect.vue.cjs.js.map +1 -1
- package/dist/components/user-input/select/NeonSelect.vue.es.js +29 -21
- package/dist/components/user-input/select/NeonSelect.vue.es.js.map +1 -1
- package/dist/neon.cjs.js +1 -1
- package/dist/neon.es.js +96 -96
- package/dist/src/common/enums/NeonButtonStyle.d.ts +6 -1
- package/dist/src/common/enums/NeonDropdownStyle.d.ts +5 -2
- package/dist/src/common/enums/NeonMode.d.ts +3 -1
- package/dist/src/common/models/NeonMenuItem.d.ts +2 -2
- package/dist/src/common/utils/NeonModeUtils.d.ts +17 -21
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.d.ts +2 -6
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +5 -0
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +9 -4
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +2630 -0
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.vue.d.ts +2 -0
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +16 -16
- package/dist/src/components/presentation/icon/NeonIcon.d.ts +1 -1
- package/dist/src/components/presentation/tabs/NeonTabs.d.ts +2 -19
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +21 -2
- package/dist/src/components/user-input/file/NeonFile.d.ts +8 -24
- package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +4 -12
- package/dist/src/components/user-input/input/NeonInput.d.ts +8 -2
- package/dist/src/components/user-input/search/NeonSearch.d.ts +77 -42
- package/dist/src/components/user-input/select/NeonSelect.d.ts +133 -203
- package/dist/src/neon.d.ts +1 -1
- package/package.json +1 -1
- package/src/sass/color-variables.scss +6 -4
- package/src/sass/components/_action-menu.scss +1 -1
- package/src/sass/components/_alert-container.scss +2 -2
- package/src/sass/components/_badge.scss +2 -2
- package/src/sass/components/_button.scss +25 -1
- package/src/sass/components/_card-list.scss +2 -2
- package/src/sass/components/_date-picker.scss +7 -7
- package/src/sass/components/_dropdown-menu.scss +2 -2
- package/src/sass/components/_expansion-panel.scss +2 -2
- package/src/sass/components/_filter-list.scss +6 -6
- package/src/sass/components/_icon.scss +1 -1
- package/src/sass/components/_image-carousel.scss +2 -1
- package/src/sass/components/_input.scss +11 -11
- package/src/sass/components/_label.scss +1 -1
- package/src/sass/components/_linear-progress.scss +1 -1
- package/src/sass/components/_list.scss +2 -2
- package/src/sass/components/_menu.scss +1 -1
- package/src/sass/components/_mobile-menu.scss +110 -0
- package/src/sass/components/_note.scss +1 -1
- package/src/sass/components/_notification-counter.scss +2 -2
- package/src/sass/components/_number.scss +2 -2
- package/src/sass/components/_range-slider.scss +1 -1
- package/src/sass/components/_search.scss +2 -2
- package/src/sass/components/_select.scss +16 -2
- package/src/sass/components/_slider.scss +1 -1
- package/src/sass/components/_stepper.scss +3 -3
- package/src/sass/components/_switch.scss +1 -1
- package/src/sass/components/_tabs.scss +46 -81
- package/src/sass/components/_toggle.scss +3 -3
- package/src/sass/components/_tooltip.scss +7 -7
- package/src/sass/components/_tree-menu.scss +6 -6
- package/src/sass/components/components.scss +1 -0
- package/src/sass/global/_base-html.scss +23 -15
- package/src/sass/global/_table.scss +4 -4
- package/src/sass/global/_typography.scss +2 -1
- package/src/sass/includes/_dependencies.scss +1 -0
- package/src/sass/includes/_outline.scss +1 -1
- package/src/sass/includes/_typography.scss +1 -1
- package/src/sass/palette.scss +6 -9
- package/src/sass/theme.scss +4 -0
- package/src/sass/variables.scss +63 -55
- package/dist/common/enums/NeonTabsStyle.cjs.js +0 -2
- package/dist/common/enums/NeonTabsStyle.cjs.js.map +0 -1
- package/dist/common/enums/NeonTabsStyle.es.js +0 -5
- package/dist/common/enums/NeonTabsStyle.es.js.map +0 -1
- package/dist/src/common/enums/NeonTabsStyle.d.ts +0 -9
package/dist/src/neon.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export { default as NeonLinearProgress } from './components/feedback/linear-prog
|
|
|
36
36
|
export { default as NeonLink } from './components/navigation/link/NeonLink.vue';
|
|
37
37
|
export { default as NeonList } from './components/user-input/list/NeonList.vue';
|
|
38
38
|
export { default as NeonMenu } from './components/navigation/menu/NeonMenu.vue';
|
|
39
|
+
export { default as NeonMobileMenu } from './components/navigation/mobile-menu/NeonMobileMenu.vue';
|
|
39
40
|
export { default as NeonModal } from './components/layout/modal/NeonModal.vue';
|
|
40
41
|
export { default as NeonNote } from './components/feedback/note/NeonNote.vue';
|
|
41
42
|
export { default as NeonNotificationCounter } from './components/feedback/notification-counter/NeonNotificationCounter.vue';
|
|
@@ -83,7 +84,6 @@ export { NeonSize } from './common/enums/NeonSize';
|
|
|
83
84
|
export { NeonSplashLoaderSize } from './common/enums/NeonSplashLoaderSize';
|
|
84
85
|
export { NeonState } from './common/enums/NeonState';
|
|
85
86
|
export { NeonSwitchStyle } from './common/enums/NeonSwitchStyle';
|
|
86
|
-
export { NeonTabsStyle } from './common/enums/NeonTabsStyle';
|
|
87
87
|
export { NeonToggleChipSize } from './common/enums/NeonToggleChipSize';
|
|
88
88
|
export { NeonToggleStyle } from './common/enums/NeonToggleStyle';
|
|
89
89
|
export { NeonTooltipStyle } from './common/enums/NeonTooltipStyle';
|
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": "
|
|
4
|
+
"version": "21.0.0",
|
|
5
5
|
"main": "./dist/neon.cjs.js",
|
|
6
6
|
"module": "./dist/neon.es.js",
|
|
7
7
|
"types": "./dist/src/neon.d.ts",
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
.neon {
|
|
2
|
-
--neon-color-text-
|
|
3
|
-
--neon-color-text-
|
|
2
|
+
--neon-color-text-primary-light: rgb(var(--neon-rgb-text-primary-light));
|
|
3
|
+
--neon-color-text-secondary-light: rgb(var(--neon-rgb-text-secondary-light));
|
|
4
|
+
--neon-color-text-tertiary-light: rgb(var(--neon-rgb-text-tertiary-light));
|
|
4
5
|
|
|
5
|
-
--neon-color-text-
|
|
6
|
-
--neon-color-text-
|
|
6
|
+
--neon-color-text-primary-dark: rgb(var(--neon-rgb-text-primary-dark));
|
|
7
|
+
--neon-color-text-secondary-dark: rgb(var(--neon-rgb-text-secondary-dark));
|
|
8
|
+
--neon-color-text-tertiary-dark: rgb(var(--neon-rgb-text-tertiary-dark));
|
|
7
9
|
|
|
8
10
|
--neon-color-disabled-background-dark: rgb(var(--neon-rgb-disabled-background-dark));
|
|
9
11
|
--neon-color-disabled-border-dark: rgb(var(--neon-rgb-disabled-border-dark));
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
&__title {
|
|
130
130
|
line-height: var(--neon-line-height-one);
|
|
131
131
|
font-size: var(--neon-font-size-m);
|
|
132
|
-
font-weight: var(--neon-font-weight-bold);
|
|
132
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
133
133
|
font-family: var(--neon-font-family-heading);
|
|
134
134
|
letter-spacing: var(--neon-letter-spacing-m);
|
|
135
135
|
}
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
align-items: center;
|
|
152
152
|
width: var(--neon-width-alert-action);
|
|
153
153
|
justify-content: center;
|
|
154
|
-
font-weight: var(--neon-font-weight-bold);
|
|
154
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
155
155
|
|
|
156
156
|
&:focus {
|
|
157
157
|
border-radius: 0;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
$neon-badge-color: var(--neon-color-#{$color});
|
|
10
10
|
color: var(--neon-color-inverse);
|
|
11
11
|
@if ($color == high-contrast) {
|
|
12
|
-
$neon-badge-color: var(--neon-color-text);
|
|
12
|
+
$neon-badge-color: var(--neon-color-text-secondary);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
background: $neon-badge-color;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
text-transform: uppercase;
|
|
82
|
-
font-weight: var(--neon-font-weight-
|
|
82
|
+
font-weight: var(--neon-font-weight-medium);
|
|
83
83
|
letter-spacing: var(--neon-letter-spacing-m);
|
|
84
84
|
display: flex;
|
|
85
85
|
justify-content: center;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
&:hover:not(:disabled),
|
|
58
58
|
&:active:not(:disabled) {
|
|
59
59
|
@if ($color == 'inverse') {
|
|
60
|
-
@include svg.color-with-svg(var(--neon-color-text));
|
|
60
|
+
@include svg.color-with-svg(var(--neon-color-text-secondary));
|
|
61
61
|
} @else {
|
|
62
62
|
@include svg.color-with-svg(var(--neon-color-inverse));
|
|
63
63
|
}
|
|
@@ -95,6 +95,14 @@
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
@mixin input-button($color) {
|
|
99
|
+
&:active:not(:disabled),
|
|
100
|
+
&:focus:not(:disabled) {
|
|
101
|
+
background-color: rgba(var(--neon-rgb-#{$color}), var(--neon-opacity-input-background-active));
|
|
102
|
+
border: var(--neon-border-width-input) var(--neon-border-style) var(--neon-color-#{$color});
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
98
106
|
@mixin button-small {
|
|
99
107
|
height: var(--neon-size-s);
|
|
100
108
|
font-size: var(--neon-font-size-s);
|
|
@@ -309,6 +317,10 @@
|
|
|
309
317
|
&.neon-button--text {
|
|
310
318
|
@include text-button($color);
|
|
311
319
|
}
|
|
320
|
+
|
|
321
|
+
&.neon-button--input {
|
|
322
|
+
@include input-button($color);
|
|
323
|
+
}
|
|
312
324
|
}
|
|
313
325
|
}
|
|
314
326
|
|
|
@@ -350,6 +362,18 @@
|
|
|
350
362
|
}
|
|
351
363
|
}
|
|
352
364
|
|
|
365
|
+
&.neon-button--input {
|
|
366
|
+
border-radius: var(--neon-border-radius-input);
|
|
367
|
+
border: var(--neon-border-width-input) var(--neon-border-style) var(--neon-border-color-input);
|
|
368
|
+
background-color: var(--neon-background-color-input);
|
|
369
|
+
color: var(--neon-color-input);
|
|
370
|
+
|
|
371
|
+
&.neon-button--disabled {
|
|
372
|
+
color: var(--neon-color-disabled-text);
|
|
373
|
+
border: var(--neon-border-width-input) var(--neon-border-style) var(--neon-color-disabled-border);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
353
377
|
&--state-loading,
|
|
354
378
|
&--state-success,
|
|
355
379
|
&--state-error {
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
white-space: nowrap;
|
|
53
53
|
user-select: none;
|
|
54
54
|
font-size: var(--neon-font-size-l);
|
|
55
|
-
font-weight: var(--neon-font-weight-
|
|
55
|
+
font-weight: var(--neon-font-weight-medium);
|
|
56
56
|
width: 30%;
|
|
57
57
|
text-align: right;
|
|
58
58
|
margin-left: auto;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&__card {
|
|
62
|
-
color: var(--neon-color-text);
|
|
62
|
+
color: var(--neon-color-text-secondary);
|
|
63
63
|
--neon-border-radius-card: var(--neon-border-radius-card-list);
|
|
64
64
|
user-select: none;
|
|
65
65
|
box-shadow: var(--neon-box-shadow-card-list);
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
border-radius: 50%;
|
|
115
115
|
font-size: var(--neon-font-size-s);
|
|
116
116
|
cursor: pointer;
|
|
117
|
-
color: var(--neon-color-text-
|
|
117
|
+
color: var(--neon-color-text-primary);
|
|
118
118
|
background-color: transparent;
|
|
119
119
|
|
|
120
120
|
&--empty {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
max-width: 88rem;
|
|
141
141
|
font-size: var(--neon-font-size-s);
|
|
142
142
|
cursor: pointer;
|
|
143
|
-
color: var(--neon-color-text-
|
|
143
|
+
color: var(--neon-color-text-primary);
|
|
144
144
|
background-color: transparent;
|
|
145
145
|
|
|
146
146
|
&.neon-date-picker__calendar-option--disabled {
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
|
|
153
153
|
.neon-date-picker__calendar-title-readonly {
|
|
154
154
|
align-self: center;
|
|
155
|
-
font-weight: var(--neon-font-weight-
|
|
155
|
+
font-weight: var(--neon-font-weight-medium);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
@each $color in palettes.$neon-functional-colors {
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
.neon-date-picker__calendar-options .neon-date-picker__calendar-option--today {
|
|
162
162
|
color: var(--neon-color-#{$color});
|
|
163
163
|
background-color: rgba(var(--neon-rgb-#{$color}), 0.125);
|
|
164
|
-
font-weight: var(--neon-font-weight-bold);
|
|
164
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.neon-date-picker__calendar-date--selected:not(:disabled) {
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
&.neon-date-picker__calendar-date--selected:hover {
|
|
172
172
|
color: var(--neon-color-inverse);
|
|
173
173
|
background-color: var(--neon-color-#{$color});
|
|
174
|
-
font-weight: var(--neon-font-weight-bold);
|
|
174
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
&.neon-date-picker__calendar-option--selected:hover {
|
|
183
183
|
color: var(--neon-color-inverse);
|
|
184
184
|
background-color: var(--neon-color-#{$color});
|
|
185
|
-
font-weight: var(--neon-font-weight-bold);
|
|
185
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
&:active {
|
|
203
203
|
color: var(--neon-color-#{$color});
|
|
204
204
|
background-color: rgba(var(--neon-rgb-#{$color}), 0.25);
|
|
205
|
-
font-weight: var(--neon-font-weight-bold);
|
|
205
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
.neon-link {
|
|
56
56
|
text-decoration: none;
|
|
57
|
-
color: var(--neon-color-text);
|
|
57
|
+
color: var(--neon-color-text-secondary);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.neon-link,
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
&--group-title {
|
|
83
83
|
.neon-dropdown-menu__item-container {
|
|
84
|
-
font-weight: var(--neon-font-weight-
|
|
84
|
+
font-weight: var(--neon-font-weight-medium);
|
|
85
85
|
letter-spacing: var(--neon-letter-spacing-s);
|
|
86
86
|
cursor: default;
|
|
87
87
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
align-items: center;
|
|
29
29
|
cursor: pointer;
|
|
30
30
|
letter-spacing: var(--neon-letter-spacing-s);
|
|
31
|
-
font-weight: var(--neon-font-weight-light);
|
|
31
|
+
font-weight: var(--neon-font-weight-extra-light);
|
|
32
32
|
@include layout.padding-horizontal(0.75, 0.75);
|
|
33
33
|
padding-top: 0;
|
|
34
34
|
padding-bottom: 0;
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.neon-expansion-indicator {
|
|
151
|
-
margin-right: -
|
|
151
|
+
margin-right: -2rem;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
&--full-width {
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
} @else {
|
|
41
|
-
color: rgba(var(--neon-rgb-text), 0.75);
|
|
41
|
+
color: rgba(var(--neon-rgb-text-secondary), 0.75);
|
|
42
42
|
|
|
43
43
|
&:hover,
|
|
44
44
|
&:focus {
|
|
45
|
-
color: var(--neon-color-text);
|
|
45
|
+
color: var(--neon-color-text-secondary);
|
|
46
46
|
|
|
47
47
|
&:after {
|
|
48
|
-
background-color: var(--neon-color-text);
|
|
48
|
+
background-color: var(--neon-color-text-secondary);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
min-width: fit-content;
|
|
66
66
|
margin-right: var(--neon-space-24);
|
|
67
67
|
font-size: var(--neon-font-size-xs);
|
|
68
|
-
font-weight: var(--neon-font-weight-bold);
|
|
68
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
69
69
|
font-variant: tabular-nums;
|
|
70
70
|
line-height: 1;
|
|
71
71
|
}
|
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
&:not(.neon-filter-list__item--disabled) {
|
|
80
|
-
color: rgba(var(--neon-rgb-text), 0.75);
|
|
80
|
+
color: rgba(var(--neon-rgb-text-secondary), 0.75);
|
|
81
81
|
|
|
82
82
|
&.neon-filter-list__item--selected,
|
|
83
83
|
&.neon-filter-list__item:hover,
|
|
84
84
|
&.neon-filter-list__item:focus {
|
|
85
|
-
color: var(--neon-color-text);
|
|
85
|
+
color: var(--neon-color-text-secondary);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
&.neon-filter-list__item:hover,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
@each $neon-icon-type in $neon-icon-types {
|
|
15
15
|
.#{$neon-icon-type} {
|
|
16
|
-
@include svg.svg-colors(var(--neon-color-text));
|
|
16
|
+
@include svg.svg-colors(var(--neon-color-text-secondary));
|
|
17
17
|
|
|
18
18
|
@each $color in palettes.$neon-functional-colors {
|
|
19
19
|
&--#{$color}:not(.#{$neon-icon-type}--disabled):not(.#{$neon-icon-type}--inverse) {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
max-height: 100%;
|
|
29
29
|
overflow-x: auto;
|
|
30
30
|
scroll-snap-type: x mandatory;
|
|
31
|
-
overscroll-behavior: contain;
|
|
31
|
+
overscroll-behavior-x: contain;
|
|
32
32
|
|
|
33
33
|
@include scrollbars.hide-scrollbars();
|
|
34
34
|
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
.neon-image-carousel__item {
|
|
41
41
|
display: flex;
|
|
42
42
|
min-width: 100%;
|
|
43
|
+
padding: var(--neon-space-2);
|
|
43
44
|
scroll-snap-align: start;
|
|
44
45
|
scroll-snap-stop: always;
|
|
45
46
|
opacity: 0;
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
|
|
39
39
|
&.neon-icon--name-close {
|
|
40
40
|
@if ($size == 'l') {
|
|
41
|
-
padding: calc(2.
|
|
41
|
+
padding: calc(2.25 * var(--neon-space-4));
|
|
42
42
|
} @else {
|
|
43
|
-
padding: calc(1.
|
|
43
|
+
padding: calc(1.5 * var(--neon-space-4));
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -71,18 +71,18 @@
|
|
|
71
71
|
&.neon-input--focused {
|
|
72
72
|
.neon-input__text,
|
|
73
73
|
.neon-input__textarea {
|
|
74
|
-
border-color:
|
|
74
|
+
border-color: var(--neon-color-#{$color});
|
|
75
75
|
background-color: rgba(var(--neon-rgb-#{$color}), var(--neon-opacity-input-background-active));
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
.neon-icon:focus {
|
|
80
|
-
background-color: rgba($input-rgb, 0.125);
|
|
81
|
-
box-shadow: 0 0 0 2rem rgba($input-rgb, 0.125);
|
|
82
|
-
}
|
|
83
78
|
}
|
|
84
79
|
}
|
|
85
80
|
|
|
81
|
+
.neon-icon:focus {
|
|
82
|
+
background-color: rgba(var(--neon-rgb-low-contrast), 0.125);
|
|
83
|
+
box-shadow: 0 0 0 2rem rgba(var(--neon-rgb-low-contrast), 0.125);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
86
|
&.neon-input--with-state-highlight.neon-input--state-success {
|
|
87
87
|
.neon-input__text,
|
|
88
88
|
.neon-input__textarea {
|
|
@@ -123,14 +123,14 @@
|
|
|
123
123
|
&__text,
|
|
124
124
|
&__textarea {
|
|
125
125
|
border-radius: var(--neon-border-radius-input);
|
|
126
|
-
border: var(--neon-border-width) var(--neon-border-style);
|
|
126
|
+
border: var(--neon-border-width-input) var(--neon-border-style);
|
|
127
127
|
padding: var(--neon-space-4) var(--neon-space-10);
|
|
128
128
|
line-height: var(--neon-line-height-one);
|
|
129
129
|
outline: none;
|
|
130
130
|
font-family: var(--neon-font-family-body);
|
|
131
131
|
width: 100%;
|
|
132
132
|
border-color: var(--neon-border-color-input);
|
|
133
|
-
color: var(--neon-color-
|
|
133
|
+
color: var(--neon-color-input);
|
|
134
134
|
background-color: var(--neon-background-color-input);
|
|
135
135
|
box-shadow: var(--neon-inset-shadow);
|
|
136
136
|
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
|
|
154
154
|
&:not(.neon-input--placeholder-visible) {
|
|
155
155
|
input[type='password'] {
|
|
156
|
-
font-weight: bold;
|
|
156
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
157
157
|
letter-spacing: calc(2 * var(--neon-letter-spacing-m));
|
|
158
158
|
}
|
|
159
159
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@if (not($color == 'low-contrast' or $color == 'neutral')) {
|
|
15
15
|
@include svg.color-with-svg(rgba($list-foreground-rgb, 0.75));
|
|
16
16
|
} @else {
|
|
17
|
-
@include svg.color-with-svg(rgba(var(--neon-rgb-text), 0.75));
|
|
17
|
+
@include svg.color-with-svg(rgba(var(--neon-rgb-text-secondary), 0.75));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&:hover,
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
@if (not($color == 'low-contrast' or $color == 'neutral')) {
|
|
24
24
|
@include svg.color-with-svg(rgba($list-foreground-rgb));
|
|
25
25
|
} @else {
|
|
26
|
-
@include svg.color-with-svg(var(--neon-color-text));
|
|
26
|
+
@include svg.color-with-svg(var(--neon-color-text-secondary));
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
@use '../includes/palettes';
|
|
2
|
+
@use '../includes/svg';
|
|
3
|
+
|
|
4
|
+
@mixin mobile-menu {
|
|
5
|
+
.neon-mobile-menu {
|
|
6
|
+
user-select: none;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
width: 100%;
|
|
9
|
+
background-color: var(--neon-background-color-mobile-menu);
|
|
10
|
+
border-top: var(--neon-border-top-mobile-menu);
|
|
11
|
+
|
|
12
|
+
&__item {
|
|
13
|
+
width: 100%;
|
|
14
|
+
|
|
15
|
+
.neon-link {
|
|
16
|
+
.neon-mobile-menu__link-container {
|
|
17
|
+
padding-top: var(--neon-space-12);
|
|
18
|
+
padding-bottom: var(--neon-space-8);
|
|
19
|
+
width: 100%;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
align-items: center;
|
|
23
|
+
position: relative;
|
|
24
|
+
gap: var(--neon-space-4);
|
|
25
|
+
font-family: var(--neon-font-family-mobile-menu);
|
|
26
|
+
font-size: var(--neon-font-size-mobile-menu);
|
|
27
|
+
line-height: var(--neon-line-height-mobile-menu);
|
|
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));
|
|
32
|
+
|
|
33
|
+
&:before {
|
|
34
|
+
content: '';
|
|
35
|
+
position: absolute;
|
|
36
|
+
top: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
width: 100%;
|
|
39
|
+
opacity: 0;
|
|
40
|
+
height: var(--neon-height-mobile-menu-indicator);
|
|
41
|
+
transition: opacity ease-in-out var(--neon-animation-speed-slow);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:hover {
|
|
46
|
+
.neon-mobile-menu__link-container {
|
|
47
|
+
opacity: 1;
|
|
48
|
+
|
|
49
|
+
&:before {
|
|
50
|
+
opacity: 1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:focus {
|
|
56
|
+
.neon-mobile-menu__link-container {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.router-link-active {
|
|
62
|
+
.neon-mobile-menu__link-container {
|
|
63
|
+
opacity: 1;
|
|
64
|
+
|
|
65
|
+
&:before {
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.neon-icon {
|
|
73
|
+
width: 24rem;
|
|
74
|
+
height: 24rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.neon-link {
|
|
78
|
+
width: 100%;
|
|
79
|
+
text-decoration: none;
|
|
80
|
+
height: var(--neon-height-mobile-menu);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&--disabled {
|
|
84
|
+
.neon-link {
|
|
85
|
+
.neon-mobile-menu__link-container {
|
|
86
|
+
opacity: 1;
|
|
87
|
+
cursor: not-allowed;
|
|
88
|
+
@include svg.color-with-svg(var(--neon-color-disabled-text));
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@each $color in palettes.$neon-functional-colors {
|
|
95
|
+
&.neon-mobile-menu--#{$color} {
|
|
96
|
+
.neon-mobile-menu__item:not(.neon-mobile-menu__item--disabled) {
|
|
97
|
+
.neon-link {
|
|
98
|
+
.neon-mobile-menu__link-container:before {
|
|
99
|
+
background-color: var(--neon-color-#{$color});
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:focus {
|
|
103
|
+
background-color: rgba(var(--neon-rgb-#{$color}), var(--neon-opacity-mobile-menu-focus));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
top: -10rem;
|
|
16
16
|
right: -10rem;
|
|
17
17
|
user-select: none;
|
|
18
|
-
font-weight: var(--neon-font-weight-
|
|
18
|
+
font-weight: var(--neon-font-weight-medium);
|
|
19
19
|
|
|
20
20
|
@each $color in palettes.$neon-functional-colors {
|
|
21
21
|
&--#{$color} {
|
|
22
22
|
color: var(--neon-color-inverse);
|
|
23
23
|
@if ($color == high-contrast) {
|
|
24
|
-
background-color: var(--neon-color-text);
|
|
24
|
+
background-color: var(--neon-color-text-secondary);
|
|
25
25
|
} @else {
|
|
26
26
|
background-color: var(--neon-color-#{$color});
|
|
27
27
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
@if (not index(palettes.$neon-neutral-colors, $color)) {
|
|
33
33
|
@include svg.color-with-svg(rgb($number-component-rgb));
|
|
34
34
|
} @else {
|
|
35
|
-
@include svg.color-with-svg(var(--neon-color-text));
|
|
35
|
+
@include svg.color-with-svg(var(--neon-color-text-secondary));
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&:hover,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
@if (not index(palettes.$neon-neutral-colors, $color)) {
|
|
44
44
|
@include svg.color-with-svg(rgb($number-component-rgb));
|
|
45
45
|
} @else {
|
|
46
|
-
@include svg.color-with-svg(var(--neon-color-text));
|
|
46
|
+
@include svg.color-with-svg(var(--neon-color-text-secondary));
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
&.neon-range-slider__output-range-separator {
|
|
103
103
|
margin-left: var(--neon-space-6);
|
|
104
104
|
margin-right: var(--neon-space-6);
|
|
105
|
-
font-weight: var(--neon-font-weight-bold);
|
|
105
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
106
106
|
opacity: 0.25;
|
|
107
107
|
top: -1rem;
|
|
108
108
|
position: relative;
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
.neon-link {
|
|
175
|
-
color: var(--neon-color-text);
|
|
175
|
+
color: var(--neon-color-text-secondary);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
&-container {
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
flex: 1 0 auto;
|
|
192
192
|
user-select: none;
|
|
193
193
|
align-items: center;
|
|
194
|
-
font-weight: var(--neon-font-weight-bold);
|
|
194
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
195
195
|
font-size: var(--neon-font-size-xs);
|
|
196
196
|
text-transform: uppercase;
|
|
197
197
|
padding: var(--neon-space-12) var(--neon-space-16) var(--neon-space-4);
|
|
@@ -21,6 +21,20 @@
|
|
|
21
21
|
background-color: rgba(var(--neon-rgb-#{$color}), 0.05);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
|
|
25
|
+
&:not(.neon-select--disabled):focus-within {
|
|
26
|
+
.neon-dropdown__button.neon-button--input {
|
|
27
|
+
border: var(--neon-border-width-input) var(--neon-border-style) var(--neon-color-#{$color});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--with-placeholder {
|
|
34
|
+
.neon-dropdown__button {
|
|
35
|
+
color: var(--neon-color-placeholder);
|
|
36
|
+
font-style: var(--neon-font-style-placeholder);
|
|
37
|
+
font-weight: var(--neon-font-weight-placeholder);
|
|
24
38
|
}
|
|
25
39
|
}
|
|
26
40
|
|
|
@@ -54,7 +68,7 @@
|
|
|
54
68
|
}
|
|
55
69
|
|
|
56
70
|
.neon-link {
|
|
57
|
-
color: var(--neon-color-text);
|
|
71
|
+
color: var(--neon-color-text-secondary);
|
|
58
72
|
}
|
|
59
73
|
|
|
60
74
|
&--disabled {
|
|
@@ -86,7 +100,7 @@
|
|
|
86
100
|
flex: 1 0 auto;
|
|
87
101
|
user-select: none;
|
|
88
102
|
align-items: center;
|
|
89
|
-
font-weight: var(--neon-font-weight-bold);
|
|
103
|
+
font-weight: var(--neon-font-weight-semi-bold);
|
|
90
104
|
font-size: var(--neon-font-size-xs);
|
|
91
105
|
text-transform: uppercase;
|
|
92
106
|
padding: var(--neon-space-12) var(--neon-space-16) var(--neon-space-4);
|