@aotearoan/neon 23.2.5 → 23.3.1
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/NeonFunctionalColor.cjs.js +1 -1
- package/dist/common/enums/NeonFunctionalColor.cjs.js.map +1 -1
- package/dist/common/enums/NeonFunctionalColor.es.js +1 -1
- package/dist/common/enums/NeonFunctionalColor.es.js.map +1 -1
- package/dist/common/utils/NeonClosableUtils.cjs.js +1 -1
- package/dist/common/utils/NeonClosableUtils.cjs.js.map +1 -1
- package/dist/common/utils/NeonClosableUtils.es.js +1 -1
- package/dist/common/utils/NeonClosableUtils.es.js.map +1 -1
- package/dist/components/layout/modal/NeonModal.cjs.js +1 -1
- package/dist/components/layout/modal/NeonModal.cjs.js.map +1 -1
- package/dist/components/layout/modal/NeonModal.es.js +26 -20
- package/dist/components/layout/modal/NeonModal.es.js.map +1 -1
- package/dist/components/layout/modal/NeonModal.vue.cjs.js +1 -1
- package/dist/components/layout/modal/NeonModal.vue.cjs.js.map +1 -1
- package/dist/components/layout/modal/NeonModal.vue.es.js +9 -9
- package/dist/components/layout/modal/NeonModal.vue.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 +15 -15
- package/dist/components/presentation/image-carousel/NeonImageCarousel.vue.es.js.map +1 -1
- package/dist/components/user-input/number/NeonNumber.cjs.js +1 -1
- package/dist/components/user-input/number/NeonNumber.cjs.js.map +1 -1
- package/dist/components/user-input/number/NeonNumber.es.js +13 -9
- package/dist/components/user-input/number/NeonNumber.es.js.map +1 -1
- package/dist/components/user-input/number/NeonNumber.vue.cjs.js +1 -1
- package/dist/components/user-input/number/NeonNumber.vue.cjs.js.map +1 -1
- package/dist/components/user-input/number/NeonNumber.vue.es.js +7 -6
- package/dist/components/user-input/number/NeonNumber.vue.es.js.map +1 -1
- package/dist/src/common/enums/NeonFunctionalColor.d.ts +2 -0
- package/dist/src/common/models/NeonCarouselImage.d.ts +4 -0
- package/dist/src/components/feedback/dialog/NeonDialog.d.ts +11 -6
- package/dist/src/components/layout/modal/NeonModal.d.ts +38 -16
- package/dist/src/components/user-input/number/NeonNumber.d.ts +85 -104
- package/package.json +1 -1
- package/src/sass/color-variables.scss +11 -0
- package/src/sass/components/_button.scss +4 -1
- package/src/sass/components/_date-picker.scss +2 -0
- package/src/sass/components/_field-group.scss +8 -1
- package/src/sass/components/_input-indicator.scss +2 -0
- package/src/sass/components/_menu.scss +17 -10
- package/src/sass/components/_mobile-menu.scss +6 -6
- package/src/sass/components/_modal.scss +73 -53
- package/src/sass/components/_select.scss +2 -0
- package/src/sass/components/_stepper.scss +0 -7
- package/src/sass/global/_base-html.scss +4 -0
- package/src/sass/global/_typography.scss +4 -0
- package/src/sass/includes/_palettes.scss +2 -0
- package/src/sass/palette.scss +10 -0
- package/src/sass/theme.scss +1 -0
- package/src/sass/variables.scss +41 -6
|
@@ -10,6 +10,13 @@ import { NeonInputMode } from '@/common/enums/NeonInputMode';
|
|
|
10
10
|
* <p><strong>NeonNumber</strong> supports all the properties found on an HTML <input>.</p>
|
|
11
11
|
*/
|
|
12
12
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* The id the input
|
|
15
|
+
*/
|
|
16
|
+
id: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: null;
|
|
19
|
+
};
|
|
13
20
|
/**
|
|
14
21
|
* The value of the number input. Either a valid number or null.
|
|
15
22
|
*/
|
|
@@ -146,6 +153,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
146
153
|
onFocus: () => boolean;
|
|
147
154
|
onBlur: () => boolean;
|
|
148
155
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
156
|
+
/**
|
|
157
|
+
* The id the input
|
|
158
|
+
*/
|
|
159
|
+
id: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
default: null;
|
|
162
|
+
};
|
|
149
163
|
/**
|
|
150
164
|
* The value of the number input. Either a valid number or null.
|
|
151
165
|
*/
|
|
@@ -274,6 +288,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
274
288
|
locale: string;
|
|
275
289
|
size: NeonSize;
|
|
276
290
|
color: NeonFunctionalColor;
|
|
291
|
+
id: string;
|
|
277
292
|
placeholder: string;
|
|
278
293
|
inputmode: NeonInputMode;
|
|
279
294
|
modelValue: number;
|
|
@@ -316,7 +331,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
316
331
|
};
|
|
317
332
|
iconPosition: {
|
|
318
333
|
type: () => import("../../../neon").NeonHorizontalPosition;
|
|
319
|
-
default: import("../../../neon").NeonHorizontalPosition;
|
|
334
|
+
default: import("../../../neon").NeonHorizontalPosition; /**
|
|
335
|
+
* Show/hide spin buttons. NOTE: The user can still use up/down arrow keys when the input has focus.
|
|
336
|
+
*/
|
|
320
337
|
};
|
|
321
338
|
buttonStyle: {
|
|
322
339
|
type: () => import("../../../neon").NeonButtonStyle;
|
|
@@ -332,8 +349,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
332
349
|
};
|
|
333
350
|
disabled: {
|
|
334
351
|
type: BooleanConstructor;
|
|
335
|
-
default: boolean;
|
|
336
|
-
|
|
352
|
+
default: boolean; /**
|
|
353
|
+
* The HTML inputmode of the component. Either 'numeric' or 'decimal'.
|
|
354
|
+
*/
|
|
355
|
+
}; /**
|
|
356
|
+
* The HTML inputmode of the component. Either 'numeric' or 'decimal'.
|
|
357
|
+
*/
|
|
337
358
|
transparent: {
|
|
338
359
|
type: BooleanConstructor;
|
|
339
360
|
default: boolean;
|
|
@@ -415,7 +436,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
415
436
|
};
|
|
416
437
|
iconPosition: {
|
|
417
438
|
type: () => import("../../../neon").NeonHorizontalPosition;
|
|
418
|
-
default: import("../../../neon").NeonHorizontalPosition;
|
|
439
|
+
default: import("../../../neon").NeonHorizontalPosition; /**
|
|
440
|
+
* Show/hide spin buttons. NOTE: The user can still use up/down arrow keys when the input has focus.
|
|
441
|
+
*/
|
|
419
442
|
};
|
|
420
443
|
buttonStyle: {
|
|
421
444
|
type: () => import("../../../neon").NeonButtonStyle;
|
|
@@ -431,8 +454,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
431
454
|
};
|
|
432
455
|
disabled: {
|
|
433
456
|
type: BooleanConstructor;
|
|
434
|
-
default: boolean;
|
|
435
|
-
|
|
457
|
+
default: boolean; /**
|
|
458
|
+
* The HTML inputmode of the component. Either 'numeric' or 'decimal'.
|
|
459
|
+
*/
|
|
460
|
+
}; /**
|
|
461
|
+
* The HTML inputmode of the component. Either 'numeric' or 'decimal'.
|
|
462
|
+
*/
|
|
436
463
|
transparent: {
|
|
437
464
|
type: BooleanConstructor;
|
|
438
465
|
default: boolean;
|
|
@@ -531,25 +558,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
531
558
|
color: {
|
|
532
559
|
type: () => NeonFunctionalColor;
|
|
533
560
|
default: null;
|
|
534
|
-
};
|
|
535
|
-
* Placeholder text to display in the input
|
|
536
|
-
*/
|
|
561
|
+
};
|
|
537
562
|
inverse: {
|
|
538
563
|
type: BooleanConstructor;
|
|
539
|
-
default: boolean;
|
|
540
|
-
|
|
541
|
-
*/
|
|
542
|
-
}; /**
|
|
543
|
-
* Whether the component is disabled.
|
|
544
|
-
*/
|
|
564
|
+
default: boolean;
|
|
565
|
+
};
|
|
545
566
|
disabled: {
|
|
546
567
|
type: BooleanConstructor;
|
|
547
|
-
default: boolean;
|
|
548
|
-
|
|
549
|
-
*/
|
|
550
|
-
}; /**
|
|
551
|
-
* Enable/disable direct editing of the value.
|
|
552
|
-
*/
|
|
568
|
+
default: boolean;
|
|
569
|
+
};
|
|
553
570
|
}>, {
|
|
554
571
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
555
572
|
[x: string]: unknown;
|
|
@@ -567,25 +584,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
567
584
|
color: {
|
|
568
585
|
type: () => NeonFunctionalColor;
|
|
569
586
|
default: null;
|
|
570
|
-
};
|
|
571
|
-
* Placeholder text to display in the input
|
|
572
|
-
*/
|
|
587
|
+
};
|
|
573
588
|
inverse: {
|
|
574
589
|
type: BooleanConstructor;
|
|
575
|
-
default: boolean;
|
|
576
|
-
|
|
577
|
-
*/
|
|
578
|
-
}; /**
|
|
579
|
-
* Whether the component is disabled.
|
|
580
|
-
*/
|
|
590
|
+
default: boolean;
|
|
591
|
+
};
|
|
581
592
|
disabled: {
|
|
582
593
|
type: BooleanConstructor;
|
|
583
|
-
default: boolean;
|
|
584
|
-
|
|
585
|
-
*/
|
|
586
|
-
}; /**
|
|
587
|
-
* Enable/disable direct editing of the value.
|
|
588
|
-
*/
|
|
594
|
+
default: boolean;
|
|
595
|
+
};
|
|
589
596
|
}>> & Readonly<{}>, {
|
|
590
597
|
disabled: boolean;
|
|
591
598
|
color: NeonFunctionalColor;
|
|
@@ -604,10 +611,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
604
611
|
outlineStyle: {
|
|
605
612
|
type: () => import("../../../neon").NeonOutlineStyle;
|
|
606
613
|
default: import("../../../neon").NeonOutlineStyle; /**
|
|
607
|
-
* The
|
|
614
|
+
* The id the input
|
|
608
615
|
*/
|
|
609
616
|
}; /**
|
|
610
|
-
* The
|
|
617
|
+
* The id the input
|
|
611
618
|
*/
|
|
612
619
|
externalIndicator: {
|
|
613
620
|
type: BooleanConstructor;
|
|
@@ -635,10 +642,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
635
642
|
outlineStyle: {
|
|
636
643
|
type: () => import("../../../neon").NeonOutlineStyle;
|
|
637
644
|
default: import("../../../neon").NeonOutlineStyle; /**
|
|
638
|
-
* The
|
|
645
|
+
* The id the input
|
|
639
646
|
*/
|
|
640
647
|
}; /**
|
|
641
|
-
* The
|
|
648
|
+
* The id the input
|
|
642
649
|
*/
|
|
643
650
|
externalIndicator: {
|
|
644
651
|
type: BooleanConstructor;
|
|
@@ -664,25 +671,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
664
671
|
color: {
|
|
665
672
|
type: () => NeonFunctionalColor;
|
|
666
673
|
default: null;
|
|
667
|
-
};
|
|
668
|
-
* Placeholder text to display in the input
|
|
669
|
-
*/
|
|
674
|
+
};
|
|
670
675
|
inverse: {
|
|
671
676
|
type: BooleanConstructor;
|
|
672
|
-
default: boolean;
|
|
673
|
-
|
|
674
|
-
*/
|
|
675
|
-
}; /**
|
|
676
|
-
* Whether the component is disabled.
|
|
677
|
-
*/
|
|
677
|
+
default: boolean;
|
|
678
|
+
};
|
|
678
679
|
disabled: {
|
|
679
680
|
type: BooleanConstructor;
|
|
680
|
-
default: boolean;
|
|
681
|
-
|
|
682
|
-
*/
|
|
683
|
-
}; /**
|
|
684
|
-
* Enable/disable direct editing of the value.
|
|
685
|
-
*/
|
|
681
|
+
default: boolean;
|
|
682
|
+
};
|
|
686
683
|
}>, {
|
|
687
684
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
688
685
|
[x: string]: unknown;
|
|
@@ -700,25 +697,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
700
697
|
color: {
|
|
701
698
|
type: () => NeonFunctionalColor;
|
|
702
699
|
default: null;
|
|
703
|
-
};
|
|
704
|
-
* Placeholder text to display in the input
|
|
705
|
-
*/
|
|
700
|
+
};
|
|
706
701
|
inverse: {
|
|
707
702
|
type: BooleanConstructor;
|
|
708
|
-
default: boolean;
|
|
709
|
-
|
|
710
|
-
*/
|
|
711
|
-
}; /**
|
|
712
|
-
* Whether the component is disabled.
|
|
713
|
-
*/
|
|
703
|
+
default: boolean;
|
|
704
|
+
};
|
|
714
705
|
disabled: {
|
|
715
706
|
type: BooleanConstructor;
|
|
716
|
-
default: boolean;
|
|
717
|
-
|
|
718
|
-
*/
|
|
719
|
-
}; /**
|
|
720
|
-
* Enable/disable direct editing of the value.
|
|
721
|
-
*/
|
|
707
|
+
default: boolean;
|
|
708
|
+
};
|
|
722
709
|
}>> & Readonly<{}>, {
|
|
723
710
|
disabled: boolean;
|
|
724
711
|
color: NeonFunctionalColor;
|
|
@@ -789,10 +776,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
789
776
|
};
|
|
790
777
|
autocomplete: {
|
|
791
778
|
type: StringConstructor;
|
|
779
|
+
/**
|
|
780
|
+
* Whether the component is disabled.
|
|
781
|
+
*/
|
|
792
782
|
default: string;
|
|
793
783
|
};
|
|
794
784
|
state: {
|
|
795
|
-
type: () => import("../../../neon").NeonState;
|
|
785
|
+
type: () => import("../../../neon").NeonState; /**
|
|
786
|
+
* Enable/disable direct editing of the value.
|
|
787
|
+
*/
|
|
796
788
|
default: import("../../../neon").NeonState;
|
|
797
789
|
};
|
|
798
790
|
rows: {
|
|
@@ -802,7 +794,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
802
794
|
icon: {
|
|
803
795
|
type: StringConstructor;
|
|
804
796
|
default: null;
|
|
805
|
-
};
|
|
797
|
+
}; /**
|
|
798
|
+
* The rounding precision for display formatting.
|
|
799
|
+
*/
|
|
806
800
|
iconReadonly: {
|
|
807
801
|
type: BooleanConstructor;
|
|
808
802
|
default: boolean;
|
|
@@ -888,10 +882,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
888
882
|
};
|
|
889
883
|
autocomplete: {
|
|
890
884
|
type: StringConstructor;
|
|
885
|
+
/**
|
|
886
|
+
* Whether the component is disabled.
|
|
887
|
+
*/
|
|
891
888
|
default: string;
|
|
892
889
|
};
|
|
893
890
|
state: {
|
|
894
|
-
type: () => import("../../../neon").NeonState;
|
|
891
|
+
type: () => import("../../../neon").NeonState; /**
|
|
892
|
+
* Enable/disable direct editing of the value.
|
|
893
|
+
*/
|
|
895
894
|
default: import("../../../neon").NeonState;
|
|
896
895
|
};
|
|
897
896
|
rows: {
|
|
@@ -901,7 +900,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
901
900
|
icon: {
|
|
902
901
|
type: StringConstructor;
|
|
903
902
|
default: null;
|
|
904
|
-
};
|
|
903
|
+
}; /**
|
|
904
|
+
* The rounding precision for display formatting.
|
|
905
|
+
*/
|
|
905
906
|
iconReadonly: {
|
|
906
907
|
type: BooleanConstructor;
|
|
907
908
|
default: boolean;
|
|
@@ -977,25 +978,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
977
978
|
color: {
|
|
978
979
|
type: () => NeonFunctionalColor;
|
|
979
980
|
default: null;
|
|
980
|
-
};
|
|
981
|
-
* Placeholder text to display in the input
|
|
982
|
-
*/
|
|
981
|
+
};
|
|
983
982
|
inverse: {
|
|
984
983
|
type: BooleanConstructor;
|
|
985
|
-
default: boolean;
|
|
986
|
-
|
|
987
|
-
*/
|
|
988
|
-
}; /**
|
|
989
|
-
* Whether the component is disabled.
|
|
990
|
-
*/
|
|
984
|
+
default: boolean;
|
|
985
|
+
};
|
|
991
986
|
disabled: {
|
|
992
987
|
type: BooleanConstructor;
|
|
993
|
-
default: boolean;
|
|
994
|
-
|
|
995
|
-
*/
|
|
996
|
-
}; /**
|
|
997
|
-
* Enable/disable direct editing of the value.
|
|
998
|
-
*/
|
|
988
|
+
default: boolean;
|
|
989
|
+
};
|
|
999
990
|
}>, {
|
|
1000
991
|
sanitizedAttributes: import("vue").ComputedRef<{
|
|
1001
992
|
[x: string]: unknown;
|
|
@@ -1013,25 +1004,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1013
1004
|
color: {
|
|
1014
1005
|
type: () => NeonFunctionalColor;
|
|
1015
1006
|
default: null;
|
|
1016
|
-
};
|
|
1017
|
-
* Placeholder text to display in the input
|
|
1018
|
-
*/
|
|
1007
|
+
};
|
|
1019
1008
|
inverse: {
|
|
1020
1009
|
type: BooleanConstructor;
|
|
1021
|
-
default: boolean;
|
|
1022
|
-
|
|
1023
|
-
*/
|
|
1024
|
-
}; /**
|
|
1025
|
-
* Whether the component is disabled.
|
|
1026
|
-
*/
|
|
1010
|
+
default: boolean;
|
|
1011
|
+
};
|
|
1027
1012
|
disabled: {
|
|
1028
1013
|
type: BooleanConstructor;
|
|
1029
|
-
default: boolean;
|
|
1030
|
-
|
|
1031
|
-
*/
|
|
1032
|
-
}; /**
|
|
1033
|
-
* Enable/disable direct editing of the value.
|
|
1034
|
-
*/
|
|
1014
|
+
default: boolean;
|
|
1015
|
+
};
|
|
1035
1016
|
}>> & Readonly<{}>, {
|
|
1036
1017
|
disabled: boolean;
|
|
1037
1018
|
color: NeonFunctionalColor;
|
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": "23.
|
|
4
|
+
"version": "23.3.1",
|
|
5
5
|
"main": "./dist/neon.cjs.js",
|
|
6
6
|
"module": "./dist/neon.es.js",
|
|
7
7
|
"types": "./dist/src/neon.d.ts",
|
|
@@ -59,6 +59,17 @@
|
|
|
59
59
|
--neon-color-brand-d4: rgb(var(--neon-rgb-brand-d4));
|
|
60
60
|
--neon-color-brand-d5: rgb(var(--neon-rgb-brand-d5));
|
|
61
61
|
|
|
62
|
+
--neon-color-accent-l5: rgb(var(--neon-rgb-accent-l5));
|
|
63
|
+
--neon-color-accent-l4: rgb(var(--neon-rgb-accent-l4));
|
|
64
|
+
--neon-color-accent-l3: rgb(var(--neon-rgb-accent-l3));
|
|
65
|
+
--neon-color-accent-l2: rgb(var(--neon-rgb-accent-l2));
|
|
66
|
+
--neon-color-accent-l1: rgb(var(--neon-rgb-accent-l1));
|
|
67
|
+
--neon-color-accent-d1: rgb(var(--neon-rgb-accent-d1));
|
|
68
|
+
--neon-color-accent-d2: rgb(var(--neon-rgb-accent-d2));
|
|
69
|
+
--neon-color-accent-d3: rgb(var(--neon-rgb-accent-d3));
|
|
70
|
+
--neon-color-accent-d4: rgb(var(--neon-rgb-accent-d4));
|
|
71
|
+
--neon-color-accent-d5: rgb(var(--neon-rgb-accent-d5));
|
|
72
|
+
|
|
62
73
|
--neon-color-primary-l5: rgb(var(--neon-rgb-primary-l5));
|
|
63
74
|
--neon-color-primary-l4: rgb(var(--neon-rgb-primary-l4));
|
|
64
75
|
--neon-color-primary-l3: rgb(var(--neon-rgb-primary-l3));
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
|
|
106
106
|
@mixin button-small {
|
|
107
107
|
height: var(--neon-size-s);
|
|
108
|
+
min-height: var(--neon-size-s);
|
|
108
109
|
font-size: var(--neon-font-size-s);
|
|
109
110
|
line-height: var(--neon-line-height-one);
|
|
110
111
|
padding: 0 calc(0.75 * (var(--neon-size-s) - var(--neon-font-size-s)));
|
|
@@ -131,6 +132,7 @@
|
|
|
131
132
|
|
|
132
133
|
@mixin button-medium {
|
|
133
134
|
height: var(--neon-size-m);
|
|
135
|
+
min-height: var(--neon-size-m);
|
|
134
136
|
font-size: var(--neon-font-size-m);
|
|
135
137
|
line-height: var(--neon-line-height-one);
|
|
136
138
|
padding: 0 calc(0.75 * (var(--neon-size-m) - var(--neon-font-size-m)));
|
|
@@ -157,6 +159,7 @@
|
|
|
157
159
|
|
|
158
160
|
@mixin button-large {
|
|
159
161
|
height: var(--neon-size-l);
|
|
162
|
+
min-height: var(--neon-size-l);
|
|
160
163
|
font-size: var(--neon-font-size-m);
|
|
161
164
|
line-height: var(--neon-line-height-one);
|
|
162
165
|
padding: 0 calc(0.75 * (var(--neon-size-l) - var(--neon-font-size-m)));
|
|
@@ -191,7 +194,7 @@
|
|
|
191
194
|
margin-right: 0;
|
|
192
195
|
cursor: pointer;
|
|
193
196
|
text-decoration: none;
|
|
194
|
-
font-family: var(--neon-font-family-
|
|
197
|
+
font-family: var(--neon-font-family-button);
|
|
195
198
|
|
|
196
199
|
&--s {
|
|
197
200
|
@include button-small;
|
|
@@ -60,6 +60,10 @@
|
|
|
60
60
|
max-width: 100%;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
+
|
|
64
|
+
.neon-button + .neon-button {
|
|
65
|
+
border-left: var(--neon-border-width) var(--neon-border-style) var(--neon-color-inverse);
|
|
66
|
+
}
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
&.neon-field-group--internal {
|
|
@@ -146,8 +150,11 @@
|
|
|
146
150
|
}
|
|
147
151
|
|
|
148
152
|
.neon-button {
|
|
149
|
-
margin-left: calc(-1 * var(--neon-border-width));
|
|
150
153
|
z-index: var(--neon-z-index-above);
|
|
154
|
+
|
|
155
|
+
&:not(:first-child) {
|
|
156
|
+
margin-left: calc(-1 * var(--neon-border-width));
|
|
157
|
+
}
|
|
151
158
|
}
|
|
152
159
|
|
|
153
160
|
.neon-number {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@mixin neon-menu-size($size) {
|
|
5
5
|
.neon-menu__item {
|
|
6
6
|
height: 100%;
|
|
7
|
-
font-size: var(--neon-font-size
|
|
7
|
+
font-size: var(--neon-font-size-menu);
|
|
8
8
|
align-items: center;
|
|
9
9
|
display: flex;
|
|
10
10
|
|
|
@@ -22,13 +22,14 @@
|
|
|
22
22
|
position: relative;
|
|
23
23
|
gap: var(--neon-space-12);
|
|
24
24
|
font-family: var(--neon-font-family-menu);
|
|
25
|
+
text-transform: var(--neon-text-transform-menu);
|
|
25
26
|
font-weight: var(--neon-font-weight-menu);
|
|
26
|
-
@include svg.color-with-svg(var(--neon-color-
|
|
27
|
+
@include svg.color-with-svg(var(--neon-color-menu));
|
|
27
28
|
|
|
28
29
|
&,
|
|
29
30
|
.neon-svg--stroke,
|
|
30
31
|
.neon-svg--fill {
|
|
31
|
-
transition: color ease-in-out var(--neon-animation-speed-
|
|
32
|
+
transition: color ease-in-out var(--neon-animation-speed-fastest);
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
&:before {
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
width: 100%;
|
|
40
41
|
opacity: 0;
|
|
41
42
|
height: var(--neon-height-menu-indicator);
|
|
42
|
-
transition: opacity ease-in-out var(--neon-animation-speed-
|
|
43
|
+
transition: opacity ease-in-out var(--neon-animation-speed-fastest);
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
}
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
.neon-link {
|
|
49
50
|
&:hover {
|
|
50
51
|
.neon-menu__link-container {
|
|
51
|
-
@include svg.color-with-svg(var(--neon-color-
|
|
52
|
+
@include svg.color-with-svg(var(--neon-color-menu-active));
|
|
52
53
|
|
|
53
54
|
&:before {
|
|
54
55
|
opacity: 1;
|
|
@@ -59,13 +60,13 @@
|
|
|
59
60
|
|
|
60
61
|
&:focus {
|
|
61
62
|
.neon-menu__link-container {
|
|
62
|
-
@include svg.color-with-svg(var(--neon-color-
|
|
63
|
+
@include svg.color-with-svg(var(--neon-color-menu-active));
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
&.router-link-active {
|
|
67
68
|
.neon-menu__link-container {
|
|
68
|
-
@include svg.color-with-svg(var(--neon-color-
|
|
69
|
+
@include svg.color-with-svg(var(--neon-color-menu-active));
|
|
69
70
|
|
|
70
71
|
&:before {
|
|
71
72
|
opacity: 1;
|
|
@@ -182,7 +183,8 @@
|
|
|
182
183
|
}
|
|
183
184
|
|
|
184
185
|
&__responsive-menu {
|
|
185
|
-
font-family: var(--neon-font-family-
|
|
186
|
+
font-family: var(--neon-font-family-menu);
|
|
187
|
+
text-transform: var(--neon-text-transform-menu);
|
|
186
188
|
|
|
187
189
|
&.neon-menu__responsive-menu:not(:first-child) {
|
|
188
190
|
margin-left: calc(5 * var(--neon-base-space));
|
|
@@ -213,7 +215,8 @@
|
|
|
213
215
|
&__label {
|
|
214
216
|
display: flex;
|
|
215
217
|
align-items: center;
|
|
216
|
-
font-family: var(--neon-font-family-
|
|
218
|
+
font-family: var(--neon-font-family-menu);
|
|
219
|
+
text-transform: var(--neon-text-transform-menu);
|
|
217
220
|
}
|
|
218
221
|
}
|
|
219
222
|
|
|
@@ -225,21 +228,25 @@
|
|
|
225
228
|
}
|
|
226
229
|
|
|
227
230
|
.neon-dropdown .neon-dropdown__button {
|
|
228
|
-
font-family: var(--neon-font-family-
|
|
231
|
+
font-family: var(--neon-font-family-menu);
|
|
232
|
+
text-transform: var(--neon-text-transform-menu);
|
|
229
233
|
font-weight: var(--neon-font-weight-normal);
|
|
230
234
|
letter-spacing: var(--neon-letter-spacing-m);
|
|
231
235
|
}
|
|
232
236
|
}
|
|
233
237
|
|
|
234
238
|
&.neon-menu--s {
|
|
239
|
+
--neon-font-size-menu: var(--neon-font-size-menu-s);
|
|
235
240
|
@include neon-menu-size('s');
|
|
236
241
|
}
|
|
237
242
|
|
|
238
243
|
&.neon-menu--m {
|
|
244
|
+
--neon-font-size-menu: var(--neon-font-size-menu-m);
|
|
239
245
|
@include neon-menu-size('m');
|
|
240
246
|
}
|
|
241
247
|
|
|
242
248
|
&.neon-menu--l {
|
|
249
|
+
--neon-font-size-menu: var(--neon-font-size-menu-l);
|
|
243
250
|
@include neon-menu-size('l');
|
|
244
251
|
}
|
|
245
252
|
}
|
|
@@ -26,12 +26,12 @@
|
|
|
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
|
-
@include svg.color-with-svg(var(--neon-color-
|
|
29
|
+
@include svg.color-with-svg(var(--neon-color-mobile-menu));
|
|
30
30
|
|
|
31
31
|
&,
|
|
32
32
|
.neon-svg--stroke,
|
|
33
33
|
.neon-svg--fill {
|
|
34
|
-
transition: color ease-in-out var(--neon-animation-speed-
|
|
34
|
+
transition: color ease-in-out var(--neon-animation-speed-fastest);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&:before {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
width: 100%;
|
|
43
43
|
opacity: 0;
|
|
44
44
|
height: var(--neon-height-mobile-menu-indicator);
|
|
45
|
-
transition:
|
|
45
|
+
transition: color ease-in-out var(--neon-animation-speed-fastest);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
.neon-link {
|
|
52
52
|
&:hover {
|
|
53
53
|
.neon-mobile-menu__link-container {
|
|
54
|
-
@include svg.color-with-svg(var(--neon-color-
|
|
54
|
+
@include svg.color-with-svg(var(--neon-color-mobile-menu-active));
|
|
55
55
|
|
|
56
56
|
&:before {
|
|
57
57
|
opacity: 1;
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
|
|
62
62
|
&:focus {
|
|
63
63
|
.neon-mobile-menu__link-container {
|
|
64
|
-
@include svg.color-with-svg(var(--neon-color-
|
|
64
|
+
@include svg.color-with-svg(var(--neon-color-mobile-menu-active));
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&.router-link-active {
|
|
69
69
|
.neon-mobile-menu__link-container {
|
|
70
|
-
@include svg.color-with-svg(var(--neon-color-
|
|
70
|
+
@include svg.color-with-svg(var(--neon-color-mobile-menu-active));
|
|
71
71
|
|
|
72
72
|
&:before {
|
|
73
73
|
opacity: 1;
|