@sheetxl/utils-react 0.8.0-beta.2 → 0.8.0-beta.3

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.2
2
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.3
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.2
2
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.3
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -277,7 +277,7 @@ function d() {
277
277
  };
278
278
  }
279
279
  var f = d();
280
- f.register("base", () => import("./DKup4mMzT8WdXz0e.mjs")), f.register("cf", () => import("./C0YaChjA6T3amxUK.mjs"));
280
+ f.register("base", () => import("./p0HsxM37dp6ewDyw.mjs")), f.register("cf", () => import("./BVSCLFr35t9aj9Tb.mjs"));
281
281
  var p = (e) => a("svg", {
282
282
  ...e,
283
283
  children: a("path", {})
@@ -1,11 +1,11 @@
1
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_16f7r_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_16f7r_10 .sm{--icon-size:var(--icon-size-sm)}._Icon_16f7r_10 .md{--icon-size:var(--icon-size-md)}._Icon_16f7r_10 .lg{--icon-size:var(--icon-size-lg)}._Icon_16f7r_10 .xl{--icon-size:var(--icon-size-xl)}._Icon_16f7r_10>svg{width:var(--icon-size);height:var(--icon-size)}._Icon_16f7r_10>img{aspect-ratio:1;line-height:1;display:block}._Icon_16f7r_10 .fill,._Icon_16f7r_10 .line{--layer-color:var(--icon-color);--layer-opacity:var(--icon-main-opacity)}._Icon_16f7r_10 .tertiary{--layer-color:var(--icon-tertiary-color)}._Icon_16f7r_10 .primary{--layer-color:var(--icon-primary,var(--sxl-color-primary,#595b5e))}._Icon_16f7r_10 .accent{--layer-color:var(--icon-accent,var(--sxl-color-accent,#9c27b0))}._Icon_16f7r_10 .accent.tint{--layer-color:color-mix(in srgb, var(--icon-accent,var(--sxl-color-accent,#9c27b0)) 80%, white)}._Icon_16f7r_10 .success{--layer-color:var(--icon-success,var(--sxl-color-success,#22c55e))}._Icon_16f7r_10 .success.tint{--layer-color:color-mix(in srgb, var(--icon-success,var(--sxl-color-success,#22c55e)) 80%, white)}._Icon_16f7r_10 .info{--layer-color:var(--icon-info,var(--sxl-color-info,#3b82f6))}._Icon_16f7r_10 .warning{--layer-color:var(--icon-warning,var(--sxl-color-warning,#f59e0b))}._Icon_16f7r_10 .error{--layer-color:var(--icon-error,var(--sxl-color-error,#ef4444))}._Icon_16f7r_10 .error.tint{--layer-color:color-mix(in srgb, var(--icon-error,var(--sxl-color-error,#ef4444)) 80%, white)}._Icon_16f7r_10 .grey{--layer-color:var(--sxl-color-neutral,#ccc)}._Icon_16f7r_10 .shadow{--layer-color:var(--sxl-color-shadow,#ccc)}._Icon_16f7r_10 .fill:not(.fixed):not([fill]){fill:var(--layer-color);stroke:none}._Icon_16f7r_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_16f7r_10 .fill:not(.fixed):not([fill]):not([opacity]){opacity:var(--layer-opacity)}._Icon_16f7r_10 .line:not(.fixed):not([stroke]):not([opacity]){opacity:var(--layer-opacity,var(--icon-line-opacity))}._Icon_16f7r_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_16f7r_10 .fill.rimmed:not(.fixed):not([fill]){--icon-outline:var(--icon-rim,light-dark(#3c3c3c,#101010));--icon-outline-width:2}._Icon_16f7r_10 .knockout{--layer-color:var(--icon-knockout,#fff)}._Icon_16f7r_10 .line.heavy:not(.fixed):not([stroke]){stroke-width:var(--icon-stroke-heavy-em,.155em)}._Icon_16f7r_10 .invert-dark{filter:var(--sxl-image-filter,none)}._Icon_16f7r_10 .muted{opacity:calc(var(--layer-opacity,1) * .6)}@keyframes _sxl-walk_16f7r_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_16f7r_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_csci8_1{max-width:100%;max-height:100%;display:flex}._float-popper-grow_csci8_7{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_csci8_7._entered_csci8_15{opacity:1;transform:scale(1)}._float-popup_juap7_1{flex-direction:column;display:flex}._float-panel_1f1r8_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);border-radius:4px;outline:none;display:flex;overflow:auto;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}._float-tooltip_1l6qz_1{box-sizing:border-box;max-width:300px;color:var(--sxl-color-base-100,#fff);background-color:color-mix(in srgb, var(--sxl-color-base-content,#464646) 92%, transparent);pointer-events:none;word-wrap:break-word;border-radius:4px;padding:2px 6px;font-size:.6875rem;font-weight:500;line-height:1.4}:root{--scrollbar-track-color:#0000000f;--scrollbar-thumb-color:#00000059;--scrollbar-button-color:var(--scrollbar-thumb-color);--scrollbar-active-color:#0000008c;--scrollbar-corner-color:transparent;--scrollbar-border-color:transparent;& .has-touch-thumb,& .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_14aps_24{& ::-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_14aps_35{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_14aps_47{background:var(--scrollbar-thumb-color);border-radius:var(--scrollbar-border-radius);touch-action:none;transition:background .12s}& ._thumb_14aps_47:hover{background:var(--scrollbar-active-color)}&.vertical{min-width:var(--scrollbar-width,0px);max-width:var(--scrollbar-width,100%);flex-direction:column;& ._thumb_14aps_47{min-height:var(--scrollbar-min-thumb-size)}& ._track_14aps_35{width:100%}}&.horizontal{min-height:var(--scrollbar-height,0px);max-height:var(--scrollbar-height,100%);flex-direction:row;& ._thumb_14aps_47{min-width:var(--scrollbar-min-thumb-size)}& ._track_14aps_35{height:100%}}&.dragging{& ._thumb_14aps_47{background:var(--scrollbar-active-color)}}&.has-touch-thumb{visibility:hidden}& ._scrollbar-button_14aps_96{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}&.vertical{width:var(--scrollbar-width)}&.horizontal{height:var(--scrollbar-height)}}}._touch-thumb_14aps_131{cursor:grab;pointer-events:all;will-change:opacity;opacity:.7;border-radius:9999px;transition-property:opacity;position:absolute;&:hover,&.dragging{opacity:1}}._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}._scrollbar-themed_nj3vu_7{--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-border-color:color-mix(in srgb, var(--sxl-color-base-content) 5%, transparent);--scrollbar-width:13px;--scrollbar-height:13px;--scrollbar-border-radius:9999px;--scrollbar-border-width:2px;--scrollbar-min-thumb-size:24px}._scrollbar-themed_nj3vu_7::-webkit-scrollbar{background-color:var(--scrollbar-track-color);width:var(--scrollbar-width);height:var(--scrollbar-height)}._scrollbar-themed_nj3vu_7 ::-webkit-scrollbar{background-color:var(--scrollbar-track-color);width:var(--scrollbar-width);height:var(--scrollbar-height)}._scrollbar-themed_nj3vu_7::-webkit-scrollbar-button{display:none}._scrollbar-themed_nj3vu_7 ._scrollbar-button_nj3vu_32{fill:var(--scrollbar-thumb-color);transition:fill opacity .26s ease;width:var(--scrollbar-width);height:var(--scrollbar-height);background-color:#0000}._scrollbar-themed_nj3vu_7 ._scrollbar-button_nj3vu_32:hover:not([disabled]){fill:var(--scrollbar-active-color)}._scrollbar-themed_nj3vu_7 ._scrollbar-button_nj3vu_32:disabled{opacity:.8}._scrollbar-themed_nj3vu_7::-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 var(--scrollbar-border-color)}._scrollbar-themed_nj3vu_7 ::-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 var(--scrollbar-border-color)}._scrollbar-themed_nj3vu_7::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-active-color)}._scrollbar-themed_nj3vu_7 ::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-active-color)}._scrollbar-themed_nj3vu_7::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-active-color)}._scrollbar-themed_nj3vu_7 ::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-active-color)}._scrollbar-themed_nj3vu_7::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner-color)}._scrollbar-themed_nj3vu_7 ::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner-color)}._scrollbar-themed_nj3vu_7 ._pseudo-scrollbar_nj3vu_70{scrollbar-color:var(--scrollbar-thumb-color) transparent}._scrollbar-themed_nj3vu_7 ._pseudo-scrollbar_nj3vu_70:hover:not([disabled]){scrollbar-color:var(--scrollbar-active-color) transparent}/*$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. - v0.8.0-beta.2
3
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.3
4
4
  *
5
5
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
7
7
  */
8
- import { i as e, n as t, r as n, t as r } from "./DaDIU3EpB96qbvar.mjs";
8
+ import { i as e, n as t, r as n, t as r } from "./CIIBEEXB3gcJPfdI.mjs";
9
9
  import { CommonUtils as i, DefaultLanguagePackService as a, DefaultNotifier as o, ExpectedError as s, InternalClipboard as c, Notifier as l, TimerUtils as u, fetchLocaleResourceAll as d, formatMessage as f, loadPackageLocales as p, mergeMessageFiles 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, useId as k, useImperativeHandle as A, useLayoutEffect as j, useMemo as M, useReducer as N, useRef as P, useState as F, useSyncExternalStore as I, version as ee } from "react";
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.2
2
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.3
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { t as e } from "./DaDIU3EpB96qbvar.mjs";
7
+ import { t as e } from "./CIIBEEXB3gcJPfdI.mjs";
8
8
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
9
9
  var r = {
10
10
  meta: {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.2
2
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.3
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.2
2
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.3
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.2
2
+ * @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.8.0-beta.3
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -3466,7 +3466,7 @@ function ur() {
3466
3466
  }
3467
3467
  ir.displayName = "SplitPane";
3468
3468
  var dr = ur();
3469
- dr.register("base", () => import("./ErznqJafEjYJ3e0H.mjs")), dr.register("cf", () => import("./ab6S2ZLIze6opqOt.mjs"));
3469
+ dr.register("base", () => import("./B-FM_8r9Y-QUf82k.mjs")), dr.register("cf", () => import("./DSvJ69_AiNh6hzvs.mjs"));
3470
3470
  var fr = (e) => R("svg", {
3471
3471
  ...e,
3472
3472
  children: R("path", {})
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": "0.8.0-beta.2",
4
+ "version": "0.8.0-beta.3",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -41,7 +41,7 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@floating-ui/react-dom": "^2.1.9",
44
- "@sheetxl/utils": "^0.8.0-beta.2",
44
+ "@sheetxl/utils": "^0.8.0-beta.3",
45
45
  "clsx": "^2.1.1",
46
46
  "detect-it": "^4.0.1",
47
47
  "prop-types": "^15.8.1",