@nubitio/admin 0.8.1 → 0.9.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.
Files changed (2) hide show
  1. package/dist/style.css +13 -2
  2. package/package.json +5 -5
package/dist/style.css CHANGED
@@ -160,7 +160,7 @@ html[data-density=comfortable] {
160
160
 
161
161
  .nb-feature-hub__tabs {
162
162
  display: flex;
163
- flex-wrap: wrap;
163
+ flex-wrap: nowrap;
164
164
  gap: 0;
165
165
  margin-top: var(--space-4);
166
166
  padding: 0;
@@ -169,6 +169,15 @@ html[data-density=comfortable] {
169
169
  border-bottom: 1px solid var(--border-subtle, var(--border-color));
170
170
  border-radius: 0;
171
171
  box-shadow: none;
172
+ overflow-x: auto;
173
+ overscroll-behavior-x: contain;
174
+ -webkit-overflow-scrolling: touch;
175
+ scrollbar-width: none;
176
+ -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
177
+ mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
178
+ }
179
+ .nb-feature-hub__tabs::-webkit-scrollbar {
180
+ display: none;
172
181
  }
173
182
 
174
183
  .nb-feature-hub__tab {
@@ -176,6 +185,8 @@ html[data-density=comfortable] {
176
185
  align-items: center;
177
186
  gap: var(--space-2);
178
187
  position: relative;
188
+ flex-shrink: 0;
189
+ white-space: nowrap;
179
190
  min-height: calc(var(--control-height) + var(--space-2));
180
191
  padding: var(--space-2) var(--space-3);
181
192
  margin-bottom: -1px;
@@ -276,7 +287,7 @@ html[data-density=comfortable] {
276
287
  }
277
288
  .nb-feature-hub--compact .nb-feature-hub__tabs {
278
289
  flex: 1 1 auto;
279
- justify-content: flex-end;
290
+ justify-content: flex-start;
280
291
  margin: 0;
281
292
  border-bottom: none;
282
293
  min-width: min(100%, 520px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/admin",
3
- "version": "0.8.1",
3
+ "version": "0.9.0",
4
4
  "type": "module",
5
5
  "description": "Admin shell layout components: responsive sidebar, header, and screen size utilities for Nubit apps.",
6
6
  "license": "MIT",
@@ -53,9 +53,9 @@
53
53
  "react": "^18.2.0 || ^19.0.0",
54
54
  "react-dom": "^18.2.0 || ^19.0.0",
55
55
  "react-router-dom": "^6.0.0",
56
- "@nubitio/core": "^0.8.1",
57
- "@nubitio/crud": "^0.8.1",
58
- "@nubitio/ui": "^0.8.1",
59
- "@nubitio/hydra": "^0.8.1"
56
+ "@nubitio/core": "^0.9.0",
57
+ "@nubitio/crud": "^0.9.0",
58
+ "@nubitio/hydra": "^0.9.0",
59
+ "@nubitio/ui": "^0.9.0"
60
60
  }
61
61
  }