nyte 1.2.1 → 1.2.2

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.
@@ -280,9 +280,11 @@ function DevIndicator({ hasBuildError = false, onClickBuildError, }) {
280
280
  }
281
281
  .nyte-dev-badge {
282
282
  /* AQUI ESTÁ O QUE SEGURA ELE NA TELA: */
283
- position: fixed;
283
+ position: sticky;
284
284
  bottom: 20px;
285
- right: 20px;
285
+ /* float e margens para forçar a direita no modo sticky */
286
+ float: right;
287
+ margin-right: 20px;
286
288
  z-index: 999999;
287
289
 
288
290
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nyte",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Nyte.js is a high-level framework for building web applications with ease and speed. It provides a robust set of tools and features to streamline development and enhance productivity.",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "itsmuzin",
@@ -261,10 +261,12 @@ function App({ componentMap, routes, initialComponentPath, initialParams, layout
261
261
 
262
262
 
263
263
 
264
+
265
+
264
266
  export function DevIndicator({
265
- hasBuildError = false,
266
- onClickBuildError,
267
- }: {
267
+ hasBuildError = false,
268
+ onClickBuildError,
269
+ }: {
268
270
  hasBuildError?: boolean;
269
271
  onClickBuildError?: () => void;
270
272
  }) {
@@ -314,9 +316,11 @@ export function DevIndicator({
314
316
  }
315
317
  .nyte-dev-badge {
316
318
  /* AQUI ESTÁ O QUE SEGURA ELE NA TELA: */
317
- position: fixed;
319
+ position: sticky;
318
320
  bottom: 20px;
319
- right: 20px;
321
+ /* float e margens para forçar a direita no modo sticky */
322
+ float: right;
323
+ margin-right: 20px;
320
324
  z-index: 999999;
321
325
 
322
326
  display: flex;