@ohhwells/bridge 0.1.119-next.331 → 0.1.120
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.cjs +5439 -7323
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -46
- package/dist/index.d.ts +2 -46
- package/dist/index.js +5459 -7342
- package/dist/index.js.map +1 -1
- package/dist/styles.css +8 -125
- package/package.json +3 -8
- package/dist/pages.cjs +0 -141
- package/dist/pages.cjs.map +0 -1
- package/dist/pages.d.cts +0 -45
- package/dist/pages.d.ts +0 -45
- package/dist/pages.js +0 -107
- package/dist/pages.js.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
--font-sans: Figtree, sans-serif;
|
|
6
6
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
7
7
|
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
8
|
-
--color-stone-100: oklch(97% 0.001 106.424);
|
|
9
8
|
--color-stone-200: oklch(92.3% 0.003 48.717);
|
|
10
9
|
--color-stone-500: #78716C;
|
|
11
10
|
--color-stone-950: #0C0A09;
|
|
@@ -107,9 +106,6 @@
|
|
|
107
106
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .inset-0, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).inset-0 {
|
|
108
107
|
inset: calc(var(--spacing) * 0);
|
|
109
108
|
}
|
|
110
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .inset-y-0, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).inset-y-0 {
|
|
111
|
-
inset-block: calc(var(--spacing) * 0);
|
|
112
|
-
}
|
|
113
109
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .top-0, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).top-0 {
|
|
114
110
|
top: calc(var(--spacing) * 0);
|
|
115
111
|
}
|
|
@@ -137,9 +133,6 @@
|
|
|
137
133
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .right-0, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).right-0 {
|
|
138
134
|
right: calc(var(--spacing) * 0);
|
|
139
135
|
}
|
|
140
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .right-0\.5, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).right-0\.5 {
|
|
141
|
-
right: calc(var(--spacing) * 0.5);
|
|
142
|
-
}
|
|
143
136
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .right-1\.5, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).right-1\.5 {
|
|
144
137
|
right: calc(var(--spacing) * 1.5);
|
|
145
138
|
}
|
|
@@ -316,10 +309,6 @@
|
|
|
316
309
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .table, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).table {
|
|
317
310
|
display: table;
|
|
318
311
|
}
|
|
319
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .size-3, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).size-3 {
|
|
320
|
-
width: calc(var(--spacing) * 3);
|
|
321
|
-
height: calc(var(--spacing) * 3);
|
|
322
|
-
}
|
|
323
312
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .size-4, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).size-4 {
|
|
324
313
|
width: calc(var(--spacing) * 4);
|
|
325
314
|
height: calc(var(--spacing) * 4);
|
|
@@ -339,9 +328,6 @@
|
|
|
339
328
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\!h-full, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\!h-full {
|
|
340
329
|
height: 100% !important;
|
|
341
330
|
}
|
|
342
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .h-2, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).h-2 {
|
|
343
|
-
height: calc(var(--spacing) * 2);
|
|
344
|
-
}
|
|
345
331
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .h-4, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).h-4 {
|
|
346
332
|
height: calc(var(--spacing) * 4);
|
|
347
333
|
}
|
|
@@ -402,9 +388,6 @@
|
|
|
402
388
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .max-h-\[calc\(100vh-32px\)\], :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).max-h-\[calc\(100vh-32px\)\] {
|
|
403
389
|
max-height: calc(100vh - 32px);
|
|
404
390
|
}
|
|
405
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .min-h-0, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).min-h-0 {
|
|
406
|
-
min-height: calc(var(--spacing) * 0);
|
|
407
|
-
}
|
|
408
391
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .min-h-dvh, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).min-h-dvh {
|
|
409
392
|
min-height: 100dvh;
|
|
410
393
|
}
|
|
@@ -478,9 +461,6 @@
|
|
|
478
461
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .min-w-10, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).min-w-10 {
|
|
479
462
|
min-width: calc(var(--spacing) * 10);
|
|
480
463
|
}
|
|
481
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .min-w-14, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).min-w-14 {
|
|
482
|
-
min-width: calc(var(--spacing) * 14);
|
|
483
|
-
}
|
|
484
464
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .min-w-32, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).min-w-32 {
|
|
485
465
|
min-width: calc(var(--spacing) * 32);
|
|
486
466
|
}
|
|
@@ -558,11 +538,6 @@
|
|
|
558
538
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .resize, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).resize {
|
|
559
539
|
resize: both;
|
|
560
540
|
}
|
|
561
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .appearance-none, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).appearance-none {
|
|
562
|
-
-webkit-appearance: none;
|
|
563
|
-
-moz-appearance: none;
|
|
564
|
-
appearance: none;
|
|
565
|
-
}
|
|
566
541
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .grid-cols-2, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).grid-cols-2 {
|
|
567
542
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
568
543
|
}
|
|
@@ -608,18 +583,12 @@
|
|
|
608
583
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .gap-2, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).gap-2 {
|
|
609
584
|
gap: calc(var(--spacing) * 2);
|
|
610
585
|
}
|
|
611
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .gap-2\.5, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).gap-2\.5 {
|
|
612
|
-
gap: calc(var(--spacing) * 2.5);
|
|
613
|
-
}
|
|
614
586
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .gap-3, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).gap-3 {
|
|
615
587
|
gap: calc(var(--spacing) * 3);
|
|
616
588
|
}
|
|
617
589
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .gap-4, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).gap-4 {
|
|
618
590
|
gap: calc(var(--spacing) * 4);
|
|
619
591
|
}
|
|
620
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .gap-5, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).gap-5 {
|
|
621
|
-
gap: calc(var(--spacing) * 5);
|
|
622
|
-
}
|
|
623
592
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .gap-6, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).gap-6 {
|
|
624
593
|
gap: calc(var(--spacing) * 6);
|
|
625
594
|
}
|
|
@@ -652,12 +621,6 @@
|
|
|
652
621
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .overflow-x-auto, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).overflow-x-auto {
|
|
653
622
|
overflow-x: auto;
|
|
654
623
|
}
|
|
655
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .overflow-y-auto, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).overflow-y-auto {
|
|
656
|
-
overflow-y: auto;
|
|
657
|
-
}
|
|
658
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .overscroll-contain, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).overscroll-contain {
|
|
659
|
-
overscroll-behavior: contain;
|
|
660
|
-
}
|
|
661
624
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .rounded, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).rounded {
|
|
662
625
|
border-radius: var(--radius);
|
|
663
626
|
}
|
|
@@ -732,10 +695,6 @@
|
|
|
732
695
|
--tw-border-style: none;
|
|
733
696
|
border-style: none;
|
|
734
697
|
}
|
|
735
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .border-solid, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).border-solid {
|
|
736
|
-
--tw-border-style: solid;
|
|
737
|
-
border-style: solid;
|
|
738
|
-
}
|
|
739
698
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .border-\[\#E7E5E4\], :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).border-\[\#E7E5E4\] {
|
|
740
699
|
border-color: #E7E5E4;
|
|
741
700
|
}
|
|
@@ -833,9 +792,6 @@
|
|
|
833
792
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .bg-secondary, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).bg-secondary {
|
|
834
793
|
background-color: var(--color-secondary);
|
|
835
794
|
}
|
|
836
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .bg-stone-100, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).bg-stone-100 {
|
|
837
|
-
background-color: var(--color-stone-100);
|
|
838
|
-
}
|
|
839
795
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .bg-transparent, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).bg-transparent {
|
|
840
796
|
background-color: transparent;
|
|
841
797
|
}
|
|
@@ -861,8 +817,8 @@
|
|
|
861
817
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .p-3, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).p-3 {
|
|
862
818
|
padding: calc(var(--spacing) * 3);
|
|
863
819
|
}
|
|
864
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .p-
|
|
865
|
-
padding: calc(var(--spacing) *
|
|
820
|
+
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .p-5, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).p-5 {
|
|
821
|
+
padding: calc(var(--spacing) * 5);
|
|
866
822
|
}
|
|
867
823
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .p-6, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).p-6 {
|
|
868
824
|
padding: calc(var(--spacing) * 6);
|
|
@@ -918,8 +874,8 @@
|
|
|
918
874
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .py-4, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).py-4 {
|
|
919
875
|
padding-block: calc(var(--spacing) * 4);
|
|
920
876
|
}
|
|
921
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .py-
|
|
922
|
-
padding-block: calc(var(--spacing) *
|
|
877
|
+
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .py-5, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).py-5 {
|
|
878
|
+
padding-block: calc(var(--spacing) * 5);
|
|
923
879
|
}
|
|
924
880
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .py-8, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).py-8 {
|
|
925
881
|
padding-block: calc(var(--spacing) * 8);
|
|
@@ -945,8 +901,8 @@
|
|
|
945
901
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .pr-3, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).pr-3 {
|
|
946
902
|
padding-right: calc(var(--spacing) * 3);
|
|
947
903
|
}
|
|
948
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .pr-11
|
|
949
|
-
padding-right: calc(var(--spacing) * 11)
|
|
904
|
+
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .pr-11, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).pr-11 {
|
|
905
|
+
padding-right: calc(var(--spacing) * 11);
|
|
950
906
|
}
|
|
951
907
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .pr-12, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).pr-12 {
|
|
952
908
|
padding-right: calc(var(--spacing) * 12);
|
|
@@ -963,8 +919,8 @@
|
|
|
963
919
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .pl-4, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).pl-4 {
|
|
964
920
|
padding-left: calc(var(--spacing) * 4);
|
|
965
921
|
}
|
|
966
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .pl-5
|
|
967
|
-
padding-left: calc(var(--spacing) * 5)
|
|
922
|
+
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .pl-5, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).pl-5 {
|
|
923
|
+
padding-left: calc(var(--spacing) * 5);
|
|
968
924
|
}
|
|
969
925
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .pl-8, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).pl-8 {
|
|
970
926
|
padding-left: calc(var(--spacing) * 8);
|
|
@@ -1066,10 +1022,6 @@
|
|
|
1066
1022
|
--tw-font-weight: var(--font-weight-semibold);
|
|
1067
1023
|
font-weight: var(--font-weight-semibold);
|
|
1068
1024
|
}
|
|
1069
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .tracking-\[0\.6px\], :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).tracking-\[0\.6px\] {
|
|
1070
|
-
--tw-tracking: 0.6px;
|
|
1071
|
-
letter-spacing: 0.6px;
|
|
1072
|
-
}
|
|
1073
1025
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .tracking-\[0\.18px\], :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).tracking-\[0\.18px\] {
|
|
1074
1026
|
--tw-tracking: 0.18px;
|
|
1075
1027
|
letter-spacing: 0.18px;
|
|
@@ -1139,9 +1091,6 @@
|
|
|
1139
1091
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .text-stone-500, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).text-stone-500 {
|
|
1140
1092
|
color: var(--color-stone-500);
|
|
1141
1093
|
}
|
|
1142
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .text-stone-950, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).text-stone-950 {
|
|
1143
|
-
color: var(--color-stone-950);
|
|
1144
|
-
}
|
|
1145
1094
|
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .text-white, :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).text-white {
|
|
1146
1095
|
color: var(--color-white);
|
|
1147
1096
|
}
|
|
@@ -1297,9 +1246,6 @@
|
|
|
1297
1246
|
-moz-user-select: none;
|
|
1298
1247
|
user-select: none;
|
|
1299
1248
|
}
|
|
1300
|
-
:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[ow\:scheduling\], :is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[ow\:scheduling\] {
|
|
1301
|
-
ow: scheduling;
|
|
1302
|
-
}
|
|
1303
1249
|
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .placeholder\:text-muted-foreground,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).placeholder\:text-muted-foreground)::-moz-placeholder {
|
|
1304
1250
|
color: var(--color-muted-foreground);
|
|
1305
1251
|
}
|
|
@@ -1719,38 +1665,6 @@
|
|
|
1719
1665
|
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&_svg\:not\(\[class\*\=absolute\]\)\]\:relative,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&_svg\:not\(\[class\*\=absolute\]\)\]\:relative) svg:not([class*=absolute]) {
|
|
1720
1666
|
position: relative;
|
|
1721
1667
|
}
|
|
1722
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-moz-range-thumb\]\:size-5,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-moz-range-thumb\]\:size-5)::-moz-range-thumb {
|
|
1723
|
-
width: calc(var(--spacing) * 5);
|
|
1724
|
-
height: calc(var(--spacing) * 5);
|
|
1725
|
-
}
|
|
1726
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-moz-range-thumb\]\:rounded-full,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-moz-range-thumb\]\:rounded-full)::-moz-range-thumb {
|
|
1727
|
-
border-radius: calc(infinity * 1px);
|
|
1728
|
-
}
|
|
1729
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-moz-range-thumb\]\:border-2,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-moz-range-thumb\]\:border-2)::-moz-range-thumb {
|
|
1730
|
-
border-style: var(--tw-border-style);
|
|
1731
|
-
border-width: 2px;
|
|
1732
|
-
}
|
|
1733
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-moz-range-thumb\]\:bg-background,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-moz-range-thumb\]\:bg-background)::-moz-range-thumb {
|
|
1734
|
-
background-color: var(--color-background);
|
|
1735
|
-
}
|
|
1736
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-webkit-slider-thumb\]\:size-5,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-webkit-slider-thumb\]\:size-5)::-webkit-slider-thumb {
|
|
1737
|
-
width: calc(var(--spacing) * 5);
|
|
1738
|
-
height: calc(var(--spacing) * 5);
|
|
1739
|
-
}
|
|
1740
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-webkit-slider-thumb\]\:appearance-none,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-webkit-slider-thumb\]\:appearance-none)::-webkit-slider-thumb {
|
|
1741
|
-
-webkit-appearance: none;
|
|
1742
|
-
appearance: none;
|
|
1743
|
-
}
|
|
1744
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-webkit-slider-thumb\]\:rounded-full,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-webkit-slider-thumb\]\:rounded-full)::-webkit-slider-thumb {
|
|
1745
|
-
border-radius: calc(infinity * 1px);
|
|
1746
|
-
}
|
|
1747
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-webkit-slider-thumb\]\:border-2,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-webkit-slider-thumb\]\:border-2)::-webkit-slider-thumb {
|
|
1748
|
-
border-style: var(--tw-border-style);
|
|
1749
|
-
border-width: 2px;
|
|
1750
|
-
}
|
|
1751
|
-
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\:\:-webkit-slider-thumb\]\:bg-background,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\:\:-webkit-slider-thumb\]\:bg-background)::-webkit-slider-thumb {
|
|
1752
|
-
background-color: var(--color-background);
|
|
1753
|
-
}
|
|
1754
1668
|
:is(:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]) .\[\&\>svg\:first-child\]\:absolute,:is([data-ohw-bridge-root],[data-ohw-bridge],[data-radix-popper-content-wrapper],[data-slot="dropdown-menu-content"],[data-slot="popover-content"],[data-slot="tooltip-content"],[data-ohw-field-type-picker],[data-ohw-section-container="scheduling"],[data-ohw-scheduling-anchor],[data-ohw-scheduling-modal]).\[\&\>svg\:first-child\]\:absolute) > svg:first-child {
|
|
1755
1669
|
position: absolute;
|
|
1756
1670
|
}
|
|
@@ -2081,37 +1995,6 @@ html[data-ohw-section-picking] [data-ohw-state-toggle] {
|
|
|
2081
1995
|
overflow-wrap: anywhere;
|
|
2082
1996
|
word-break: break-word;
|
|
2083
1997
|
}
|
|
2084
|
-
[data-ohw-floating-panel-body] {
|
|
2085
|
-
overflow-y: auto;
|
|
2086
|
-
-webkit-overflow-scrolling: touch;
|
|
2087
|
-
scrollbar-width: thin;
|
|
2088
|
-
scrollbar-color: var(--ohw-foreground, #0c0a09) transparent;
|
|
2089
|
-
}
|
|
2090
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2091
|
-
[data-ohw-floating-panel-body] {
|
|
2092
|
-
scrollbar-color: color-mix(in srgb, var(--ohw-foreground, #0c0a09) 35%, transparent) transparent;
|
|
2093
|
-
}
|
|
2094
|
-
}
|
|
2095
|
-
[data-ohw-floating-panel-body]::-webkit-scrollbar {
|
|
2096
|
-
-webkit-appearance: none;
|
|
2097
|
-
width: 8px;
|
|
2098
|
-
}
|
|
2099
|
-
[data-ohw-floating-panel-body]::-webkit-scrollbar-track {
|
|
2100
|
-
background: transparent;
|
|
2101
|
-
}
|
|
2102
|
-
[data-ohw-floating-panel-body]::-webkit-scrollbar-thumb {
|
|
2103
|
-
background-color: var(--ohw-foreground, #0c0a09);
|
|
2104
|
-
}
|
|
2105
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2106
|
-
[data-ohw-floating-panel-body]::-webkit-scrollbar-thumb {
|
|
2107
|
-
background-color: color-mix(in srgb, var(--ohw-foreground, #0c0a09) 28%, transparent);
|
|
2108
|
-
}
|
|
2109
|
-
}
|
|
2110
|
-
[data-ohw-floating-panel-body]::-webkit-scrollbar-thumb {
|
|
2111
|
-
border-radius: 999px;
|
|
2112
|
-
border: 2px solid transparent;
|
|
2113
|
-
background-clip: padding-box;
|
|
2114
|
-
}
|
|
2115
1998
|
@property --tw-translate-x {
|
|
2116
1999
|
syntax: "*";
|
|
2117
2000
|
inherits: false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohhwells/bridge",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.120",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -12,17 +12,12 @@
|
|
|
12
12
|
"import": "./dist/index.js",
|
|
13
13
|
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
|
-
"./
|
|
16
|
-
"types": "./dist/pages.d.ts",
|
|
17
|
-
"import": "./dist/pages.js",
|
|
18
|
-
"require": "./dist/pages.cjs"
|
|
19
|
-
},
|
|
15
|
+
"./styles": "./dist/styles.css",
|
|
20
16
|
"./social-glyphs": {
|
|
21
17
|
"types": "./dist/social-glyphs.d.ts",
|
|
22
18
|
"import": "./dist/social-glyphs.js",
|
|
23
19
|
"require": "./dist/social-glyphs.cjs"
|
|
24
|
-
}
|
|
25
|
-
"./styles": "./dist/styles.css"
|
|
20
|
+
}
|
|
26
21
|
},
|
|
27
22
|
"files": [
|
|
28
23
|
"dist"
|
package/dist/pages.cjs
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/pages.ts
|
|
21
|
-
var pages_exports = {};
|
|
22
|
-
__export(pages_exports, {
|
|
23
|
-
DELETED_PAGE_PREFIX: () => DELETED_PAGE_PREFIX,
|
|
24
|
-
fetchSitePages: () => fetchSitePages,
|
|
25
|
-
renderCatchAllPage: () => renderCatchAllPage,
|
|
26
|
-
resolvePageRewrite: () => resolvePageRewrite,
|
|
27
|
-
resolveSitePage: () => resolveSitePage,
|
|
28
|
-
resolveSubdomain: () => resolveSubdomain,
|
|
29
|
-
sitePagesMiddleware: () => sitePagesMiddleware,
|
|
30
|
-
sitePagesMiddlewareConfig: () => sitePagesMiddlewareConfig
|
|
31
|
-
});
|
|
32
|
-
module.exports = __toCommonJS(pages_exports);
|
|
33
|
-
|
|
34
|
-
// src/lib/site-pages.ts
|
|
35
|
-
var DELETED_PAGE_PREFIX = "/__ohw-deleted";
|
|
36
|
-
function resolveSubdomain(hostnameOverride) {
|
|
37
|
-
if (hostnameOverride) {
|
|
38
|
-
const parts = hostnameOverride.split(".");
|
|
39
|
-
if (parts.length >= 3 && parts[0] !== "www") return parts[0];
|
|
40
|
-
}
|
|
41
|
-
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL;
|
|
42
|
-
if (!siteUrl) return "";
|
|
43
|
-
try {
|
|
44
|
-
const parts = new URL(siteUrl).hostname.split(".");
|
|
45
|
-
if (parts.length >= 3 && parts[0] !== "www") return parts[0];
|
|
46
|
-
} catch {
|
|
47
|
-
}
|
|
48
|
-
return "";
|
|
49
|
-
}
|
|
50
|
-
async function fetchSitePages(subdomainOverride) {
|
|
51
|
-
const subdomain = subdomainOverride || resolveSubdomain();
|
|
52
|
-
const apiUrl = process.env.NEXT_PUBLIC_FLOWOPS_API_URL;
|
|
53
|
-
if (!subdomain || !apiUrl) return [];
|
|
54
|
-
try {
|
|
55
|
-
const res = await fetch(`${apiUrl}/api/public/sites/${subdomain}/pages`, {
|
|
56
|
-
cache: "no-store"
|
|
57
|
-
});
|
|
58
|
-
if (!res.ok) return [];
|
|
59
|
-
const { pages } = await res.json();
|
|
60
|
-
return pages ?? [];
|
|
61
|
-
} catch {
|
|
62
|
-
return [];
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
function resolvePageRewrite(pathname, pages) {
|
|
66
|
-
const current = pages.find((page) => page.path === pathname);
|
|
67
|
-
if (current) {
|
|
68
|
-
if (current.is_deleted) return { path: `${DELETED_PAGE_PREFIX}${pathname}` };
|
|
69
|
-
if (current.is_physical && current.original_path && current.original_path !== current.path) {
|
|
70
|
-
return { path: current.original_path };
|
|
71
|
-
}
|
|
72
|
-
return null;
|
|
73
|
-
}
|
|
74
|
-
const oldUrlOfRenamed = pages.find(
|
|
75
|
-
(page) => page.is_physical && page.original_path === pathname && page.path !== pathname
|
|
76
|
-
);
|
|
77
|
-
if (oldUrlOfRenamed) return { path: `${DELETED_PAGE_PREFIX}${pathname}` };
|
|
78
|
-
return null;
|
|
79
|
-
}
|
|
80
|
-
async function resolveSitePage(segments, subdomainOverride) {
|
|
81
|
-
if (`/${segments[0]}` === DELETED_PAGE_PREFIX) return { kind: "not-found" };
|
|
82
|
-
const path = `/${segments.join("/")}`;
|
|
83
|
-
const pages = await fetchSitePages(subdomainOverride);
|
|
84
|
-
const page = pages.find((entry) => entry.path === path && !entry.is_deleted);
|
|
85
|
-
if (!page) return { kind: "not-found" };
|
|
86
|
-
if (page.duplicated_from) {
|
|
87
|
-
const sourceSegment = page.duplicated_from === "/" ? "" : page.duplicated_from.replace(/^\//, "");
|
|
88
|
-
return { kind: "duplicate", sourceSegment, page };
|
|
89
|
-
}
|
|
90
|
-
return { kind: "blank", page };
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// src/lib/site-pages-middleware.ts
|
|
94
|
-
var import_server = require("next/server");
|
|
95
|
-
async function sitePagesMiddleware(request) {
|
|
96
|
-
const { pathname } = request.nextUrl;
|
|
97
|
-
if (pathname.startsWith("/_next") || pathname.startsWith("/api") || /\.[a-zA-Z0-9]+$/.test(pathname)) {
|
|
98
|
-
return import_server.NextResponse.next();
|
|
99
|
-
}
|
|
100
|
-
const subdomain = request.nextUrl.searchParams.get("subdomain") || resolveSubdomain(request.nextUrl.hostname);
|
|
101
|
-
const pages = await fetchSitePages(subdomain || void 0);
|
|
102
|
-
if (pages.length === 0) return import_server.NextResponse.next();
|
|
103
|
-
const decision = resolvePageRewrite(pathname, pages);
|
|
104
|
-
if (!decision) return import_server.NextResponse.next();
|
|
105
|
-
return import_server.NextResponse.rewrite(new URL(decision.path, request.url));
|
|
106
|
-
}
|
|
107
|
-
var sitePagesMiddlewareConfig = {
|
|
108
|
-
matcher: ["/((?!_next|api).*)"]
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
// src/lib/site-pages-render.ts
|
|
112
|
-
var import_headers = require("next/headers");
|
|
113
|
-
var import_navigation = require("next/navigation");
|
|
114
|
-
var import_react = require("react");
|
|
115
|
-
async function renderCatchAllPage(segments, subdomainOverride, handlers) {
|
|
116
|
-
const host = (await (0, import_headers.headers)()).get("host") ?? void 0;
|
|
117
|
-
const subdomain = subdomainOverride || resolveSubdomain(host) || void 0;
|
|
118
|
-
const result = await resolveSitePage(segments, subdomain);
|
|
119
|
-
if (result.kind === "not-found") (0, import_navigation.notFound)();
|
|
120
|
-
if (result.kind === "duplicate") {
|
|
121
|
-
try {
|
|
122
|
-
const sourceModule = await handlers.renderDuplicate(result.sourceSegment);
|
|
123
|
-
return (0, import_react.createElement)(sourceModule.default);
|
|
124
|
-
} catch {
|
|
125
|
-
(0, import_navigation.notFound)();
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
return handlers.renderBlank(result.page);
|
|
129
|
-
}
|
|
130
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
131
|
-
0 && (module.exports = {
|
|
132
|
-
DELETED_PAGE_PREFIX,
|
|
133
|
-
fetchSitePages,
|
|
134
|
-
renderCatchAllPage,
|
|
135
|
-
resolvePageRewrite,
|
|
136
|
-
resolveSitePage,
|
|
137
|
-
resolveSubdomain,
|
|
138
|
-
sitePagesMiddleware,
|
|
139
|
-
sitePagesMiddlewareConfig
|
|
140
|
-
});
|
|
141
|
-
//# sourceMappingURL=pages.cjs.map
|
package/dist/pages.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pages.ts","../src/lib/site-pages.ts","../src/lib/site-pages-middleware.ts","../src/lib/site-pages-render.ts"],"sourcesContent":["// Server-safe entry point (no 'use client' banner) — for middleware/Edge runtime and\n// Server Components. Keep this file free of React component exports; UI goes in the\n// default `@ohhwells/bridge` entry (src/index.ts).\nexport {\n DELETED_PAGE_PREFIX,\n resolveSubdomain,\n fetchSitePages,\n resolvePageRewrite,\n resolveSitePage,\n} from './lib/site-pages'\nexport type { SitePage, PageRewriteDecision, SitePageResolution } from './lib/site-pages'\nexport { sitePagesMiddleware, sitePagesMiddlewareConfig } from './lib/site-pages-middleware'\nexport { renderCatchAllPage } from './lib/site-pages-render'\nexport type { CatchAllPageHandlers } from './lib/site-pages-render'\n","// Shared page-CRUD infra (OHH-670): fetching a site's page list and deciding how the\n// catch-all route / middleware should handle deleted, renamed, and duplicated pages.\n// Server-safe (no React/browser APIs) so it can run in middleware (Edge runtime) and\n// Server Components — kept out of the main client-bundled entry point, see `../pages.ts`.\n\n// Prefix used to route deleted-physical-page requests into the catch-all `[...page]`\n// route, which has no file of its own at that segment and calls notFound() for it.\nexport const DELETED_PAGE_PREFIX = '/__ohw-deleted'\n\nexport type SitePage = {\n id: string\n path: string\n title: string\n is_physical: boolean\n original_path: string | null\n duplicated_from: string | null\n is_deleted: boolean\n}\n\n// Mirrors OhhwellsBridge's client-side resolveSubdomain: prefer the real request hostname\n// (window.location isn't available on the server, so callers pass the Host header/nextUrl\n// hostname instead) and only fall back to the NEXT_PUBLIC_SITE_URL env var when no hostname\n// is known — the only case that's true in local dev, where the host is just localhost.\nexport function resolveSubdomain(hostnameOverride?: string): string {\n if (hostnameOverride) {\n const parts = hostnameOverride.split('.')\n if (parts.length >= 3 && parts[0] !== 'www') return parts[0]\n }\n\n const siteUrl = process.env.NEXT_PUBLIC_SITE_URL\n if (!siteUrl) return ''\n try {\n const parts = new URL(siteUrl).hostname.split('.')\n if (parts.length >= 3 && parts[0] !== 'www') return parts[0]\n } catch {\n // ignore malformed env value\n }\n return ''\n}\n\n// `subdomainOverride` is the `?subdomain=` query param the canvas editor's iframe appends\n// (see `editUrl` in fo-class-experience). It's required locally: NEXT_PUBLIC_SITE_URL is\n// `http://localhost:3000` in dev, which resolveSubdomain() can't parse a subdomain from.\nexport async function fetchSitePages(subdomainOverride?: string): Promise<SitePage[]> {\n const subdomain = subdomainOverride || resolveSubdomain()\n const apiUrl = process.env.NEXT_PUBLIC_FLOWOPS_API_URL\n if (!subdomain || !apiUrl) return []\n\n try {\n // no-store, not a timed revalidate: middleware uses this list to decide whether a\n // path is deleted/renamed, and `next start`'s persistent Data Cache would otherwise\n // keep routing a just-deleted page's URL to its live content for longer than expected.\n const res = await fetch(`${apiUrl}/api/public/sites/${subdomain}/pages`, {\n cache: 'no-store',\n })\n if (!res.ok) return []\n const { pages } = (await res.json()) as { pages?: SitePage[] }\n\n // A reply without a list is not a list of none — the endpoint answers 200 with an empty body\n // when its own lookup failed. Handing that straight back put `undefined` into middleware and\n // took the whole site down with a 500 on every request.\n return pages ?? []\n } catch {\n return []\n }\n}\n\nexport type PageRewriteDecision = { path: string } | null\n\n// Middleware decision logic: given the current pathname and the site's page list, decide\n// whether to rewrite to the deleted-page placeholder or to a renamed physical page's real\n// file location. Callers still own the `_next`/`api`/static-file early-return and the actual\n// `NextResponse.rewrite` call, since those are Next.js-specific.\nexport function resolvePageRewrite(pathname: string, pages: SitePage[]): PageRewriteDecision {\n const current = pages.find((page) => page.path === pathname)\n\n if (current) {\n if (current.is_deleted) return { path: `${DELETED_PAGE_PREFIX}${pathname}` }\n // Renamed physical page: the file still lives at original_path, so rewrite there\n // internally while the browser keeps showing the new canonical path.\n if (current.is_physical && current.original_path && current.original_path !== current.path) {\n return { path: current.original_path }\n }\n return null\n }\n\n // Old URL of a renamed physical page — no redirect, it just no longer resolves to\n // anything (whether or not the page has since also been deleted).\n const oldUrlOfRenamed = pages.find(\n (page) => page.is_physical && page.original_path === pathname && page.path !== pathname,\n )\n if (oldUrlOfRenamed) return { path: `${DELETED_PAGE_PREFIX}${pathname}` }\n\n return null\n}\n\nexport type SitePageResolution =\n | { kind: 'not-found' }\n | { kind: 'duplicate'; sourceSegment: string; page: SitePage }\n | { kind: 'blank'; page: SitePage }\n\n// Catch-all route lookup: given the route's path segments, resolve which page (if any) this\n// request maps to. Callers still own the dynamic `import()` for `kind: 'duplicate'` — that\n// needs a literal relative path per app for webpack's static context analysis to work, so it\n// can't live in this shared package (see the comment at the call site).\nexport async function resolveSitePage(segments: string[], subdomainOverride?: string): Promise<SitePageResolution> {\n if (`/${segments[0]}` === DELETED_PAGE_PREFIX) return { kind: 'not-found' }\n\n const path = `/${segments.join('/')}`\n const pages = await fetchSitePages(subdomainOverride)\n const page = pages.find((entry) => entry.path === path && !entry.is_deleted)\n if (!page) return { kind: 'not-found' }\n\n if (page.duplicated_from) {\n const sourceSegment = page.duplicated_from === '/' ? '' : page.duplicated_from.replace(/^\\//, '')\n return { kind: 'duplicate', sourceSegment, page }\n }\n\n return { kind: 'blank', page }\n}\n","import { NextRequest, NextResponse } from 'next/server'\nimport { fetchSitePages, resolvePageRewrite, resolveSubdomain } from './site-pages'\n\n// Drop-in Next.js middleware for the OHH-670 page-CRUD system: rewrites deleted/renamed\n// pages to the right place before the catch-all route (see `resolveSitePage`) ever runs.\n// Apps that need extra middleware logic of their own can still compose `fetchSitePages`/\n// `resolvePageRewrite` directly instead of using this wrapper.\nexport async function sitePagesMiddleware(request: NextRequest): Promise<NextResponse> {\n const { pathname } = request.nextUrl\n\n if (pathname.startsWith('/_next') || pathname.startsWith('/api') || /\\.[a-zA-Z0-9]+$/.test(pathname)) {\n return NextResponse.next()\n }\n\n // `?subdomain=` is the canvas editor iframe's override (its own origin isn't the site's\n // real domain). Every other request — every real visitor — hits the site's actual\n // `*.ohhwells.site`/custom domain, so the request's own hostname is the source of truth\n // there; without this fallback the middleware silently no-ops on every production request.\n const subdomain =\n request.nextUrl.searchParams.get('subdomain') || resolveSubdomain(request.nextUrl.hostname)\n const pages = await fetchSitePages(subdomain || undefined)\n if (pages.length === 0) return NextResponse.next()\n\n const decision = resolvePageRewrite(pathname, pages)\n if (!decision) return NextResponse.next()\n return NextResponse.rewrite(new URL(decision.path, request.url))\n}\n\n// Mirrors the `_next`/`api` early-return above so apps that re-export this directly as\n// their middleware `config` don't invoke the function needlessly on asset requests.\nexport const sitePagesMiddlewareConfig = {\n matcher: ['/((?!_next|api).*)'],\n}\n","import { headers } from 'next/headers'\nimport { notFound } from 'next/navigation'\nimport { createElement, type ComponentType, type ReactElement } from 'react'\nimport { resolveSitePage, resolveSubdomain, type SitePage } from './site-pages'\n\nexport interface CatchAllPageHandlers {\n // Called for a page that's a duplicate of another. Must contain the actual `import(...)`\n // call itself (relative, not the `@` alias) — webpack can only build a static context\n // module (bundling every matching src/app/*/page.tsx) when the prefix is a real relative\n // path, so this one expression has to stay in the calling app's own file, resolved against\n // its own src/app tree, not this shared package's. Everything else about turning the\n // resolved module into a rendered element lives here instead.\n renderDuplicate: (sourceSegment: string) => Promise<{ default: ComponentType }>\n // Called for a page with no section content of its own yet.\n renderBlank: (page: SitePage) => ReactElement\n}\n\n// Full catch-all route resolution for the OHH-670 page-CRUD system: looks the page up,\n// calls `notFound()` for anything unresolved, and delegates to the two things every\n// consuming app still owns (the duplicate-source import and its blank-page chrome).\nexport async function renderCatchAllPage(\n segments: string[],\n subdomainOverride: string | undefined,\n handlers: CatchAllPageHandlers,\n): Promise<ReactElement> {\n // `subdomainOverride` is the canvas editor iframe's `?subdomain=` query param — its own\n // origin isn't the site's real domain. Every real visitor hits the site's actual\n // `*.ohhwells.site`/custom domain, so fall back to the request's own Host header there,\n // mirroring `sitePagesMiddleware`'s hostname fallback.\n const host = (await headers()).get('host') ?? undefined\n const subdomain = subdomainOverride || resolveSubdomain(host) || undefined\n const result = await resolveSitePage(segments, subdomain)\n\n if (result.kind === 'not-found') notFound()\n\n if (result.kind === 'duplicate') {\n try {\n const sourceModule = await handlers.renderDuplicate(result.sourceSegment)\n return createElement(sourceModule.default)\n } catch {\n notFound()\n }\n }\n\n return handlers.renderBlank(result.page)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACOO,IAAM,sBAAsB;AAgB5B,SAAS,iBAAiB,kBAAmC;AAClE,MAAI,kBAAkB;AACpB,UAAM,QAAQ,iBAAiB,MAAM,GAAG;AACxC,QAAI,MAAM,UAAU,KAAK,MAAM,CAAC,MAAM,MAAO,QAAO,MAAM,CAAC;AAAA,EAC7D;AAEA,QAAM,UAAU,QAAQ,IAAI;AAC5B,MAAI,CAAC,QAAS,QAAO;AACrB,MAAI;AACF,UAAM,QAAQ,IAAI,IAAI,OAAO,EAAE,SAAS,MAAM,GAAG;AACjD,QAAI,MAAM,UAAU,KAAK,MAAM,CAAC,MAAM,MAAO,QAAO,MAAM,CAAC;AAAA,EAC7D,QAAQ;AAAA,EAER;AACA,SAAO;AACT;AAKA,eAAsB,eAAe,mBAAiD;AACpF,QAAM,YAAY,qBAAqB,iBAAiB;AACxD,QAAM,SAAS,QAAQ,IAAI;AAC3B,MAAI,CAAC,aAAa,CAAC,OAAQ,QAAO,CAAC;AAEnC,MAAI;AAIF,UAAM,MAAM,MAAM,MAAM,GAAG,MAAM,qBAAqB,SAAS,UAAU;AAAA,MACvE,OAAO;AAAA,IACT,CAAC;AACD,QAAI,CAAC,IAAI,GAAI,QAAO,CAAC;AACrB,UAAM,EAAE,MAAM,IAAK,MAAM,IAAI,KAAK;AAKlC,WAAO,SAAS,CAAC;AAAA,EACnB,QAAQ;AACN,WAAO,CAAC;AAAA,EACV;AACF;AAQO,SAAS,mBAAmB,UAAkB,OAAwC;AAC3F,QAAM,UAAU,MAAM,KAAK,CAAC,SAAS,KAAK,SAAS,QAAQ;AAE3D,MAAI,SAAS;AACX,QAAI,QAAQ,WAAY,QAAO,EAAE,MAAM,GAAG,mBAAmB,GAAG,QAAQ,GAAG;AAG3E,QAAI,QAAQ,eAAe,QAAQ,iBAAiB,QAAQ,kBAAkB,QAAQ,MAAM;AAC1F,aAAO,EAAE,MAAM,QAAQ,cAAc;AAAA,IACvC;AACA,WAAO;AAAA,EACT;AAIA,QAAM,kBAAkB,MAAM;AAAA,IAC5B,CAAC,SAAS,KAAK,eAAe,KAAK,kBAAkB,YAAY,KAAK,SAAS;AAAA,EACjF;AACA,MAAI,gBAAiB,QAAO,EAAE,MAAM,GAAG,mBAAmB,GAAG,QAAQ,GAAG;AAExE,SAAO;AACT;AAWA,eAAsB,gBAAgB,UAAoB,mBAAyD;AACjH,MAAI,IAAI,SAAS,CAAC,CAAC,OAAO,oBAAqB,QAAO,EAAE,MAAM,YAAY;AAE1E,QAAM,OAAO,IAAI,SAAS,KAAK,GAAG,CAAC;AACnC,QAAM,QAAQ,MAAM,eAAe,iBAAiB;AACpD,QAAM,OAAO,MAAM,KAAK,CAAC,UAAU,MAAM,SAAS,QAAQ,CAAC,MAAM,UAAU;AAC3E,MAAI,CAAC,KAAM,QAAO,EAAE,MAAM,YAAY;AAEtC,MAAI,KAAK,iBAAiB;AACxB,UAAM,gBAAgB,KAAK,oBAAoB,MAAM,KAAK,KAAK,gBAAgB,QAAQ,OAAO,EAAE;AAChG,WAAO,EAAE,MAAM,aAAa,eAAe,KAAK;AAAA,EAClD;AAEA,SAAO,EAAE,MAAM,SAAS,KAAK;AAC/B;;;ACvHA,oBAA0C;AAO1C,eAAsB,oBAAoB,SAA6C;AACrF,QAAM,EAAE,SAAS,IAAI,QAAQ;AAE7B,MAAI,SAAS,WAAW,QAAQ,KAAK,SAAS,WAAW,MAAM,KAAK,kBAAkB,KAAK,QAAQ,GAAG;AACpG,WAAO,2BAAa,KAAK;AAAA,EAC3B;AAMA,QAAM,YACJ,QAAQ,QAAQ,aAAa,IAAI,WAAW,KAAK,iBAAiB,QAAQ,QAAQ,QAAQ;AAC5F,QAAM,QAAQ,MAAM,eAAe,aAAa,MAAS;AACzD,MAAI,MAAM,WAAW,EAAG,QAAO,2BAAa,KAAK;AAEjD,QAAM,WAAW,mBAAmB,UAAU,KAAK;AACnD,MAAI,CAAC,SAAU,QAAO,2BAAa,KAAK;AACxC,SAAO,2BAAa,QAAQ,IAAI,IAAI,SAAS,MAAM,QAAQ,GAAG,CAAC;AACjE;AAIO,IAAM,4BAA4B;AAAA,EACvC,SAAS,CAAC,oBAAoB;AAChC;;;AChCA,qBAAwB;AACxB,wBAAyB;AACzB,mBAAqE;AAkBrE,eAAsB,mBACpB,UACA,mBACA,UACuB;AAKvB,QAAM,QAAQ,UAAM,wBAAQ,GAAG,IAAI,MAAM,KAAK;AAC9C,QAAM,YAAY,qBAAqB,iBAAiB,IAAI,KAAK;AACjE,QAAM,SAAS,MAAM,gBAAgB,UAAU,SAAS;AAExD,MAAI,OAAO,SAAS,YAAa,iCAAS;AAE1C,MAAI,OAAO,SAAS,aAAa;AAC/B,QAAI;AACF,YAAM,eAAe,MAAM,SAAS,gBAAgB,OAAO,aAAa;AACxE,iBAAO,4BAAc,aAAa,OAAO;AAAA,IAC3C,QAAQ;AACN,sCAAS;AAAA,IACX;AAAA,EACF;AAEA,SAAO,SAAS,YAAY,OAAO,IAAI;AACzC;","names":[]}
|
package/dist/pages.d.cts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { NextRequest, NextResponse } from 'next/server';
|
|
2
|
-
import { ComponentType, ReactElement } from 'react';
|
|
3
|
-
|
|
4
|
-
declare const DELETED_PAGE_PREFIX = "/__ohw-deleted";
|
|
5
|
-
type SitePage = {
|
|
6
|
-
id: string;
|
|
7
|
-
path: string;
|
|
8
|
-
title: string;
|
|
9
|
-
is_physical: boolean;
|
|
10
|
-
original_path: string | null;
|
|
11
|
-
duplicated_from: string | null;
|
|
12
|
-
is_deleted: boolean;
|
|
13
|
-
};
|
|
14
|
-
declare function resolveSubdomain(hostnameOverride?: string): string;
|
|
15
|
-
declare function fetchSitePages(subdomainOverride?: string): Promise<SitePage[]>;
|
|
16
|
-
type PageRewriteDecision = {
|
|
17
|
-
path: string;
|
|
18
|
-
} | null;
|
|
19
|
-
declare function resolvePageRewrite(pathname: string, pages: SitePage[]): PageRewriteDecision;
|
|
20
|
-
type SitePageResolution = {
|
|
21
|
-
kind: 'not-found';
|
|
22
|
-
} | {
|
|
23
|
-
kind: 'duplicate';
|
|
24
|
-
sourceSegment: string;
|
|
25
|
-
page: SitePage;
|
|
26
|
-
} | {
|
|
27
|
-
kind: 'blank';
|
|
28
|
-
page: SitePage;
|
|
29
|
-
};
|
|
30
|
-
declare function resolveSitePage(segments: string[], subdomainOverride?: string): Promise<SitePageResolution>;
|
|
31
|
-
|
|
32
|
-
declare function sitePagesMiddleware(request: NextRequest): Promise<NextResponse>;
|
|
33
|
-
declare const sitePagesMiddlewareConfig: {
|
|
34
|
-
matcher: string[];
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
interface CatchAllPageHandlers {
|
|
38
|
-
renderDuplicate: (sourceSegment: string) => Promise<{
|
|
39
|
-
default: ComponentType;
|
|
40
|
-
}>;
|
|
41
|
-
renderBlank: (page: SitePage) => ReactElement;
|
|
42
|
-
}
|
|
43
|
-
declare function renderCatchAllPage(segments: string[], subdomainOverride: string | undefined, handlers: CatchAllPageHandlers): Promise<ReactElement>;
|
|
44
|
-
|
|
45
|
-
export { type CatchAllPageHandlers, DELETED_PAGE_PREFIX, type PageRewriteDecision, type SitePage, type SitePageResolution, fetchSitePages, renderCatchAllPage, resolvePageRewrite, resolveSitePage, resolveSubdomain, sitePagesMiddleware, sitePagesMiddlewareConfig };
|