@sheetxl/utils-react 1.0.3 → 1.0.5
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/browser/esm/{C5qusAnQu7OBNyd4.mjs → BEjeD5YX6lOP96XE.mjs} +1 -1
- package/browser/esm/{CSWwGyrfOZ87rsK0.mjs → Bai0CVjGmw6mt_hq.mjs} +2 -2
- package/browser/esm/{CqBGr_SJnt7kP0Sv.mjs → DQOQSETjjBfUJJVz.mjs} +2 -2
- package/browser/esm/index.mjs +4 -4
- package/node/esm/{BSwuvhuXwL7iXli1.mjs → CWAmJT3jRarGQeqn.mjs} +1 -1
- package/node/esm/{BDAe6xXGhJN_0w0f.mjs → CZQtwSbDDD01GoTT.mjs} +1 -1
- package/node/esm/index.mjs +3 -3
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -277,7 +277,7 @@ function d() {
|
|
|
277
277
|
};
|
|
278
278
|
}
|
|
279
279
|
var f = d();
|
|
280
|
-
f.register("base", () => import("./
|
|
280
|
+
f.register("base", () => import("./DQOQSETjjBfUJJVz.mjs")), f.register("cf", () => import("./BEjeD5YX6lOP96XE.mjs"));
|
|
281
281
|
var p = (e) => a("svg", {
|
|
282
282
|
...e,
|
|
283
283
|
children: a("path", {})
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./Bai0CVjGmw6mt_hq.mjs";
|
|
8
8
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
9
9
|
var r = {
|
|
10
10
|
meta: {
|
package/browser/esm/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`:root{--icon-size-sm:calc(var(--icon-size,1rem) * .875);--icon-size-md:var(--icon-size,1rem);--icon-size-lg:calc(var(--icon-size,1rem) * 1.25);--icon-size-xl:calc(var(--icon-size,1rem) * 1.5)}._Icon_1cewm_10{font-size:var(--icon-size,var(--icon-size-md));min-width:var(--icon-size,var(--icon-size-md));min-height:var(--icon-size,var(--icon-size-md));--icon-stroke-em:.085em;--icon-color:currentColor;--icon-secondary-color:color-mix(in oklab, currentColor 65%, transparent);--icon-tertiary-color:color-mix(in oklab, currentColor 40%, transparent);--icon-line-color:currentColor;--icon-main-opacity:1;--icon-secondary-opacity:.45;--icon-tertiary-opacity:.25;--icon-line-opacity:1;--icon-filter:none;filter:var(--icon-filter);vertical-align:middle;flex:none;justify-content:center;align-items:center;line-height:1;display:inline-flex}._Icon_1cewm_10 .sm{--icon-size:var(--icon-size-sm)}._Icon_1cewm_10 .md{--icon-size:var(--icon-size-md)}._Icon_1cewm_10 .lg{--icon-size:var(--icon-size-lg)}._Icon_1cewm_10 .xl{--icon-size:var(--icon-size-xl)}._Icon_1cewm_10>svg{width:var(--icon-size);height:var(--icon-size)}._Icon_1cewm_10>img{aspect-ratio:1;line-height:1;display:block}._Icon_1cewm_10 .fill,._Icon_1cewm_10 .line{--layer-color:var(--icon-color);--layer-opacity:var(--icon-main-opacity)}._Icon_1cewm_10 .tertiary{--layer-color:var(--icon-tertiary-color)}._Icon_1cewm_10 .primary{--layer-color:var(--icon-primary,var(--sxl-color-primary,#595b5e))}._Icon_1cewm_10 .accent{--layer-color:var(--icon-accent,var(--sxl-color-accent,#9c27b0))}._Icon_1cewm_10 .accent.tint{--layer-color:color-mix(in srgb, var(--icon-accent,var(--sxl-color-accent,#9c27b0)) 80%, white)}._Icon_1cewm_10 .success{--layer-color:var(--icon-success,var(--sxl-color-success,#22c55e))}._Icon_1cewm_10 .success.tint{--layer-color:color-mix(in srgb, var(--icon-success,var(--sxl-color-success,#22c55e)) 80%, white)}._Icon_1cewm_10 .info{--layer-color:var(--icon-info,var(--sxl-color-info,#3b82f6))}._Icon_1cewm_10 .warning{--layer-color:var(--icon-warning,var(--sxl-color-warning,#f59e0b))}._Icon_1cewm_10 .error{--layer-color:var(--icon-error,var(--sxl-color-error,#ef4444))}._Icon_1cewm_10 .error.tint{--layer-color:color-mix(in srgb, var(--icon-error,var(--sxl-color-error,#ef4444)) 80%, white)}._Icon_1cewm_10 .grey{--layer-color:var(--sxl-color-neutral,#ccc)}._Icon_1cewm_10 .shadow{--layer-color:var(--sxl-color-shadow,#ccc)}._Icon_1cewm_10 .fill:not(.fixed):not([fill]){fill:var(--layer-color);stroke:none}._Icon_1cewm_10 .line:not(.fixed):not([stroke]){fill:none;stroke:var(--layer-color,var(--icon-line-color));stroke-width:var(--icon-stroke-em);vector-effect:non-scaling-stroke;pointer-events:none;stroke-linecap:var(--icon-linecap,round);stroke-linejoin:var(--icon-linejoin,round);stroke-miterlimit:var(--icon-miter,4)}._Icon_1cewm_10 .fill:not(.fixed):not([fill]):not([opacity]){opacity:var(--layer-opacity)}._Icon_1cewm_10 .line:not(.fixed):not([stroke]):not([opacity]){opacity:var(--layer-opacity,var(--icon-line-opacity))}._Icon_1cewm_10 .fill.outlined:not(.fixed):not([fill]){stroke:var(--icon-outline,color-mix(in srgb, var(--layer-color) 62%, black));stroke-width:var(--icon-outline-width,1.25);stroke-linejoin:round;paint-order:stroke fill}._Icon_1cewm_10 .fill.rimmed:not(.fixed):not([fill]){--icon-outline:var(--icon-rim,light-dark(#3c3c3c,#101010));--icon-outline-width:2}._Icon_1cewm_10 .knockout{--layer-color:var(--icon-knockout,#fff)}._Icon_1cewm_10 .line.heavy:not(.fixed):not([stroke]){stroke-width:var(--icon-stroke-heavy-em,.155em)}._Icon_1cewm_10 .invert-dark{filter:var(--_sxl-image-filter,none)}._Icon_1cewm_10 .muted{opacity:calc(var(--layer-opacity,1) * .6)}@keyframes _sxl-walk_1cewm_1{to{stroke-dashoffset:0}}.icon.walking .walkable.line{stroke-dasharray:var(--walk-dash-length,5px) var(--walk-dash-gap,2px);stroke-dashoffset:calc(var(--walk-dash-length,5px) + var(--walk-dash-gap,2px));animation:_sxl-walk_1cewm_1 var(--walk-duration,.96s) linear infinite;will-change:stroke-dashoffset}._portal-root_105xh_14{pointer-events:none;z-index:1200;width:100%;height:100%;position:absolute;inset:0}._portal-root_105xh_14>*{pointer-events:auto}._fullscreen_105xh_31{z-index:1200}._dragging_at5p4_10,._dragging_at5p4_10 *{user-select:text!important}._float-popper_1z06c_1{max-width:100%;max-height:100%;font-family:var(--sxl-font-family,inherit);font-size:var(--sxl-font-size,inherit);font-weight:var(--sxl-font-weight,inherit);font-style:var(--sxl-font-style,inherit);color:var(--sxl-color-base-content,inherit);display:flex}._float-popper-grow_1z06c_14{opacity:0;will-change:transform, opacity;transition:transform .18s cubic-bezier(.4,0,.2,1),opacity .18s cubic-bezier(.4,0,.2,1);display:flex;transform:scale(.75)}._float-popper-grow_1z06c_14._entered_1z06c_22{opacity:1;transform:scale(1)}._float-popup_juap7_1{flex-direction:column;display:flex}._float-panel_qj0za_1{box-sizing:border-box;background:var(--sxl-color-base-100,#fff);color:var(--sxl-color-base-content,#000000de);border:1px solid var(--sxl-color-elevated-border,transparent);box-shadow:0 5px 5px -3px var(--sxl-color-shadow,#0003), 0 8px 10px 1px var(--sxl-color-shadow,#00000024), 0 3px 14px 2px var(--sxl-color-shadow,#0000001f);border-radius:4px;outline:none;display:flex;overflow:auto}:root{& .sxl-has-touch-thumb,& .sxl-has-touch-thumb *{--scrollbar-size:0px;--scrollbar-border-width:0px;--scrollbar-width:var(--scrollbar-size);--scrollbar-height:var(--scrollbar-size)}--scrollbar-width:var(--scrollbar-size);--scrollbar-height:var(--scrollbar-size);--scrollbar-border-radius:9999px;--scrollbar-border-width:2px;--scrollbar-min-thumb-size:24px}._scrollbar_z7hk1_1{& ::-webkit-scrollbar-button{background:0 0}border-radius:var(--scrollbar-border-radius);border:var(--scrollbar-border-width) solid transparent;flex:100%;align-items:center;display:flex;overflow:hidden;& ._track_z7hk1_29{background:var(--scrollbar-track-color);border-radius:var(--scrollbar-border-radius);border:var(--scrollbar-border-width) solid transparent;touch-action:none;box-sizing:border-box;flex:100%;position:relative;overflow:hidden}& ._thumb_z7hk1_41{background:var(--scrollbar-thumb-color);border-radius:var(--scrollbar-border-radius);touch-action:none;transition:background .12s}& ._thumb_z7hk1_41:hover{background:var(--scrollbar-active-color)}&.sxl-vertical{min-width:var(--scrollbar-width,0px);max-width:var(--scrollbar-width,100%);flex-direction:column;& ._thumb_z7hk1_41{min-height:var(--scrollbar-min-thumb-size)}& ._track_z7hk1_29{width:100%}}&.sxl-horizontal{min-height:var(--scrollbar-height,0px);max-height:var(--scrollbar-height,100%);flex-direction:row;& ._thumb_z7hk1_41{min-width:var(--scrollbar-min-thumb-size)}& ._track_z7hk1_29{height:100%}}&.sxl-dragging{& ._thumb_z7hk1_41{background:var(--scrollbar-active-color)}}&.sxl-has-touch-thumb{visibility:hidden}& ._scrollbar-button_z7hk1_90{background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex;&>*{fill:var(--scrollbar-button-color);transition:fill .12s}&:hover:not([disabled])>*{fill:var(--scrollbar-active-color)}&[disabled]>*{fill:var(--scrollbar-button-color);opacity:.5}&.sxl-vertical{width:var(--scrollbar-width)}&.sxl-horizontal{height:var(--scrollbar-height)}}}._touch-thumb_z7hk1_125{cursor:grab;pointer-events:all;touch-action:none;will-change:opacity;opacity:.7;border-radius:9999px;transition-property:opacity;position:absolute;&:hover,&.sxl-dragging{opacity:1}}._scrollbar-themed_b1iep_9,._scrollbar-colors_b1iep_5{--scrollbar-track-color:color-mix(in srgb, var(--sxl-color-base-content) 4%, transparent);--scrollbar-thumb-color:color-mix(in srgb, var(--sxl-color-base-content) 26%, transparent);--scrollbar-button-color:color-mix(in srgb, var(--sxl-color-base-content) 26%, transparent);--scrollbar-active-color:var(--sxl-color-primary);--scrollbar-corner-color:var(--sxl-color-base-100)}._scrollbar-themed_b1iep_9{--scrollbar-width:13px;--scrollbar-height:13px;--scrollbar-border-radius:9999px;--scrollbar-border-width:2px;--scrollbar-min-thumb-size:24px}._scrollbar-themed_b1iep_9::-webkit-scrollbar{background-color:var(--scrollbar-track-color);width:var(--scrollbar-width);height:var(--scrollbar-height)}._scrollbar-themed_b1iep_9 ::-webkit-scrollbar{background-color:var(--scrollbar-track-color);width:var(--scrollbar-width);height:var(--scrollbar-height)}._scrollbar-themed_b1iep_9::-webkit-scrollbar-button{display:none}._scrollbar-themed_b1iep_9 ._scrollbar-button_b1iep_37{fill:var(--scrollbar-thumb-color);transition:fill opacity .26s ease;width:var(--scrollbar-width);height:var(--scrollbar-height);background-color:#0000}._scrollbar-themed_b1iep_9 ._scrollbar-button_b1iep_37:hover:not([disabled]){fill:var(--scrollbar-active-color)}._scrollbar-themed_b1iep_9 ._scrollbar-button_b1iep_37:disabled{opacity:.8}._scrollbar-themed_b1iep_9::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-thumb-color);min-height:var(--scrollbar-min-thumb-size);min-width:var(--scrollbar-min-thumb-size);border:var(--scrollbar-border-width) solid transparent;background-clip:padding-box}._scrollbar-themed_b1iep_9 ::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-thumb-color);min-height:var(--scrollbar-min-thumb-size);min-width:var(--scrollbar-min-thumb-size);border:var(--scrollbar-border-width) solid transparent;background-clip:padding-box}._scrollbar-themed_b1iep_9::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-active-color)}._scrollbar-themed_b1iep_9 ::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-active-color)}._scrollbar-themed_b1iep_9::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-active-color)}._scrollbar-themed_b1iep_9 ::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-active-color)}._scrollbar-themed_b1iep_9::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner-color)}._scrollbar-themed_b1iep_9 ::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner-color)}._scrollbar-themed_b1iep_9 ._pseudo-scrollbar_b1iep_77{scrollbar-color:var(--scrollbar-thumb-color) transparent}._scrollbar-themed_b1iep_9 ._pseudo-scrollbar_b1iep_77:hover:not([disabled]){scrollbar-color:var(--scrollbar-active-color) transparent}._scrollpane_zdrii_2{min-width:min-content;min-height:min-content;display:flex;position:relative}._scrollpane-content_zdrii_20{box-sizing:border-box;flex:100%;grid-template-rows:1fr auto;grid-template-columns:1fr auto;width:100%;min-width:0;min-height:0;display:grid;position:relative}._scrollpane-content-cell_zdrii_33{grid-area:1/1/2/2;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}._vertical-container_zdrii_42{grid-area:1/2/2/3;min-height:0;display:flex}._horizontal-container_zdrii_50{grid-area:2/1/3/2;min-width:0;display:flex;overflow:hidden}._corner-container_zdrii_59{grid-area:2/2/3/3;display:flex}._touch-thumb-overlay_zdrii_68{pointer-events:none;grid-area:1/1/2/2;min-width:0;min-height:0;position:relative}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`:root{--icon-size-sm:calc(var(--icon-size,1rem) * .875);--icon-size-md:var(--icon-size,1rem);--icon-size-lg:calc(var(--icon-size,1rem) * 1.25);--icon-size-xl:calc(var(--icon-size,1rem) * 1.5)}._Icon_1cewm_10{font-size:var(--icon-size,var(--icon-size-md));min-width:var(--icon-size,var(--icon-size-md));min-height:var(--icon-size,var(--icon-size-md));--icon-stroke-em:.085em;--icon-color:currentColor;--icon-secondary-color:color-mix(in oklab, currentColor 65%, transparent);--icon-tertiary-color:color-mix(in oklab, currentColor 40%, transparent);--icon-line-color:currentColor;--icon-main-opacity:1;--icon-secondary-opacity:.45;--icon-tertiary-opacity:.25;--icon-line-opacity:1;--icon-filter:none;filter:var(--icon-filter);vertical-align:middle;flex:none;justify-content:center;align-items:center;line-height:1;display:inline-flex}._Icon_1cewm_10 .sm{--icon-size:var(--icon-size-sm)}._Icon_1cewm_10 .md{--icon-size:var(--icon-size-md)}._Icon_1cewm_10 .lg{--icon-size:var(--icon-size-lg)}._Icon_1cewm_10 .xl{--icon-size:var(--icon-size-xl)}._Icon_1cewm_10>svg{width:var(--icon-size);height:var(--icon-size)}._Icon_1cewm_10>img{aspect-ratio:1;line-height:1;display:block}._Icon_1cewm_10 .fill,._Icon_1cewm_10 .line{--layer-color:var(--icon-color);--layer-opacity:var(--icon-main-opacity)}._Icon_1cewm_10 .tertiary{--layer-color:var(--icon-tertiary-color)}._Icon_1cewm_10 .primary{--layer-color:var(--icon-primary,var(--sxl-color-primary,#595b5e))}._Icon_1cewm_10 .accent{--layer-color:var(--icon-accent,var(--sxl-color-accent,#9c27b0))}._Icon_1cewm_10 .accent.tint{--layer-color:color-mix(in srgb, var(--icon-accent,var(--sxl-color-accent,#9c27b0)) 80%, white)}._Icon_1cewm_10 .success{--layer-color:var(--icon-success,var(--sxl-color-success,#22c55e))}._Icon_1cewm_10 .success.tint{--layer-color:color-mix(in srgb, var(--icon-success,var(--sxl-color-success,#22c55e)) 80%, white)}._Icon_1cewm_10 .info{--layer-color:var(--icon-info,var(--sxl-color-info,#3b82f6))}._Icon_1cewm_10 .warning{--layer-color:var(--icon-warning,var(--sxl-color-warning,#f59e0b))}._Icon_1cewm_10 .error{--layer-color:var(--icon-error,var(--sxl-color-error,#ef4444))}._Icon_1cewm_10 .error.tint{--layer-color:color-mix(in srgb, var(--icon-error,var(--sxl-color-error,#ef4444)) 80%, white)}._Icon_1cewm_10 .grey{--layer-color:var(--sxl-color-neutral,#ccc)}._Icon_1cewm_10 .shadow{--layer-color:var(--sxl-color-shadow,#ccc)}._Icon_1cewm_10 .fill:not(.fixed):not([fill]){fill:var(--layer-color);stroke:none}._Icon_1cewm_10 .line:not(.fixed):not([stroke]){fill:none;stroke:var(--layer-color,var(--icon-line-color));stroke-width:var(--icon-stroke-em);vector-effect:non-scaling-stroke;pointer-events:none;stroke-linecap:var(--icon-linecap,round);stroke-linejoin:var(--icon-linejoin,round);stroke-miterlimit:var(--icon-miter,4)}._Icon_1cewm_10 .fill:not(.fixed):not([fill]):not([opacity]){opacity:var(--layer-opacity)}._Icon_1cewm_10 .line:not(.fixed):not([stroke]):not([opacity]){opacity:var(--layer-opacity,var(--icon-line-opacity))}._Icon_1cewm_10 .fill.outlined:not(.fixed):not([fill]){stroke:var(--icon-outline,color-mix(in srgb, var(--layer-color) 62%, black));stroke-width:var(--icon-outline-width,1.25);stroke-linejoin:round;paint-order:stroke fill}._Icon_1cewm_10 .fill.rimmed:not(.fixed):not([fill]){--icon-outline:var(--icon-rim,light-dark(#3c3c3c,#101010));--icon-outline-width:2}._Icon_1cewm_10 .knockout{--layer-color:var(--icon-knockout,#fff)}._Icon_1cewm_10 .line.heavy:not(.fixed):not([stroke]){stroke-width:var(--icon-stroke-heavy-em,.155em)}._Icon_1cewm_10 .invert-dark{filter:var(--_sxl-image-filter,none)}._Icon_1cewm_10 .muted{opacity:calc(var(--layer-opacity,1) * .6)}@keyframes _sxl-walk_1cewm_1{to{stroke-dashoffset:0}}.icon.walking .walkable.line{stroke-dasharray:var(--walk-dash-length,5px) var(--walk-dash-gap,2px);stroke-dashoffset:calc(var(--walk-dash-length,5px) + var(--walk-dash-gap,2px));animation:_sxl-walk_1cewm_1 var(--walk-duration,.96s) linear infinite;will-change:stroke-dashoffset}._portal-root_105xh_14{pointer-events:none;z-index:1200;width:100%;height:100%;position:absolute;inset:0}._portal-root_105xh_14>*{pointer-events:auto}._fullscreen_105xh_31{z-index:1200}._dragging_at5p4_10,._dragging_at5p4_10 *{user-select:text!important}._float-popper_1z06c_1{max-width:100%;max-height:100%;font-family:var(--sxl-font-family,inherit);font-size:var(--sxl-font-size,inherit);font-weight:var(--sxl-font-weight,inherit);font-style:var(--sxl-font-style,inherit);color:var(--sxl-color-base-content,inherit);display:flex}._float-popper-grow_1z06c_14{opacity:0;will-change:transform, opacity;transition:transform .18s cubic-bezier(.4,0,.2,1),opacity .18s cubic-bezier(.4,0,.2,1);display:flex;transform:scale(.75)}._float-popper-grow_1z06c_14._entered_1z06c_22{opacity:1;transform:scale(1)}._float-popup_juap7_1{flex-direction:column;display:flex}._float-panel_qj0za_1{box-sizing:border-box;background:var(--sxl-color-base-100,#fff);color:var(--sxl-color-base-content,#000000de);border:1px solid var(--sxl-color-elevated-border,transparent);box-shadow:0 5px 5px -3px var(--sxl-color-shadow,#0003), 0 8px 10px 1px var(--sxl-color-shadow,#00000024), 0 3px 14px 2px var(--sxl-color-shadow,#0000001f);border-radius:4px;outline:none;display:flex;overflow:auto}:root{& .sxl-has-touch-thumb,& .sxl-has-touch-thumb *{--scrollbar-size:0px;--scrollbar-border-width:0px;--scrollbar-width:var(--scrollbar-size);--scrollbar-height:var(--scrollbar-size)}--scrollbar-width:var(--scrollbar-size);--scrollbar-height:var(--scrollbar-size);--scrollbar-border-radius:9999px;--scrollbar-border-width:2px;--scrollbar-min-thumb-size:24px}._scrollbar_z7hk1_1{& ::-webkit-scrollbar-button{background:0 0}border-radius:var(--scrollbar-border-radius);border:var(--scrollbar-border-width) solid transparent;flex:100%;align-items:center;display:flex;overflow:hidden;& ._track_z7hk1_29{background:var(--scrollbar-track-color);border-radius:var(--scrollbar-border-radius);border:var(--scrollbar-border-width) solid transparent;touch-action:none;box-sizing:border-box;flex:100%;position:relative;overflow:hidden}& ._thumb_z7hk1_41{background:var(--scrollbar-thumb-color);border-radius:var(--scrollbar-border-radius);touch-action:none;transition:background .12s}& ._thumb_z7hk1_41:hover{background:var(--scrollbar-active-color)}&.sxl-vertical{min-width:var(--scrollbar-width,0px);max-width:var(--scrollbar-width,100%);flex-direction:column;& ._thumb_z7hk1_41{min-height:var(--scrollbar-min-thumb-size)}& ._track_z7hk1_29{width:100%}}&.sxl-horizontal{min-height:var(--scrollbar-height,0px);max-height:var(--scrollbar-height,100%);flex-direction:row;& ._thumb_z7hk1_41{min-width:var(--scrollbar-min-thumb-size)}& ._track_z7hk1_29{height:100%}}&.sxl-dragging{& ._thumb_z7hk1_41{background:var(--scrollbar-active-color)}}&.sxl-has-touch-thumb{visibility:hidden}& ._scrollbar-button_z7hk1_90{background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:flex;&>*{fill:var(--scrollbar-button-color);transition:fill .12s}&:hover:not([disabled])>*{fill:var(--scrollbar-active-color)}&[disabled]>*{fill:var(--scrollbar-button-color);opacity:.5}&.sxl-vertical{width:var(--scrollbar-width)}&.sxl-horizontal{height:var(--scrollbar-height)}}}._touch-thumb_z7hk1_125{cursor:grab;pointer-events:all;touch-action:none;will-change:opacity;opacity:.7;border-radius:9999px;transition-property:opacity;position:absolute;&:hover,&.sxl-dragging{opacity:1}}._scrollbar-themed_11amf_9,._scrollbar-colors_11amf_5{--scrollbar-track-color:color-mix(in srgb, var(--sxl-color-base-content) 4%, transparent);--scrollbar-thumb-color:color-mix(in srgb, var(--sxl-color-base-content) 26%, transparent);--scrollbar-button-color:color-mix(in srgb, var(--sxl-color-base-content) 26%, transparent);--scrollbar-active-color:var(--sxl-color-primary);--scrollbar-corner-color:var(--sxl-color-base-100)}._scrollbar-themed_11amf_9{scrollbar-color:auto;--scrollbar-width:13px;--scrollbar-height:13px;--scrollbar-border-radius:9999px;--scrollbar-border-width:2px;--scrollbar-min-thumb-size:24px}._scrollbar-themed_11amf_9::-webkit-scrollbar{background-color:var(--scrollbar-track-color);width:var(--scrollbar-width);height:var(--scrollbar-height)}._scrollbar-themed_11amf_9 ::-webkit-scrollbar{background-color:var(--scrollbar-track-color);width:var(--scrollbar-width);height:var(--scrollbar-height)}._scrollbar-themed_11amf_9::-webkit-scrollbar-button{display:none}._scrollbar-themed_11amf_9 ._scrollbar-button_11amf_40{fill:var(--scrollbar-thumb-color);transition:fill opacity .26s ease;width:var(--scrollbar-width);height:var(--scrollbar-height);background-color:#0000}._scrollbar-themed_11amf_9 ._scrollbar-button_11amf_40:hover:not([disabled]){fill:var(--scrollbar-active-color)}._scrollbar-themed_11amf_9 ._scrollbar-button_11amf_40:disabled{opacity:.8}._scrollbar-themed_11amf_9::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-thumb-color);min-height:var(--scrollbar-min-thumb-size);min-width:var(--scrollbar-min-thumb-size);border:var(--scrollbar-border-width) solid transparent;background-clip:padding-box}._scrollbar-themed_11amf_9 ::-webkit-scrollbar-thumb{border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-thumb-color);min-height:var(--scrollbar-min-thumb-size);min-width:var(--scrollbar-min-thumb-size);border:var(--scrollbar-border-width) solid transparent;background-clip:padding-box}._scrollbar-themed_11amf_9::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-active-color)}._scrollbar-themed_11amf_9 ::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-active-color)}._scrollbar-themed_11amf_9::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-active-color)}._scrollbar-themed_11amf_9 ::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-active-color)}._scrollbar-themed_11amf_9::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner-color)}._scrollbar-themed_11amf_9 ::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner-color)}._scrollbar-themed_11amf_9 ._pseudo-scrollbar_11amf_80{scrollbar-color:var(--scrollbar-thumb-color) transparent}._scrollbar-themed_11amf_9 ._pseudo-scrollbar_11amf_80:hover:not([disabled]){scrollbar-color:var(--scrollbar-active-color) transparent}._scrollpane_zdrii_2{min-width:min-content;min-height:min-content;display:flex;position:relative}._scrollpane-content_zdrii_20{box-sizing:border-box;flex:100%;grid-template-rows:1fr auto;grid-template-columns:1fr auto;width:100%;min-width:0;min-height:0;display:grid;position:relative}._scrollpane-content-cell_zdrii_33{grid-area:1/1/2/2;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}._vertical-container_zdrii_42{grid-area:1/2/2/3;min-height:0;display:flex}._horizontal-container_zdrii_50{grid-area:2/1/3/2;min-width:0;display:flex;overflow:hidden}._corner-container_zdrii_59{grid-area:2/2/3/3;display:flex}._touch-thumb-overlay_zdrii_68{pointer-events:none;grid-area:1/1/2/2;min-width:0;min-height:0;position:relative}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.
|
|
3
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.5
|
|
4
4
|
*
|
|
5
5
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: MIT
|
|
7
7
|
*/
|
|
8
|
-
import { i as e, n as t, r as n, t as r } from "./
|
|
8
|
+
import { i as e, n as t, r as n, t as r } from "./Bai0CVjGmw6mt_hq.mjs";
|
|
9
9
|
import { CommonUtils as i, DefaultLanguagePackService as a, ExpectedError as o, InternalClipboard as s, Notifier as c, TimerUtils as l, fetchLocaleResourceAll as u, formatMessage as d, loadPackageLocales as f, mergeMessageFiles as p, onResourceRootsChange as m, resolveLocaleChain as h } from "@sheetxl/utils";
|
|
10
10
|
import * as g from "react";
|
|
11
11
|
import _, { Component as v, cloneElement as y, createContext as b, createElement as x, forwardRef as S, isValidElement as C, lazy as w, memo as T, useCallback as E, useContext as D, useEffect as O, useImperativeHandle as k, useLayoutEffect as A, useMemo as j, useReducer as M, useRef as N, useState as P, useSyncExternalStore as F, version as I } from "react";
|
|
@@ -4689,7 +4689,7 @@ var ds = async (e) => {
|
|
|
4689
4689
|
}), v.portalTarget, h);
|
|
4690
4690
|
}));
|
|
4691
4691
|
Ws.displayName = "TouchThumbHandle";
|
|
4692
|
-
var Gs = "_scrollbar-
|
|
4692
|
+
var Gs = "_scrollbar-themed_11amf_9", Ks = "_scrollbar-colors_11amf_5", qs = 24, Js = T(S((e, t) => {
|
|
4693
4693
|
let { offset: n = 0, totalSize: r = 0, viewportSize: i = 0, style: a, className: o, orientation: s = Z.Vertical, onScrollOffset: c, onScroll: l, showCustomScrollButtons: u, scrollButtonIncrement: d = 200, scrollButtonInitialRepeatDelay: f = 260, scrollButtonAdditionalRepeatDelay: p = 120, minThumbSize: m = qs, maxThumbSize: h, renderScrollButtonStart: g = Cs, renderScrollButtonEnd: _ = ws, propsTouchThumb: v, propsThumb: y, onThumbEdgeHold: b, onThumbDrag: x, onMouseDown: S, ...C } = e, w = Jn() === "touch", T = u ?? !w;
|
|
4694
4694
|
J(l ?? (() => {}), [l]);
|
|
4695
4695
|
let [D, k] = P({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v1.0.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -3648,7 +3648,7 @@ function ri() {
|
|
|
3648
3648
|
}
|
|
3649
3649
|
Jr.displayName = "SplitPane";
|
|
3650
3650
|
var ii = ri();
|
|
3651
|
-
ii.register("base", () => import("./
|
|
3651
|
+
ii.register("base", () => import("./CZQtwSbDDD01GoTT.mjs")), ii.register("cf", () => import("./CWAmJT3jRarGQeqn.mjs"));
|
|
3652
3652
|
var si = (e) => P("svg", {
|
|
3653
3653
|
...e,
|
|
3654
3654
|
children: P("path", {})
|
|
@@ -4201,7 +4201,7 @@ var Ei = async (e) => {
|
|
|
4201
4201
|
}), v.portalTarget, m);
|
|
4202
4202
|
}));
|
|
4203
4203
|
is.displayName = "TouchThumbHandle";
|
|
4204
|
-
var ss = "_scrollbar-
|
|
4204
|
+
var ss = "_scrollbar-themed_11amf_9", ls = "_scrollbar-colors_11amf_5", as = 24, cs = w(v((e, t) => {
|
|
4205
4205
|
const { offset: n = 0, totalSize: o = 0, viewportSize: r = 0, style: i, className: s, orientation: l = ki.Vertical, onScrollOffset: a, onScroll: c, showCustomScrollButtons: u, scrollButtonIncrement: h = 200, scrollButtonInitialRepeatDelay: d = 260, scrollButtonAdditionalRepeatDelay: f = 120, minThumbSize: p = as, maxThumbSize: m, renderScrollButtonStart: g = Oi, renderScrollButtonEnd: _ = Ii, propsTouchThumb: v, propsThumb: y, onThumbEdgeHold: b, onThumbDrag: w, onMouseDown: S, ...E } = e, C = "touch" === Sn(), T = u ?? !C;
|
|
4206
4206
|
jt(c ?? (() => {}), [c]);
|
|
4207
4207
|
const [A, $] = z({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/utils-react",
|
|
3
3
|
"description": "Utils React - Utilities for React capabilities needed for all SheetXL components.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@floating-ui/react-dom": "^2.1.9",
|
|
43
|
-
"@sheetxl/utils": "^1.0.
|
|
43
|
+
"@sheetxl/utils": "^1.0.5",
|
|
44
44
|
"clsx": "^2.1.1",
|
|
45
45
|
"detect-it": "^4.0.1",
|
|
46
46
|
"prop-types": "^15.8.1",
|