@aotearoan/neon 28.7.5 → 28.7.6
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/package.json +1 -1
- package/src/sass/components/_drawer.scss +2 -0
- package/src/sass/components/_field.scss +1 -0
- package/src/sass/components/_footer.scss +6 -0
- package/src/sass/components/_page.scss +2 -1
- package/src/sass/components/_splash-loader.scss +1 -1
- package/src/sass/variables-dark.scss +11 -9
- package/src/sass/variables-global.scss +18 -10
- package/src/sass/variables-light.scss +10 -9
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": "28.7.
|
|
4
|
+
"version": "28.7.6",
|
|
5
5
|
"main": "./dist/neon.cjs.js",
|
|
6
6
|
"module": "./dist/neon.es.js",
|
|
7
7
|
"types": "./dist/src/neon.d.ts",
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
&__container {
|
|
7
7
|
position: fixed;
|
|
8
8
|
overflow: hidden;
|
|
9
|
+
padding: var(--neon-space-20);
|
|
9
10
|
margin: 0;
|
|
10
11
|
z-index: var(--neon-z-index-top);
|
|
11
12
|
@include layout.padding($multiplier: 0.75);
|
|
@@ -111,6 +112,7 @@
|
|
|
111
112
|
pointer-events: auto;
|
|
112
113
|
z-index: var(--neon-z-index-top);
|
|
113
114
|
transition: opacity ease-in-out calc(0.5 * var(--neon-animation-speed-fast));
|
|
115
|
+
padding: var(--neon-space-20);
|
|
114
116
|
}
|
|
115
117
|
}
|
|
116
118
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
.neon-page__container {
|
|
16
16
|
@include layout.min-height(100);
|
|
17
|
-
overflow
|
|
17
|
+
overflow: hidden;
|
|
18
18
|
|
|
19
19
|
@include responsive.responsive(larger-than-tablet) {
|
|
20
20
|
padding-left: var(--neon-gutter-desktop);
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
&--center {
|
|
55
55
|
.neon-page__container {
|
|
56
56
|
margin: 0 auto;
|
|
57
|
+
min-width: 100vw;
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
|
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
* DARK THEME VARIABLES
|
|
3
3
|
**********************/
|
|
4
4
|
.neon.neon-mode--dark {
|
|
5
|
+
-webkit-tap-highlight-color: var(--neon-color-low-contrast-d5);
|
|
6
|
+
|
|
5
7
|
/**
|
|
6
8
|
* @component NeonCard
|
|
7
9
|
* Background color of the card.
|
|
8
10
|
*/
|
|
9
|
-
--neon-background-color-card: var(--neon-color-
|
|
11
|
+
--neon-background-color-card: var(--neon-color-high-contrast-d5);
|
|
10
12
|
/**
|
|
11
13
|
* @component NeonCard
|
|
12
14
|
* Card border.
|
|
13
15
|
*/
|
|
14
|
-
--neon-border-card:
|
|
16
|
+
--neon-border-card: none;
|
|
15
17
|
/**
|
|
16
18
|
* Default background color. This is generally the background color of the page.
|
|
17
19
|
*/
|
|
@@ -753,7 +755,7 @@
|
|
|
753
755
|
/**
|
|
754
756
|
* HTML pre element background color.
|
|
755
757
|
*/
|
|
756
|
-
--neon-background-color-pre: var(--neon-color-
|
|
758
|
+
--neon-background-color-pre: var(--neon-color-high-contrast-d4);
|
|
757
759
|
|
|
758
760
|
|
|
759
761
|
/* toggle */
|
|
@@ -1162,7 +1164,7 @@
|
|
|
1162
1164
|
* @component NeonDrawer,NeonModal,NeonDialog
|
|
1163
1165
|
* Overlay background color when focussed content is open.
|
|
1164
1166
|
*/
|
|
1165
|
-
--neon-background-color-overlay: rgba(var(--neon-rgb-
|
|
1167
|
+
--neon-background-color-overlay: rgba(var(--neon-rgb-inverse), .75);
|
|
1166
1168
|
/**
|
|
1167
1169
|
* @component NeonDrawer,NeonModal,NeonDialog
|
|
1168
1170
|
* Opaque overlay background color when focussed content is open.
|
|
@@ -1276,12 +1278,12 @@
|
|
|
1276
1278
|
* @component NeonImageCarousel
|
|
1277
1279
|
* Color of the carousel navigation indicator.
|
|
1278
1280
|
*/
|
|
1279
|
-
--neon-color-image-carousel-nav-indicator: var(--neon-color-
|
|
1281
|
+
--neon-color-image-carousel-nav-indicator: var(--neon-color-neutral-d1);
|
|
1280
1282
|
/**
|
|
1281
1283
|
* @component NeonImageCarousel
|
|
1282
1284
|
* Color of the carousel navigation indicator when in expanded mode.
|
|
1283
1285
|
*/
|
|
1284
|
-
--neon-color-image-carousel-expanded-nav-indicator: var(--neon-color-
|
|
1286
|
+
--neon-color-image-carousel-expanded-nav-indicator: var(--neon-color-neutral-d1);
|
|
1285
1287
|
/**
|
|
1286
1288
|
* @component NeonImageCarousel
|
|
1287
1289
|
* Color of the buttons in expanded mode.
|
|
@@ -1291,12 +1293,12 @@
|
|
|
1291
1293
|
* @component NeonImageCarousel
|
|
1292
1294
|
* Color of the disabled buttons in expanded mode.
|
|
1293
1295
|
*/
|
|
1294
|
-
--neon-color-image-carousel-expanded-button-disabled: var(--neon-color-
|
|
1296
|
+
--neon-color-image-carousel-expanded-button-disabled: var(--neon-color-disabled-text);
|
|
1295
1297
|
/**
|
|
1296
1298
|
* @component NeonImageCarousel
|
|
1297
1299
|
* Background color of the buttons in expanded mode.
|
|
1298
1300
|
*/
|
|
1299
|
-
--neon-background-color-image-carousel-expanded-button: var(--neon-color-
|
|
1301
|
+
--neon-background-color-image-carousel-expanded-button: var(--neon-color-neutral-d4);
|
|
1300
1302
|
/**
|
|
1301
1303
|
* @component NeonImageCarousel
|
|
1302
1304
|
* Color of the image label in expanded mode.
|
|
@@ -1306,7 +1308,7 @@
|
|
|
1306
1308
|
* @component NeonImageCarousel
|
|
1307
1309
|
* Text shadow in expanded mode. This is necessary to make the text readable on top of the image in all cases.
|
|
1308
1310
|
*/
|
|
1309
|
-
--neon-text-shadow-image-carousel-expanded:
|
|
1311
|
+
--neon-text-shadow-image-carousel-expanded: none;
|
|
1310
1312
|
|
|
1311
1313
|
|
|
1312
1314
|
/* tree menu */
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* The maximum page width - topnav, footer and page content will be limited to this width for better layout and
|
|
18
18
|
* usability (does not include side nav).
|
|
19
19
|
*/
|
|
20
|
-
--neon-max-width-page:
|
|
20
|
+
--neon-max-width-page: 1536rem;
|
|
21
21
|
|
|
22
22
|
/** standardized spacings 1rem = 1px **/
|
|
23
23
|
/** 1rem spacing **/
|
|
@@ -200,12 +200,12 @@
|
|
|
200
200
|
* The background color for light mode, prefer <em>--neon-background-color</em> unless this is required for a
|
|
201
201
|
* specific use case on dark mode.
|
|
202
202
|
*/
|
|
203
|
-
--neon-background-color-light: var(--neon-color-high-contrast-
|
|
203
|
+
--neon-background-color-light: var(--neon-color-high-contrast-l5);
|
|
204
204
|
/**
|
|
205
205
|
* The background color for dark mode, prefer <em>--neon-background-color</em> unless this is required for a
|
|
206
206
|
* specific use case on light mode.
|
|
207
207
|
*/
|
|
208
|
-
--neon-background-color-dark: var(--neon-color-
|
|
208
|
+
--neon-background-color-dark: var(--neon-color-high-contrast-d5);
|
|
209
209
|
|
|
210
210
|
/** z-index **/
|
|
211
211
|
/** z-index below the default */
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
* @component NeonMenu
|
|
717
717
|
* Menu font weight
|
|
718
718
|
*/
|
|
719
|
-
--neon-font-weight-menu: var(--neon-font-weight-
|
|
719
|
+
--neon-font-weight-menu: var(--neon-font-weight-medium);
|
|
720
720
|
/**
|
|
721
721
|
* @component NeonMenu
|
|
722
722
|
* Menu text transformation
|
|
@@ -1039,7 +1039,7 @@
|
|
|
1039
1039
|
* @component NeonNote
|
|
1040
1040
|
* Font weight of the note text
|
|
1041
1041
|
*/
|
|
1042
|
-
--neon-font-weight-note-text: var(--neon-font-weight-
|
|
1042
|
+
--neon-font-weight-note-text: var(--neon-font-weight-normal);
|
|
1043
1043
|
/**
|
|
1044
1044
|
* @component NeonNote
|
|
1045
1045
|
* Font size of the note title
|
|
@@ -1077,12 +1077,12 @@
|
|
|
1077
1077
|
* @component NeonLink
|
|
1078
1078
|
* Default underline thickness of the link
|
|
1079
1079
|
*/
|
|
1080
|
-
--neon-text-decoration-thickness-link:
|
|
1080
|
+
--neon-text-decoration-thickness-link: 1.5rem;
|
|
1081
1081
|
/**
|
|
1082
1082
|
* @component NeonLink
|
|
1083
1083
|
* Default underline thickness of the link when hovered
|
|
1084
1084
|
*/
|
|
1085
|
-
--neon-text-decoration-thickness-link-hover:
|
|
1085
|
+
--neon-text-decoration-thickness-link-hover: 1.5rem;
|
|
1086
1086
|
/**
|
|
1087
1087
|
* @component NeonLink
|
|
1088
1088
|
* Offset of the link underline from the text
|
|
@@ -1161,7 +1161,7 @@
|
|
|
1161
1161
|
* @component NeonInput,NeonTextarea,NeonNumber,NeonPassword
|
|
1162
1162
|
* Background color opacity when input is active
|
|
1163
1163
|
*/
|
|
1164
|
-
--neon-opacity-input-background-active: 0
|
|
1164
|
+
--neon-opacity-input-background-active: 0;
|
|
1165
1165
|
|
|
1166
1166
|
/**
|
|
1167
1167
|
* @component NeonInput,NeonTextarea,NeonNumber,NeonPassword
|
|
@@ -1356,7 +1356,7 @@
|
|
|
1356
1356
|
* @component NeonImageDevice
|
|
1357
1357
|
* Image carousel background blur radius when opened full screen
|
|
1358
1358
|
*/
|
|
1359
|
-
--neon-blur-radius-image-carousel:
|
|
1359
|
+
--neon-blur-radius-image-carousel: 0;
|
|
1360
1360
|
|
|
1361
1361
|
/* tree menu */
|
|
1362
1362
|
/**
|
|
@@ -1398,7 +1398,7 @@
|
|
|
1398
1398
|
* @component NeonTreeMenu
|
|
1399
1399
|
* Tree menu padding left for items (indent)
|
|
1400
1400
|
*/
|
|
1401
|
-
--neon-padding-left-tree-menu-items:
|
|
1401
|
+
--neon-padding-left-tree-menu-items: calc(var(--neon-space-24) + var(--neon-space-4));
|
|
1402
1402
|
|
|
1403
1403
|
/* sticky buttons */
|
|
1404
1404
|
/**
|
|
@@ -1442,4 +1442,12 @@
|
|
|
1442
1442
|
* Set the min width of the card list grid card
|
|
1443
1443
|
*/
|
|
1444
1444
|
--neon-min-width-card-list-grid-card: 288rem;
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
/* Field component */
|
|
1448
|
+
/**
|
|
1449
|
+
* @component NeonField
|
|
1450
|
+
* Set the margin below the field component
|
|
1451
|
+
*/
|
|
1452
|
+
--neon-margin-bottom-field: var(--neon-space-8);
|
|
1445
1453
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* LIGHT THEME VARIABLES
|
|
3
3
|
*********************/
|
|
4
4
|
.neon.neon-mode--light {
|
|
5
|
+
-webkit-tap-highlight-color: var(--neon-color-low-contrast-l5);
|
|
5
6
|
/**
|
|
6
7
|
* @component NeonCard
|
|
7
8
|
* Background color of the card.
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
* @component NeonCard
|
|
12
13
|
* Card border.
|
|
13
14
|
*/
|
|
14
|
-
--neon-border-card:
|
|
15
|
+
--neon-border-card: none;
|
|
15
16
|
/**
|
|
16
17
|
* Default background color. This is generally the background color of the page.
|
|
17
18
|
*/
|
|
@@ -753,7 +754,7 @@
|
|
|
753
754
|
/**
|
|
754
755
|
* HTML pre element background color.
|
|
755
756
|
*/
|
|
756
|
-
--neon-background-color-pre: var(--neon-color-
|
|
757
|
+
--neon-background-color-pre: var(--neon-color-high-contrast-d4);
|
|
757
758
|
|
|
758
759
|
|
|
759
760
|
/* toggle */
|
|
@@ -1162,7 +1163,7 @@
|
|
|
1162
1163
|
* @component NeonDrawer,NeonModal,NeonDialog
|
|
1163
1164
|
* Overlay background color when focussed content is open.
|
|
1164
1165
|
*/
|
|
1165
|
-
--neon-background-color-overlay: rgba(var(--neon-rgb-
|
|
1166
|
+
--neon-background-color-overlay: rgba(var(--neon-rgb-text-primary), .5);
|
|
1166
1167
|
/**
|
|
1167
1168
|
* @component NeonDrawer,NeonModal,NeonDialog
|
|
1168
1169
|
* Opaque overlay background color when focussed content is open.
|
|
@@ -1276,27 +1277,27 @@
|
|
|
1276
1277
|
* @component NeonImageCarousel
|
|
1277
1278
|
* Color of the carousel navigation indicator.
|
|
1278
1279
|
*/
|
|
1279
|
-
--neon-color-image-carousel-nav-indicator: var(--neon-color-
|
|
1280
|
+
--neon-color-image-carousel-nav-indicator: var(--neon-color-neutral-l1);
|
|
1280
1281
|
/**
|
|
1281
1282
|
* @component NeonImageCarousel
|
|
1282
1283
|
* Color of the carousel navigation indicator when in expanded mode.
|
|
1283
1284
|
*/
|
|
1284
|
-
--neon-color-image-carousel-expanded-nav-indicator: var(--neon-color-
|
|
1285
|
+
--neon-color-image-carousel-expanded-nav-indicator: var(--neon-color-neutral-l1);
|
|
1285
1286
|
/**
|
|
1286
1287
|
* @component NeonImageCarousel
|
|
1287
1288
|
* Color of the buttons in expanded mode.
|
|
1288
1289
|
*/
|
|
1289
|
-
--neon-color-image-carousel-expanded-button: var(--neon-color-
|
|
1290
|
+
--neon-color-image-carousel-expanded-button: var(--neon-color-text-primary);
|
|
1290
1291
|
/**
|
|
1291
1292
|
* @component NeonImageCarousel
|
|
1292
1293
|
* Color of the disabled buttons in expanded mode.
|
|
1293
1294
|
*/
|
|
1294
|
-
--neon-color-image-carousel-expanded-button-disabled: var(--neon-color-
|
|
1295
|
+
--neon-color-image-carousel-expanded-button-disabled: var(--neon-color-disabled-text);
|
|
1295
1296
|
/**
|
|
1296
1297
|
* @component NeonImageCarousel
|
|
1297
1298
|
* Background color of the buttons in expanded mode.
|
|
1298
1299
|
*/
|
|
1299
|
-
--neon-background-color-image-carousel-expanded-button: var(--neon-color-
|
|
1300
|
+
--neon-background-color-image-carousel-expanded-button: var(--neon-color-neutral-l4);
|
|
1300
1301
|
/**
|
|
1301
1302
|
* @component NeonImageCarousel
|
|
1302
1303
|
* Color of the image label in expanded mode.
|
|
@@ -1306,7 +1307,7 @@
|
|
|
1306
1307
|
* @component NeonImageCarousel
|
|
1307
1308
|
* Text shadow in expanded mode. This is necessary to make the text readable on top of the image in all cases.
|
|
1308
1309
|
*/
|
|
1309
|
-
--neon-text-shadow-image-carousel-expanded:
|
|
1310
|
+
--neon-text-shadow-image-carousel-expanded: none;
|
|
1310
1311
|
|
|
1311
1312
|
|
|
1312
1313
|
/* tree menu */
|