@aotearoan/neon 23.0.0 → 23.0.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/components/layout/page-container/NeonPageContainer.cjs.js +2 -0
- package/dist/components/layout/page-container/NeonPageContainer.cjs.js.map +1 -0
- package/dist/components/layout/page-container/NeonPageContainer.es.js +20 -0
- package/dist/components/layout/page-container/NeonPageContainer.es.js.map +1 -0
- package/dist/components/layout/page-container/NeonPageContainer.vue.cjs.js +2 -0
- package/dist/components/layout/page-container/NeonPageContainer.vue.cjs.js.map +1 -0
- package/dist/components/layout/page-container/NeonPageContainer.vue.es.js +23 -0
- package/dist/components/layout/page-container/NeonPageContainer.vue.es.js.map +1 -0
- package/dist/components/navigation/menu/NeonMenu.vue.cjs.js +1 -1
- package/dist/components/navigation/menu/NeonMenu.vue.cjs.js.map +1 -1
- package/dist/components/navigation/menu/NeonMenu.vue.es.js +2 -2
- package/dist/components/navigation/menu/NeonMenu.vue.es.js.map +1 -1
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.cjs.js +1 -1
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.cjs.js.map +1 -1
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.vue.es.js +1 -1
- package/dist/components/navigation/mobile-menu/NeonMobileMenu.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 +62 -69
- package/dist/components/user-input/input/NeonInput.es.js.map +1 -1
- package/dist/neon.cjs.js +1 -1
- package/dist/neon.es.js +145 -143
- package/dist/neon.es.js.map +1 -1
- package/dist/src/components/layout/page-container/NeonPageContainer.d.ts +96 -0
- package/dist/src/components/layout/page-container/NeonPageContainer.vue.d.ts +2 -0
- package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +33 -33
- package/dist/src/components/navigation/menu/NeonMenu.d.ts +33 -33
- package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +33 -33
- package/dist/src/components/presentation/badge/NeonBadge.d.ts +23 -65
- package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +47 -23
- package/dist/src/components/user-input/color/NeonColor.d.ts +3 -3
- package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +38 -94
- package/dist/src/components/user-input/file/NeonFile.d.ts +29 -77
- package/dist/src/components/user-input/input/NeonInput.d.ts +3 -3
- package/dist/src/components/user-input/number/NeonNumber.d.ts +3 -3
- package/dist/src/components/user-input/password/NeonPassword.d.ts +3 -3
- package/dist/src/components/user-input/search/NeonSearch.d.ts +212 -68
- package/dist/src/components/user-input/select/NeonSelect.d.ts +51 -213
- package/dist/src/neon.d.ts +1 -0
- package/package.json +1 -1
- package/src/sass/components/_drawer.scss +2 -1
- package/src/sass/components/_dropdown.scss +1 -0
- package/src/sass/components/_field-group.scss +15 -4
- package/src/sass/components/_number.scss +6 -6
- package/src/sass/components/_page-container.scss +55 -0
- package/src/sass/components/_toggle-chip.scss +7 -6
- package/src/sass/components/components.scss +2 -1
- package/src/sass/includes/_dependencies.scss +1 -0
- package/src/sass/theme.scss +4 -0
- package/src/sass/variables.scss +5 -0
|
@@ -144,10 +144,21 @@
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
}
|
|
148
147
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
.neon-button {
|
|
149
|
+
margin-left: calc(-1 * var(--neon-border-width));
|
|
150
|
+
z-index: var(--neon-z-index-above);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.neon-number {
|
|
154
|
+
width: 100%;
|
|
155
|
+
|
|
156
|
+
input.neon-number__input.neon-input__textfield {
|
|
157
|
+
&,
|
|
158
|
+
&:focus {
|
|
159
|
+
border: none;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
152
163
|
}
|
|
153
164
|
}
|
|
@@ -111,6 +111,12 @@
|
|
|
111
111
|
.neon-input__textfield:focus {
|
|
112
112
|
max-width: calc(100% + var(--neon-border-width));
|
|
113
113
|
}
|
|
114
|
+
|
|
115
|
+
.neon-input {
|
|
116
|
+
.neon-icon {
|
|
117
|
+
display: none;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
114
120
|
}
|
|
115
121
|
|
|
116
122
|
.neon-input .neon-input__textfield {
|
|
@@ -130,11 +136,5 @@
|
|
|
130
136
|
margin: 0;
|
|
131
137
|
}
|
|
132
138
|
}
|
|
133
|
-
|
|
134
|
-
.neon-input {
|
|
135
|
-
.neon-icon {
|
|
136
|
-
display: none;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
139
|
}
|
|
140
140
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use '../includes/layout';
|
|
2
|
+
@use '../includes/responsive';
|
|
3
|
+
@use '../includes/svg';
|
|
4
|
+
|
|
5
|
+
@mixin page-container {
|
|
6
|
+
.neon-page-container {
|
|
7
|
+
padding-bottom: calc(var(--neon-space-20) + var(--neon-height-mobile-menu) + var(--neon-border-width));
|
|
8
|
+
gap: var(--neon-gutter);
|
|
9
|
+
|
|
10
|
+
@include layout.min-height(
|
|
11
|
+
100,
|
|
12
|
+
'var(--neon-top-nav-height-desktop) + var(--neon-border-width-top-nav) + var(--neon-footer-height-desktop) + var(--neon-border-width-footer)'
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
@include responsive.responsive(tablet) {
|
|
16
|
+
@include layout.min-height(
|
|
17
|
+
100,
|
|
18
|
+
'var(--neon-top-nav-height-tablet) + var(--neon-border-width-top-nav) + var(--neon-footer-height-tablet) + var(--neon-border-width-footer)'
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@include responsive.responsive(mobile-large) {
|
|
23
|
+
@include layout.min-height(100);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.neon-page-container--hide-nav {
|
|
27
|
+
@include layout.min-height(100, 'var(--neon-footer-height-desktop) + var(--neon-border-width-footer)');
|
|
28
|
+
|
|
29
|
+
@include responsive.responsive(tablet) {
|
|
30
|
+
@include layout.min-height(100, 'var(--neon-footer-height-tablet) + var(--neon-border-width-footer)');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@include responsive.responsive(mobile-large) {
|
|
34
|
+
@include layout.min-height(100);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.neon-page-container--with-sticky-buttons {
|
|
39
|
+
padding-bottom: calc(
|
|
40
|
+
var(--neon-height-page-container-sticky-buttons) + var(--neon-space-20) + var(--neon-height-mobile-menu) +
|
|
41
|
+
var(--neon-height-mobile-menu-indicator)
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h1,
|
|
46
|
+
.neon-page-container__title {
|
|
47
|
+
padding-top: var(--neon-gutter);
|
|
48
|
+
margin-bottom: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@include responsive.responsive(larger-than-mobile-large) {
|
|
52
|
+
padding-bottom: var(--neon-space-96);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@use '../includes/palettes';
|
|
2
2
|
@use '../includes/svg';
|
|
3
3
|
|
|
4
|
-
@mixin neon-toggle-chip-size($neon-toggle-chip-size, $neon-toggle-chip-padding) {
|
|
4
|
+
@mixin neon-toggle-chip-size($neon-toggle-chip-size, $neon-toggle-chip-font-size, $neon-toggle-chip-padding) {
|
|
5
5
|
height: var(--neon-size-#{$neon-toggle-chip-size});
|
|
6
|
-
font-size: var(--neon-font-size-#{$neon-toggle-chip-size});
|
|
6
|
+
font-size: var(--neon-font-size-#{$neon-toggle-chip-font-size});
|
|
7
7
|
padding-left: calc(#{$neon-toggle-chip-padding} * var(--neon-space-4));
|
|
8
8
|
padding-right: calc(#{$neon-toggle-chip-padding} * var(--neon-space-4));
|
|
9
9
|
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
user-select: none;
|
|
62
62
|
display: flex;
|
|
63
63
|
align-items: center;
|
|
64
|
+
white-space: nowrap;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
&__input {
|
|
@@ -81,19 +82,19 @@
|
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
&--xs {
|
|
84
|
-
@include neon-toggle-chip-size('xs', 2);
|
|
85
|
+
@include neon-toggle-chip-size('xs', 's', 2);
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
&--s {
|
|
88
|
-
@include neon-toggle-chip-size('s', 2.5);
|
|
89
|
+
@include neon-toggle-chip-size('s', 'm', 2.5);
|
|
89
90
|
}
|
|
90
91
|
|
|
91
92
|
&--m {
|
|
92
|
-
@include neon-toggle-chip-size('m', 3.5);
|
|
93
|
+
@include neon-toggle-chip-size('m', 'm', 3.5);
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
&--l {
|
|
96
|
-
@include neon-toggle-chip-size('l', 5);
|
|
97
|
+
@include neon-toggle-chip-size('l', 'l', 5);
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
&:active:not(.neon-toggle-chip--disabled):not(.neon-toggle-chip--show-check) {
|
package/src/sass/theme.scss
CHANGED
package/src/sass/variables.scss
CHANGED
|
@@ -311,6 +311,8 @@
|
|
|
311
311
|
/* drawer */
|
|
312
312
|
--neon-border-width-drawer: 0;
|
|
313
313
|
--neon-border-radius-drawer: 16rem;
|
|
314
|
+
--neon-height-drawer: auto;
|
|
315
|
+
--neon-width-drawer: --neon-side-nav-width;
|
|
314
316
|
|
|
315
317
|
/* radio buttons */
|
|
316
318
|
--neon-border-radius-radio-button: 50%;
|
|
@@ -419,6 +421,9 @@
|
|
|
419
421
|
/* image carousel */
|
|
420
422
|
--neon-blur-radius-image-carousel: 5px;
|
|
421
423
|
|
|
424
|
+
/* page container */
|
|
425
|
+
--neon-height-page-container-sticky-buttons: 72rem;
|
|
426
|
+
|
|
422
427
|
/**********************
|
|
423
428
|
* DARK THEME VARIABLES
|
|
424
429
|
**********************/
|