@aotearoan/neon 23.2.3 → 23.2.5

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.
Files changed (36) hide show
  1. package/dist/components/user-input/field/NeonField.cjs.js +1 -1
  2. package/dist/components/user-input/field/NeonField.cjs.js.map +1 -1
  3. package/dist/components/user-input/field/NeonField.es.js +3 -3
  4. package/dist/components/user-input/field/NeonField.es.js.map +1 -1
  5. package/dist/components/user-input/field/NeonField.vue.cjs.js +1 -1
  6. package/dist/components/user-input/field/NeonField.vue.cjs.js.map +1 -1
  7. package/dist/components/user-input/field/NeonField.vue.es.js +4 -4
  8. package/dist/components/user-input/field/NeonField.vue.es.js.map +1 -1
  9. package/dist/components/user-input/file/NeonFile.cjs.js +1 -1
  10. package/dist/components/user-input/file/NeonFile.cjs.js.map +1 -1
  11. package/dist/components/user-input/file/NeonFile.es.js +25 -20
  12. package/dist/components/user-input/file/NeonFile.es.js.map +1 -1
  13. package/dist/components/user-input/file/NeonFile.vue.cjs.js +1 -1
  14. package/dist/components/user-input/file/NeonFile.vue.cjs.js.map +1 -1
  15. package/dist/components/user-input/file/NeonFile.vue.es.js +13 -12
  16. package/dist/components/user-input/file/NeonFile.vue.es.js.map +1 -1
  17. package/dist/src/components/navigation/dropdown-menu/NeonDropdownMenu.d.ts +27 -42
  18. package/dist/src/components/navigation/menu/NeonMenu.d.ts +27 -0
  19. package/dist/src/components/navigation/mobile-menu/NeonMobileMenu.d.ts +33 -24
  20. package/dist/src/components/presentation/badge/NeonBadge.d.ts +9 -0
  21. package/dist/src/components/presentation/dropdown/NeonDropdown.d.ts +11 -6
  22. package/dist/src/components/user-input/chip/NeonChip.d.ts +1 -1
  23. package/dist/src/components/user-input/date-picker/NeonDatePicker.d.ts +16 -8
  24. package/dist/src/components/user-input/field/NeonField.d.ts +2 -2
  25. package/dist/src/components/user-input/file/NeonFile.d.ts +91 -55
  26. package/dist/src/components/user-input/search/NeonSearch.d.ts +64 -4
  27. package/dist/src/components/user-input/select/NeonSelect.d.ts +165 -54
  28. package/package.json +1 -1
  29. package/src/sass/components/_banner.scss +5 -0
  30. package/src/sass/components/_drop-zone.scss +4 -9
  31. package/src/sass/components/_field.scss +1 -0
  32. package/src/sass/components/_file.scss +8 -0
  33. package/src/sass/components/_icon.scss +16 -0
  34. package/src/sass/components/_page-container.scss +2 -0
  35. package/src/sass/components/_select.scss +18 -1
  36. package/src/sass/variables.scss +27 -11
@@ -359,33 +359,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
359
359
  };
360
360
  id: {
361
361
  type: StringConstructor;
362
- default: null;
363
- };
362
+ default: null; /**
363
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
364
+ */
365
+ }; /**
366
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
367
+ */
364
368
  size: {
365
369
  type: () => NeonSize;
366
370
  default: NeonSize;
367
371
  };
368
372
  state: {
369
373
  type: () => import("../../../neon").NeonState;
370
- default: import("../../../neon").NeonState;
371
- };
374
+ default: import("../../../neon").NeonState; /**
375
+ * A list of options to render in the select.
376
+ */
377
+ }; /**
378
+ * A list of options to render in the select.
379
+ */
372
380
  color: {
373
381
  type: () => NeonFunctionalColor;
374
382
  default: NeonFunctionalColor;
383
+ }; /**
384
+ * A list of grouped options to render in the select.
385
+ */
386
+ buttonStyle: {
387
+ type: () => import("../../../neon").NeonButtonStyle;
388
+ default: import("../../../neon").NeonButtonStyle;
375
389
  };
376
390
  circular: {
377
391
  type: BooleanConstructor;
378
392
  default: null;
379
393
  };
380
394
  label: {
381
- type: StringConstructor; /**
382
- * Either a single string, indicating the key of the selected option or an array of selected keys in the case
383
- * multiple = true.
395
+ type: StringConstructor;
396
+ default: null; /**
397
+ * Allow multi-select.
384
398
  */
385
- default: null;
386
399
  };
387
400
  icon: {
388
- type: StringConstructor;
401
+ type: StringConstructor; /**
402
+ * Placeholder when multiple values are selected.
403
+ */
389
404
  default: null;
390
405
  };
391
406
  title: {
@@ -1073,33 +1088,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1073
1088
  };
1074
1089
  id: {
1075
1090
  type: StringConstructor;
1076
- default: null;
1077
- };
1091
+ default: null; /**
1092
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
1093
+ */
1094
+ }; /**
1095
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
1096
+ */
1078
1097
  size: {
1079
1098
  type: () => NeonSize;
1080
1099
  default: NeonSize;
1081
1100
  };
1082
1101
  state: {
1083
1102
  type: () => import("../../../neon").NeonState;
1084
- default: import("../../../neon").NeonState;
1085
- };
1103
+ default: import("../../../neon").NeonState; /**
1104
+ * A list of options to render in the select.
1105
+ */
1106
+ }; /**
1107
+ * A list of options to render in the select.
1108
+ */
1086
1109
  color: {
1087
1110
  type: () => NeonFunctionalColor;
1088
1111
  default: NeonFunctionalColor;
1112
+ }; /**
1113
+ * A list of grouped options to render in the select.
1114
+ */
1115
+ buttonStyle: {
1116
+ type: () => import("../../../neon").NeonButtonStyle;
1117
+ default: import("../../../neon").NeonButtonStyle;
1089
1118
  };
1090
1119
  circular: {
1091
1120
  type: BooleanConstructor;
1092
1121
  default: null;
1093
1122
  };
1094
1123
  label: {
1095
- type: StringConstructor; /**
1096
- * Either a single string, indicating the key of the selected option or an array of selected keys in the case
1097
- * multiple = true.
1124
+ type: StringConstructor;
1125
+ default: null; /**
1126
+ * Allow multi-select.
1098
1127
  */
1099
- default: null;
1100
1128
  };
1101
1129
  icon: {
1102
- type: StringConstructor;
1130
+ type: StringConstructor; /**
1131
+ * Placeholder when multiple values are selected.
1132
+ */
1103
1133
  default: null;
1104
1134
  };
1105
1135
  title: {
@@ -1116,6 +1146,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1116
1146
  size: NeonSize;
1117
1147
  color: NeonFunctionalColor;
1118
1148
  id: string;
1149
+ buttonStyle: import("../../../neon").NeonButtonStyle;
1119
1150
  state: import("../../../neon").NeonState;
1120
1151
  circular: boolean;
1121
1152
  directUpload: boolean;
@@ -1812,6 +1843,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1812
1843
  inverse: boolean;
1813
1844
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1814
1845
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1846
+ /**
1847
+ * <p>The <strong>NeonSelect</strong> is the equivalent of an HTML &lt;select&gt; form control. On touch devices
1848
+ * NeonSelect will use the native select for input. <strong>NeonSelect</strong> supports grouping and multiselect.</p>
1849
+ * <p><strong>Note:</strong> As well as the options described below, pass through attributes supported by
1850
+ * <a href="/presentation/dropdown">NeonDropdown</a> to change the style of the dropdown button.</p>
1851
+ */
1815
1852
  NeonList: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1816
1853
  modelValue: {
1817
1854
  type: () => import("../../../neon").NeonListItem[];
@@ -2791,33 +2828,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2791
2828
  };
2792
2829
  id: {
2793
2830
  type: StringConstructor;
2794
- default: null;
2795
- };
2831
+ default: null; /**
2832
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
2833
+ */
2834
+ }; /**
2835
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
2836
+ */
2796
2837
  size: {
2797
2838
  type: () => NeonSize;
2798
2839
  default: NeonSize;
2799
2840
  };
2800
2841
  state: {
2801
2842
  type: () => import("../../../neon").NeonState;
2802
- default: import("../../../neon").NeonState;
2803
- };
2843
+ default: import("../../../neon").NeonState; /**
2844
+ * A list of options to render in the select.
2845
+ */
2846
+ }; /**
2847
+ * A list of options to render in the select.
2848
+ */
2804
2849
  color: {
2805
2850
  type: () => NeonFunctionalColor;
2806
2851
  default: NeonFunctionalColor;
2852
+ }; /**
2853
+ * A list of grouped options to render in the select.
2854
+ */
2855
+ buttonStyle: {
2856
+ type: () => import("../../../neon").NeonButtonStyle;
2857
+ default: import("../../../neon").NeonButtonStyle;
2807
2858
  };
2808
2859
  circular: {
2809
2860
  type: BooleanConstructor;
2810
2861
  default: null;
2811
2862
  };
2812
2863
  label: {
2813
- type: StringConstructor; /**
2814
- * Either a single string, indicating the key of the selected option or an array of selected keys in the case
2815
- * multiple = true.
2864
+ type: StringConstructor;
2865
+ default: null; /**
2866
+ * Allow multi-select.
2816
2867
  */
2817
- default: null;
2818
2868
  };
2819
2869
  icon: {
2820
- type: StringConstructor;
2870
+ type: StringConstructor; /**
2871
+ * Placeholder when multiple values are selected.
2872
+ */
2821
2873
  default: null;
2822
2874
  };
2823
2875
  title: {
@@ -3505,33 +3557,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3505
3557
  };
3506
3558
  id: {
3507
3559
  type: StringConstructor;
3508
- default: null;
3509
- };
3560
+ default: null; /**
3561
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
3562
+ */
3563
+ }; /**
3564
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
3565
+ */
3510
3566
  size: {
3511
3567
  type: () => NeonSize;
3512
3568
  default: NeonSize;
3513
3569
  };
3514
3570
  state: {
3515
3571
  type: () => import("../../../neon").NeonState;
3516
- default: import("../../../neon").NeonState;
3517
- };
3572
+ default: import("../../../neon").NeonState; /**
3573
+ * A list of options to render in the select.
3574
+ */
3575
+ }; /**
3576
+ * A list of options to render in the select.
3577
+ */
3518
3578
  color: {
3519
3579
  type: () => NeonFunctionalColor;
3520
3580
  default: NeonFunctionalColor;
3581
+ }; /**
3582
+ * A list of grouped options to render in the select.
3583
+ */
3584
+ buttonStyle: {
3585
+ type: () => import("../../../neon").NeonButtonStyle;
3586
+ default: import("../../../neon").NeonButtonStyle;
3521
3587
  };
3522
3588
  circular: {
3523
3589
  type: BooleanConstructor;
3524
3590
  default: null;
3525
3591
  };
3526
3592
  label: {
3527
- type: StringConstructor; /**
3528
- * Either a single string, indicating the key of the selected option or an array of selected keys in the case
3529
- * multiple = true.
3593
+ type: StringConstructor;
3594
+ default: null; /**
3595
+ * Allow multi-select.
3530
3596
  */
3531
- default: null;
3532
3597
  };
3533
3598
  icon: {
3534
- type: StringConstructor;
3599
+ type: StringConstructor; /**
3600
+ * Placeholder when multiple values are selected.
3601
+ */
3535
3602
  default: null;
3536
3603
  };
3537
3604
  title: {
@@ -3548,6 +3615,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3548
3615
  size: NeonSize;
3549
3616
  color: NeonFunctionalColor;
3550
3617
  id: string;
3618
+ buttonStyle: import("../../../neon").NeonButtonStyle;
3551
3619
  state: import("../../../neon").NeonState;
3552
3620
  circular: boolean;
3553
3621
  directUpload: boolean;
@@ -4244,6 +4312,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4244
4312
  inverse: boolean;
4245
4313
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4246
4314
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4315
+ /**
4316
+ * <p>The <strong>NeonSelect</strong> is the equivalent of an HTML &lt;select&gt; form control. On touch devices
4317
+ * NeonSelect will use the native select for input. <strong>NeonSelect</strong> supports grouping and multiselect.</p>
4318
+ * <p><strong>Note:</strong> As well as the options described below, pass through attributes supported by
4319
+ * <a href="/presentation/dropdown">NeonDropdown</a> to change the style of the dropdown button.</p>
4320
+ */
4247
4321
  NeonList: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4248
4322
  modelValue: {
4249
4323
  type: () => import("../../../neon").NeonListItem[];
@@ -5412,33 +5486,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
5412
5486
  };
5413
5487
  id: {
5414
5488
  type: StringConstructor;
5415
- default: null;
5416
- };
5489
+ default: null; /**
5490
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
5491
+ */
5492
+ }; /**
5493
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
5494
+ */
5417
5495
  size: {
5418
5496
  type: () => NeonSize;
5419
5497
  default: NeonSize;
5420
5498
  };
5421
5499
  state: {
5422
5500
  type: () => import("../../../neon").NeonState;
5423
- default: import("../../../neon").NeonState;
5424
- };
5501
+ default: import("../../../neon").NeonState; /**
5502
+ * A list of options to render in the select.
5503
+ */
5504
+ }; /**
5505
+ * A list of options to render in the select.
5506
+ */
5425
5507
  color: {
5426
5508
  type: () => NeonFunctionalColor;
5427
5509
  default: NeonFunctionalColor;
5510
+ }; /**
5511
+ * A list of grouped options to render in the select.
5512
+ */
5513
+ buttonStyle: {
5514
+ type: () => import("../../../neon").NeonButtonStyle;
5515
+ default: import("../../../neon").NeonButtonStyle;
5428
5516
  };
5429
5517
  circular: {
5430
5518
  type: BooleanConstructor;
5431
5519
  default: null;
5432
5520
  };
5433
5521
  label: {
5434
- type: StringConstructor; /**
5435
- * Either a single string, indicating the key of the selected option or an array of selected keys in the case
5436
- * multiple = true.
5522
+ type: StringConstructor;
5523
+ default: null; /**
5524
+ * Allow multi-select.
5437
5525
  */
5438
- default: null;
5439
5526
  };
5440
5527
  icon: {
5441
- type: StringConstructor;
5528
+ type: StringConstructor; /**
5529
+ * Placeholder when multiple values are selected.
5530
+ */
5442
5531
  default: null;
5443
5532
  };
5444
5533
  title: {
@@ -6126,33 +6215,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
6126
6215
  };
6127
6216
  id: {
6128
6217
  type: StringConstructor;
6129
- default: null;
6130
- };
6218
+ default: null; /**
6219
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
6220
+ */
6221
+ }; /**
6222
+ * Display the placeholder as the first option in the select, this is useful as an alternative to a label.
6223
+ */
6131
6224
  size: {
6132
6225
  type: () => NeonSize;
6133
6226
  default: NeonSize;
6134
6227
  };
6135
6228
  state: {
6136
6229
  type: () => import("../../../neon").NeonState;
6137
- default: import("../../../neon").NeonState;
6138
- };
6230
+ default: import("../../../neon").NeonState; /**
6231
+ * A list of options to render in the select.
6232
+ */
6233
+ }; /**
6234
+ * A list of options to render in the select.
6235
+ */
6139
6236
  color: {
6140
6237
  type: () => NeonFunctionalColor;
6141
6238
  default: NeonFunctionalColor;
6239
+ }; /**
6240
+ * A list of grouped options to render in the select.
6241
+ */
6242
+ buttonStyle: {
6243
+ type: () => import("../../../neon").NeonButtonStyle;
6244
+ default: import("../../../neon").NeonButtonStyle;
6142
6245
  };
6143
6246
  circular: {
6144
6247
  type: BooleanConstructor;
6145
6248
  default: null;
6146
6249
  };
6147
6250
  label: {
6148
- type: StringConstructor; /**
6149
- * Either a single string, indicating the key of the selected option or an array of selected keys in the case
6150
- * multiple = true.
6251
+ type: StringConstructor;
6252
+ default: null; /**
6253
+ * Allow multi-select.
6151
6254
  */
6152
- default: null;
6153
6255
  };
6154
6256
  icon: {
6155
- type: StringConstructor;
6257
+ type: StringConstructor; /**
6258
+ * Placeholder when multiple values are selected.
6259
+ */
6156
6260
  default: null;
6157
6261
  };
6158
6262
  title: {
@@ -6169,6 +6273,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
6169
6273
  size: NeonSize;
6170
6274
  color: NeonFunctionalColor;
6171
6275
  id: string;
6276
+ buttonStyle: import("../../../neon").NeonButtonStyle;
6172
6277
  state: import("../../../neon").NeonState;
6173
6278
  circular: boolean;
6174
6279
  directUpload: boolean;
@@ -6865,6 +6970,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
6865
6970
  inverse: boolean;
6866
6971
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6867
6972
  }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6973
+ /**
6974
+ * <p>The <strong>NeonSelect</strong> is the equivalent of an HTML &lt;select&gt; form control. On touch devices
6975
+ * NeonSelect will use the native select for input. <strong>NeonSelect</strong> supports grouping and multiselect.</p>
6976
+ * <p><strong>Note:</strong> As well as the options described below, pass through attributes supported by
6977
+ * <a href="/presentation/dropdown">NeonDropdown</a> to change the style of the dropdown button.</p>
6978
+ */
6868
6979
  NeonList: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6869
6980
  modelValue: {
6870
6981
  type: () => import("../../../neon").NeonListItem[];
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.2.3",
4
+ "version": "23.2.5",
5
5
  "main": "./dist/neon.cjs.js",
6
6
  "module": "./dist/neon.es.js",
7
7
  "types": "./dist/src/neon.d.ts",
@@ -12,6 +12,10 @@
12
12
  --neon-font-weight-strong: var(--neon-font-weight-semi-bold);
13
13
  }
14
14
 
15
+ .neon-note__container {
16
+ padding: var(--neon-padding-note) 0;
17
+ }
18
+
15
19
  .neon-note__content {
16
20
  width: 100%;
17
21
  max-width: calc(var(--neon-max-width-page));
@@ -21,6 +25,7 @@
21
25
  align-items: center;
22
26
  gap: var(--neon-space-24);
23
27
  padding: 0 var(--neon-gutter);
28
+ margin: auto;
24
29
  }
25
30
  }
26
31
  }
@@ -2,23 +2,17 @@
2
2
 
3
3
  @mixin drop-zone {
4
4
  .neon-drop-zone {
5
- border: var(--neon-space-2) dashed rgba(var(--neon-rgb-drop-zone), 0.5);
5
+ border: var(--neon-border-drop-zone);
6
6
  border-radius: var(--neon-border-radius);
7
7
  @include layout.padding(1, true);
8
8
  cursor: copy;
9
- background-color: rgba(var(--neon-rgb-drop-zone-background), 0.5);
10
- color: rgba(var(--neon-rgb-drop-zone), 0.5);
9
+ background-color: var(--neon-background-color-drop-zone);
10
+ color: var(--neon-color-drop-zone);
11
11
  transition: background-color ease-in-out var(--neon-animation-speed-fast), color ease-in-out var(--neon-animation-speed-fast),
12
12
  border-left-color ease-in-out var(--neon-animation-speed-fast), border-top-color ease-in-out var(--neon-animation-speed-fast),
13
13
  border-bottom-color ease-in-out var(--neon-animation-speed-fast),
14
14
  border-right-color ease-in-out var(--neon-animation-speed-fast);
15
15
 
16
- &--active:not(.neon-drop-zone--disabled),
17
- &:hover:not(.neon-drop-zone--disabled) {
18
- border-color: rgb(var(--neon-rgb-drop-zone));
19
- color: rgb(var(--neon-rgb-drop-zone));
20
- }
21
-
22
16
  &--circular {
23
17
  border-radius: 50%;
24
18
  }
@@ -37,6 +31,7 @@
37
31
  &__container {
38
32
  justify-content: center;
39
33
  align-items: center;
34
+ text-align: center;
40
35
  }
41
36
  }
42
37
  }
@@ -39,6 +39,7 @@
39
39
  bottom: 0;
40
40
  font-size: var(--neon-font-size-s);
41
41
  min-height: calc(var(--neon-font-size-s) * var(--neon-line-height-ratio));
42
+ height: 100%;
42
43
  text-transform: none;
43
44
  letter-spacing: initial;
44
45
  font-weight: var(--neon-font-weight-normal);
@@ -45,6 +45,14 @@
45
45
  }
46
46
  }
47
47
 
48
+ &--direct-upload {
49
+ width: fit-content;
50
+
51
+ .neon-file__actions {
52
+ width: fit-content;
53
+ }
54
+ }
55
+
48
56
  gap: var(--neon-space-16);
49
57
  }
50
58
  }
@@ -7,6 +7,22 @@
7
7
  flex-direction: row;
8
8
  align-items: center;
9
9
  justify-content: center;
10
+
11
+ .neon-svg--fill-inverse {
12
+ fill: var(--neon-color-inverse);
13
+ }
14
+
15
+ .neon-svg--stroke-inverse {
16
+ stroke: var(--neon-color-inverse);
17
+ }
18
+
19
+ .neon-svg--fill-text {
20
+ fill: var(--neon-color-text-primary);
21
+ }
22
+
23
+ .neon-svg--stroke-text {
24
+ stroke: var(--neon-color-text-primary);
25
+ }
10
26
  }
11
27
 
12
28
  $neon-icon-types: (neon-expansion-indicator, neon-icon);
@@ -36,6 +36,8 @@
36
36
 
37
37
  @include responsive.responsive(mobile-large) {
38
38
  .neon-page-container {
39
+ min-height: 100%;
40
+
39
41
  &--hide-nav {
40
42
  min-height: 100%;
41
43
  --neon-height-mobile-menu: 0rem;
@@ -10,6 +10,23 @@
10
10
  margin-left: auto;
11
11
  }
12
12
 
13
+ .neon-dropdown__button {
14
+ padding-left: var(--neon-space-8);
15
+ font-weight: var(--neon-font-weight-input);
16
+
17
+ &.neon-button--s {
18
+ font-size: var(--neon-font-size-input-s);
19
+ }
20
+
21
+ &.neon-button--m {
22
+ font-size: var(--neon-font-size-input-m);
23
+ }
24
+
25
+ &.neon-button--l {
26
+ font-size: var(--neon-font-size-input-l);
27
+ }
28
+ }
29
+
13
30
  @each $color in palettes.$neon-functional-colors {
14
31
  &--#{$color} {
15
32
  .neon-select__option {
@@ -32,7 +49,7 @@
32
49
 
33
50
  &--with-placeholder {
34
51
  .neon-dropdown__button {
35
- color: var(--neon-color-placeholder);
52
+ color: rgba(var(--neon-rgb-placeholder), 0.6);
36
53
  font-style: var(--neon-font-style-placeholder);
37
54
  font-weight: var(--neon-font-weight-placeholder);
38
55
  }
@@ -2,6 +2,12 @@
2
2
  @import './palette';
3
3
  @import './color-variables';
4
4
 
5
+ @include responsive.responsive(mobile-large) {
6
+ body {
7
+ font-size: 17px; // don't use rems here - body font must be defined in pixels
8
+ }
9
+ }
10
+
5
11
  .neon {
6
12
  /*********************
7
13
  * Global Variables
@@ -109,8 +115,12 @@
109
115
  --neon-base-font-size: 16rem;
110
116
  --neon-typography-margin-unit: var(--neon-space-8); // base typography bottom margin unit
111
117
 
112
-
113
118
  --neon-font-size-m: var(--neon-base-font-size);
119
+
120
+ @include responsive.responsive(mobile-large) {
121
+ --neon-font-size-m: 17rem;
122
+ }
123
+
114
124
  --neon-font-size-s: calc(var(--neon-font-size-m) / var(--neon-typography-scale));
115
125
  --neon-font-size-xs: calc(var(--neon-font-size-s) / var(--neon-typography-scale));
116
126
  --neon-font-size-xxs: calc(var(--neon-font-size-xs) / var(--neon-typography-scale));
@@ -380,19 +390,19 @@
380
390
  /* input */
381
391
  --neon-border-radius-input: var(--neon-border-radius);
382
392
  --neon-border-width-input: var(--neon-border-width);
383
- --neon-font-size-placeholder: var(--neon-font-size-s);
393
+ --neon-font-size-placeholder: var(--neon-font-size-m);
384
394
  --neon-font-style-placeholder: italic;
385
395
  --neon-font-weight-placeholder: var(--neon-font-weight-normal);
386
396
  --neon-font-weight-input: var(--neon-font-weight-normal);
387
397
  --neon-line-height-input: var(--neon-line-height-ratio-large);
388
398
  --neon-opacity-input-background-active: 0.03125;
389
399
 
390
- --neon-font-size-input-s: var(--neon-font-size-s);
400
+ --neon-font-size-input-s: var(--neon-font-size-m);
391
401
  --neon-font-size-input-m: var(--neon-font-size-m);
392
402
  --neon-font-size-input-l: var(--neon-font-size-m);
393
403
 
394
404
  /* input indicator */
395
- --neon-font-size-input-indicator-s: var(--neon-font-size-s);
405
+ --neon-font-size-input-indicator-s: var(--neon-font-size-m);
396
406
  --neon-font-size-input-indicator-m: var(--neon-font-size-m);
397
407
  --neon-font-size-input-indicator-l: var(--neon-font-size-m);
398
408
  --neon-font-weight-input-indicator: var(--neon-font-weight-normal);
@@ -642,13 +652,16 @@
642
652
  --neon-color-input: var(--neon-color-text-secondary);
643
653
  --neon-border-color-input: var(--neon-border-color);
644
654
  --neon-background-color-input: rgba(var(--neon-rgb-neutral-d5), 0.5);
645
- --neon-color-placeholder: var(--neon-color-low-contrast-d3);
655
+ --neon-rgb-placeholder: var(--neon-rgb-neutral-d1);
656
+ --neon-color-placeholder: var(--neon-color-neutral-d1);
657
+
646
658
  --neon-background-color-autofill: var(--neon-color-primary-d5);
647
659
  --neon-color-autofill: var(--neon-color-text-secondary);
648
660
 
649
661
  /* drop zone */
650
- --neon-rgb-drop-zone-background: var(--neon-rgb-neutral-d5);
651
- --neon-rgb-drop-zone: var(--neon-rgb-neutral-l1);
662
+ --neon-background-color-drop-zone: var(--neon-background-color-card);
663
+ --neon-color-drop-zone: var(--neon-color-text-secondary);
664
+ --neon-border-drop-zone: 1rem dashed var(--neon-border-color);
652
665
 
653
666
  /* alerts */
654
667
  --neon-box-shadow-alert: calc(0.5 * var(--neon-base-space)) calc(0.5 * var(--neon-base-space)) calc(2 * var(--neon-base-space)) var(--neon-color-neutral-d5);
@@ -712,7 +725,7 @@
712
725
  --neon-color-loading-3: rgba(82, 82, 82, 0.5);
713
726
 
714
727
  /* scrollbars */
715
- --neon-color-scrollbar: rgba(255, 255, 255, 0.05);
728
+ --neon-color-scrollbar: rgba(255, 255, 255, 0.125);
716
729
 
717
730
  /* overlays */
718
731
  --neon-background-color-overlay: rgba(var(--neon-rgb-neutral-d5), 0.75);
@@ -961,13 +974,16 @@
961
974
  --neon-color-input: var(--neon-color-text-secondary);
962
975
  --neon-border-color-input: var(--neon-border-color);
963
976
  --neon-background-color-input: var(--neon-color-high-contrast-l5);
964
- --neon-color-placeholder: var(--neon-color-low-contrast-l3);
977
+ --neon-rgb-placeholder: var(--neon-rgb-neutral-l1);
978
+ --neon-color-placeholder: var(--neon-color-neutral-l1);
979
+
965
980
  --neon-background-color-autofill: var(--neon-color-primary-l5);
966
981
  --neon-color-autofill: var(--neon-color-text-secondary);
967
982
 
968
983
  /* drop zone */
969
- --neon-rgb-drop-zone-background: var(--neon-rgb-high-contrast-l4);
970
- --neon-rgb-drop-zone: var(--neon-rgb-text-secondary);
984
+ --neon-background-color-drop-zone: var(--neon-background-color-card);
985
+ --neon-color-drop-zone: var(--neon-color-text-secondary);
986
+ --neon-border-drop-zone: 1rem dashed var(--neon-border-color);
971
987
 
972
988
  /* alerts */
973
989
  --neon-box-shadow-alert: calc(0.5 * var(--neon-base-space)) calc(0.5 * var(--neon-base-space)) calc(2 * var(--neon-base-space)) rgba(var(--neon-rgb-neutral-d1), 0.5);