@nubitio/react-admin 0.1.0 → 0.2.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 +55 -0
  2. package/package.json +6 -6
package/dist/style.css CHANGED
@@ -123,6 +123,61 @@ html[data-density=comfortable] {
123
123
  --grid-filter-height: 34px;
124
124
  --grid-cell-padding-x: 14px;
125
125
  }
126
+ *,
127
+ *::before,
128
+ *::after {
129
+ box-sizing: border-box;
130
+ }
131
+
132
+ html,
133
+ body {
134
+ margin: 0;
135
+ min-height: 100%;
136
+ height: 100%;
137
+ background: var(--surface-0);
138
+ color: var(--text-primary);
139
+ font-family: var(--font-family-sans);
140
+ -webkit-font-smoothing: antialiased;
141
+ -moz-osx-font-smoothing: grayscale;
142
+ }
143
+
144
+ body {
145
+ line-height: var(--line-height-normal);
146
+ text-rendering: optimizeLegibility;
147
+ }
148
+
149
+ #root,
150
+ #app {
151
+ height: 100%;
152
+ }
153
+
154
+ a {
155
+ color: var(--accent-color);
156
+ }
157
+
158
+ code,
159
+ pre,
160
+ kbd,
161
+ samp {
162
+ font-family: var(--font-family-mono);
163
+ }
164
+
165
+ .view-wrapper {
166
+ overflow: hidden;
167
+ display: flex;
168
+ flex-grow: 1;
169
+ flex-direction: column;
170
+ padding: 0 var(--page-padding);
171
+ }
172
+
173
+ .view-wrapper-scroll {
174
+ display: flex;
175
+ flex: 1 1 auto;
176
+ flex-direction: column;
177
+ min-height: 0;
178
+ overflow: auto;
179
+ padding: 0 var(--page-padding);
180
+ }
126
181
  :root {
127
182
  --scrollbar-size: 6px;
128
183
  --scrollbar-thumb: var(--border-color);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nubitio/react-admin",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Batteries-included admin stack: core runtime, CRUD, Hydra adapter, and AdminShell.",
6
6
  "license": "MIT",
@@ -50,11 +50,11 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@nubitio/admin": "^0.1.0",
54
- "@nubitio/core": "^0.1.0",
55
- "@nubitio/hydra": "^0.1.0",
56
- "@nubitio/ui": "^0.1.0",
57
- "@nubitio/crud": "^0.1.0"
53
+ "@nubitio/admin": "^0.2.0",
54
+ "@nubitio/hydra": "^0.2.0",
55
+ "@nubitio/core": "^0.2.0",
56
+ "@nubitio/crud": "^0.2.0",
57
+ "@nubitio/ui": "^0.2.0"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "@tanstack/react-query": "^5.0.0",