@umriss-ui/schedule 0.3.12 → 0.3.14

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/CHANGELOG.md CHANGED
@@ -15,6 +15,18 @@ moves from here under the rule above.
15
15
 
16
16
  ---
17
17
 
18
+ ## 0.3.14 – Core 0.22.0 (Oct. 2026)
19
+
20
+ Needs `@umriss-ui/core` 0.22; the peer range moves to `^0.22.0`. Nothing else changes for a caller.
21
+
22
+ ---
23
+
24
+ ## 0.3.13 – Core 0.21.0 (Oct. 2026)
25
+
26
+ Needs `@umriss-ui/core` 0.21; the peer range moves to `^0.21.0`. Nothing else changes for a caller.
27
+
28
+ ---
29
+
18
30
  ## 0.3.12 – Core 0.20.0 (Oct. 2026)
19
31
 
20
32
  Needs `@umriss-ui/core` 0.20; the peer range moves to `^0.20.0`. Nothing else changes for a caller.
package/dist/schedule.css CHANGED
@@ -1 +1 @@
1
- @layer umriss.tokens,umriss.base,umriss.components;@layer umriss.base{._text_ocaqi_23{font-family:var(--u-font-sans);font-size:var(--u-text-md);line-height:var(--u-leading-normal);color:var(--u-color-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}@media(pointer:fine){._dense_ocaqi_39{--u-control-height-sm: var(--u-control-height-xs)}}._field_ocaqi_46{caret-color:var(--u-color-accent)}._scroll_ocaqi_52{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--u-color-text) 25%,transparent) transparent}._scroll_ocaqi_52::-webkit-scrollbar{width:10px;height:10px}._scroll_ocaqi_52::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--u-color-text) 22%,transparent);border-radius:var(--u-radius-full);border:3px solid transparent;background-clip:content-box}._scroll_ocaqi_52::-webkit-scrollbar-track{background:transparent}}@layer umriss.components{._ring_ocaqi_81:focus-visible{outline:2px solid transparent;box-shadow:var(--u-focus-ring)}@media(pointer:coarse){._field_ocaqi_46._field_ocaqi_46{font-size:16px}}._field_ocaqi_46:-webkit-autofill,._field_ocaqi_46:-webkit-autofill:hover,._field_ocaqi_46:-webkit-autofill:focus{-webkit-box-shadow:inset 0 0 0 1000px var(--u-color-surface),0 0 0 1px var(--u-edge-color-strong);-webkit-text-fill-color:var(--u-color-text);caret-color:var(--u-color-accent)}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.components{._root_1892z_4,._root_1892z_4:before,._root_1892z_4:after{box-sizing:border-box}._corner_1892z_19,._corner_1892z_19:before,._corner_1892z_19:after{box-sizing:border-box}._dayBand_1892z_23,._dayBand_1892z_23:before,._dayBand_1892z_23:after{box-sizing:border-box}._tickBand_1892z_24,._tickBand_1892z_24:before,._tickBand_1892z_24:after{box-sizing:border-box}._day_1892z_23,._day_1892z_23:before,._day_1892z_23:after{box-sizing:border-box}._dayLabel_1892z_50,._dayLabel_1892z_50:before,._dayLabel_1892z_50:after{box-sizing:border-box}._tick_1892z_24,._tick_1892z_24:before,._tick_1892z_24:after{box-sizing:border-box}._tickLabel_1892z_71,._tickLabel_1892z_71:before,._tickLabel_1892z_71:after{box-sizing:border-box}._headers_1892z_79,._headers_1892z_79:before,._headers_1892z_79:after{box-sizing:border-box}._header_1892z_79,._header_1892z_79:before,._header_1892z_79:after{box-sizing:border-box}._headerLabel_1892z_97,._headerLabel_1892z_97:before,._headerLabel_1892z_97:after{box-sizing:border-box}._headerCount_1892z_134,._headerCount_1892z_134:before,._headerCount_1892z_134:after{box-sizing:border-box}._chevron_1892z_143,._chevron_1892z_143:before,._chevron_1892z_143:after{box-sizing:border-box}._plot_1892z_201,._plot_1892z_201:before,._plot_1892z_201:after{box-sizing:border-box}._focusRing_1892z_208,._focusRing_1892z_208:before,._focusRing_1892z_208:after{box-sizing:border-box}._layer_1892z_226,._layer_1892z_226:before,._layer_1892z_226:after{box-sizing:border-box}._grip_1892z_235,._grip_1892z_235:before,._grip_1892z_235:after{box-sizing:border-box}._ghostLabel_1892z_245,._ghostLabel_1892z_245:before,._ghostLabel_1892z_245:after{box-sizing:border-box}._finding_1892z_258,._finding_1892z_258:before,._finding_1892z_258:after{box-sizing:border-box}._refusal_1892z_266,._refusal_1892z_266:before,._refusal_1892z_266:after{box-sizing:border-box}._tooltip_1892z_270,._tooltip_1892z_270:before,._tooltip_1892z_270:after{box-sizing:border-box}._tooltipHead_1892z_289,._tooltipHead_1892z_289:before,._tooltipHead_1892z_289:after{box-sizing:border-box}._tooltipTimes_1892z_294,._tooltipTimes_1892z_294:before,._tooltipTimes_1892z_294:after{box-sizing:border-box}._now_1892z_303,._now_1892z_303:before,._now_1892z_303:after{box-sizing:border-box}._barLabel_1892z_317,._barLabel_1892z_317:before,._barLabel_1892z_317:after{box-sizing:border-box}._barLabelText_1892z_330,._barLabelText_1892z_330:before,._barLabelText_1892z_330:after{box-sizing:border-box}._root_1892z_4{display:grid;grid-template-rows:28px minmax(0,1fr) 28px;width:100%;font-size:var(--u-text-sm);background:var(--u-color-surface);outline:1px solid transparent;box-shadow:var(--u-edge);border-radius:var(--u-radius-md);corner-shape:squircle;overflow:hidden;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none}._corner_1892z_19{background:var(--u-color-surface)}._dayBand_1892z_23,._tickBand_1892z_24{position:relative;overflow:hidden;color:var(--u-color-text-muted);font-size:var(--u-text-xs)}._dayBand_1892z_23{border-bottom:1px solid var(--u-hairline-strong)}._tickBand_1892z_24{border-top:1px solid var(--u-hairline-strong)}._day_1892z_23{position:absolute;top:0;bottom:0;border-left:1px solid var(--u-hairline-strong);overflow:hidden}._dayLabel_1892z_50{position:absolute;z-index:1;left:var(--u-space-1);padding:0 var(--u-space-1);background:var(--u-color-surface);top:50%;transform:translateY(-50%);white-space:nowrap;color:var(--u-color-text);font-weight:var(--u-weight-medium)}._tick_1892z_24{position:absolute;top:0;bottom:0;width:1px;background:var(--u-hairline)}._tickLabel_1892z_71{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);white-space:nowrap}._headers_1892z_79{position:relative;overflow:hidden;border-right:1px solid var(--u-hairline-strong)}._header_1892z_79{display:flex;align-items:center;gap:var(--u-space-2);padding-right:var(--u-space-3);border-bottom:1px solid var(--u-hairline);overflow:hidden;white-space:nowrap}._headerLabel_1892z_97{min-width:0;overflow:hidden;text-overflow:ellipsis}._header_1892z_79[data-row=lane],._header_1892z_79[data-row=miniature]{container:lane-header / size}@container lane-header (height >= 2.5rem){._headerLabel_1892z_97:not(:has(*)){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal;text-wrap:balance}}._header_1892z_79[data-row=groupHead],._header_1892z_79[data-row=miniature]{font-weight:var(--u-weight-medium)}._headerCount_1892z_134{flex:none;color:var(--u-color-text-muted);font-size:var(--u-text-xs);font-variant-numeric:tabular-nums}._chevron_1892z_143{flex:none;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:none;border-radius:var(--u-radius-xs);corner-shape:squircle;background:transparent;color:var(--u-color-text-secondary);cursor:pointer;transition:background-color var(--u-transition),color var(--u-transition)}._chevron_1892z_143:hover{background:var(--u-color-surface-sunken);color:var(--u-color-text)}._chevron_1892z_143:active{background:var(--u-color-surface-pressed)}._chevron_1892z_143:focus-visible{outline:2px solid transparent;box-shadow:var(--u-focus-ring)}._chevron_1892z_143 svg{box-sizing:border-box}._chevron_1892z_143 svg{transition:transform var(--u-transition-path)}._chevron_1892z_143 svg[data-open]{box-sizing:border-box}._chevron_1892z_143 svg[data-open]{transform:rotate(90deg)}@media(prefers-reduced-motion:reduce){._chevron_1892z_143 svg{transition:none}}._header_1892z_79[data-refused]{color:var(--u-color-text-muted)}._plot_1892z_201{position:relative;overflow:hidden;touch-action:none}._plot_1892z_201:focus{outline:none}._focusRing_1892z_208{position:absolute;top:2px;right:2px;bottom:2px;left:2px;border-radius:var(--u-radius-md);corner-shape:squircle;pointer-events:none}._plot_1892z_201:focus-visible>._focusRing_1892z_208{outline:2px solid transparent;box-shadow:var(--u-focus-ring)}._layer_1892z_226{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;pointer-events:none}._grip_1892z_235{position:absolute;width:9px;margin-left:-4px;border-radius:var(--u-radius-xs);corner-shape:squircle;background:var(--u-color-surface);box-shadow:inset 0 0 0 1.5px var(--u-color-text);cursor:ew-resize}._ghostLabel_1892z_245{position:absolute;display:inline-flex;gap:var(--u-space-2);padding:1px var(--u-space-2);border-radius:var(--u-radius-sm);corner-shape:squircle;background:var(--u-color-text);color:var(--u-color-surface);font-size:var(--u-text-xs);white-space:nowrap;pointer-events:none}._finding_1892z_258{font-weight:var(--u-weight-semibold);color:var(--u-color-danger-subtle)}._refusal_1892z_266{font-weight:var(--u-weight-semibold)}._tooltip_1892z_270{position:absolute;z-index:1;display:flex;flex-direction:column;gap:1px;max-width:260px;padding:var(--u-space-2) var(--u-space-3);border-radius:var(--u-radius-sm);corner-shape:squircle;background:var(--u-color-surface);outline:1px solid transparent;box-shadow:var(--u-shadow-overlay);color:var(--u-color-text-secondary);font-size:var(--u-text-xs);line-height:var(--u-leading-tight);pointer-events:none;white-space:nowrap}._tooltipHead_1892z_289{color:var(--u-color-text);font-weight:var(--u-weight-semibold)}._tooltipTimes_1892z_294{color:var(--u-color-text)}._tooltip_1892z_270 ._finding_1892z_258{color:var(--u-color-danger-text)}._now_1892z_303{position:absolute;top:0;width:0;height:0;margin-left:-4px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid var(--u-color-accent)}._barLabel_1892z_317{position:absolute;display:flex;align-items:center;padding:0 var(--u-space-1);overflow:hidden;font-size:var(--u-text-xs);line-height:var(--u-leading-tight);pointer-events:none}._barLabelText_1892z_330{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._barLabel_1892z_317[data-on=dark]{color:var(--u-color-on-accent)}._barLabel_1892z_317[data-on=light]{color:var(--u-color-text)}@media(forced-colors:active){._grip_1892z_235{outline:2px solid CanvasText;outline-offset:-2px}._ghostLabel_1892z_245{outline:1px solid CanvasText}}}
1
+ @layer umriss.tokens,umriss.base,umriss.components;@layer umriss.base{._text_r8i8z_23{font-family:var(--u-font-sans);font-size:var(--u-text-md);line-height:var(--u-leading-normal);color:var(--u-color-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}@media(pointer:fine){._dense_r8i8z_39{--u-control-height-sm: var(--u-control-height-xs)}}._ink_r8i8z_50{--u-color-text: var(--u-color-bg);--u-color-text-secondary: color-mix(in srgb, var(--u-color-bg) 75%, transparent);--u-color-text-muted: color-mix(in srgb, var(--u-color-bg) 60%, transparent)}._extent_r8i8z_75{--_chars: 16;--_extra: 0;--_tracking: 0px;--_chrome: 0px;min-inline-size:0;max-inline-size:100%;contain:inline-size;contain-intrinsic-inline-size:calc((var(--_chars) + var(--_extra)) * (1ch + var(--_tracking)) + var(--_chrome))}._field_r8i8z_90{caret-color:var(--u-color-accent)}._scroll_r8i8z_96{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--u-color-text) 25%,transparent) transparent}._scroll_r8i8z_96::-webkit-scrollbar{width:10px;height:10px}._scroll_r8i8z_96::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--u-color-text) 22%,transparent);border-radius:var(--u-radius-full);border:3px solid transparent;background-clip:content-box}._scroll_r8i8z_96::-webkit-scrollbar-track{background:transparent}}@layer umriss.components{._ring_r8i8z_125:focus-visible{outline:2px solid transparent;box-shadow:var(--u-focus-ring)}@media(pointer:coarse){._field_r8i8z_90._field_r8i8z_90,._fieldRoot_r8i8z_145._fieldRoot_r8i8z_145{font-size:16px}}._field_r8i8z_90:-webkit-autofill,._field_r8i8z_90:-webkit-autofill:hover,._field_r8i8z_90:-webkit-autofill:focus{-webkit-box-shadow:inset 0 0 0 1000px var(--u-color-surface),0 0 0 1px var(--u-edge-color-strong);-webkit-text-fill-color:var(--u-color-text);caret-color:var(--u-color-accent)}}@layer umriss.tokens,umriss.base,umriss.components;@layer umriss.components{._root_1892z_4,._root_1892z_4:before,._root_1892z_4:after{box-sizing:border-box}._corner_1892z_19,._corner_1892z_19:before,._corner_1892z_19:after{box-sizing:border-box}._dayBand_1892z_23,._dayBand_1892z_23:before,._dayBand_1892z_23:after{box-sizing:border-box}._tickBand_1892z_24,._tickBand_1892z_24:before,._tickBand_1892z_24:after{box-sizing:border-box}._day_1892z_23,._day_1892z_23:before,._day_1892z_23:after{box-sizing:border-box}._dayLabel_1892z_50,._dayLabel_1892z_50:before,._dayLabel_1892z_50:after{box-sizing:border-box}._tick_1892z_24,._tick_1892z_24:before,._tick_1892z_24:after{box-sizing:border-box}._tickLabel_1892z_71,._tickLabel_1892z_71:before,._tickLabel_1892z_71:after{box-sizing:border-box}._headers_1892z_79,._headers_1892z_79:before,._headers_1892z_79:after{box-sizing:border-box}._header_1892z_79,._header_1892z_79:before,._header_1892z_79:after{box-sizing:border-box}._headerLabel_1892z_97,._headerLabel_1892z_97:before,._headerLabel_1892z_97:after{box-sizing:border-box}._headerCount_1892z_134,._headerCount_1892z_134:before,._headerCount_1892z_134:after{box-sizing:border-box}._chevron_1892z_143,._chevron_1892z_143:before,._chevron_1892z_143:after{box-sizing:border-box}._plot_1892z_201,._plot_1892z_201:before,._plot_1892z_201:after{box-sizing:border-box}._focusRing_1892z_208,._focusRing_1892z_208:before,._focusRing_1892z_208:after{box-sizing:border-box}._layer_1892z_226,._layer_1892z_226:before,._layer_1892z_226:after{box-sizing:border-box}._grip_1892z_235,._grip_1892z_235:before,._grip_1892z_235:after{box-sizing:border-box}._ghostLabel_1892z_245,._ghostLabel_1892z_245:before,._ghostLabel_1892z_245:after{box-sizing:border-box}._finding_1892z_258,._finding_1892z_258:before,._finding_1892z_258:after{box-sizing:border-box}._refusal_1892z_266,._refusal_1892z_266:before,._refusal_1892z_266:after{box-sizing:border-box}._tooltip_1892z_270,._tooltip_1892z_270:before,._tooltip_1892z_270:after{box-sizing:border-box}._tooltipHead_1892z_289,._tooltipHead_1892z_289:before,._tooltipHead_1892z_289:after{box-sizing:border-box}._tooltipTimes_1892z_294,._tooltipTimes_1892z_294:before,._tooltipTimes_1892z_294:after{box-sizing:border-box}._now_1892z_303,._now_1892z_303:before,._now_1892z_303:after{box-sizing:border-box}._barLabel_1892z_317,._barLabel_1892z_317:before,._barLabel_1892z_317:after{box-sizing:border-box}._barLabelText_1892z_330,._barLabelText_1892z_330:before,._barLabelText_1892z_330:after{box-sizing:border-box}._root_1892z_4{display:grid;grid-template-rows:28px minmax(0,1fr) 28px;width:100%;font-size:var(--u-text-sm);background:var(--u-color-surface);outline:1px solid transparent;box-shadow:var(--u-edge);border-radius:var(--u-radius-md);corner-shape:squircle;overflow:hidden;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none}._corner_1892z_19{background:var(--u-color-surface)}._dayBand_1892z_23,._tickBand_1892z_24{position:relative;overflow:hidden;color:var(--u-color-text-muted);font-size:var(--u-text-xs)}._dayBand_1892z_23{border-bottom:1px solid var(--u-hairline-strong)}._tickBand_1892z_24{border-top:1px solid var(--u-hairline-strong)}._day_1892z_23{position:absolute;top:0;bottom:0;border-left:1px solid var(--u-hairline-strong);overflow:hidden}._dayLabel_1892z_50{position:absolute;z-index:1;left:var(--u-space-1);padding:0 var(--u-space-1);background:var(--u-color-surface);top:50%;transform:translateY(-50%);white-space:nowrap;color:var(--u-color-text);font-weight:var(--u-weight-medium)}._tick_1892z_24{position:absolute;top:0;bottom:0;width:1px;background:var(--u-hairline)}._tickLabel_1892z_71{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);white-space:nowrap}._headers_1892z_79{position:relative;overflow:hidden;border-right:1px solid var(--u-hairline-strong)}._header_1892z_79{display:flex;align-items:center;gap:var(--u-space-2);padding-right:var(--u-space-3);border-bottom:1px solid var(--u-hairline);overflow:hidden;white-space:nowrap}._headerLabel_1892z_97{min-width:0;overflow:hidden;text-overflow:ellipsis}._header_1892z_79[data-row=lane],._header_1892z_79[data-row=miniature]{container:lane-header / size}@container lane-header (height >= 2.5rem){._headerLabel_1892z_97:not(:has(*)){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal;text-wrap:balance}}._header_1892z_79[data-row=groupHead],._header_1892z_79[data-row=miniature]{font-weight:var(--u-weight-medium)}._headerCount_1892z_134{flex:none;color:var(--u-color-text-muted);font-size:var(--u-text-xs);font-variant-numeric:tabular-nums}._chevron_1892z_143{flex:none;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;padding:0;border:none;border-radius:var(--u-radius-xs);corner-shape:squircle;background:transparent;color:var(--u-color-text-secondary);cursor:pointer;transition:background-color var(--u-transition),color var(--u-transition)}._chevron_1892z_143:hover{background:var(--u-color-surface-sunken);color:var(--u-color-text)}._chevron_1892z_143:active{background:var(--u-color-surface-pressed)}._chevron_1892z_143:focus-visible{outline:2px solid transparent;box-shadow:var(--u-focus-ring)}._chevron_1892z_143 svg{box-sizing:border-box}._chevron_1892z_143 svg{transition:transform var(--u-transition-path)}._chevron_1892z_143 svg[data-open]{box-sizing:border-box}._chevron_1892z_143 svg[data-open]{transform:rotate(90deg)}@media(prefers-reduced-motion:reduce){._chevron_1892z_143 svg{transition:none}}._header_1892z_79[data-refused]{color:var(--u-color-text-muted)}._plot_1892z_201{position:relative;overflow:hidden;touch-action:none}._plot_1892z_201:focus{outline:none}._focusRing_1892z_208{position:absolute;top:2px;right:2px;bottom:2px;left:2px;border-radius:var(--u-radius-md);corner-shape:squircle;pointer-events:none}._plot_1892z_201:focus-visible>._focusRing_1892z_208{outline:2px solid transparent;box-shadow:var(--u-focus-ring)}._layer_1892z_226{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;pointer-events:none}._grip_1892z_235{position:absolute;width:9px;margin-left:-4px;border-radius:var(--u-radius-xs);corner-shape:squircle;background:var(--u-color-surface);box-shadow:inset 0 0 0 1.5px var(--u-color-text);cursor:ew-resize}._ghostLabel_1892z_245{position:absolute;display:inline-flex;gap:var(--u-space-2);padding:1px var(--u-space-2);border-radius:var(--u-radius-sm);corner-shape:squircle;background:var(--u-color-text);color:var(--u-color-surface);font-size:var(--u-text-xs);white-space:nowrap;pointer-events:none}._finding_1892z_258{font-weight:var(--u-weight-semibold);color:var(--u-color-danger-subtle)}._refusal_1892z_266{font-weight:var(--u-weight-semibold)}._tooltip_1892z_270{position:absolute;z-index:1;display:flex;flex-direction:column;gap:1px;max-width:260px;padding:var(--u-space-2) var(--u-space-3);border-radius:var(--u-radius-sm);corner-shape:squircle;background:var(--u-color-surface);outline:1px solid transparent;box-shadow:var(--u-shadow-overlay);color:var(--u-color-text-secondary);font-size:var(--u-text-xs);line-height:var(--u-leading-tight);pointer-events:none;white-space:nowrap}._tooltipHead_1892z_289{color:var(--u-color-text);font-weight:var(--u-weight-semibold)}._tooltipTimes_1892z_294{color:var(--u-color-text)}._tooltip_1892z_270 ._finding_1892z_258{color:var(--u-color-danger-text)}._now_1892z_303{position:absolute;top:0;width:0;height:0;margin-left:-4px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid var(--u-color-accent)}._barLabel_1892z_317{position:absolute;display:flex;align-items:center;padding:0 var(--u-space-1);overflow:hidden;font-size:var(--u-text-xs);line-height:var(--u-leading-tight);pointer-events:none}._barLabelText_1892z_330{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._barLabel_1892z_317[data-on=dark]{color:var(--u-color-on-accent)}._barLabel_1892z_317[data-on=light]{color:var(--u-color-text)}@media(forced-colors:active){._grip_1892z_235{outline:2px solid CanvasText;outline-offset:-2px}._ghostLabel_1892z_245{outline:1px solid CanvasText}}}
package/dist/schedule.js CHANGED
@@ -4,7 +4,7 @@ var ps = (o, t, e) => t in o ? fs(o, t, { enumerable: !0, configurable: !0, writ
4
4
  var f = (o, t, e) => ps(o, typeof t != "symbol" ? t + "" : t, e);
5
5
  import { jsxs as z, Fragment as Ot, jsx as k } from "react/jsx-runtime";
6
6
  import { useContext as Be, createContext as Ne, useRef as G, useEffect as K, forwardRef as ms, useState as ut, useId as gs, useLayoutEffect as ft, useImperativeHandle as ks, useSyncExternalStore as ys, useMemo as X } from "react";
7
- import { toWorkingTimeClamped as U, resolveColours as vs, removedIntervals as ws, localOffset as $t, MINUTE as V, calendarFrom as tt, toWallClock as q, DAY as j, timeStep as bs, workingTimeTicks as Ms, HOUR as xt, LinearScale as Ts, subscribeTheme as Is } from "@umriss-ui/charts";
7
+ import { toWorkingTimeClamped as U, resolveColours as vs, removedIntervals as ws, localOffset as $t, MINUTE as V, calendarFrom as tt, toWallClock as j, DAY as q, timeStep as bs, workingTimeTicks as Ms, HOUR as xt, LinearScale as Ts, subscribeTheme as Is } from "@umriss-ui/charts";
8
8
  import { useFormats as Gt, useWording as gt, AngleGlyph as Cs, VisuallyHidden as me } from "@umriss-ui/core";
9
9
  const $e = Ne(null), xe = Ne(null);
10
10
  function Ge() {
@@ -488,7 +488,7 @@ function Ie(o, t, e) {
488
488
  }
489
489
  function Ws(o, t) {
490
490
  const { data: e, view: n } = t, s = n.viewport();
491
- js(o, t, s);
491
+ qs(o, t, s);
492
492
  for (const i of e.blocked) on(o, t, s, i);
493
493
  Zs(o, t);
494
494
  for (const i of e.layers) {
@@ -497,7 +497,7 @@ function Ws(o, t) {
497
497
  if (i.kind === "dependencies")
498
498
  for (const a of n.paths) r.has(a.dependency) && Pt(o, t, a, !1);
499
499
  else
500
- for (const a of n.boxes) r.has(a.subtask) && qe(o, t, a, 1);
500
+ for (const a of n.boxes) r.has(a.subtask) && je(o, t, a, 1);
501
501
  }
502
502
  for (const i of e.overlaps) Nt(o, t, s, i);
503
503
  for (const i of e.inBlocked) Nt(o, t, s, i);
@@ -528,7 +528,7 @@ function Xs(o, t) {
528
528
  const m = u.from === r.id ? Rt(s, u, h, p, e.options) : Rt(s, u, p, h, e.options);
529
529
  Pt(o, t, m, !0, d.has(u.id));
530
530
  }
531
- qe(o, { ...t, selectedTask: null }, h, 0.55), o.strokeStyle = t.colours.text, o.lineWidth = 1, o.setLineDash([3, 2]), o.strokeRect(h.outerFrom + 0.5, h.y + 0.5, Math.max(1, h.outerTo - h.outerFrom - 1), h.height - 1), o.setLineDash([]), i.tether !== null && qs(o, t, h, i.tether);
531
+ je(o, { ...t, selectedTask: null }, h, 0.55), o.strokeStyle = t.colours.text, o.lineWidth = 1, o.setLineDash([3, 2]), o.strokeRect(h.outerFrom + 0.5, h.y + 0.5, Math.max(1, h.outerTo - h.outerFrom - 1), h.height - 1), o.setLineDash([]), i.tether !== null && js(o, t, h, i.tether);
532
532
  }
533
533
  function Vs(o, t, e, n) {
534
534
  if (n.size === 0) return;
@@ -537,10 +537,10 @@ function Vs(o, t, e, n) {
537
537
  const a = dt(e, r);
538
538
  if (a === null) continue;
539
539
  const { top: l, height: h } = a;
540
- l + h < 0 || l > i || (o.globalAlpha = 0.6, o.fillStyle = t.colours.surface, o.fillRect(0, l, s, h), o.globalAlpha = 1, Ze(o, 0, l, s, h, t.colours.muted, 0.7, je, 1));
540
+ l + h < 0 || l > i || (o.globalAlpha = 0.6, o.fillStyle = t.colours.surface, o.fillRect(0, l, s, h), o.globalAlpha = 1, Ze(o, 0, l, s, h, t.colours.muted, 0.7, qe, 1));
541
541
  }
542
542
  }
543
- function qs(o, t, e, n) {
543
+ function js(o, t, e, n) {
544
544
  const s = Math.max(e.outerFrom, Math.min(e.outerTo, n.x)), i = Math.max(e.y, Math.min(e.y + e.height, n.y));
545
545
  Math.hypot(n.x - s, n.y - i) < 2 || (o.strokeStyle = t.colours.text, o.lineWidth = 1, o.setLineDash([2, 3]), o.beginPath(), o.moveTo(s + 0.5, i + 0.5), o.lineTo(n.x + 0.5, n.y + 0.5), o.stroke(), o.setLineDash([]));
546
546
  }
@@ -548,7 +548,7 @@ function Ve(o, t) {
548
548
  const e = Kt(o.rows, t.lane);
549
549
  return e === null ? null : Ye(o, t, t.lane, e, 0);
550
550
  }
551
- function js(o, t, e) {
551
+ function qs(o, t, e) {
552
552
  const { view: n, colours: s, bands: i } = t, { width: r, height: a } = n;
553
553
  o.lineWidth = 1, o.strokeStyle = s.line, o.beginPath();
554
554
  for (const d of i.ticks)
@@ -616,7 +616,7 @@ function ht(o, t, e, n) {
616
616
  return t.selectedTask === null ? s : e !== t.selectedTask ? o.forced ? o.muted : Ce(s, 1) : o.forced || t.selectedSubtask === null || n === null || n === t.selectedSubtask ? s : Ce(s, 0.5);
617
617
  }
618
618
  const tn = 2;
619
- function qe(o, t, e, n) {
619
+ function je(o, t, e, n) {
620
620
  const { view: s, colours: i } = t;
621
621
  if (!Et(e, s.width, s.height)) return;
622
622
  if (e.miniature) {
@@ -642,7 +642,7 @@ function qe(o, t, e, n) {
642
642
  }
643
643
  r.open && sn(o, e, h, d, i.surface, s.width), r.dashed && (o.globalAlpha = n, o.strokeStyle = a, o.setLineDash([4, 3]), o.strokeRect(e.mainFrom + 0.5, h + 0.5, u - 1, d - 1), o.setLineDash([])), o.globalAlpha = 1, e.depth > 0 && n === 1 && (o.strokeStyle = i.surface, o.strokeRect(e.outerFrom - 0.5, h - 0.5, e.outerTo - e.outerFrom + 1, d + 1));
644
644
  }
645
- const je = 6, en = 16;
645
+ const qe = 6, en = 16;
646
646
  function Ze(o, t, e, n, s, i, r, a, l) {
647
647
  o.save(), o.beginPath(), o.rect(t, e, n, s), o.clip(), o.globalAlpha = 0.5 * r, o.strokeStyle = i, o.lineWidth = l, o.beginPath();
648
648
  for (let h = t - s; h < t + n + s; h += a)
@@ -699,7 +699,7 @@ function on(o, t, e, n) {
699
699
  const s = dt(e, n.lane);
700
700
  if (s === null || s.top + s.height < 0 || s.top > t.view.height) return;
701
701
  const i = Math.max(0, N(e, n.from)), r = Math.min(t.view.width, N(e, n.to));
702
- r <= i || (o.globalAlpha = 0.1, o.fillStyle = t.colours.muted, o.fillRect(i, s.top, r - i, s.height), o.globalAlpha = 1, Ze(o, i, s.top, r - i, s.height, t.colours.muted, 0.7, je, 1));
702
+ r <= i || (o.globalAlpha = 0.1, o.fillStyle = t.colours.muted, o.fillRect(i, s.top, r - i, s.height), o.globalAlpha = 1, Ze(o, i, s.top, r - i, s.height, t.colours.muted, 0.7, qe, 1));
703
703
  }
704
704
  function Nt(o, t, e, n) {
705
705
  const s = dt(e, n.lane);
@@ -1229,7 +1229,7 @@ class pn {
1229
1229
  a start this way, and a key by one step of the raster - one arithmetic,
1230
1230
  so a key proposes exactly what a drag of that length would. */
1231
1231
  shifted(t, e, n) {
1232
- const s = tt(this.host.view.options.calendar), i = U(t, s) + e, r = s.intervals.length === 0 ? i : q(Math.max(0, Math.min(s.total, i)), s);
1232
+ const s = tt(this.host.view.options.calendar), i = U(t, s) + e, r = s.intervals.length === 0 ? i : j(Math.max(0, Math.min(s.total, i)), s);
1233
1233
  return this.snapInside(r, n);
1234
1234
  }
1235
1235
  /** Snapped - and, where the raster lands in time the calendar removes, moved
@@ -1237,7 +1237,7 @@ class pn {
1237
1237
  nobody works. */
1238
1238
  snapInside(t, e) {
1239
1239
  const n = cn(t, e), s = tt(this.host.view.options.calendar);
1240
- return s.intervals.length === 0 ? n : q(U(n, s), s);
1240
+ return s.intervals.length === 0 ? n : j(U(n, s), s);
1241
1241
  }
1242
1242
  intentsOf(t, e, n) {
1243
1243
  const s = [], i = this.host.view.options.intents, r = t.id;
@@ -1488,7 +1488,7 @@ class wn {
1488
1488
  }
1489
1489
  const Je = [], bn = 56;
1490
1490
  function Mn(o, t = bn) {
1491
- return o > 0 ? Math.min(j, Math.max(15 * V, bs(o * t, 1))) : 15 * V;
1491
+ return o > 0 ? Math.min(q, Math.max(15 * V, bs(o * t, 1))) : 15 * V;
1492
1492
  }
1493
1493
  function Tn(o, t, e = Je) {
1494
1494
  const [n, s] = Qe(o, e);
@@ -1516,7 +1516,7 @@ function Cn(o, t) {
1516
1516
  return Dt.find((e) => e * o >= t) ?? Dt[Dt.length - 1];
1517
1517
  }
1518
1518
  function _t(o, t) {
1519
- return ((Math.round((o - $t(o)) / j) - 4) % t + t) % t === 0;
1519
+ return ((Math.round((o - $t(o)) / q) - 4) % t + t) % t === 0;
1520
1520
  }
1521
1521
  function Sn(o, t, e, n) {
1522
1522
  const s = o[1] - o[0];
@@ -1531,7 +1531,7 @@ function Qe(o, t) {
1531
1531
  const e = tt(t);
1532
1532
  if (e.intervals.length === 0) return [o[0], o[1]];
1533
1533
  const n = (s) => Math.max(0, Math.min(e.total, s));
1534
- return [q(n(o[0]), e), q(n(o[1]), e)];
1534
+ return [j(n(o[0]), e), j(n(o[1]), e)];
1535
1535
  }
1536
1536
  const mt = 44;
1537
1537
  class An {
@@ -1539,7 +1539,7 @@ class An {
1539
1539
  f(this, "options", {
1540
1540
  laneHeight: mt,
1541
1541
  calendar: [],
1542
- zoomLimits: { min: xt, max: 28 * j },
1542
+ zoomLimits: { min: xt, max: 28 * q },
1543
1543
  snap: "ticks",
1544
1544
  intents: [],
1545
1545
  now: null,
@@ -1547,7 +1547,7 @@ class An {
1547
1547
  attach: "centre",
1548
1548
  ends: "dot"
1549
1549
  });
1550
- f(this, "domain", [0, j]);
1550
+ f(this, "domain", [0, q]);
1551
1551
  f(this, "scrollY", 0);
1552
1552
  f(this, "width", 0);
1553
1553
  f(this, "height", 0);
@@ -1574,7 +1574,7 @@ class An {
1574
1574
  else if (n) {
1575
1575
  const i = tt(s), r = (a) => {
1576
1576
  const l = i.intervals.length === 0 ? a : Math.max(0, Math.min(i.total, a));
1577
- return U(q(l, i), t.calendar) + (a - l);
1577
+ return U(j(l, i), t.calendar) + (a - l);
1578
1578
  };
1579
1579
  this.domain = [r(this.domain[0]), r(this.domain[1])];
1580
1580
  }
@@ -1660,7 +1660,7 @@ class An {
1660
1660
  /** The wall-clock time at a plot x; within the calendar's extent. */
1661
1661
  timeAt(t) {
1662
1662
  const e = this.viewport().scale.fromPx(t), n = tt(this.options.calendar);
1663
- return n.intervals.length === 0 ? e : q(Math.max(0, Math.min(n.total, e)), n);
1663
+ return n.intervals.length === 0 ? e : j(Math.max(0, Math.min(n.total, e)), n);
1664
1664
  }
1665
1665
  /** The lane at a y, strips included: what the pointer is ON.
1666
1666
 
@@ -1959,7 +1959,7 @@ class Dn {
1959
1959
  }
1960
1960
  /** The visible span, as two wall-clock instants. */
1961
1961
  visibleDomain() {
1962
- const t = tt(this.view.options.calendar), e = (n) => t.intervals.length === 0 ? n : q(Math.max(0, Math.min(t.total, n)), t);
1962
+ const t = tt(this.view.options.calendar), e = (n) => t.intervals.length === 0 ? n : j(Math.max(0, Math.min(t.total, n)), t);
1963
1963
  return [e(this.view.domain[0]), e(this.view.domain[1])];
1964
1964
  }
1965
1965
  /** Reported once per frame, however many wheel steps a planner turns - and
@@ -2017,7 +2017,7 @@ class Dn {
2017
2017
  Ws(n, i), Xs(s, i);
2018
2018
  }
2019
2019
  }
2020
- const _n = "_root_1892z_4 _text_ocaqi_23", Fn = "_corner_1892z_19", On = "_dayBand_1892z_23", En = "_tickBand_1892z_24", Rn = "_day_1892z_23", Pn = "_dayLabel_1892z_50", Bn = "_tick_1892z_24", Nn = "_tickLabel_1892z_71", $n = "_headers_1892z_79", xn = "_header_1892z_79", Gn = "_headerLabel_1892z_97", Hn = "_headerCount_1892z_134", Yn = "_chevron_1892z_143", Kn = "_plot_1892z_201", zn = "_focusRing_1892z_208", Un = "_layer_1892z_226", Wn = "_grip_1892z_235", Xn = "_ghostLabel_1892z_245", Vn = "_finding_1892z_258", qn = "_refusal_1892z_266", jn = "_tooltip_1892z_270", Zn = "_tooltipHead_1892z_289", Jn = "_tooltipTimes_1892z_294", Qn = "_now_1892z_303", to = "_barLabel_1892z_317", eo = "_barLabelText_1892z_330", w = {
2020
+ const _n = "_root_1892z_4 _text_r8i8z_23", Fn = "_corner_1892z_19", On = "_dayBand_1892z_23", En = "_tickBand_1892z_24", Rn = "_day_1892z_23", Pn = "_dayLabel_1892z_50", Bn = "_tick_1892z_24", Nn = "_tickLabel_1892z_71", $n = "_headers_1892z_79", xn = "_header_1892z_79", Gn = "_headerLabel_1892z_97", Hn = "_headerCount_1892z_134", Yn = "_chevron_1892z_143", Kn = "_plot_1892z_201", zn = "_focusRing_1892z_208", Un = "_layer_1892z_226", Wn = "_grip_1892z_235", Xn = "_ghostLabel_1892z_245", Vn = "_finding_1892z_258", jn = "_refusal_1892z_266", qn = "_tooltip_1892z_270", Zn = "_tooltipHead_1892z_289", Jn = "_tooltipTimes_1892z_294", Qn = "_now_1892z_303", to = "_barLabel_1892z_317", eo = "_barLabelText_1892z_330", w = {
2021
2021
  root: _n,
2022
2022
  corner: Fn,
2023
2023
  dayBand: On,
@@ -2037,8 +2037,8 @@ const _n = "_root_1892z_4 _text_ocaqi_23", Fn = "_corner_1892z_19", On = "_dayBa
2037
2037
  grip: Wn,
2038
2038
  ghostLabel: Xn,
2039
2039
  finding: Vn,
2040
- refusal: qn,
2041
- tooltip: jn,
2040
+ refusal: jn,
2041
+ tooltip: qn,
2042
2042
  tooltipHead: Zn,
2043
2043
  tooltipTimes: Jn,
2044
2044
  now: Qn,
@@ -2099,7 +2099,7 @@ function no({ target: o }) {
2099
2099
  h !== void 0 && /* @__PURE__ */ k("span", { className: w.finding, children: e.scheduleViolatedBy(s(h.shortBy)) })
2100
2100
  ] });
2101
2101
  }
2102
- const oo = [], Re = { min: xt, max: 28 * j }, io = [], Pe = 20, Ft = 44, mo = ms(function(t, e) {
2102
+ const oo = [], Re = { min: xt, max: 28 * q }, io = [], Pe = 20, Ft = 44, mo = ms(function(t, e) {
2103
2103
  var fe;
2104
2104
  const {
2105
2105
  ariaLabel: n,
@@ -2127,10 +2127,10 @@ const oo = [], Re = { min: xt, max: 28 * j }, io = [], Pe = 20, Ft = 44, mo = ms
2127
2127
  label: ct,
2128
2128
  tooltip: Z,
2129
2129
  now: ot,
2130
- className: qt,
2130
+ className: jt,
2131
2131
  style: es,
2132
2132
  children: ss
2133
- } = t, [v] = ut(() => new Dn()), yt = gs(), jt = `${yt}-summary`, Zt = G(null), Jt = G(null), Qt = G(null), te = G(null), Y = Gt(), x = gt(), [vt, wt] = s, ee = (h == null ? void 0 : h.min) ?? Re.min, se = (h == null ? void 0 : h.max) ?? Re.max, ne = G(null), oe = typeof d == "object" ? d.step : null, ie = typeof d == "object" ? d.offset : null, re = typeof d == "object" ? null : d, [ns, os] = ut(() => Date.now());
2133
+ } = t, [v] = ut(() => new Dn()), yt = gs(), qt = `${yt}-summary`, Zt = G(null), Jt = G(null), Qt = G(null), te = G(null), Y = Gt(), x = gt(), [vt, wt] = s, ee = (h == null ? void 0 : h.min) ?? Re.min, se = (h == null ? void 0 : h.max) ?? Re.max, ne = G(null), oe = typeof d == "object" ? d.step : null, ie = typeof d == "object" ? d.offset : null, re = typeof d == "object" ? null : d, [ns, os] = ut(() => Date.now());
2134
2134
  K(() => {
2135
2135
  if (ot !== !0) return;
2136
2136
  const c = setInterval(() => os(Date.now()), V);
@@ -2190,7 +2190,7 @@ const oo = [], Re = { min: xt, max: 28 * j }, io = [], Pe = 20, Ft = 44, mo = ms
2190
2190
  const M = ys(v.subscribe, v.getSnapshot, v.getServerSnapshot), rs = (c, b) => {
2191
2191
  const L = new Date(c);
2192
2192
  return b >= 200 ? Y.dateLong(L) : b >= 84 ? Y.date(L) : b >= Ft ? Y.dateShort(L) : "";
2193
- }, as = M.days.reduce((c, b) => Math.max(c, b.width), 0), J = Cn(as, Ft), le = M.step >= j ? J : 1, T = M.ghost, Q = M.spoken, bt = M.summary, de = (c) => `${Y.dateShort(new Date(c))} ${Y.time(new Date(c), !1)}`, Mt = (c) => `${yt}-row-${encodeURIComponent(c.key)}`, ls = X(() => {
2193
+ }, as = M.days.reduce((c, b) => Math.max(c, b.width), 0), J = Cn(as, Ft), le = M.step >= q ? J : 1, T = M.ghost, Q = M.spoken, bt = M.summary, de = (c) => `${Y.dateShort(new Date(c))} ${Y.time(new Date(c), !1)}`, Mt = (c) => `${yt}-row-${encodeURIComponent(c.key)}`, ls = X(() => {
2194
2194
  const c = /* @__PURE__ */ new Map();
2195
2195
  for (const b of M.headers)
2196
2196
  for (const L of b.within)
@@ -2248,7 +2248,7 @@ const oo = [], Re = { min: xt, max: 28 * j }, io = [], Pe = 20, Ft = 44, mo = ms
2248
2248
  ref: Zt,
2249
2249
  role: "figure",
2250
2250
  "aria-label": n,
2251
- className: qt ? `${w.root} ${qt}` : w.root,
2251
+ className: jt ? `${w.root} ${jt}` : w.root,
2252
2252
  style: { height: `${i}px`, gridTemplateColumns: `min(${a}px, 40%) minmax(0, 1fr)`, ...es },
2253
2253
  children: [
2254
2254
  /* @__PURE__ */ k("div", { className: w.corner }),
@@ -2300,7 +2300,7 @@ const oo = [], Re = { min: xt, max: 28 * j }, io = [], Pe = 20, Ft = 44, mo = ms
2300
2300
  role: "application",
2301
2301
  "aria-roledescription": x.scheduleRoleDescription,
2302
2302
  "aria-label": n,
2303
- "aria-describedby": jt,
2303
+ "aria-describedby": qt,
2304
2304
  onKeyDown: (c) => {
2305
2305
  v.key(c.nativeEvent) && c.preventDefault();
2306
2306
  },
@@ -2392,7 +2392,7 @@ const oo = [], Re = { min: xt, max: 28 * j }, io = [], Pe = 20, Ft = 44, mo = ms
2392
2392
  /* @__PURE__ */ k("div", { className: w.corner }),
2393
2393
  /* @__PURE__ */ z("div", { className: w.tickBand, "aria-hidden": "true", "data-schedule-ticks": "", "data-schedule-clip": "time band", children: [
2394
2394
  M.now !== null && /* @__PURE__ */ k("span", { className: w.now, "data-now": "", "data-schedule-overlay": "now mark", style: { left: `${M.now}px` } }),
2395
- M.ticks.map((c) => /* @__PURE__ */ k("span", { className: w.tick, style: { left: `${c.x}px` }, children: c.x >= Pe && c.x <= M.width - Pe && (le === 1 || _t(c.wallClock, le)) && /* @__PURE__ */ k("span", { className: w.tickLabel, "data-schedule-overlay": "time label", children: M.step >= j ? Y.dateShort(new Date(c.wallClock)) : Y.time(new Date(c.wallClock), !1) }) }, c.wallClock))
2395
+ M.ticks.map((c) => /* @__PURE__ */ k("span", { className: w.tick, style: { left: `${c.x}px` }, children: c.x >= Pe && c.x <= M.width - Pe && (le === 1 || _t(c.wallClock, le)) && /* @__PURE__ */ k("span", { className: w.tickLabel, "data-schedule-overlay": "time label", children: M.step >= q ? Y.dateShort(new Date(c.wallClock)) : Y.time(new Date(c.wallClock), !1) }) }, c.wallClock))
2396
2396
  ] }),
2397
2397
  /* @__PURE__ */ k(me, { "aria-live": "polite", children: Q !== null && /* @__PURE__ */ k(
2398
2398
  so,
@@ -2402,7 +2402,7 @@ const oo = [], Re = { min: xt, max: 28 * j }, io = [], Pe = 20, Ft = 44, mo = ms
2402
2402
  },
2403
2403
  Q.count
2404
2404
  ) }),
2405
- /* @__PURE__ */ k(me, { id: jt, children: `${x.scheduleSummary({ ...bt, from: de(bt.from), to: de(bt.to) })} ${x.scheduleKeyHelp}` })
2405
+ /* @__PURE__ */ k(me, { id: qt, children: `${x.scheduleSummary({ ...bt, from: de(bt.from), to: de(bt.to) })} ${x.scheduleKeyHelp}` })
2406
2406
  ]
2407
2407
  }
2408
2408
  ),