@reacteditor/core 0.0.14 → 0.0.16

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.
package/dist/index.css CHANGED
@@ -2176,12 +2176,13 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2176
2176
  }
2177
2177
 
2178
2178
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Preview/styles.module.css/#css-module-data */
2179
- ._EditorPreview_xou64_1 {
2179
+ ._EditorPreview_1ybfe_1 {
2180
2180
  position: relative;
2181
2181
  height: 100%;
2182
2182
  }
2183
- ._EditorPreview-frame_xou64_6 {
2183
+ ._EditorPreview-frame_1ybfe_6 {
2184
2184
  border: none;
2185
+ border-radius: var(--editor-radius-md);
2185
2186
  height: 100%;
2186
2187
  width: 100%;
2187
2188
  }
@@ -2344,35 +2345,35 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2344
2345
  }
2345
2346
 
2346
2347
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Layout/styles.module.css/#css-module-data */
2347
- ._Editor_frglt_19 {
2348
+ ._Editor_l0swf_19 {
2348
2349
  --editor-space-px: 16px;
2349
2350
  color: var(--editor-text-primary);
2350
2351
  font-family: var(--editor-font-family);
2351
2352
  overflow-x: hidden;
2352
2353
  }
2353
2354
  @media (min-width: 766px) {
2354
- ._Editor_frglt_19 {
2355
+ ._Editor_l0swf_19 {
2355
2356
  overflow-x: auto;
2356
2357
  }
2357
2358
  }
2358
- ._Editor-portal_frglt_32 {
2359
+ ._Editor-portal_l0swf_32 {
2359
2360
  position: relative;
2360
2361
  z-index: 2;
2361
2362
  }
2362
- ._EditorLayout_frglt_37 {
2363
+ ._EditorLayout_l0swf_37 {
2363
2364
  height: 100dvh;
2364
2365
  }
2365
- ._EditorLayout-inner_frglt_41 {
2366
+ ._EditorLayout-inner_l0swf_41 {
2366
2367
  --editor-frame-width: auto;
2367
- --editor-side-nav-width: min-content;
2368
+ --editor-header-height: min-content;
2368
2369
  --editor-side-bar-width: 0px;
2369
2370
  --editor-left-side-bar-width: var( --editor-user-left-side-bar-width, var(--editor-side-bar-width) );
2370
2371
  --editor-right-side-bar-width: var( --editor-user-right-side-bar-width, var(--editor-side-bar-width) );
2371
2372
  background-color: var(--editor-surface-app);
2372
2373
  display: grid;
2373
- grid-template-areas: "editor" "mobilepanel" "left" "right" "sidenav";
2374
+ grid-template-areas: "header" "editor" "mobilepanel" "left" "right";
2374
2375
  grid-template-columns: var(--editor-frame-width);
2375
- grid-template-rows: auto 0 0 0 var(--editor-side-nav-width);
2376
+ grid-template-rows: var(--editor-header-height) auto 0 0 0;
2376
2377
  height: 100%;
2377
2378
  position: relative;
2378
2379
  transition: none;
@@ -2380,125 +2381,176 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2380
2381
  overflow: hidden;
2381
2382
  }
2382
2383
  @media (min-width: 638px) {
2383
- ._EditorLayout-inner_frglt_41 {
2384
- --editor-side-nav-width: 44px;
2385
- grid-template-areas: "sidenav left editor right";
2386
- grid-template-columns: var(--editor-side-nav-width) 0 var(--editor-frame-width) 0;
2387
- grid-template-rows: auto;
2384
+ ._EditorLayout-inner_l0swf_41 {
2385
+ grid-template-areas: "header header header" "left editor right";
2386
+ grid-template-columns: 0 var(--editor-frame-width) 0;
2387
+ grid-template-rows: var(--editor-header-height) auto;
2388
2388
  }
2389
- ._Editor--hidePlugins_frglt_73 ._EditorLayout-inner_frglt_41,
2390
- ._EditorLayout_frglt_37:not(._EditorLayout--navBarVisible_frglt_74) ._EditorLayout-inner_frglt_41 {
2391
- --editor-side-nav-width: 0;
2389
+ ._Editor--hidePlugins_l0swf_72 ._EditorLayout-inner_l0swf_41,
2390
+ ._EditorLayout_l0swf_37:not(._EditorLayout--navBarVisible_l0swf_73) ._EditorLayout-inner_l0swf_41 {
2391
+ --editor-header-height: 0;
2392
2392
  }
2393
2393
  }
2394
- ._EditorLayout_frglt_37:not(._EditorLayout--navBarVisible_frglt_74) ._EditorLayout-inner_frglt_41 {
2395
- --editor-side-nav-width: 0;
2394
+ ._EditorLayout_l0swf_37:not(._EditorLayout--navBarVisible_l0swf_73) ._EditorLayout-inner_l0swf_41 {
2395
+ --editor-header-height: 0;
2396
2396
  }
2397
- ._EditorLayout--mounted_frglt_83 ._EditorLayout-inner_frglt_41 {
2397
+ ._EditorLayout--mounted_l0swf_82 ._EditorLayout-inner_l0swf_41 {
2398
2398
  --editor-side-bar-width: 186px;
2399
2399
  }
2400
- ._EditorLayout--mobilePanelHeightToggle_frglt_87._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2401
- grid-template-rows: auto 60% 0 0 var(--editor-side-nav-width);
2400
+ ._EditorLayout--mobilePanelHeightToggle_l0swf_86._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-inner_l0swf_41 {
2401
+ grid-template-rows: var(--editor-header-height) auto 60% 0 0;
2402
2402
  }
2403
- ._EditorLayout--mobilePanelCustomHeight_frglt_92._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2404
- grid-template-rows: auto var(--editor-mobile-panel-height, 60%) 0 0 var(--editor-side-nav-width);
2403
+ ._EditorLayout--mobilePanelCustomHeight_l0swf_91._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-inner_l0swf_41 {
2404
+ grid-template-rows: var(--editor-header-height) auto var( --editor-mobile-panel-height, 60% ) 0 0;
2405
2405
  }
2406
2406
  @media (min-width: 638px) {
2407
- ._EditorLayout--mobilePanelHeightToggle_frglt_87._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2408
- grid-template-columns: var(--editor-side-nav-width) var(--editor-left-side-bar-width) var( --editor-frame-width ) 0;
2409
- grid-template-rows: auto;
2407
+ ._EditorLayout--mobilePanelHeightToggle_l0swf_86._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-inner_l0swf_41 {
2408
+ grid-template-columns: var(--editor-left-side-bar-width) var(--editor-frame-width) 0;
2409
+ grid-template-rows: var(--editor-header-height) auto;
2410
2410
  }
2411
2411
  }
2412
- ._EditorLayout--mobilePanelHeightMinContent_frglt_110._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2413
- grid-template-rows: auto min-content 0 0 var(--editor-side-nav-width);
2412
+ ._EditorLayout--mobilePanelHeightMinContent_l0swf_109._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-inner_l0swf_41 {
2413
+ grid-template-rows: var(--editor-header-height) auto min-content 0 0;
2414
2414
  }
2415
2415
  @media (min-width: 638px) {
2416
- ._EditorLayout--mobilePanelHeightToggle_frglt_87._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41,
2417
- ._EditorLayout--mobilePanelCustomHeight_frglt_92._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41,
2418
- ._EditorLayout--mobilePanelHeightMinContent_frglt_110._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-inner_frglt_41 {
2419
- grid-template-columns: var(--editor-side-nav-width) var(--editor-left-side-bar-width) var( --editor-frame-width ) 0;
2420
- grid-template-rows: auto;
2416
+ ._EditorLayout--mobilePanelHeightToggle_l0swf_86._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-inner_l0swf_41,
2417
+ ._EditorLayout--mobilePanelCustomHeight_l0swf_91._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-inner_l0swf_41,
2418
+ ._EditorLayout--mobilePanelHeightMinContent_l0swf_109._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-inner_l0swf_41 {
2419
+ grid-template-columns: var(--editor-left-side-bar-width) var(--editor-frame-width) 0;
2420
+ grid-template-rows: var(--editor-header-height) auto;
2421
2421
  }
2422
2422
  }
2423
2423
  @media (min-width: 638px) {
2424
- ._EditorLayout--rightSideBarVisible_frglt_132 ._EditorLayout-inner_frglt_41 {
2425
- grid-template-columns: var(--editor-side-nav-width) 0 var(--editor-frame-width) var(--editor-right-side-bar-width);
2424
+ ._EditorLayout--rightSideBarVisible_l0swf_129 ._EditorLayout-inner_l0swf_41 {
2425
+ grid-template-columns: 0 var(--editor-frame-width) var(--editor-right-side-bar-width);
2426
2426
  }
2427
2427
  }
2428
2428
  @media (min-width: 638px) {
2429
- ._EditorLayout--leftSideBarVisible_frglt_87._EditorLayout--rightSideBarVisible_frglt_132 ._EditorLayout-inner_frglt_41 {
2430
- grid-template-columns: var(--editor-side-nav-width) var(--editor-left-side-bar-width) var( --editor-frame-width ) var(--editor-right-side-bar-width);
2429
+ ._EditorLayout--leftSideBarVisible_l0swf_86._EditorLayout--rightSideBarVisible_l0swf_129 ._EditorLayout-inner_l0swf_41 {
2430
+ grid-template-columns: var(--editor-left-side-bar-width) var(--editor-frame-width) var(--editor-right-side-bar-width);
2431
2431
  }
2432
2432
  }
2433
2433
  @media (min-width: 458px) {
2434
- ._EditorLayout-mounted_frglt_151 ._EditorLayout-inner_frglt_41 {
2434
+ ._EditorLayout-mounted_l0swf_146 ._EditorLayout-inner_l0swf_41 {
2435
2435
  --editor-frame-width: minmax(266px, auto);
2436
2436
  }
2437
2437
  }
2438
2438
  @media (min-width: 638px) {
2439
- ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2439
+ ._EditorLayout_l0swf_37 ._EditorLayout-inner_l0swf_41 {
2440
2440
  --editor-side-bar-width: minmax(186px, 250px);
2441
2441
  }
2442
2442
  }
2443
2443
  @media (min-width: 766px) {
2444
- ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2444
+ ._EditorLayout_l0swf_37 ._EditorLayout-inner_l0swf_41 {
2445
2445
  --editor-frame-width: auto;
2446
2446
  }
2447
2447
  }
2448
2448
  @media (min-width: 990px) {
2449
- ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2449
+ ._EditorLayout_l0swf_37 ._EditorLayout-inner_l0swf_41 {
2450
2450
  --editor-side-bar-width: 256px;
2451
2451
  }
2452
2452
  }
2453
2453
  @media (min-width: 1198px) {
2454
- ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2454
+ ._EditorLayout_l0swf_37 ._EditorLayout-inner_l0swf_41 {
2455
2455
  --editor-side-bar-width: 274px;
2456
2456
  }
2457
2457
  }
2458
2458
  @media (min-width: 1398px) {
2459
- ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2459
+ ._EditorLayout_l0swf_37 ._EditorLayout-inner_l0swf_41 {
2460
2460
  --editor-side-bar-width: 290px;
2461
2461
  }
2462
2462
  }
2463
2463
  @media (min-width: 1598px) {
2464
- ._EditorLayout_frglt_37 ._EditorLayout-inner_frglt_41 {
2464
+ ._EditorLayout_l0swf_37 ._EditorLayout-inner_l0swf_41 {
2465
2465
  --editor-side-bar-width: 320px;
2466
2466
  }
2467
2467
  }
2468
- ._EditorLayout-nav_frglt_192 {
2469
- border-top: 1px solid var(--editor-border-subtle);
2468
+ ._EditorLayout-header_l0swf_187 {
2469
+ grid-area: header;
2470
2470
  background-color: var(--editor-surface-panel);
2471
- grid-area: sidenav;
2471
+ border-bottom: 1px solid var(--editor-border-subtle);
2472
2472
  overflow: hidden;
2473
+ }
2474
+ ._EditorHeader_l0swf_194 {
2475
+ align-items: center;
2476
+ display: grid;
2477
+ column-gap: 12px;
2478
+ row-gap: 6px;
2479
+ grid-template-areas: "url url" "plugins actions";
2480
+ grid-template-columns: auto 1fr;
2481
+ padding-block: 6px;
2482
+ padding-inline-start: calc(8px + env(safe-area-inset-left, 0px));
2483
+ padding-inline-end: calc(12px + env(safe-area-inset-right, 0px));
2484
+ }
2485
+ @media (min-width: 638px) {
2486
+ ._EditorHeader_l0swf_194 {
2487
+ column-gap: 16px;
2488
+ row-gap: 0;
2489
+ grid-template-areas: "plugins url actions";
2490
+ grid-template-columns: 1fr auto 1fr;
2491
+ height: 40px;
2492
+ padding-block: 0;
2493
+ padding-inline-start: 8px;
2494
+ padding-inline-end: 8px;
2495
+ }
2496
+ }
2497
+ ._EditorHeader-plugins_l0swf_221 {
2498
+ align-items: center;
2499
+ color: var(--editor-text-secondary);
2500
+ display: flex;
2501
+ gap: 4px;
2502
+ grid-area: plugins;
2503
+ justify-self: start;
2504
+ }
2505
+ ._EditorHeader-plugins_l0swf_221 svg {
2506
+ height: 18px;
2507
+ width: 18px;
2508
+ }
2509
+ ._EditorHeader-pluginItem_l0swf_235 {
2510
+ align-items: center;
2511
+ display: inline-flex;
2512
+ }
2513
+ @media (min-width: 638px) {
2514
+ ._EditorHeader-pluginItem--mobileOnly_l0swf_241 {
2515
+ display: none;
2516
+ }
2517
+ }
2518
+ ._EditorHeader-pluginItem--desktopOnly_l0swf_246 {
2519
+ display: none;
2520
+ }
2521
+ @media (min-width: 638px) {
2522
+ ._EditorHeader-pluginItem--desktopOnly_l0swf_246 {
2523
+ display: inline-flex;
2524
+ }
2525
+ }
2526
+ ._EditorHeader-urlBarSlot_l0swf_256 {
2527
+ display: flex;
2528
+ grid-area: url;
2529
+ justify-content: center;
2530
+ min-width: 0;
2473
2531
  width: 100%;
2474
2532
  }
2475
2533
  @media (min-width: 638px) {
2476
- ._EditorLayout-nav_frglt_192 {
2477
- border-top: 0;
2478
- border-right: 1px solid var(--editor-border-subtle);
2479
- box-sizing: border-box;
2534
+ ._EditorHeader-urlBarSlot_l0swf_256 {
2535
+ width: clamp(240px, 40vw, 480px);
2480
2536
  }
2481
2537
  }
2482
- ._Editor-fieldSideBarToolbar_frglt_208 {
2538
+ ._EditorHeader-urlBarSlot_l0swf_256 > * {
2539
+ width: 100%;
2540
+ }
2541
+ ._EditorHeader-actions_l0swf_274 {
2483
2542
  align-items: center;
2484
- background: var(--editor-surface-panel);
2485
- border-bottom: 1px solid var(--editor-border-subtle);
2486
2543
  display: flex;
2487
- gap: 8px;
2488
- justify-content: space-between;
2489
- padding: 8px 12px;
2544
+ gap: 12px;
2545
+ grid-area: actions;
2546
+ justify-self: end;
2490
2547
  }
2491
- ._Editor-fieldSideBarHistory_frglt_218 {
2548
+ ._EditorHeader-history_l0swf_282 {
2492
2549
  color: var(--editor-text-tertiary);
2493
2550
  display: flex;
2494
2551
  gap: 2px;
2495
2552
  }
2496
- ._Editor-fieldSideBarActions_frglt_224 {
2497
- align-items: center;
2498
- display: flex;
2499
- gap: 8px;
2500
- }
2501
- ._EditorLayout-mobilePanel_frglt_230 {
2553
+ ._EditorLayout-mobilePanel_l0swf_288 {
2502
2554
  grid-area: mobilepanel;
2503
2555
  background: var(--editor-surface-panel);
2504
2556
  border-block-start: 1px solid var(--editor-border-subtle);
@@ -2506,22 +2558,22 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2506
2558
  flex-direction: column;
2507
2559
  overflow: hidden;
2508
2560
  }
2509
- ._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-mobilePanel_frglt_230 {
2561
+ ._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-mobilePanel_l0swf_288 {
2510
2562
  display: flex;
2511
2563
  }
2512
2564
  @media (min-width: 638px) {
2513
- ._EditorLayout-mobilePanel_frglt_230,
2514
- ._EditorLayout--leftSideBarVisible_frglt_87 ._EditorLayout-mobilePanel_frglt_230 {
2565
+ ._EditorLayout-mobilePanel_l0swf_288,
2566
+ ._EditorLayout--leftSideBarVisible_l0swf_86 ._EditorLayout-mobilePanel_l0swf_288 {
2515
2567
  display: none;
2516
2568
  }
2517
2569
  }
2518
- ._EditorLayout-mobilePanelContent_frglt_250 {
2570
+ ._EditorLayout-mobilePanelContent_l0swf_308 {
2519
2571
  flex: 1;
2520
2572
  overflow-y: auto;
2521
2573
  display: flex;
2522
2574
  flex-direction: column;
2523
2575
  }
2524
- ._EditorLayout-mobileDragHandle_frglt_257 {
2576
+ ._EditorLayout-mobileDragHandle_l0swf_315 {
2525
2577
  display: flex;
2526
2578
  align-items: center;
2527
2579
  justify-content: center;
@@ -2530,25 +2582,25 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2530
2582
  touch-action: none;
2531
2583
  flex-shrink: 0;
2532
2584
  }
2533
- ._EditorLayout-mobileDragHandle_frglt_257:active {
2585
+ ._EditorLayout-mobileDragHandle_l0swf_315:active {
2534
2586
  cursor: grabbing;
2535
2587
  }
2536
- ._EditorLayout-mobileDragHandlePill_frglt_271 {
2588
+ ._EditorLayout-mobileDragHandlePill_l0swf_329 {
2537
2589
  width: 36px;
2538
2590
  height: 4px;
2539
2591
  border-radius: 2px;
2540
2592
  background-color: var(--editor-border-subtle);
2541
2593
  }
2542
- ._EditorPluginTab_frglt_278 {
2594
+ ._EditorPluginTab_l0swf_336 {
2543
2595
  display: none;
2544
2596
  flex-grow: 1;
2545
2597
  max-height: 100%;
2546
2598
  }
2547
- ._EditorPluginTab--visible_frglt_284 {
2599
+ ._EditorPluginTab--visible_l0swf_342 {
2548
2600
  display: flex;
2549
2601
  flex-direction: column;
2550
2602
  }
2551
- ._EditorPluginTab-body_frglt_289 {
2603
+ ._EditorPluginTab-body_l0swf_347 {
2552
2604
  flex-grow: 1;
2553
2605
  max-height: 100%;
2554
2606
  }
@@ -2789,7 +2841,7 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2789
2841
  }
2790
2842
 
2791
2843
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/BrowserBar/styles.module.css/#css-module-data */
2792
- ._BrowserBar_coofe_1 {
2844
+ ._BrowserBar_glswb_1 {
2793
2845
  align-items: center;
2794
2846
  background: var(--editor-surface-panel);
2795
2847
  border: 1px solid var(--editor-border-subtle);
@@ -2800,7 +2852,7 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2800
2852
  padding: 8px 10px;
2801
2853
  width: 100%;
2802
2854
  }
2803
- ._BrowserBar-urlTrigger_coofe_16 {
2855
+ ._BrowserBar-urlTrigger_glswb_16 {
2804
2856
  align-items: center;
2805
2857
  background: var(--editor-surface-sunken);
2806
2858
  border: 1px solid var(--editor-border-subtle);
@@ -2813,25 +2865,25 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2813
2865
  justify-content: flex-start;
2814
2866
  min-width: 0;
2815
2867
  overflow: hidden;
2816
- padding: 4px 12px;
2868
+ padding: 3px 12px;
2817
2869
  width: 100%;
2818
2870
  }
2819
2871
  @media (hover: hover) and (pointer: fine) {
2820
- ._BrowserBar-urlTrigger_coofe_16:hover {
2872
+ ._BrowserBar-urlTrigger_glswb_16:hover {
2821
2873
  background: var(--editor-surface-hover);
2822
2874
  border-color: var(--editor-border-default);
2823
2875
  }
2824
2876
  }
2825
- ._BrowserBar-urlTrigger_coofe_16:focus-within {
2877
+ ._BrowserBar-urlTrigger_glswb_16:focus-within {
2826
2878
  border-color: var(--editor-border-default);
2827
2879
  box-shadow: var(--editor-ring);
2828
2880
  outline: none;
2829
2881
  }
2830
- ._BrowserBar-urlIcon_coofe_46 {
2882
+ ._BrowserBar-urlIcon_glswb_46 {
2831
2883
  color: var(--editor-text-tertiary);
2832
2884
  flex-shrink: 0;
2833
2885
  }
2834
- ._BrowserBar-urlText_coofe_51 {
2886
+ ._BrowserBar-urlText_glswb_51 {
2835
2887
  color: var(--editor-text-primary);
2836
2888
  display: inline-flex;
2837
2889
  flex: 1;
@@ -2842,37 +2894,44 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2842
2894
  text-overflow: ellipsis;
2843
2895
  white-space: nowrap;
2844
2896
  }
2845
- ._BrowserBar-urlInput_coofe_63 {
2897
+ ._BrowserBar-urlInput_glswb_63 {
2846
2898
  color: var(--editor-text-primary);
2847
2899
  flex: 1;
2848
2900
  min-width: 0;
2849
2901
  }
2850
- ._BrowserBar-itemPath_coofe_69 {
2902
+ ._BrowserBar-itemPath_glswb_69 {
2851
2903
  color: var(--editor-text-primary);
2852
2904
  flex-shrink: 0;
2853
2905
  }
2854
- ._BrowserBar-itemTitle_coofe_74 {
2906
+ ._BrowserBar-itemTitle_glswb_74 {
2855
2907
  color: var(--editor-text-tertiary);
2856
2908
  margin-left: auto;
2857
2909
  overflow: hidden;
2858
2910
  text-overflow: ellipsis;
2859
2911
  white-space: nowrap;
2860
2912
  }
2861
- ._BrowserBar-actions_coofe_82 {
2913
+ ._BrowserBar-actions_glswb_82 {
2862
2914
  align-items: center;
2863
2915
  display: flex;
2864
2916
  flex-shrink: 0;
2865
2917
  gap: 2px;
2866
2918
  margin-left: auto;
2867
2919
  }
2868
- ._BrowserBar-deviceIcon_coofe_92 {
2920
+ ._BrowserBar-deviceIcon_glswb_92 {
2869
2921
  color: var(--editor-text-primary);
2870
2922
  display: inline-flex;
2871
2923
  }
2872
2924
 
2873
2925
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Canvas/styles.module.css/#css-module-data */
2874
- ._EditorCanvas_1aq14_1 {
2875
- background: var(--editor-surface-sunken);
2926
+ ._EditorCanvas_10xv6_1 {
2927
+ background-color: var(--editor-surface-sunken);
2928
+ background-image:
2929
+ radial-gradient(
2930
+ circle,
2931
+ var(--editor-border-default) 1px,
2932
+ transparent 1px);
2933
+ background-size: 16px 16px;
2934
+ background-position: 0 0;
2876
2935
  display: flex;
2877
2936
  grid-area: editor;
2878
2937
  flex-direction: column;
@@ -2881,30 +2940,26 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2881
2940
  overflow: hidden;
2882
2941
  }
2883
2942
  @media (min-width: 1198px) {
2884
- ._EditorCanvas_1aq14_1 {
2943
+ ._EditorCanvas_10xv6_1 {
2885
2944
  padding: calc(var(--editor-space-px) * 0.75);
2886
- padding-top: calc(var(--editor-space-px) * 0.25);
2887
- }
2888
- ._EditorCanvas_1aq14_1:not(._EditorCanvas_1aq14_1:has(._EditorCanvas-controls_1aq14_17)) {
2889
- padding-top: calc(var(--editor-space-px) * 0.75);
2890
2945
  }
2891
2946
  }
2892
- ._EditorCanvas--fullScreen_1aq14_22 {
2947
+ ._EditorCanvas--fullScreen_10xv6_24 {
2893
2948
  padding: 0;
2894
2949
  overflow: hidden;
2895
2950
  }
2896
2951
  @media (min-width: 1198px) {
2897
- ._EditorCanvas--fullScreen_1aq14_22 {
2952
+ ._EditorCanvas--fullScreen_10xv6_24 {
2898
2953
  padding: 0;
2899
2954
  }
2900
2955
  }
2901
- ._EditorCanvas--canvasFullScreen_1aq14_42 {
2956
+ ._EditorCanvas--canvasFullScreen_10xv6_40 {
2902
2957
  position: fixed;
2903
2958
  inset: 0;
2904
2959
  z-index: 1000;
2905
2960
  padding: 0 !important;
2906
2961
  }
2907
- ._EditorCanvas-inner_1aq14_49 {
2962
+ ._EditorCanvas-inner_10xv6_47 {
2908
2963
  display: flex;
2909
2964
  height: 100%;
2910
2965
  justify-content: center;
@@ -2912,7 +2967,7 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2912
2967
  position: relative;
2913
2968
  width: 100%;
2914
2969
  }
2915
- ._EditorCanvas-rootColumn_1aq14_62 {
2970
+ ._EditorCanvas-rootColumn_10xv6_56 {
2916
2971
  box-sizing: content-box;
2917
2972
  display: flex;
2918
2973
  flex-direction: column;
@@ -2921,34 +2976,34 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2921
2976
  transform-origin: top;
2922
2977
  }
2923
2978
  @media (min-width: 1198px) {
2924
- ._EditorCanvas-rootColumn_1aq14_62 {
2979
+ ._EditorCanvas-rootColumn_10xv6_56 {
2925
2980
  min-width: unset;
2926
2981
  }
2927
2982
  }
2928
2983
  @media (prefers-reduced-motion: reduce) {
2929
- ._EditorCanvas-rootColumn_1aq14_62 {
2984
+ ._EditorCanvas-rootColumn_10xv6_56 {
2930
2985
  transition: none !important;
2931
2986
  }
2932
2987
  }
2933
- ._EditorCanvas-root_1aq14_62 {
2988
+ ._EditorCanvas-root_10xv6_56 {
2934
2989
  background: var(--editor-surface-panel);
2935
2990
  outline: 1px solid var(--editor-border-subtle);
2936
2991
  box-shadow: var(--editor-shadow-lg);
2937
- border-radius: 0 0 var(--editor-radius-md) var(--editor-radius-md);
2992
+ border-radius: var(--editor-radius-md);
2938
2993
  flex: 1;
2939
2994
  pointer-events: none;
2940
2995
  opacity: 0;
2941
2996
  }
2942
2997
  @media (prefers-reduced-motion: reduce) {
2943
- ._EditorCanvas-root_1aq14_62 {
2998
+ ._EditorCanvas-root_10xv6_56 {
2944
2999
  transition: none !important;
2945
3000
  }
2946
3001
  }
2947
- ._EditorCanvas--ready_1aq14_99 ._EditorCanvas-root_1aq14_62 {
3002
+ ._EditorCanvas--ready_10xv6_93 ._EditorCanvas-root_10xv6_56 {
2948
3003
  pointer-events: unset;
2949
3004
  opacity: 1;
2950
3005
  }
2951
- ._EditorCanvas-loader_1aq14_104 {
3006
+ ._EditorCanvas-loader_10xv6_98 {
2952
3007
  align-items: center;
2953
3008
  color: var(--editor-text-tertiary);
2954
3009
  display: flex;
@@ -2959,30 +3014,49 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2959
3014
  transition: opacity 250ms ease-out;
2960
3015
  opacity: 0;
2961
3016
  }
2962
- ._EditorCanvas--showLoader_1aq14_116 ._EditorCanvas-loader_1aq14_104 {
3017
+ ._EditorCanvas--showLoader_10xv6_110 ._EditorCanvas-loader_10xv6_98 {
2963
3018
  opacity: 1;
2964
3019
  }
2965
- ._EditorCanvas--showLoader_1aq14_116._EditorCanvas--ready_1aq14_99 ._EditorCanvas-loader_1aq14_104 {
3020
+ ._EditorCanvas--showLoader_10xv6_110._EditorCanvas--ready_10xv6_93 ._EditorCanvas-loader_10xv6_98 {
2966
3021
  opacity: 0;
2967
3022
  transition: none;
2968
3023
  }
2969
- ._EditorCanvas-browserBar_1aq14_125 {
2970
- flex-shrink: 0;
2971
- width: 100%;
3024
+ ._EditorCanvas-bottomBar_10xv6_119 {
3025
+ align-items: center;
3026
+ bottom: 16px;
3027
+ display: flex;
3028
+ justify-content: center;
3029
+ left: 0;
3030
+ pointer-events: none;
3031
+ position: absolute;
3032
+ right: 0;
3033
+ z-index: 10;
2972
3034
  }
2973
- ._EditorCanvas-zoomControls_1aq14_130 {
3035
+ ._EditorCanvas-bottomBarPill_10xv6_131 {
2974
3036
  align-items: center;
2975
3037
  background: var(--editor-surface-panel);
2976
3038
  border: 1px solid var(--editor-border-subtle);
2977
3039
  border-radius: var(--editor-radius-md);
2978
- bottom: 16px;
2979
3040
  box-shadow: var(--editor-shadow-md);
3041
+ color: var(--editor-text-primary);
2980
3042
  display: flex;
2981
- gap: 2px;
2982
- padding: 4px;
2983
- position: absolute;
2984
- right: 16px;
2985
- z-index: 10;
3043
+ gap: 4px;
3044
+ padding: 4px 8px;
3045
+ pointer-events: auto;
3046
+ }
3047
+ ._EditorCanvas-bottomBarDivider_10xv6_144 {
3048
+ background: var(--editor-border-subtle);
3049
+ height: 18px;
3050
+ margin: 0 4px;
3051
+ width: 1px;
3052
+ }
3053
+ ._EditorCanvas-zoomLevel_10xv6_151 {
3054
+ color: var(--editor-text-secondary);
3055
+ font-size: var(--editor-font-size-xxs);
3056
+ font-variant-numeric: tabular-nums;
3057
+ min-width: 36px;
3058
+ padding: 0 4px;
3059
+ text-align: center;
2986
3060
  }
2987
3061
 
2988
3062
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/ResizeHandle/styles.module.css/#css-module-data */
@@ -3062,134 +3136,6 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
3062
3136
  justify-self: start;
3063
3137
  }
3064
3138
 
3065
- /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Nav/styles.module.css/#css-module-data */
3066
- ._Nav_1g4tk_1 {
3067
- display: flex;
3068
- align-items: center;
3069
- padding: 10px 0;
3070
- padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
3071
- }
3072
- @media (min-width: 638px) {
3073
- ._Nav_1g4tk_1 {
3074
- flex-direction: column;
3075
- height: 100%;
3076
- padding: 0;
3077
- padding-bottom: 0;
3078
- align-items: stretch;
3079
- }
3080
- }
3081
- ._Nav-list_1g4tk_18 {
3082
- display: flex;
3083
- list-style: none;
3084
- margin: 0;
3085
- padding: 0;
3086
- overflow-x: auto;
3087
- gap: 12px;
3088
- justify-content: center;
3089
- flex: 1;
3090
- }
3091
- @media (min-width: 638px) {
3092
- ._Nav-list_1g4tk_18 {
3093
- padding-top: 16px;
3094
- flex-direction: column;
3095
- gap: 4px;
3096
- width: 100%;
3097
- flex-grow: 1;
3098
- overflow-x: hidden;
3099
- overflow-y: auto;
3100
- justify-content: flex-start;
3101
- }
3102
- }
3103
- ._Nav-footer_1g4tk_42 {
3104
- display: none;
3105
- }
3106
- @media (min-width: 638px) {
3107
- ._Nav-footer_1g4tk_42 {
3108
- display: flex;
3109
- align-items: center;
3110
- justify-content: center;
3111
- padding: 12px 0;
3112
- }
3113
- }
3114
- ._NavItem-link_1g4tk_55 {
3115
- text-align: center;
3116
- align-items: center;
3117
- justify-content: center;
3118
- color: var(--editor-text-secondary);
3119
- display: flex;
3120
- text-decoration: none;
3121
- cursor: pointer;
3122
- border-radius: var(--editor-radius-md);
3123
- padding: 6px;
3124
- box-sizing: border-box;
3125
- transition: background-color var(--editor-motion-fast) var(--editor-ease), color var(--editor-motion-fast) var(--editor-ease);
3126
- border: 0;
3127
- width: 38px;
3128
- height: 38px;
3129
- margin: 0 auto;
3130
- position: relative;
3131
- }
3132
- @media (min-width: 638px) {
3133
- ._NavItem-link_1g4tk_55 {
3134
- padding: 4px;
3135
- width: 32px;
3136
- height: 32px;
3137
- }
3138
- }
3139
- ._NavItem-linkLabel_1g4tk_83 {
3140
- clip: rect(0 0 0 0);
3141
- clip-path: inset(100%);
3142
- height: 1px;
3143
- overflow: hidden;
3144
- position: absolute;
3145
- white-space: nowrap;
3146
- width: 1px;
3147
- }
3148
- ._NavItem_1g4tk_55:first-of-type {
3149
- padding-left: 0;
3150
- }
3151
- ._NavItem_1g4tk_55:last-of-type {
3152
- padding-right: 0;
3153
- }
3154
- @media (min-width: 638px) {
3155
- ._NavItem_1g4tk_55:first-of-type,
3156
- ._NavItem_1g4tk_55:last-of-type {
3157
- padding: 0;
3158
- }
3159
- }
3160
- ._NavItem-linkIcon_1g4tk_108 {
3161
- height: 18px;
3162
- width: 18px;
3163
- display: flex;
3164
- align-items: center;
3165
- justify-content: center;
3166
- }
3167
- ._NavItem-linkIcon_1g4tk_108 svg {
3168
- width: 18px;
3169
- height: 18px;
3170
- }
3171
- ._NavItem--active_1g4tk_121 > ._NavItem-link_1g4tk_55 {
3172
- background-color: var(--editor-accent-soft);
3173
- color: var(--editor-text-accent);
3174
- }
3175
- ._NavItem_1g4tk_55:not(._NavItem--active_1g4tk_121) > ._NavItem-link_1g4tk_55:hover {
3176
- background-color: var(--editor-surface-hover);
3177
- color: var(--editor-text-accent);
3178
- }
3179
- @media (min-width: 638px) {
3180
- ._NavItem--mobileOnly_1g4tk_132 {
3181
- display: none;
3182
- }
3183
- }
3184
- ._NavItem--desktopOnly_1g4tk_137 {
3185
- display: none;
3186
- }
3187
- @media (min-width: 638px) {
3188
- ._NavItem--desktopOnly_1g4tk_137 {
3189
- display: block;
3190
- }
3191
- }
3192
-
3193
3139
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/plugins/blocks/styles.module.css/#css-module-data */
3194
3140
  ._BlocksPlugin_15ud0_1 {
3195
3141
  padding: 16px;