nexa-ui-kit 0.11.6 → 0.11.9

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 (95) hide show
  1. package/dist/components/NAlert.js +2 -14
  2. package/dist/components/NAlert.nexa +3 -14
  3. package/dist/components/NAutocomplete.js +1 -1
  4. package/dist/components/NAutocomplete.nexa +2 -1
  5. package/dist/components/NAvatar.js +0 -5
  6. package/dist/components/NAvatar.nexa +1 -5
  7. package/dist/components/NBadge.js +0 -6
  8. package/dist/components/NBadge.nexa +1 -6
  9. package/dist/components/NBottomSheet.js +0 -5
  10. package/dist/components/NBottomSheet.nexa +1 -5
  11. package/dist/components/NButton.js +219 -296
  12. package/dist/components/NButton.nexa +241 -320
  13. package/dist/components/NCard.js +39 -82
  14. package/dist/components/NCard.nexa +27 -71
  15. package/dist/components/NCheckbox.js +74 -63
  16. package/dist/components/NCheckbox.nexa +64 -44
  17. package/dist/components/NChips.nexa +1 -0
  18. package/dist/components/NDataTable.js +300 -356
  19. package/dist/components/NDataTable.nexa +265 -320
  20. package/dist/components/NDatepicker.js +4 -25
  21. package/dist/components/NDatepicker.nexa +5 -25
  22. package/dist/components/NForm.nexa +1 -0
  23. package/dist/components/NFormField.js +0 -5
  24. package/dist/components/NFormField.nexa +1 -5
  25. package/dist/components/NImage.js +1 -6
  26. package/dist/components/NImage.nexa +2 -6
  27. package/dist/components/NInput.js +96 -263
  28. package/dist/components/NInput.nexa +89 -259
  29. package/dist/components/NInputNumber.nexa +1 -1
  30. package/dist/components/NModal.js +1 -118
  31. package/dist/components/NModal.nexa +2 -119
  32. package/dist/components/NMultiSelect.js +1 -1
  33. package/dist/components/NMultiSelect.nexa +2 -1
  34. package/dist/components/NPaginator.js +1 -11
  35. package/dist/components/NPaginator.nexa +2 -11
  36. package/dist/components/NPassword.nexa +1 -0
  37. package/dist/components/NProgressBar.js +0 -11
  38. package/dist/components/NProgressBar.nexa +1 -11
  39. package/dist/components/NRadio.js +1 -8
  40. package/dist/components/NRadio.nexa +2 -8
  41. package/dist/components/NScrollView.js +0 -6
  42. package/dist/components/NScrollView.nexa +1 -6
  43. package/dist/components/NSelect.js +7 -35
  44. package/dist/components/NSelect.nexa +8 -35
  45. package/dist/components/NSkeleton.js +3 -9
  46. package/dist/components/NSkeleton.nexa +4 -9
  47. package/dist/components/NSwitch.js +0 -6
  48. package/dist/components/NSwitch.nexa +1 -6
  49. package/dist/components/NTabs.js +0 -11
  50. package/dist/components/NTabs.nexa +1 -11
  51. package/dist/components/NTag.js +1 -11
  52. package/dist/components/NTag.nexa +2 -11
  53. package/dist/components/NToastContainer.js +3 -27
  54. package/dist/components/NToastContainer.nexa +4 -27
  55. package/dist/components/NTooltip.js +0 -13
  56. package/dist/components/NTooltip.nexa +1 -13
  57. package/dist/components/NTreeMenu.js +1 -21
  58. package/dist/components/NTreeMenu.nexa +2 -21
  59. package/dist/components/NVirtualList.js +0 -2
  60. package/dist/components/NVirtualList.nexa +1 -2
  61. package/dist/styles/tokens.css +82 -173
  62. package/package.json +5 -5
  63. package/src/components/NAlert.nexa +3 -14
  64. package/src/components/NAutocomplete.nexa +2 -1
  65. package/src/components/NAvatar.nexa +1 -5
  66. package/src/components/NBadge.nexa +1 -6
  67. package/src/components/NBottomSheet.nexa +1 -5
  68. package/src/components/NButton.nexa +241 -320
  69. package/src/components/NCard.nexa +27 -71
  70. package/src/components/NCheckbox.nexa +64 -44
  71. package/src/components/NChips.nexa +1 -0
  72. package/src/components/NDataTable.nexa +265 -320
  73. package/src/components/NDatepicker.nexa +5 -25
  74. package/src/components/NForm.nexa +1 -0
  75. package/src/components/NFormField.nexa +1 -5
  76. package/src/components/NImage.nexa +2 -6
  77. package/src/components/NInput.nexa +89 -259
  78. package/src/components/NInputNumber.nexa +1 -1
  79. package/src/components/NModal.nexa +2 -119
  80. package/src/components/NMultiSelect.nexa +2 -1
  81. package/src/components/NPaginator.nexa +2 -11
  82. package/src/components/NPassword.nexa +1 -0
  83. package/src/components/NProgressBar.nexa +1 -11
  84. package/src/components/NRadio.nexa +2 -8
  85. package/src/components/NScrollView.nexa +1 -6
  86. package/src/components/NSelect.nexa +8 -35
  87. package/src/components/NSkeleton.nexa +4 -9
  88. package/src/components/NSwitch.nexa +1 -6
  89. package/src/components/NTabs.nexa +1 -11
  90. package/src/components/NTag.nexa +2 -11
  91. package/src/components/NToastContainer.nexa +4 -27
  92. package/src/components/NTooltip.nexa +1 -13
  93. package/src/components/NTreeMenu.nexa +2 -21
  94. package/src/components/NVirtualList.nexa +1 -2
  95. package/src/styles/tokens.css +82 -173
@@ -30,7 +30,6 @@ const toggle = () => {
30
30
  cursor: pointer;
31
31
  user-select: none;
32
32
  }
33
-
34
33
  .n-switch-track {
35
34
  width: 44px;
36
35
  height: 24px;
@@ -40,12 +39,10 @@ const toggle = () => {
40
39
  transition: all var(--n-transition-normal);
41
40
  flex-shrink: 0;
42
41
  }
43
-
44
42
  .is-checked .n-switch-track {
45
43
  background: var(--n-color-primary);
46
44
  box-shadow: var(--n-shadow-glow-primary);
47
45
  }
48
-
49
46
  .n-switch-thumb {
50
47
  width: 18px;
51
48
  height: 18px;
@@ -58,21 +55,19 @@ const toggle = () => {
58
55
  box-shadow: var(--n-shadow-md);
59
56
  will-change: transform;
60
57
  }
61
-
62
58
  .is-checked .n-switch-thumb {
63
59
  transform: translateX(20px);
64
60
  background: white;
65
61
  box-shadow: var(--n-shadow-md);
66
62
  }
67
-
68
63
  .n-switch-label {
69
64
  font-size: var(--n-text-sm);
70
65
  color: var(--n-color-text);
71
66
  font-weight: var(--n-weight-medium);
72
67
  }
73
-
74
68
  .is-disabled {
75
69
  opacity: 0.5;
76
70
  cursor: not-allowed;
77
71
  }
72
+
78
73
  </style>
@@ -50,13 +50,11 @@ const activeIndex = computed(() =>
50
50
  gap: var(--n-space-6);
51
51
  width: 100%;
52
52
  }
53
-
54
53
  .n-tabs-header {
55
54
  display: flex;
56
55
  position: relative;
57
56
  border-bottom: 1px solid var(--n-color-border);
58
57
  }
59
-
60
58
  .n-tab {
61
59
  flex: 1;
62
60
  padding: var(--n-space-3) var(--n-space-5);
@@ -74,31 +72,24 @@ const activeIndex = computed(() =>
74
72
  white-space: nowrap;
75
73
  border-radius: var(--n-radius-sm) var(--n-radius-sm) 0 0;
76
74
  }
77
-
78
75
  .n-tab:hover:not(.is-active):not(.is-disabled) {
79
76
  color: var(--n-color-text);
80
77
  background: var(--n-color-glass);
81
78
  }
82
-
83
79
  .n-tab:focus-visible {
84
80
  outline: none;
85
- box-shadow: inset 0 0 0 2px var(--n-color-primary);
86
81
  }
87
-
88
82
  .n-tab.is-active {
89
83
  color: var(--n-color-primary);
90
84
  font-weight: var(--n-weight-semibold);
91
85
  }
92
-
93
86
  .n-tab.is-disabled {
94
87
  opacity: 0.4;
95
88
  cursor: not-allowed;
96
89
  }
97
-
98
90
  .n-tab-icon {
99
91
  font-size: var(--n-text-base);
100
92
  }
101
-
102
93
  .n-tab-badge {
103
94
  background: var(--n-color-primary);
104
95
  color: white;
@@ -108,7 +99,6 @@ const activeIndex = computed(() =>
108
99
  border-radius: var(--n-radius-full);
109
100
  line-height: 1.2;
110
101
  }
111
-
112
102
  .n-tabs-indicator {
113
103
  position: absolute;
114
104
  bottom: -1px;
@@ -116,6 +106,6 @@ const activeIndex = computed(() =>
116
106
  background: var(--n-color-primary);
117
107
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
118
108
  border-radius: var(--n-radius-full);
119
- box-shadow: 0 1px 6px rgba(99, 102, 241, 0.35);
120
109
  }
110
+
121
111
  </style>
@@ -31,50 +31,41 @@ const emit = defineEmits(['close'])
31
31
  border: 1px solid transparent;
32
32
  letter-spacing: 0.02em;
33
33
  }
34
-
35
34
  .n-tag.is-rounded {
36
35
  border-radius: var(--n-radius-full);
37
36
  }
38
-
39
37
  .n-tag-sm { padding: 0.15rem 0.5rem; font-size: 0.65rem; }
40
38
  .n-tag-lg { padding: 0.4rem 0.9rem; font-size: var(--n-text-sm); }
41
-
42
39
  .n-tag-primary {
43
40
  background: var(--n-color-primary-light);
44
41
  border-color: var(--n-color-primary-border);
45
42
  color: var(--n-color-primary);
46
43
  }
47
-
48
44
  .n-tag-success {
49
45
  background: var(--n-color-success-light);
50
46
  border-color: var(--n-color-success-border);
51
47
  color: var(--n-color-success);
52
48
  }
53
-
54
49
  .n-tag-danger {
55
50
  background: var(--n-color-danger-light);
56
51
  border-color: var(--n-color-danger-border);
57
52
  color: var(--n-color-danger);
58
53
  }
59
-
60
54
  .n-tag-warning {
61
55
  background: var(--n-color-warning-light);
62
56
  border-color: var(--n-color-warning-border);
63
57
  color: var(--n-color-warning);
64
58
  }
65
-
66
59
  .n-tag-info {
67
60
  background: var(--n-color-info-light);
68
61
  border-color: var(--n-color-info-border);
69
62
  color: var(--n-color-info);
70
63
  }
71
-
72
64
  .n-tag-secondary {
73
65
  background: var(--n-color-surface-alt);
74
66
  border-color: var(--n-color-border);
75
67
  color: var(--n-color-text-secondary);
76
68
  }
77
-
78
69
  .n-tag-close {
79
70
  background: transparent;
80
71
  border: none;
@@ -85,7 +76,7 @@ const emit = defineEmits(['close'])
85
76
  margin-left: var(--n-space-1);
86
77
  color: inherit;
87
78
  opacity: 0.5;
88
- transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
79
+ transition: color var(--n-transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
89
80
  border-radius: var(--n-radius-sm);
90
81
  display: flex;
91
82
  align-items: center;
@@ -93,10 +84,10 @@ const emit = defineEmits(['close'])
93
84
  width: 18px;
94
85
  height: 18px;
95
86
  }
96
-
97
87
  .n-tag-close:hover {
98
88
  opacity: 1;
99
89
  background: rgba(0,0,0,0.08);
100
90
  transform: scale(1.15);
101
91
  }
92
+
102
93
  </style>
@@ -46,40 +46,34 @@ const positionClass = `is-${props.position.replace('-', '-')}`
46
46
  pointer-events: none;
47
47
  padding: var(--n-space-4);
48
48
  }
49
-
50
49
  .is-top-right {
51
50
  top: 0;
52
51
  right: 0;
53
52
  align-items: flex-end;
54
53
  }
55
-
56
54
  .is-top-left {
57
55
  top: 0;
58
56
  left: 0;
59
57
  align-items: flex-start;
60
58
  }
61
-
62
59
  .is-bottom-right {
63
60
  bottom: 0;
64
61
  right: 0;
65
62
  align-items: flex-end;
66
63
  flex-direction: column-reverse;
67
64
  }
68
-
69
65
  .is-bottom-left {
70
66
  bottom: 0;
71
67
  left: 0;
72
68
  align-items: flex-start;
73
69
  flex-direction: column-reverse;
74
70
  }
75
-
76
71
  .is-top-center {
77
72
  top: 0;
78
73
  left: 50%;
79
74
  transform: translateX(-50%);
80
75
  align-items: center;
81
76
  }
82
-
83
77
  .n-toast {
84
78
  pointer-events: auto;
85
79
  min-width: 300px;
@@ -91,21 +85,18 @@ const positionClass = `is-${props.position.replace('-', '-')}`
91
85
  box-shadow: var(--n-shadow-lg), 0 8px 32px rgba(0, 0, 0, 0.08);
92
86
  cursor: pointer;
93
87
  animation: n-toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
94
- transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
88
+ transition: color var(--n-transition-fast) cubic-bezier(0.16, 1, 0.3, 1);
95
89
  backdrop-filter: blur(16px);
96
90
  border-left: 3px solid var(--n-color-border);
97
91
  }
98
-
99
92
  .is-success { border-left-color: var(--n-color-success); }
100
93
  .is-error { border-left-color: var(--n-color-danger); }
101
94
  .is-info { border-left-color: var(--n-color-primary); }
102
95
  .is-warning { border-left-color: var(--n-color-warning); }
103
-
104
96
  .n-toast:hover {
105
97
  transform: scale(1.02);
106
98
  background: var(--n-color-surface-alt);
107
99
  }
108
-
109
100
  @keyframes n-toast-in {
110
101
  from {
111
102
  opacity: 0;
@@ -116,11 +107,9 @@ const positionClass = `is-${props.position.replace('-', '-')}`
116
107
  transform: translateX(0) scale(1);
117
108
  }
118
109
  }
119
-
120
110
  .is-top-left .n-toast {
121
111
  animation-name: n-toast-in-left;
122
112
  }
123
-
124
113
  @keyframes n-toast-in-left {
125
114
  from {
126
115
  opacity: 0;
@@ -131,30 +120,26 @@ const positionClass = `is-${props.position.replace('-', '-')}`
131
120
  transform: translateX(0) scale(1);
132
121
  }
133
122
  }
134
-
135
123
  .is-bottom-right .n-toast,
136
124
  .is-bottom-left .n-toast {
137
125
  animation-name: n-toast-in-up;
138
126
  }
139
-
140
127
  @keyframes n-toast-in-up {
141
128
  from {
142
129
  opacity: 0;
143
- transform: translateY(20px) scale(0.95);
130
+ scale(0.95);
144
131
  }
145
132
  to {
146
133
  opacity: 1;
147
- transform: translateY(0) scale(1);
134
+ scale(1);
148
135
  }
149
136
  }
150
-
151
137
  .n-toast-body {
152
138
  display: flex;
153
139
  align-items: center;
154
140
  gap: var(--n-space-3);
155
141
  padding: var(--n-space-4) var(--n-space-5);
156
142
  }
157
-
158
143
  .n-toast-icon {
159
144
  width: 28px;
160
145
  height: 28px;
@@ -166,12 +151,10 @@ const positionClass = `is-${props.position.replace('-', '-')}`
166
151
  font-weight: var(--n-weight-extrabold);
167
152
  flex-shrink: 0;
168
153
  }
169
-
170
154
  .is-success .n-toast-icon { background: var(--n-color-success); color: white; }
171
155
  .is-error .n-toast-icon { background: var(--n-color-danger); color: white; }
172
156
  .is-info .n-toast-icon { background: var(--n-color-primary); color: white; }
173
157
  .is-warning .n-toast-icon { background: var(--n-color-warning); color: white; }
174
-
175
158
  .n-toast-message {
176
159
  color: var(--n-color-text);
177
160
  font-size: var(--n-text-sm);
@@ -179,7 +162,6 @@ const positionClass = `is-${props.position.replace('-', '-')}`
179
162
  flex: 1;
180
163
  line-height: var(--n-leading-normal);
181
164
  }
182
-
183
165
  .n-toast-dismiss {
184
166
  background: transparent;
185
167
  border: none;
@@ -192,22 +174,18 @@ const positionClass = `is-${props.position.replace('-', '-')}`
192
174
  transition: opacity var(--n-transition-fast);
193
175
  flex-shrink: 0;
194
176
  }
195
-
196
177
  .n-toast:hover .n-toast-dismiss {
197
178
  opacity: 1;
198
179
  }
199
-
200
180
  .n-toast-dismiss:hover {
201
181
  color: var(--n-color-text);
202
182
  }
203
-
204
183
  .n-toast-progress {
205
184
  height: 3px;
206
185
  background: var(--n-color-border);
207
186
  position: relative;
208
187
  overflow: hidden;
209
188
  }
210
-
211
189
  .n-toast-progress::after {
212
190
  content: '';
213
191
  position: absolute;
@@ -218,14 +196,13 @@ const positionClass = `is-${props.position.replace('-', '-')}`
218
196
  background: currentColor;
219
197
  animation: n-toast-shrink linear forwards;
220
198
  }
221
-
222
199
  .is-success .n-toast-progress::after { background: var(--n-color-success); }
223
200
  .is-error .n-toast-progress::after { background: var(--n-color-danger); }
224
201
  .is-info .n-toast-progress::after { background: var(--n-color-primary); }
225
202
  .is-warning .n-toast-progress::after { background: var(--n-color-warning); }
226
-
227
203
  @keyframes n-toast-shrink {
228
204
  from { transform: scaleX(1); }
229
205
  to { transform: scaleX(0); }
230
206
  }
207
+
231
208
  </style>
@@ -93,7 +93,6 @@ const hide = () => {
93
93
  .n-tooltip-wrapper {
94
94
  display: inline-block;
95
95
  }
96
-
97
96
  .n-tooltip {
98
97
  background: var(--n-color-glass);
99
98
  color: var(--n-color-text);
@@ -109,59 +108,48 @@ const hide = () => {
109
108
  animation: n-tooltip-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
110
109
  backdrop-filter: blur(12px);
111
110
  }
112
-
113
111
  @keyframes n-tooltip-in {
114
112
  from { opacity: 0; transform: scale(0.95); }
115
113
  to { opacity: 1; transform: scale(1); }
116
114
  }
117
-
118
115
  .is-top {
119
116
  transform-origin: bottom center;
120
117
  }
121
-
122
118
  .is-bottom {
123
119
  transform-origin: top center;
124
120
  }
125
-
126
121
  .is-left {
127
122
  transform-origin: center right;
128
123
  }
129
-
130
124
  .is-right {
131
125
  transform-origin: center left;
132
126
  }
133
-
134
127
  .n-tooltip::after {
135
128
  content: '';
136
129
  position: absolute;
137
130
  border: 5px solid transparent;
138
131
  }
139
-
140
132
  .is-top::after {
141
133
  top: 100%;
142
134
  left: 50%;
143
135
  transform: translateX(-50%);
144
136
  border-top-color: var(--n-color-border);
145
137
  }
146
-
147
138
  .is-bottom::after {
148
139
  bottom: 100%;
149
140
  left: 50%;
150
141
  transform: translateX(-50%);
151
142
  border-bottom-color: var(--n-color-border);
152
143
  }
153
-
154
144
  .is-left::after {
155
145
  left: 100%;
156
146
  top: 50%;
157
- transform: translateY(-50%);
158
147
  border-left-color: var(--n-color-border);
159
148
  }
160
-
161
149
  .is-right::after {
162
150
  right: 100%;
163
151
  top: 50%;
164
- transform: translateY(-50%);
165
152
  border-right-color: var(--n-color-border);
166
153
  }
154
+
167
155
  </style>
@@ -74,17 +74,14 @@ const toggle = (id, e) => {
74
74
  font-size: var(--n-text-sm);
75
75
  user-select: none;
76
76
  }
77
-
78
77
  .n-tree-item {
79
78
  --n-tree-depth: 0;
80
79
  position: relative;
81
80
  margin-bottom: 1px;
82
81
  }
83
-
84
82
  .n-tree-item:last-child {
85
83
  margin-bottom: 0;
86
84
  }
87
-
88
85
  /* Líneas conectoras verticales */
89
86
  .n-tree-item:not([style*="--n-tree-depth: 0"])::before {
90
87
  content: '';
@@ -96,7 +93,6 @@ const toggle = (id, e) => {
96
93
  background: var(--n-color-border);
97
94
  opacity: 0.35;
98
95
  }
99
-
100
96
  .n-tree-row {
101
97
  display: flex;
102
98
  align-items: center;
@@ -109,7 +105,6 @@ const toggle = (id, e) => {
109
105
  color: var(--n-color-text);
110
106
  position: relative;
111
107
  }
112
-
113
108
  /* Línea conectora horizontal */
114
109
  .n-tree-item:not([style*="--n-tree-depth: 0"]) .n-tree-row::before {
115
110
  content: '';
@@ -121,21 +116,17 @@ const toggle = (id, e) => {
121
116
  background: var(--n-color-border);
122
117
  opacity: 0.35;
123
118
  }
124
-
125
119
  .n-tree-row:hover {
126
- background: linear-gradient(135deg, var(--n-color-surface-hover), color-mix(in srgb, var(--n-color-surface-hover) 85%, var(--n-color-primary) 5%));
120
+ background-color: var(--n-color-surface-hover);
127
121
  }
128
-
129
122
  .n-tree-row:active {
130
123
  background: color-mix(in srgb, var(--n-color-surface-hover) 80%, var(--n-color-text) 5%);
131
124
  }
132
-
133
125
  .n-tree-item.is-selected > .n-tree-row {
134
126
  background: var(--n-color-primary-light);
135
127
  color: var(--n-color-primary);
136
128
  font-weight: var(--n-weight-semibold);
137
129
  }
138
-
139
130
  .n-tree-item.is-selected > .n-tree-row::after {
140
131
  content: '';
141
132
  position: absolute;
@@ -146,7 +137,6 @@ const toggle = (id, e) => {
146
137
  background: var(--n-color-primary);
147
138
  border-radius: 0 var(--n-radius-sm) var(--n-radius-sm) 0;
148
139
  }
149
-
150
140
  .n-tree-toggle {
151
141
  background: var(--n-color-glass);
152
142
  border: 1px solid var(--n-color-border);
@@ -162,47 +152,38 @@ const toggle = (id, e) => {
162
152
  transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
163
153
  flex-shrink: 0;
164
154
  }
165
-
166
155
  .n-tree-toggle:hover {
167
156
  background: color-mix(in srgb, var(--n-color-primary-light) 80%, var(--n-color-primary) 10%);
168
157
  border-color: var(--n-color-primary);
169
158
  color: var(--n-color-primary);
170
159
  transform: scale(1.05);
171
160
  }
172
-
173
161
  .n-tree-toggle:active {
174
162
  transform: scale(0.95);
175
163
  }
176
-
177
164
  .n-tree-toggle:focus-visible {
178
165
  outline: none;
179
166
  box-shadow: 0 0 0 2px var(--n-color-background), 0 0 0 4px var(--n-color-primary);
180
167
  z-index: 1;
181
168
  }
182
-
183
169
  .n-tree-row:focus-visible {
184
170
  outline: none;
185
- box-shadow: inset 0 0 0 2px var(--n-color-primary);
186
171
  border-radius: var(--n-radius-md);
187
172
  }
188
-
189
173
  .n-tree-toggle-icon {
190
174
  font-size: 1rem;
191
175
  line-height: 1;
192
176
  font-weight: 700;
193
177
  }
194
-
195
178
  .n-tree-toggle-placeholder {
196
179
  width: 20px;
197
180
  height: 20px;
198
181
  flex-shrink: 0;
199
182
  }
200
-
201
183
  .n-tree-icon {
202
184
  font-size: 1.1rem;
203
185
  flex-shrink: 0;
204
186
  }
205
-
206
187
  .n-tree-label {
207
188
  flex: 1;
208
189
  min-width: 0;
@@ -212,9 +193,9 @@ const toggle = (id, e) => {
212
193
  font-weight: var(--n-weight-medium);
213
194
  letter-spacing: 0.01em;
214
195
  }
215
-
216
196
  .n-tree-item.is-selected .n-tree-label {
217
197
  font-weight: var(--n-weight-bold);
218
198
  letter-spacing: 0;
219
199
  }
200
+
220
201
  </style>
@@ -83,12 +83,11 @@ const onScroll = (e) => {
83
83
  -webkit-overflow-scrolling: touch;
84
84
  overscroll-behavior: contain;
85
85
  }
86
-
87
86
  .n-virtual-list-spacer {
88
87
  position: relative;
89
88
  }
90
-
91
89
  .n-virtual-list-row {
92
90
  box-sizing: border-box;
93
91
  }
92
+
94
93
  </style>