@nubitio/react-admin 0.7.2 → 0.7.3

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 +35 -67
  2. package/package.json +7 -7
package/dist/style.css CHANGED
@@ -8083,78 +8083,50 @@ html[data-density=comfortable] {
8083
8083
  .nb-feature-hub__tabs {
8084
8084
  display: flex;
8085
8085
  flex-wrap: wrap;
8086
- gap: var(--space-1);
8087
- margin-top: var(--space-5);
8088
- padding: var(--space-1);
8089
- background: var(--surface-1);
8090
- border: 1px solid var(--border-subtle, var(--border-color));
8091
- border-radius: var(--radius-xl);
8092
- box-shadow: var(--shadow-sm);
8093
- }
8094
-
8095
- .nb-feature-hub__tab {
8096
- display: inline-flex;
8097
- align-items: center;
8098
- gap: var(--space-2);
8099
- min-height: var(--control-height);
8100
- padding: 0 var(--space-3);
8101
- font-size: var(--font-size-sm);
8102
- font-weight: var(--font-weight-semibold);
8103
- color: var(--text-secondary);
8104
- text-decoration: none;
8105
- border: 1px solid transparent;
8106
- border-radius: var(--radius-lg);
8107
- transition: color var(--transition-base), background var(--transition-base), border-color var(--transition-base);
8108
- }
8109
- .nb-feature-hub__tab .ph {
8110
- font-size: var(--control-icon-size);
8111
- opacity: 0.75;
8112
- }
8113
- .nb-feature-hub__tab:hover {
8114
- color: var(--text-primary);
8115
- background: var(--surface-2);
8116
- }
8117
- .nb-feature-hub__tab--active {
8118
- color: var(--accent-color);
8119
- background: var(--accent-subtle);
8120
- border-color: color-mix(in srgb, var(--accent-color) 22%, transparent);
8121
- box-shadow: var(--shadow-sm);
8122
- }
8123
- .nb-feature-hub__tab--active .ph {
8124
- opacity: 1;
8125
- }
8126
-
8127
- .nb-feature-hub__tabs--underline {
8086
+ gap: 0;
8128
8087
  margin-top: var(--space-4);
8129
8088
  padding: 0;
8130
- gap: 0;
8131
8089
  background: transparent;
8132
8090
  border: none;
8133
8091
  border-bottom: 1px solid var(--border-subtle, var(--border-color));
8134
8092
  border-radius: 0;
8135
8093
  box-shadow: none;
8136
8094
  }
8137
- .nb-feature-hub__tabs--underline .nb-feature-hub__tab {
8095
+
8096
+ .nb-feature-hub__tab {
8097
+ display: inline-flex;
8098
+ align-items: center;
8099
+ gap: var(--space-2);
8138
8100
  position: relative;
8139
8101
  min-height: calc(var(--control-height) + var(--space-2));
8140
8102
  padding: var(--space-2) var(--space-3);
8141
8103
  margin-bottom: -1px;
8104
+ font-size: var(--font-size-sm);
8142
8105
  font-weight: var(--font-weight-medium, 500);
8106
+ color: var(--text-secondary);
8107
+ text-decoration: none;
8143
8108
  border: none;
8144
8109
  border-radius: 0;
8145
8110
  background: transparent;
8111
+ transition: color var(--transition-base), background var(--transition-base);
8112
+ }
8113
+ .nb-feature-hub__tab .ph {
8114
+ font-size: var(--control-icon-size);
8115
+ opacity: 0.75;
8146
8116
  }
8147
- .nb-feature-hub__tabs--underline .nb-feature-hub__tab:hover:not(.nb-feature-hub__tab--active) {
8117
+ .nb-feature-hub__tab:hover:not(.nb-feature-hub__tab--active) {
8148
8118
  color: var(--text-primary);
8149
8119
  background: color-mix(in srgb, var(--accent-color) 8%, transparent);
8150
8120
  }
8151
- .nb-feature-hub__tabs--underline .nb-feature-hub__tab--active {
8121
+ .nb-feature-hub__tab--active {
8152
8122
  color: var(--accent-color);
8123
+ font-weight: var(--font-weight-semibold);
8153
8124
  background: transparent;
8154
- border: none;
8155
- box-shadow: none;
8156
8125
  }
8157
- .nb-feature-hub__tabs--underline .nb-feature-hub__tab--active::after {
8126
+ .nb-feature-hub__tab--active .ph {
8127
+ opacity: 1;
8128
+ }
8129
+ .nb-feature-hub__tab--active::after {
8158
8130
  content: "";
8159
8131
  position: absolute;
8160
8132
  right: var(--space-3);
@@ -8164,9 +8136,6 @@ html[data-density=comfortable] {
8164
8136
  border-radius: 2px 2px 0 0;
8165
8137
  background: var(--accent-color);
8166
8138
  }
8167
- .nb-feature-hub__tabs--underline .nb-feature-hub__tab--active .ph {
8168
- opacity: 1;
8169
- }
8170
8139
 
8171
8140
  .nb-feature-hub__banner {
8172
8141
  display: flex;
@@ -8204,21 +8173,22 @@ html[data-density=comfortable] {
8204
8173
  }
8205
8174
 
8206
8175
  .nb-feature-hub--compact .nb-feature-hub__header {
8207
- padding: var(--space-2) var(--page-padding) 0;
8176
+ padding: var(--space-3) var(--page-padding) 0;
8208
8177
  }
8209
8178
  .nb-feature-hub--compact .nb-feature-hub__tabs-card {
8210
8179
  align-items: center;
8211
- background: var(--surface-1);
8212
- border: 1px solid var(--border-subtle, var(--border-color));
8213
- border-radius: var(--radius-xl);
8214
- box-shadow: var(--shadow-sm);
8180
+ background: transparent;
8181
+ border: none;
8182
+ border-bottom: 1px solid var(--border-subtle, var(--border-color));
8183
+ border-radius: 0;
8184
+ box-shadow: none;
8215
8185
  display: flex;
8216
8186
  flex: 1 1 auto;
8217
8187
  flex-wrap: wrap;
8218
8188
  gap: var(--space-2) var(--space-5);
8219
8189
  justify-content: space-between;
8220
8190
  min-width: 0;
8221
- padding: var(--space-1) var(--space-2) var(--space-1) var(--space-4);
8191
+ padding: 0 0 var(--space-2);
8222
8192
  width: 100%;
8223
8193
  }
8224
8194
  .nb-feature-hub--compact .nb-feature-hub__title {
@@ -8230,23 +8200,21 @@ html[data-density=comfortable] {
8230
8200
  flex: 1 1 auto;
8231
8201
  justify-content: flex-end;
8232
8202
  margin: 0;
8233
- padding: var(--space-1);
8234
- border: none;
8235
- border-radius: var(--radius-lg);
8236
- background: transparent;
8237
- box-shadow: none;
8203
+ border-bottom: none;
8238
8204
  min-width: min(100%, 520px);
8239
8205
  }
8240
- .nb-feature-hub--compact .nb-feature-hub__tabs.nb-feature-hub__tabs--underline {
8241
- padding: 0;
8242
- border-bottom: 1px solid var(--border-subtle, var(--border-color));
8243
- }
8244
8206
  .nb-feature-hub--compact .nb-feature-hub__tab {
8245
8207
  font-size: var(--font-size-xs);
8208
+ min-height: calc(var(--control-height) + var(--space-1));
8209
+ padding: var(--space-1) var(--space-2);
8246
8210
  }
8247
8211
  .nb-feature-hub--compact .nb-feature-hub__tab .ph {
8248
8212
  font-size: var(--font-size-sm);
8249
8213
  }
8214
+ .nb-feature-hub--compact .nb-feature-hub__tab--active::after {
8215
+ right: var(--space-2);
8216
+ left: var(--space-2);
8217
+ }
8250
8218
  .nb-feature-hub--compact .nb-feature-hub__banner {
8251
8219
  margin: var(--space-2) var(--page-padding) 0;
8252
8220
  padding: var(--space-2) var(--space-3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/react-admin",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "type": "module",
5
5
  "description": "Batteries-included admin stack: core runtime, CRUD, Hydra adapter, and AdminShell.",
6
6
  "license": "MIT",
@@ -50,12 +50,12 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@nubitio/admin": "^0.7.2",
54
- "@nubitio/hydra": "^0.7.2",
55
- "@nubitio/core": "^0.7.2",
56
- "@nubitio/crud": "^0.7.2",
57
- "@nubitio/dashboard": "^0.7.2",
58
- "@nubitio/ui": "^0.7.2"
53
+ "@nubitio/hydra": "^0.7.3",
54
+ "@nubitio/core": "^0.7.3",
55
+ "@nubitio/admin": "^0.7.3",
56
+ "@nubitio/crud": "^0.7.3",
57
+ "@nubitio/ui": "^0.7.3",
58
+ "@nubitio/dashboard": "^0.7.3"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@tanstack/react-query": "^5.0.0",