@povio/ui 5.0.0-rc.5 → 5.0.0-rc.6
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/{ComponentGallery-BWiPGUL8.js → ComponentGallery-C2tjrHWn.js} +93 -86
- package/dist/{Table-piX1SWvN.js → Table-BN2_J_Ne.js} +1 -54
- package/dist/config/ui-configurator.js +951 -113
- package/dist/index.js +3 -3
- package/dist/rhf.js +3 -3
- package/dist/styles/configurator.css +361 -10
- package/dist/{table.cva-DlMT-zLD.js → table.cva-D5oQ-QvA.js} +54 -1
- package/dist/tanstack/table.js +2 -2
- package/dist/tanstack.js +3 -3
- package/dist/{useTableColumnConfig-BTGZiluz.js → useTableColumnConfig-Di0_w80v.js} +1 -1
- package/package.json +1 -1
- package/src/configurator/README.md +6 -0
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { t as logger } from "./logger-CqZjM-sn.js";
|
|
|
2
2
|
import { t as DropdownMenu } from "./DropdownMenu-5jmtgLXd.js";
|
|
3
3
|
import { n as MenuPopover, r as MenuItem } from "./DropdownMenuDesktop-Cl9gZVq0.js";
|
|
4
4
|
import { a as isEqual, i as useDeepCompareMemo, n as useDeepCompareEffect, o as ObjectUtils, r as useDeepCompareLayoutEffect, t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
5
|
-
import { i as
|
|
5
|
+
import { a as tableHeaderTextDefinition, i as tableHeadRowDefinition, n as tableDataDefinition, o as tableRowDefinition, r as tableHeadDataDefinition, t as tableCellTextDefinition } from "./table.cva-D5oQ-QvA.js";
|
|
6
6
|
import { a as checkboxDefinition, i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition, s as checkboxIconDefinition } from "./CheckboxCheckmark-CpC3wlMs.js";
|
|
7
7
|
import { n as selectListBoxItemDefinition, r as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-CHAMxhfO.js";
|
|
8
8
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
@@ -93,9 +93,9 @@ import { a as toastDefinition, n as statusIconDefinition$1, r as statusSeparator
|
|
|
93
93
|
import { t as Toast } from "./Toast-DtG3pA61.js";
|
|
94
94
|
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-qgpzMFD4.js";
|
|
95
95
|
import { useToast } from "./components/use-toast.js";
|
|
96
|
-
import {
|
|
96
|
+
import { i as CellText, n as useTableNav, r as HeaderText, t as Table } from "./Table-BN2_J_Ne.js";
|
|
97
97
|
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
98
|
-
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "./useTableColumnConfig-
|
|
98
|
+
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "./useTableColumnConfig-Di0_w80v.js";
|
|
99
99
|
import { t as linkDefinition } from "./link.cva-DMTHZiJG.js";
|
|
100
100
|
import { Link } from "./components/link.js";
|
|
101
101
|
import { Badge } from "./components/badge.js";
|
package/dist/rhf.js
CHANGED
|
@@ -2,7 +2,7 @@ import { t as logger } from "./logger-CqZjM-sn.js";
|
|
|
2
2
|
import { t as DropdownMenu } from "./DropdownMenu-5jmtgLXd.js";
|
|
3
3
|
import { n as MenuPopover, r as MenuItem } from "./DropdownMenuDesktop-Cl9gZVq0.js";
|
|
4
4
|
import { a as isEqual, i as useDeepCompareMemo, n as useDeepCompareEffect, o as ObjectUtils, r as useDeepCompareLayoutEffect, t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
5
|
-
import { i as
|
|
5
|
+
import { a as tableHeaderTextDefinition, i as tableHeadRowDefinition, n as tableDataDefinition, o as tableRowDefinition, r as tableHeadDataDefinition, t as tableCellTextDefinition } from "./table.cva-D5oQ-QvA.js";
|
|
6
6
|
import { a as checkboxDefinition, i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition, s as checkboxIconDefinition } from "./CheckboxCheckmark-CpC3wlMs.js";
|
|
7
7
|
import { n as selectListBoxItemDefinition, r as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-CHAMxhfO.js";
|
|
8
8
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
@@ -93,9 +93,9 @@ import { a as toastDefinition, n as statusIconDefinition$1, r as statusSeparator
|
|
|
93
93
|
import { t as Toast } from "./Toast-DtG3pA61.js";
|
|
94
94
|
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-qgpzMFD4.js";
|
|
95
95
|
import { useToast } from "./components/use-toast.js";
|
|
96
|
-
import {
|
|
96
|
+
import { i as CellText, n as useTableNav, r as HeaderText, t as Table } from "./Table-BN2_J_Ne.js";
|
|
97
97
|
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
98
|
-
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "./useTableColumnConfig-
|
|
98
|
+
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "./useTableColumnConfig-Di0_w80v.js";
|
|
99
99
|
import { t as linkDefinition } from "./link.cva-DMTHZiJG.js";
|
|
100
100
|
import { Link } from "./components/link.js";
|
|
101
101
|
import { Badge } from "./components/badge.js";
|
|
@@ -74,16 +74,23 @@
|
|
|
74
74
|
font-size: 11px;
|
|
75
75
|
font-weight: 550;
|
|
76
76
|
}
|
|
77
|
-
/*
|
|
77
|
+
/* Keep the application visible around the movable configurator window. */
|
|
78
78
|
.studio-overlay {
|
|
79
79
|
position: fixed;
|
|
80
80
|
inset: 0;
|
|
81
|
-
background: #
|
|
81
|
+
background: #14232240;
|
|
82
|
+
display: grid;
|
|
83
|
+
place-items: center;
|
|
84
|
+
padding: 8px;
|
|
82
85
|
z-index: 1000;
|
|
83
86
|
}
|
|
84
87
|
.studio-modal {
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
position: relative;
|
|
89
|
+
container-type: inline-size;
|
|
90
|
+
width: min(1440px, calc(100vw - 48px));
|
|
91
|
+
height: min(900px, calc(100dvh - 48px));
|
|
92
|
+
border-radius: 12px;
|
|
93
|
+
box-shadow: 0 25px 90px #12251f30;
|
|
87
94
|
background: #fff;
|
|
88
95
|
overflow: hidden;
|
|
89
96
|
}
|
|
@@ -149,7 +156,7 @@
|
|
|
149
156
|
.studio-topbar .studio-search:has(input:disabled) {
|
|
150
157
|
opacity: 0.5;
|
|
151
158
|
}
|
|
152
|
-
@
|
|
159
|
+
@container (max-width: 800px) {
|
|
153
160
|
.studio-topbar-controls {
|
|
154
161
|
flex-wrap: wrap;
|
|
155
162
|
margin-left: 0;
|
|
@@ -220,6 +227,18 @@
|
|
|
220
227
|
overflow-x: auto;
|
|
221
228
|
scrollbar-width: none;
|
|
222
229
|
}
|
|
230
|
+
.studio-section-tabs {
|
|
231
|
+
display: flex;
|
|
232
|
+
flex: 1;
|
|
233
|
+
align-items: center;
|
|
234
|
+
gap: 2px;
|
|
235
|
+
min-width: 0;
|
|
236
|
+
overflow-x: auto;
|
|
237
|
+
scrollbar-width: none;
|
|
238
|
+
}
|
|
239
|
+
.studio-nav .studio-preview-tab {
|
|
240
|
+
display: none;
|
|
241
|
+
}
|
|
223
242
|
.studio-nav-divider {
|
|
224
243
|
flex-shrink: 0;
|
|
225
244
|
width: 1px;
|
|
@@ -724,7 +743,7 @@
|
|
|
724
743
|
color: #4e4e4e;
|
|
725
744
|
margin: 18px 0;
|
|
726
745
|
}
|
|
727
|
-
@
|
|
746
|
+
@container (max-width: 1050px) {
|
|
728
747
|
.studio-dialog {
|
|
729
748
|
grid-template-columns: var(--studio-editor-track, minmax(260px, 0.8fr)) minmax(280px, 1.25fr);
|
|
730
749
|
}
|
|
@@ -738,7 +757,7 @@
|
|
|
738
757
|
padding: 8px;
|
|
739
758
|
}
|
|
740
759
|
}
|
|
741
|
-
@
|
|
760
|
+
@container (max-width: 800px) {
|
|
742
761
|
/* One scrolling column: top bar, editor, preview, then the footer pinned to the bottom. */
|
|
743
762
|
.studio-dialog {
|
|
744
763
|
display: flex;
|
|
@@ -857,12 +876,12 @@
|
|
|
857
876
|
right: 1px;
|
|
858
877
|
padding: 5px;
|
|
859
878
|
}
|
|
860
|
-
@
|
|
879
|
+
@container (min-width: 801px) and (max-width: 1100px) {
|
|
861
880
|
.studio-type-fields {
|
|
862
881
|
grid-template-columns: 1fr;
|
|
863
882
|
}
|
|
864
883
|
}
|
|
865
|
-
@
|
|
884
|
+
@container (max-width: 420px) {
|
|
866
885
|
.studio-type-fields {
|
|
867
886
|
gap: 6px;
|
|
868
887
|
}
|
|
@@ -899,7 +918,7 @@
|
|
|
899
918
|
grid-column: 2;
|
|
900
919
|
margin: 0;
|
|
901
920
|
}
|
|
902
|
-
@
|
|
921
|
+
@container (max-width: 420px) {
|
|
903
922
|
.studio-token-list-inline .studio-token {
|
|
904
923
|
grid-template-columns: minmax(0, 1fr) minmax(165px, 50%);
|
|
905
924
|
gap: 6px 10px;
|
|
@@ -2363,3 +2382,335 @@
|
|
|
2363
2382
|
justify-content: flex-end;
|
|
2364
2383
|
gap: 8px;
|
|
2365
2384
|
}
|
|
2385
|
+
|
|
2386
|
+
.studio-window-grip {
|
|
2387
|
+
position: absolute;
|
|
2388
|
+
top: 20px;
|
|
2389
|
+
right: 18px;
|
|
2390
|
+
z-index: 5;
|
|
2391
|
+
display: grid;
|
|
2392
|
+
place-items: center;
|
|
2393
|
+
border: 0;
|
|
2394
|
+
padding: 4px;
|
|
2395
|
+
background: transparent;
|
|
2396
|
+
color: #858585;
|
|
2397
|
+
touch-action: none;
|
|
2398
|
+
flex-shrink: 0;
|
|
2399
|
+
border-radius: 5px;
|
|
2400
|
+
}
|
|
2401
|
+
.studio-overlay .studio-window-grip {
|
|
2402
|
+
cursor: grab;
|
|
2403
|
+
}
|
|
2404
|
+
.studio-overlay .studio-window-grip:active {
|
|
2405
|
+
cursor: grabbing;
|
|
2406
|
+
}
|
|
2407
|
+
.studio-window-resize {
|
|
2408
|
+
position: absolute;
|
|
2409
|
+
z-index: 4;
|
|
2410
|
+
display: block;
|
|
2411
|
+
border: 0;
|
|
2412
|
+
padding: 0;
|
|
2413
|
+
background: transparent;
|
|
2414
|
+
touch-action: none;
|
|
2415
|
+
}
|
|
2416
|
+
.studio-window-resize-n,
|
|
2417
|
+
.studio-window-resize-s {
|
|
2418
|
+
left: 12px;
|
|
2419
|
+
right: 12px;
|
|
2420
|
+
height: 6px;
|
|
2421
|
+
}
|
|
2422
|
+
.studio-window-resize-e,
|
|
2423
|
+
.studio-window-resize-w {
|
|
2424
|
+
top: 12px;
|
|
2425
|
+
bottom: 12px;
|
|
2426
|
+
width: 6px;
|
|
2427
|
+
}
|
|
2428
|
+
.studio-window-resize-n {
|
|
2429
|
+
top: 0;
|
|
2430
|
+
cursor: ns-resize !important;
|
|
2431
|
+
}
|
|
2432
|
+
.studio-window-resize-s {
|
|
2433
|
+
bottom: 0;
|
|
2434
|
+
cursor: ns-resize !important;
|
|
2435
|
+
}
|
|
2436
|
+
.studio-window-resize-e {
|
|
2437
|
+
right: 0;
|
|
2438
|
+
cursor: ew-resize !important;
|
|
2439
|
+
}
|
|
2440
|
+
.studio-window-resize-w {
|
|
2441
|
+
left: 0;
|
|
2442
|
+
cursor: ew-resize !important;
|
|
2443
|
+
}
|
|
2444
|
+
.studio-window-resize-ne,
|
|
2445
|
+
.studio-window-resize-se,
|
|
2446
|
+
.studio-window-resize-sw,
|
|
2447
|
+
.studio-window-resize-nw {
|
|
2448
|
+
width: 12px;
|
|
2449
|
+
height: 12px;
|
|
2450
|
+
}
|
|
2451
|
+
.studio-window-resize-ne {
|
|
2452
|
+
top: 0;
|
|
2453
|
+
right: 0;
|
|
2454
|
+
cursor: nesw-resize !important;
|
|
2455
|
+
}
|
|
2456
|
+
.studio-window-resize-se {
|
|
2457
|
+
bottom: 0;
|
|
2458
|
+
right: 0;
|
|
2459
|
+
cursor: nwse-resize !important;
|
|
2460
|
+
}
|
|
2461
|
+
.studio-window-resize-sw {
|
|
2462
|
+
bottom: 0;
|
|
2463
|
+
left: 0;
|
|
2464
|
+
cursor: nesw-resize !important;
|
|
2465
|
+
}
|
|
2466
|
+
.studio-window-resize-nw {
|
|
2467
|
+
top: 0;
|
|
2468
|
+
left: 0;
|
|
2469
|
+
cursor: nwse-resize !important;
|
|
2470
|
+
}
|
|
2471
|
+
.studio-window-grip:focus-visible,
|
|
2472
|
+
.studio-window-resize:focus-visible {
|
|
2473
|
+
outline: 2px solid #555;
|
|
2474
|
+
outline-offset: -2px;
|
|
2475
|
+
}
|
|
2476
|
+
@media (max-width: 600px) {
|
|
2477
|
+
.studio-modal {
|
|
2478
|
+
width: calc(100vw - 16px);
|
|
2479
|
+
height: calc(100dvh - 16px);
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
/* The grip belongs to the window, so scrolling or hiding the preview cannot hide it. */
|
|
2484
|
+
.studio-preview-actions {
|
|
2485
|
+
padding-right: 36px;
|
|
2486
|
+
}
|
|
2487
|
+
@container (max-width: 1050px) {
|
|
2488
|
+
.studio-window-grip {
|
|
2489
|
+
top: 18px;
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
@container (max-width: 800px) {
|
|
2493
|
+
.studio-window-grip {
|
|
2494
|
+
top: 10px;
|
|
2495
|
+
right: 12px;
|
|
2496
|
+
}
|
|
2497
|
+
.studio-topbar {
|
|
2498
|
+
padding-right: 48px;
|
|
2499
|
+
}
|
|
2500
|
+
.studio-preview-actions {
|
|
2501
|
+
padding-right: 0;
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
/* Resized windows must not inherit the gallery specimens' intrinsic minimum width. */
|
|
2506
|
+
.studio-layout-card {
|
|
2507
|
+
min-width: 0;
|
|
2508
|
+
max-width: 100%;
|
|
2509
|
+
}
|
|
2510
|
+
.studio-gallery-grid {
|
|
2511
|
+
grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
|
|
2512
|
+
}
|
|
2513
|
+
.studio-palette-actions {
|
|
2514
|
+
flex-shrink: 0;
|
|
2515
|
+
}
|
|
2516
|
+
@container (max-width: 800px) {
|
|
2517
|
+
.studio-dialog > .studio-topbar,
|
|
2518
|
+
.studio-body > .studio-editor,
|
|
2519
|
+
.studio-body > .studio-preview,
|
|
2520
|
+
.studio-dialog > .studio-footer {
|
|
2521
|
+
min-width: 0;
|
|
2522
|
+
max-width: 100%;
|
|
2523
|
+
box-sizing: border-box;
|
|
2524
|
+
}
|
|
2525
|
+
}
|
|
2526
|
+
/* Wide specimens (tables and steppers) scroll within their own preview, never the window. */
|
|
2527
|
+
.studio-layout-card.is-screen,
|
|
2528
|
+
.studio-gallery-demo {
|
|
2529
|
+
min-width: 0;
|
|
2530
|
+
max-width: 100%;
|
|
2531
|
+
overflow-x: auto;
|
|
2532
|
+
}
|
|
2533
|
+
@container (max-width: 800px) {
|
|
2534
|
+
.studio-topbar {
|
|
2535
|
+
position: sticky;
|
|
2536
|
+
top: 0;
|
|
2537
|
+
z-index: 4;
|
|
2538
|
+
flex-shrink: 0;
|
|
2539
|
+
}
|
|
2540
|
+
.studio-nav .studio-preview-tab {
|
|
2541
|
+
display: flex;
|
|
2542
|
+
margin-left: auto;
|
|
2543
|
+
}
|
|
2544
|
+
.studio-dialog:not([data-compact-preview]) .studio-preview,
|
|
2545
|
+
.studio-dialog[data-compact-preview] .studio-editor {
|
|
2546
|
+
display: none;
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
.studio-window-popout {
|
|
2551
|
+
position: absolute;
|
|
2552
|
+
top: 20px;
|
|
2553
|
+
right: 50px;
|
|
2554
|
+
z-index: 5;
|
|
2555
|
+
display: grid;
|
|
2556
|
+
place-items: center;
|
|
2557
|
+
width: 28px;
|
|
2558
|
+
height: 28px;
|
|
2559
|
+
border: 0;
|
|
2560
|
+
border-radius: 5px;
|
|
2561
|
+
color: #858585;
|
|
2562
|
+
background: transparent;
|
|
2563
|
+
}
|
|
2564
|
+
.studio-window-popout:focus-visible {
|
|
2565
|
+
outline: 2px solid #555;
|
|
2566
|
+
outline-offset: -2px;
|
|
2567
|
+
}
|
|
2568
|
+
.studio-preview-actions {
|
|
2569
|
+
padding-right: 68px;
|
|
2570
|
+
}
|
|
2571
|
+
@container (max-width: 1050px) {
|
|
2572
|
+
.studio-window-popout {
|
|
2573
|
+
top: 18px;
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
@container (max-width: 800px) {
|
|
2577
|
+
.studio-window-popout {
|
|
2578
|
+
top: 10px;
|
|
2579
|
+
right: 44px;
|
|
2580
|
+
}
|
|
2581
|
+
.studio-topbar {
|
|
2582
|
+
padding-right: 80px;
|
|
2583
|
+
}
|
|
2584
|
+
.studio-preview-actions {
|
|
2585
|
+
padding-right: 0;
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
[data-povio-ui-popout] .studio-overlay {
|
|
2589
|
+
padding: 0;
|
|
2590
|
+
}
|
|
2591
|
+
[data-povio-ui-popout] .studio-modal-popout {
|
|
2592
|
+
width: 100vw;
|
|
2593
|
+
height: 100dvh;
|
|
2594
|
+
border-radius: 0;
|
|
2595
|
+
box-shadow: none;
|
|
2596
|
+
}
|
|
2597
|
+
.studio-modal-popout .studio-window-popout {
|
|
2598
|
+
right: 18px;
|
|
2599
|
+
}
|
|
2600
|
+
.studio-modal-popout .studio-preview-actions {
|
|
2601
|
+
padding-right: 36px;
|
|
2602
|
+
}
|
|
2603
|
+
@container (max-width: 800px) {
|
|
2604
|
+
.studio-modal-popout .studio-topbar {
|
|
2605
|
+
padding-right: 48px;
|
|
2606
|
+
}
|
|
2607
|
+
.studio-modal-popout .studio-preview-actions {
|
|
2608
|
+
padding-right: 0;
|
|
2609
|
+
}
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
@container (max-width: 800px) {
|
|
2613
|
+
.studio-topbar,
|
|
2614
|
+
.studio-modal-popout .studio-topbar {
|
|
2615
|
+
padding-right: 16px;
|
|
2616
|
+
}
|
|
2617
|
+
.studio-topbar-controls {
|
|
2618
|
+
margin-right: 64px;
|
|
2619
|
+
}
|
|
2620
|
+
.studio-modal-popout .studio-topbar-controls {
|
|
2621
|
+
margin-right: 32px;
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
.studio-palette-native {
|
|
2625
|
+
position: relative;
|
|
2626
|
+
}
|
|
2627
|
+
.studio-palette-native > select {
|
|
2628
|
+
position: absolute;
|
|
2629
|
+
inset: 0;
|
|
2630
|
+
width: 100%;
|
|
2631
|
+
height: 100%;
|
|
2632
|
+
opacity: 0;
|
|
2633
|
+
cursor: pointer;
|
|
2634
|
+
}
|
|
2635
|
+
.studio-palette-native:focus-within {
|
|
2636
|
+
outline: 2px solid #797979;
|
|
2637
|
+
outline-offset: 2px;
|
|
2638
|
+
border-radius: 4px;
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
.studio-window-minimize {
|
|
2642
|
+
position: absolute;
|
|
2643
|
+
top: 20px;
|
|
2644
|
+
right: 82px;
|
|
2645
|
+
z-index: 5;
|
|
2646
|
+
display: grid;
|
|
2647
|
+
place-items: center;
|
|
2648
|
+
width: 28px;
|
|
2649
|
+
height: 28px;
|
|
2650
|
+
padding: 0;
|
|
2651
|
+
border: 0;
|
|
2652
|
+
border-radius: 5px;
|
|
2653
|
+
color: #858585;
|
|
2654
|
+
background: transparent;
|
|
2655
|
+
}
|
|
2656
|
+
.studio-window-minimize:focus-visible {
|
|
2657
|
+
outline: 2px solid #555;
|
|
2658
|
+
outline-offset: -2px;
|
|
2659
|
+
}
|
|
2660
|
+
.studio-preview-actions {
|
|
2661
|
+
padding-right: 100px;
|
|
2662
|
+
}
|
|
2663
|
+
.studio-modal-popout .studio-window-minimize {
|
|
2664
|
+
right: 50px;
|
|
2665
|
+
}
|
|
2666
|
+
.studio-modal-popout .studio-preview-actions {
|
|
2667
|
+
padding-right: 68px;
|
|
2668
|
+
}
|
|
2669
|
+
@container (max-width: 1050px) {
|
|
2670
|
+
.studio-window-minimize {
|
|
2671
|
+
top: 18px;
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
@container (max-width: 800px) {
|
|
2675
|
+
.studio-window-minimize {
|
|
2676
|
+
top: 10px;
|
|
2677
|
+
right: 76px;
|
|
2678
|
+
}
|
|
2679
|
+
.studio-topbar-controls {
|
|
2680
|
+
margin-right: 96px;
|
|
2681
|
+
}
|
|
2682
|
+
.studio-modal-popout .studio-topbar-controls {
|
|
2683
|
+
margin-right: 64px;
|
|
2684
|
+
}
|
|
2685
|
+
.studio-preview-actions,
|
|
2686
|
+
.studio-modal-popout .studio-preview-actions {
|
|
2687
|
+
padding-right: 0;
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
.studio-floating-launcher {
|
|
2691
|
+
position: fixed;
|
|
2692
|
+
z-index: 1000;
|
|
2693
|
+
display: flex;
|
|
2694
|
+
align-items: center;
|
|
2695
|
+
gap: 10px;
|
|
2696
|
+
padding: 12px 16px;
|
|
2697
|
+
border: 1px solid #555;
|
|
2698
|
+
border-radius: 999px;
|
|
2699
|
+
background: #292929;
|
|
2700
|
+
color: #fff;
|
|
2701
|
+
box-shadow: 0 4px 16px #0003;
|
|
2702
|
+
font:
|
|
2703
|
+
600 13px/1.4 "Inter Variable",
|
|
2704
|
+
Inter,
|
|
2705
|
+
sans-serif;
|
|
2706
|
+
cursor: grab;
|
|
2707
|
+
touch-action: none;
|
|
2708
|
+
user-select: none;
|
|
2709
|
+
}
|
|
2710
|
+
.studio-floating-launcher:active {
|
|
2711
|
+
cursor: grabbing;
|
|
2712
|
+
}
|
|
2713
|
+
.studio-floating-launcher:focus-visible {
|
|
2714
|
+
outline: 2px solid #555;
|
|
2715
|
+
outline-offset: 3px;
|
|
2716
|
+
}
|
|
@@ -1,4 +1,57 @@
|
|
|
1
|
+
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
1
2
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
3
|
+
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/grip-vertical.mjs
|
|
4
|
+
/**
|
|
5
|
+
* @license lucide-react v1.43.0 - ISC
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the ISC license.
|
|
8
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
const __iconData = {
|
|
11
|
+
name: "grip-vertical",
|
|
12
|
+
size: 24,
|
|
13
|
+
node: [
|
|
14
|
+
["circle", {
|
|
15
|
+
cx: "9",
|
|
16
|
+
cy: "12",
|
|
17
|
+
r: "1",
|
|
18
|
+
key: "1vctgf"
|
|
19
|
+
}],
|
|
20
|
+
["circle", {
|
|
21
|
+
cx: "9",
|
|
22
|
+
cy: "5",
|
|
23
|
+
r: "1",
|
|
24
|
+
key: "hp0tcf"
|
|
25
|
+
}],
|
|
26
|
+
["circle", {
|
|
27
|
+
cx: "9",
|
|
28
|
+
cy: "19",
|
|
29
|
+
r: "1",
|
|
30
|
+
key: "fkjjf6"
|
|
31
|
+
}],
|
|
32
|
+
["circle", {
|
|
33
|
+
cx: "15",
|
|
34
|
+
cy: "12",
|
|
35
|
+
r: "1",
|
|
36
|
+
key: "1tmaij"
|
|
37
|
+
}],
|
|
38
|
+
["circle", {
|
|
39
|
+
cx: "15",
|
|
40
|
+
cy: "5",
|
|
41
|
+
r: "1",
|
|
42
|
+
key: "19l28e"
|
|
43
|
+
}],
|
|
44
|
+
["circle", {
|
|
45
|
+
cx: "15",
|
|
46
|
+
cy: "19",
|
|
47
|
+
r: "1",
|
|
48
|
+
key: "f4zoj3"
|
|
49
|
+
}]
|
|
50
|
+
]
|
|
51
|
+
};
|
|
52
|
+
__iconData.node;
|
|
53
|
+
const GripVertical = createLucideIcon(__iconData);
|
|
54
|
+
//#endregion
|
|
2
55
|
//#region src/components/table/table.cva.ts
|
|
3
56
|
const tableRowDefinition = UIOverrides.defineConfig({
|
|
4
57
|
base: [
|
|
@@ -45,4 +98,4 @@ const tableDataDefinition = UIOverrides.defineConfig({
|
|
|
45
98
|
const tableHeaderTextDefinition = UIOverrides.defineConfig({ base: ["overflow-hidden text-ellipsis px-table-cell-content-side-m py-table-cell-content-height-m text-surface-default-card-foreground"] });
|
|
46
99
|
const tableCellTextDefinition = UIOverrides.defineConfig({ base: ["block overflow-hidden text-ellipsis text-surface-default-foreground"] });
|
|
47
100
|
//#endregion
|
|
48
|
-
export { tableHeaderTextDefinition as a, tableHeadRowDefinition as i, tableDataDefinition as n, tableRowDefinition as o, tableHeadDataDefinition as r, theadDefinition as s, tableCellTextDefinition as t };
|
|
101
|
+
export { tableHeaderTextDefinition as a, GripVertical as c, tableHeadRowDefinition as i, tableDataDefinition as n, tableRowDefinition as o, tableHeadDataDefinition as r, theadDefinition as s, tableCellTextDefinition as t };
|
package/dist/tanstack/table.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as CellText, n as useTableNav, r as HeaderText, t as Table } from "../Table-
|
|
2
|
-
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "../useTableColumnConfig-
|
|
1
|
+
import { i as CellText, n as useTableNav, r as HeaderText, t as Table } from "../Table-BN2_J_Ne.js";
|
|
2
|
+
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "../useTableColumnConfig-Di0_w80v.js";
|
|
3
3
|
export { CellText, ColumnConfigModal, HeaderText, InfiniteTable, PaginatedTable, Table, dynamicColumns, usePagination, useSorting, useTableColumnConfig, useTableNav };
|
package/dist/tanstack.js
CHANGED
|
@@ -4,7 +4,7 @@ import { n as MenuPopover, r as MenuItem } from "./DropdownMenuDesktop-Cl9gZVq0.
|
|
|
4
4
|
import { a as isEqual, i as useDeepCompareMemo, n as useDeepCompareEffect, o as ObjectUtils, r as useDeepCompareLayoutEffect, t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
5
5
|
import { t as FileUpload } from "./FileUpload--7ub3EZO.js";
|
|
6
6
|
import { t as PasswordInput } from "./PasswordInput-DYwUZ4-k.js";
|
|
7
|
-
import { i as
|
|
7
|
+
import { a as tableHeaderTextDefinition, i as tableHeadRowDefinition, n as tableDataDefinition, o as tableRowDefinition, r as tableHeadDataDefinition, t as tableCellTextDefinition } from "./table.cva-D5oQ-QvA.js";
|
|
8
8
|
import { a as checkboxDefinition, i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition, s as checkboxIconDefinition } from "./CheckboxCheckmark-CpC3wlMs.js";
|
|
9
9
|
import { n as selectListBoxItemDefinition, r as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-CHAMxhfO.js";
|
|
10
10
|
import { t as X } from "./x-B6vfz8Ps.js";
|
|
@@ -89,9 +89,9 @@ import { a as toastDefinition, n as statusIconDefinition$1, r as statusSeparator
|
|
|
89
89
|
import { t as Toast } from "./Toast-DtG3pA61.js";
|
|
90
90
|
import { n as ToastProvider, t as ToastContainer } from "./ToastContainer-qgpzMFD4.js";
|
|
91
91
|
import { useToast } from "./components/use-toast.js";
|
|
92
|
-
import {
|
|
92
|
+
import { i as CellText, n as useTableNav, r as HeaderText, t as Table } from "./Table-BN2_J_Ne.js";
|
|
93
93
|
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
94
|
-
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "./useTableColumnConfig-
|
|
94
|
+
import { a as PaginatedTable, i as dynamicColumns, n as useSorting, o as InfiniteTable, r as usePagination, s as ColumnConfigModal, t as useTableColumnConfig } from "./useTableColumnConfig-Di0_w80v.js";
|
|
95
95
|
import { t as linkDefinition } from "./link.cva-DMTHZiJG.js";
|
|
96
96
|
import { Link } from "./components/link.js";
|
|
97
97
|
import { Badge } from "./components/badge.js";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { t as Table } from "./Table-piX1SWvN.js";
|
|
2
1
|
import { t as Checkbox } from "./Checkbox-CV1ILXXO.js";
|
|
3
2
|
import { t as Typography } from "./Typography-LU4z2pR1.js";
|
|
4
3
|
import { t as Spinner } from "./Spinner-BeVTUzzx.js";
|
|
@@ -10,6 +9,7 @@ import { t as StringUtils } from "./string.utils-BPgv6QwA.js";
|
|
|
10
9
|
import { t as ZodUtils } from "./zod.utils-DrrPDT9v.js";
|
|
11
10
|
import { t as Dialog } from "./Dialog-9manOgMA.js";
|
|
12
11
|
import { Pagination } from "./components/pagination.js";
|
|
12
|
+
import { t as Table } from "./Table-BN2_J_Ne.js";
|
|
13
13
|
import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
|
|
14
14
|
import { t as UIRouter } from "./router.context-B4FvsTim.js";
|
|
15
15
|
import { t as RoutingUtils } from "./routing.utils-UTQonIhB.js";
|
package/package.json
CHANGED
|
@@ -69,3 +69,9 @@ The **Advanced → Variants & overrides** sub-tab exposes the library's CVA slot
|
|
|
69
69
|
CVA edits change class names, not the Tailwind compiler. Existing compiled classes preview immediately; newly introduced classes require inclusion in your app's Tailwind sources and a rebuild. The UIOverrides export provides a `withUIOverrides(existing)` helper that preserves other components and sibling slots. Mount the configurator below app override providers; providers nested further inside an app intentionally take precedence.
|
|
70
70
|
|
|
71
71
|
The gallery is the default preview for token sections. Switch to **Token preview** to follow the active section and search results; typography metadata uses its parent text specimen. In Variants & overrides, selecting a component or slot changes the focused preview, and focusing a variant or compound-rule field selects that combination. Preview-only controls do not change saved configuration. Common controls use live library components; structural slots use contained specimens built from the same CVA definitions.
|
|
72
|
+
|
|
73
|
+
The configurator window can be moved using the six-dot grip beside the preview switcher. Drag any border or corner to resize it; the layout follows the window width. Both handles support arrow keys (Shift for larger steps). The window remembers its size and position while the provider remains mounted, including across closing, reopening and docking. Restored bounds are clamped to the current viewport.
|
|
74
|
+
|
|
75
|
+
The pop-out control opens a separate browser window with `window.open`. It shares the provider state with the host application, so edits remain live in both windows. Docking or closing the pop-out returns the editor to the page and preserves the draft; Apply and Cancel close the pop-out. A blocked popup leaves the in-page editor open with retry guidance. The popup remembers its own size and screen position for the next pop-out; placement remains subject to browser window rules. The popup uses its browser window for resizing and switches to the compact Live preview tab below 800px.
|
|
76
|
+
|
|
77
|
+
Minimize turns the configurator into a movable **Povio UI** floating launcher without discarding its draft. Click the launcher to restore the previous window mode, size and position; drag it or use the arrow keys to move it. A minimized pop-out reopens as a separate browser window. After Apply or Cancel, the launcher remains available to start a new editing session. Geometry is remembered for the mounted session, not across page reloads.
|