@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.
- package/dist/common/utils/NeonIconRegistry.cjs.js.map +1 -1
- package/dist/common/utils/NeonIconRegistry.es.js +2 -2
- package/dist/common/utils/NeonIconRegistry.es.js.map +1 -1
- package/dist/components/presentation/icon/NeonIcon.cjs.js +1 -1
- package/dist/components/presentation/icon/NeonIcon.cjs.js.map +1 -1
- package/dist/components/presentation/icon/NeonIcon.es.js +18 -10
- package/dist/components/presentation/icon/NeonIcon.es.js.map +1 -1
- package/dist/components/presentation/icon/NeonIcon.vue.cjs.js +1 -1
- package/dist/components/presentation/icon/NeonIcon.vue.cjs.js.map +1 -1
- package/dist/components/presentation/icon/NeonIcon.vue.es.js +5 -5
- package/dist/components/presentation/icon/NeonIcon.vue.es.js.map +1 -1
- package/dist/components/presentation/image-carousel/NeonImageCarousel.cjs.js +1 -1
- package/dist/components/presentation/image-carousel/NeonImageCarousel.cjs.js.map +1 -1
- package/dist/components/presentation/image-carousel/NeonImageCarousel.es.js +57 -35
- package/dist/components/presentation/image-carousel/NeonImageCarousel.es.js.map +1 -1
- package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.cjs.js +1 -1
- package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.cjs.js.map +1 -1
- package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.es.js +44 -46
- package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.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 +17 -18
- package/dist/components/presentation/tabs/NeonTabs.es.js.map +1 -1
- package/dist/components/presentation/tabs/tab/NeonTab.cjs.js +1 -1
- package/dist/components/presentation/tabs/tab/NeonTab.cjs.js.map +1 -1
- package/dist/components/presentation/tabs/tab/NeonTab.es.js +6 -20
- package/dist/components/presentation/tabs/tab/NeonTab.es.js.map +1 -1
- package/dist/components/presentation/tabs/tab/NeonTab.vue.cjs.js +1 -1
- package/dist/components/presentation/tabs/tab/NeonTab.vue.cjs.js.map +1 -1
- package/dist/components/presentation/tabs/tab/NeonTab.vue.es.js +24 -16
- package/dist/components/presentation/tabs/tab/NeonTab.vue.es.js.map +1 -1
- package/dist/components/user-input/field/NeonField.cjs.js +1 -1
- package/dist/components/user-input/field/NeonField.cjs.js.map +1 -1
- package/dist/components/user-input/field/NeonField.es.js +2 -6
- package/dist/components/user-input/field/NeonField.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 +22 -26
- package/dist/components/user-input/field/NeonField.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 +65 -47
- package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
- package/dist/components/user-input/input/NeonInput.vue.cjs.js +1 -1
- package/dist/components/user-input/input/NeonInput.vue.cjs.js.map +1 -1
- package/dist/components/user-input/input/NeonInput.vue.es.js +35 -31
- package/dist/components/user-input/input/NeonInput.vue.es.js.map +1 -1
- package/dist/src/common/utils/NeonIconRegistry.d.ts +3 -3
- package/dist/src/components/feedback/alert/NeonAlert.d.ts +36 -9
- package/dist/src/components/feedback/alert/container/NeonAlertContainer.d.ts +24 -6
- package/dist/src/components/feedback/alert/container/NeonToastContainer.d.ts +12 -3
- package/dist/src/components/feedback/dialog/NeonDialog.d.ts +64 -12
- package/dist/src/components/feedback/linear-progress/NeonLinearProgress.d.ts +30 -7
- package/dist/src/components/feedback/note/NeonNote.d.ts +36 -9
- package/dist/src/components/feedback/splash-loader/NeonSplashLoader.d.ts +12 -3
- package/dist/src/components/feedback/tooltip/NeonTooltip.d.ts +1 -1
- package/dist/src/components/layout/card-list/NeonCardList.d.ts +54 -15
- package/dist/src/components/layout/modal/NeonModal.d.ts +24 -6
- package/dist/src/components/navigation/action-menu/NeonActionMenu.d.ts +12 -3
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +672 -193
- package/dist/src/components/navigation/link/NeonLink.d.ts +12 -3
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +522 -141
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +522 -141
- package/dist/src/components/navigation/stepper/NeonStepper.d.ts +12 -3
- package/dist/src/components/navigation/tree-menu/NeonTreeMenu.d.ts +12 -3
- package/dist/src/components/presentation/badge/NeonBadge.d.ts +188 -49
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +170 -97
- package/dist/src/components/presentation/expansion-panel/NeonExpansionPanel.d.ts +12 -3
- package/dist/src/components/presentation/icon/NeonIcon.d.ts +20 -3
- package/dist/src/components/presentation/image-carousel/NeonImageCarousel.d.ts +107 -18
- package/dist/src/components/presentation/label/NeonLabel.d.ts +12 -3
- package/dist/src/components/presentation/tabs/NeonTabs.d.ts +48 -12
- package/dist/src/components/presentation/tabs/tab/NeonTab.d.ts +8 -10
- package/dist/src/components/user-input/button/NeonButton.d.ts +24 -6
- package/dist/src/components/user-input/chip/NeonChip.d.ts +12 -3
- package/dist/src/components/user-input/color/NeonColor.d.ts +26 -7
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +336 -224
- package/dist/src/components/user-input/field/NeonField.d.ts +1 -113
- package/dist/src/components/user-input/file/NeonFile.d.ts +188 -52
- package/dist/src/components/user-input/filter-list/NeonFilterList.d.ts +36 -6
- package/dist/src/components/user-input/input/NeonInput.d.ts +36 -13
- package/dist/src/components/user-input/input-indicator/NeonInputIndicator.d.ts +12 -3
- package/dist/src/components/user-input/list/NeonList.d.ts +12 -3
- package/dist/src/components/user-input/number/NeonNumber.d.ts +140 -43
- package/dist/src/components/user-input/password/NeonPassword.d.ts +26 -7
- package/dist/src/components/user-input/search/NeonSearch.d.ts +608 -328
- package/dist/src/components/user-input/select/NeonSelect.d.ts +678 -153
- package/dist/src/components/user-input/selectable-card/NeonSelectableCard.d.ts +12 -3
- package/dist/src/components/user-input/switch/NeonSwitch.d.ts +22 -3
- package/dist/src/components/user-input/toggle/NeonToggle.d.ts +16 -19
- package/dist/src/components/user-input/toggle-chip/NeonToggleChip.d.ts +12 -3
- package/package.json +1 -1
- package/src/sass/components/_field.scss +8 -0
- package/src/sass/components/_footer.scss +8 -0
- package/src/sass/components/_image-carousel.scss +12 -10
- package/src/sass/components/_input.scss +3 -3
- package/src/sass/components/_menu.scss +32 -24
- package/src/sass/components/_mobile-menu.scss +27 -19
- package/src/sass/components/_note.scss +2 -3
- package/src/sass/components/_page.scss +5 -4
- package/src/sass/components/_tooltip.scss +1 -1
- package/src/sass/components/_top-nav.scss +1 -1
- package/src/sass/global/_base-html.scss +1 -1
- package/src/sass/includes/_dependencies.scss +1 -1
- package/src/sass/includes/_typography.scss +4 -2
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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:
|
|
90
|
-
height:
|
|
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:
|
|
97
|
-
height:
|
|
96
|
+
width: 10rem;
|
|
97
|
+
height: 10rem;
|
|
98
98
|
border-radius: 50%;
|
|
99
99
|
border: var(--neon-border);
|
|
100
|
-
border-color: var(--neon-color-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
152
|
+
align-self: flex-start;
|
|
153
153
|
user-select: none;
|
|
154
|
-
font-size: var(--neon-font-size-
|
|
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-
|
|
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-
|
|
27
|
-
|
|
28
|
-
|
|
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:
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
-
|
|
47
|
-
|
|
53
|
+
&:before {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
}
|
|
48
56
|
}
|
|
49
|
-
}
|
|
50
57
|
|
|
51
|
-
|
|
58
|
+
}
|
|
52
59
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
66
|
+
&.router-link-active {
|
|
67
|
+
.neon-menu__link-container {
|
|
68
|
+
@include svg.color-with-svg(var(--neon-color-text-primary));
|
|
62
69
|
|
|
63
|
-
|
|
64
|
-
|
|
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(
|
|
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
|
|
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(
|
|
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(
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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:
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
-
|
|
50
|
-
|
|
56
|
+
&:before {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
51
59
|
}
|
|
52
60
|
}
|
|
53
|
-
}
|
|
54
61
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
&.router-link-active {
|
|
69
|
+
.neon-mobile-menu__link-container {
|
|
70
|
+
@include svg.color-with-svg(var(--neon-color-text-primary));
|
|
64
71
|
|
|
65
|
-
|
|
66
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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) {
|
|
@@ -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: [
|
|
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-
|
|
53
|
-
|
|
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
|
}
|