@aotearoan/neon 12.1.0 → 13.0.0

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 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": "12.1.0",
4
+ "version": "13.0.0",
5
5
  "main": "./dist/neon.cjs.js",
6
6
  "module": "./dist/neon.es.js",
7
7
  "types": "./dist/src/neon.d.ts",
@@ -35,16 +35,4 @@ $message-height: calc(var(--neon-font-size-s) * var(--neon-line-height-ratio));
35
35
  }
36
36
  }
37
37
  }
38
-
39
- .neon--horizontal {
40
- gap: calc(4 * var(--neon-base-space));
41
-
42
- @include responsive.responsive(tablet) {
43
- gap: calc(3 * var(--neon-base-space));
44
- }
45
-
46
- @include responsive.responsive(mobile-large) {
47
- gap: calc(2 * var(--neon-base-space));
48
- }
49
- }
50
38
  }
@@ -6,6 +6,8 @@
6
6
  align-items: center;
7
7
  justify-content: flex-start;
8
8
  width: 100%;
9
+ max-width: 100%;
10
+ flex-wrap: wrap;
9
11
 
10
12
  &--gap-s {
11
13
  gap: var(--neon-gap-desktop-s);
@@ -74,5 +76,21 @@
74
76
  justify-content: center;
75
77
  }
76
78
  }
79
+
80
+ & > h1,
81
+ & > h2,
82
+ & > h3,
83
+ & > h4,
84
+ & > h5,
85
+ & > h6,
86
+ & > .neon-h0,
87
+ & > .neon-h1,
88
+ & > .neon-h2,
89
+ & > .neon-h3,
90
+ & > .neon-h4,
91
+ & > .neon-h5,
92
+ & > .neon-h6 {
93
+ margin-bottom: 0;
94
+ }
77
95
  }
78
96
  }
@@ -4,8 +4,10 @@
4
4
  .neon-linear-progress {
5
5
  user-select: none;
6
6
  flex-direction: row;
7
+ flex-wrap: nowrap;
7
8
  align-items: center;
8
9
  justify-content: center;
10
+ width: 100%;
9
11
 
10
12
  @each $color in palettes.$neon-functional-colors {
11
13
  &.neon-linear-progress--#{$color} {
@@ -229,24 +229,4 @@
229
229
  margin-bottom: calc(4 * var(--neon-base-space));
230
230
  }
231
231
  }
232
-
233
- .neon--horizontal {
234
- display: flex;
235
- flex-direction: row;
236
- align-items: center;
237
-
238
- & > *:not(:last-child) {
239
- margin-right: calc(4 * var(--neon-base-space));
240
- }
241
-
242
- @include responsive.responsive(mobile-large) {
243
- flex-direction: column;
244
- align-items: flex-start;
245
-
246
- & > *:not(:last-child) {
247
- margin-right: 0;
248
- margin-bottom: calc(3 * var(--neon-base-space));
249
- }
250
- }
251
- }
252
232
  }
@@ -18,19 +18,6 @@
18
18
  flex-direction: column;
19
19
  }
20
20
 
21
- .neon-row,
22
- .neon-horizontal {
23
- flex-direction: row;
24
- flex-wrap: wrap;
25
- align-items: center;
26
- @include layout.margin-vertical;
27
-
28
- @include responsive.responsive(tablet) {
29
- flex-direction: column;
30
- align-items: flex-start;
31
- }
32
- }
33
-
34
21
  .neon-space-evenly {
35
22
  width: 100%;
36
23
  justify-content: space-evenly;