@texturehq/edges 5.12.2 → 5.14.0
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/{colors-Dccs-164.d.cts → colors-6y9-eGyY.d.cts} +14 -10
- package/dist/{colors-aSE98RKK.d.ts → colors-lgmIbyUz.d.ts} +14 -10
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/styles.css +8 -2
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.edges-stack-nav{--edges-stack-nav-pane-shift: 12%;--edges-stack-nav-pane-duration: var(--motion-duration-normal, .2s);--edges-stack-nav-pane-opacity-duration: var(--motion-duration-fast, .15s);--edges-stack-nav-pane-easing: var(--motion-easing-standard, ease);background:var(--edges-stack-nav-background, var(--color-background-surface));border-right:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__logo{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 24px;border-bottom:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__header{border-bottom:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__footer,.edges-stack-nav__divider,.edges-stack-nav__bottom-items{border-top:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__back{border-bottom:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__pane{opacity:0;pointer-events:none}.edges-stack-nav--animated .edges-stack-nav__pane{transition:transform var(--edges-stack-nav-pane-duration) var(--edges-stack-nav-pane-easing),opacity var(--edges-stack-nav-pane-opacity-duration) var(--edges-stack-nav-pane-easing)}.edges-stack-nav__pane--top{transform:translate(0);opacity:1;pointer-events:auto}.edges-stack-nav__pane--above{transform:translate(calc(var(--edges-stack-nav-pane-shift) * -1))}.edges-stack-nav__pane--below{transform:translate(var(--edges-stack-nav-pane-shift))}.edges-stack-nav__pane--instant{transition:none}.edges-stack-nav__row:hover,.edges-stack-nav__row:focus-visible{background:var(--edges-stack-nav-row-hover-background, var(--color-background-hover))}.edges-stack-nav__row--active,.edges-stack-nav__row--active:hover,.edges-stack-nav__row--active:focus-visible{background:var(--edges-stack-nav-row-active-background, var(--color-background-selected));color:var(--edges-stack-nav-row-active-color, var(--color-text-primary))}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button{background-color:transparent!important;box-shadow:none!important;border:1px solid var(--color-border-muted, rgba(0, 0, 0, .2))!important;opacity:.6}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button:hover{opacity:1}.map-tooltip .mapboxgl-popup-content{padding:.75rem 1rem;background-color:var(--color-background-surface);border:1px solid var(--color-border-default);border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;font-family:inherit;max-width:none!important}.map-tooltip .mapboxgl-popup-tip{border-top-color:var(--color-background-surface)}.map-tooltip-bare .mapboxgl-popup-content{padding:0!important;background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important}.map-tooltip-bare .mapboxgl-popup-tip{display:none!important}[data-layers-panel] .edges-stack-nav__pane{padding:0}[data-layers-panel] .edges-layers-panel__row+.edges-layers-panel__row{border-top:1px solid var(--color-border-subtle, var(--color-border-default))}
|
|
1
|
+
.edges-stack-nav{--edges-stack-nav-pane-shift: 12%;--edges-stack-nav-pane-duration: var(--motion-duration-normal, .2s);--edges-stack-nav-pane-opacity-duration: var(--motion-duration-fast, .15s);--edges-stack-nav-pane-easing: var(--motion-easing-standard, ease);background:var(--edges-stack-nav-background, var(--color-background-surface));border-right:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__logo{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 24px;border-bottom:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__header{border-bottom:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__footer,.edges-stack-nav__divider,.edges-stack-nav__bottom-items{border-top:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__back{border-bottom:1px solid var(--edges-stack-nav-border-color, var(--color-border-default))}.edges-stack-nav__pane{opacity:0;pointer-events:none}.edges-stack-nav--animated .edges-stack-nav__pane{transition:transform var(--edges-stack-nav-pane-duration) var(--edges-stack-nav-pane-easing),opacity var(--edges-stack-nav-pane-opacity-duration) var(--edges-stack-nav-pane-easing)}.edges-stack-nav__pane--top{transform:translate(0);opacity:1;pointer-events:auto}.edges-stack-nav__pane--above{transform:translate(calc(var(--edges-stack-nav-pane-shift) * -1))}.edges-stack-nav__pane--below{transform:translate(var(--edges-stack-nav-pane-shift))}.edges-stack-nav__pane--instant{transition:none}.edges-stack-nav__row:hover,.edges-stack-nav__row:focus-visible,.edges-stack-nav__row:focus-within{background:var(--edges-stack-nav-row-hover-background, var(--color-background-hover))}.edges-stack-nav__row--active,.edges-stack-nav__row--active:hover,.edges-stack-nav__row--active:focus-visible,.edges-stack-nav__row--active:focus-within{background:var(--edges-stack-nav-row-active-background, var(--color-background-selected));color:var(--edges-stack-nav-row-active-color, var(--color-text-primary))}.edges-stack-nav__drill-in:hover,.edges-stack-nav__drill-in:focus-visible{background:var(--edges-stack-nav-row-active-background, var(--color-background-selected))}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button{background-color:transparent!important;box-shadow:none!important;border:1px solid var(--color-border-muted, rgba(0, 0, 0, .2))!important;opacity:.6}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button:hover{opacity:1}.map-tooltip .mapboxgl-popup-content{padding:.75rem 1rem;background-color:var(--color-background-surface);border:1px solid var(--color-border-default);border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;font-family:inherit;max-width:none!important}.map-tooltip .mapboxgl-popup-tip{border-top-color:var(--color-background-surface)}.map-tooltip-bare .mapboxgl-popup-content{padding:0!important;background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important}.map-tooltip-bare .mapboxgl-popup-tip{display:none!important}[data-layers-panel] .edges-stack-nav__pane{padding:0}[data-layers-panel] .edges-layers-panel__row+.edges-layers-panel__row{border-top:1px solid var(--color-border-subtle, var(--color-border-default))}
|
|
2
2
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/StackNav/StackNav.css","../src/components/Maps/mapbox-overrides.css","../src/components/Maps/controls/LayersPanel.css"],"sourcesContent":["/**\n * StackNav surface + row affordances.\n *\n * All surface colors come from CSS custom properties on the rail so consumers\n * can override per-instance (via the `theme` prop) or globally (by setting\n * `--edges-stack-nav-*` on an ancestor). The component intentionally does NOT\n * default to the `--color-background-paper` (linen) surface — apps that want\n * the docs-style paper look opt in by passing `theme={{ background:\n * \"var(--color-background-paper)\" }}` or by setting the CSS variable.\n */\n\n.edges-stack-nav {\n --edges-stack-nav-pane-shift: 12%;\n --edges-stack-nav-pane-duration: var(--motion-duration-normal, 200ms);\n --edges-stack-nav-pane-opacity-duration: var(--motion-duration-fast, 150ms);\n --edges-stack-nav-pane-easing: var(--motion-easing-standard, ease);\n\n background: var(--edges-stack-nav-background, var(--color-background-surface));\n border-right: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__logo {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 60px;\n padding: 0 24px;\n border-bottom: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__header {\n border-bottom: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__footer {\n border-top: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__divider {\n border-top: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__bottom-items {\n border-top: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__back {\n border-bottom: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__pane {\n opacity: 0;\n pointer-events: none;\n}\n\n.edges-stack-nav--animated .edges-stack-nav__pane {\n transition:\n transform var(--edges-stack-nav-pane-duration) var(--edges-stack-nav-pane-easing),\n opacity var(--edges-stack-nav-pane-opacity-duration) var(--edges-stack-nav-pane-easing);\n}\n\n.edges-stack-nav__pane--top {\n transform: translateX(0);\n opacity: 1;\n pointer-events: auto;\n}\n\n.edges-stack-nav__pane--above {\n transform: translateX(calc(var(--edges-stack-nav-pane-shift) * -1));\n}\n\n.edges-stack-nav__pane--below {\n transform: translateX(var(--edges-stack-nav-pane-shift));\n}\n\n.edges-stack-nav__pane--instant {\n transition: none;\n}\n\n.edges-stack-nav__row:hover,\n.edges-stack-nav__row:focus-visible {\n background: var(--edges-stack-nav-row-hover-background, var(--color-background-hover));\n}\n\n.edges-stack-nav__row--active,\n.edges-stack-nav__row--active:hover,\n.edges-stack-nav__row--active:focus-visible {\n background: var(--edges-stack-nav-row-active-background, var(--color-background-selected));\n color: var(--edges-stack-nav-row-active-color, var(--color-text-primary));\n}\n","/* Attribution toggle button - muted style for mobile */\n.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button {\n background-color: transparent !important;\n box-shadow: none !important;\n border: 1px solid var(--color-border-muted, rgba(0, 0, 0, 0.2)) !important;\n opacity: 0.6;\n}\n\n.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button:hover {\n opacity: 1;\n}\n\n/* Tooltip popup styling */\n.map-tooltip .mapboxgl-popup-content {\n padding: 0.75rem 1rem;\n background-color: var(--color-background-surface);\n border: 1px solid var(--color-border-default);\n border-radius: 0.5rem;\n box-shadow:\n 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n font-family: inherit;\n max-width: none !important; /* Allow custom tooltip widths */\n}\n\n.map-tooltip .mapboxgl-popup-tip {\n border-top-color: var(--color-background-surface);\n}\n\n/* Bare tooltip — strip the default popup chrome so the content (which\n brings its own card styling) sits directly over the map. Hides the\n built-in tip arrow; consumers can render their own caret if desired. */\n.map-tooltip-bare .mapboxgl-popup-content {\n padding: 0 !important;\n background: transparent !important;\n border: none !important;\n border-radius: 0 !important;\n box-shadow: none !important;\n}\n\n.map-tooltip-bare .mapboxgl-popup-tip {\n display: none !important;\n}\n","/**\n * Layers panel chrome.\n *\n * StackNav is a sidebar rail, so its pane carries `px-2 py-3` for sitting beside\n * content. Inside a popover that padding pushes the rows out of line with the\n * popover's own \"Map details\" header and leaves a gap under the last row. The\n * panel takes ownership of its spacing instead: the pane goes flush, and rows\n * supply their own padding.\n */\n[data-layers-panel] .edges-stack-nav__pane {\n padding: 0;\n}\n\n/**\n * Hairlines between rows only — an adjacent-sibling rule, so the first row gets\n * none and neither does the row under a back header.\n */\n[data-layers-panel] .edges-layers-panel__row + .edges-layers-panel__row {\n border-top: 1px solid var(--color-border-subtle, var(--color-border-default));\n}\n"],"mappings":"AAWA,CAAC,gBACC,8BAA8B,IAC9B,iCAAiC,IAAI,wBAAwB,EAAE,KAC/D,yCAAyC,IAAI,sBAAsB,EAAE,MACrE,+BAA+B,IAAI,wBAAwB,EAAE,MAE7D,WAAY,IAAI,4BAA4B,EAAE,IAAI,6BAClD,aAAc,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBAClE,CAEA,CAAC,sBACC,QAAS,KACT,YAAa,OACb,gBAAiB,cACjB,OAAQ,KAzBV,QA0BW,EAAE,KACX,cAAe,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBACnE,CAEA,CAAC,wBACC,cAAe,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBACnE,CAEA,CAAC,wBAID,CAAC,yBAID,CAAC,8BAPC,WAAY,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBAChE,CAUA,CAAC,sBACC,cAAe,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBACnE,CAEA,CAAC,sBACC,QAAS,EACT,eAAgB,IAClB,CAEA,CAAC,0BAA0B,CAL1B,sBAMC,WACE,UAAU,IAAI,iCAAiC,IAAI,8BAA8B,CACjF,QAAQ,IAAI,yCAAyC,IAAI,8BAC7D,CAEA,CAAC,2BACC,UAAW,UAAW,GACtB,QAAS,EACT,eAAgB,IAClB,CAEA,CAAC,6BACC,UAAW,UAAW,KAAK,IAAI,8BAA8B,EAAE,IACjE,CAEA,CAAC,6BACC,UAAW,UAAW,IAAI,8BAC5B,CAEA,CAAC,+BACC,WAAY,IACd,CAEA,CAAC,oBAAoB,OACrB,CADC,oBACoB,
|
|
1
|
+
{"version":3,"sources":["../src/components/StackNav/StackNav.css","../src/components/Maps/mapbox-overrides.css","../src/components/Maps/controls/LayersPanel.css"],"sourcesContent":["/**\n * StackNav surface + row affordances.\n *\n * All surface colors come from CSS custom properties on the rail so consumers\n * can override per-instance (via the `theme` prop) or globally (by setting\n * `--edges-stack-nav-*` on an ancestor). The component intentionally does NOT\n * default to the `--color-background-paper` (linen) surface — apps that want\n * the docs-style paper look opt in by passing `theme={{ background:\n * \"var(--color-background-paper)\" }}` or by setting the CSS variable.\n */\n\n.edges-stack-nav {\n --edges-stack-nav-pane-shift: 12%;\n --edges-stack-nav-pane-duration: var(--motion-duration-normal, 200ms);\n --edges-stack-nav-pane-opacity-duration: var(--motion-duration-fast, 150ms);\n --edges-stack-nav-pane-easing: var(--motion-easing-standard, ease);\n\n background: var(--edges-stack-nav-background, var(--color-background-surface));\n border-right: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__logo {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 60px;\n padding: 0 24px;\n border-bottom: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__header {\n border-bottom: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__footer {\n border-top: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__divider {\n border-top: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__bottom-items {\n border-top: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__back {\n border-bottom: 1px solid var(--edges-stack-nav-border-color, var(--color-border-default));\n}\n\n.edges-stack-nav__pane {\n opacity: 0;\n pointer-events: none;\n}\n\n.edges-stack-nav--animated .edges-stack-nav__pane {\n transition:\n transform var(--edges-stack-nav-pane-duration) var(--edges-stack-nav-pane-easing),\n opacity var(--edges-stack-nav-pane-opacity-duration) var(--edges-stack-nav-pane-easing);\n}\n\n.edges-stack-nav__pane--top {\n transform: translateX(0);\n opacity: 1;\n pointer-events: auto;\n}\n\n.edges-stack-nav__pane--above {\n transform: translateX(calc(var(--edges-stack-nav-pane-shift) * -1));\n}\n\n.edges-stack-nav__pane--below {\n transform: translateX(var(--edges-stack-nav-pane-shift));\n}\n\n.edges-stack-nav__pane--instant {\n transition: none;\n}\n\n.edges-stack-nav__row:hover,\n.edges-stack-nav__row:focus-visible,\n.edges-stack-nav__row:focus-within {\n background: var(--edges-stack-nav-row-hover-background, var(--color-background-hover));\n}\n\n.edges-stack-nav__row--active,\n.edges-stack-nav__row--active:hover,\n.edges-stack-nav__row--active:focus-visible,\n.edges-stack-nav__row--active:focus-within {\n background: var(--edges-stack-nav-row-active-background, var(--color-background-selected));\n color: var(--edges-stack-nav-row-active-color, var(--color-text-primary));\n}\n\n.edges-stack-nav__drill-in:hover,\n.edges-stack-nav__drill-in:focus-visible {\n background: var(--edges-stack-nav-row-active-background, var(--color-background-selected));\n}\n","/* Attribution toggle button - muted style for mobile */\n.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button {\n background-color: transparent !important;\n box-shadow: none !important;\n border: 1px solid var(--color-border-muted, rgba(0, 0, 0, 0.2)) !important;\n opacity: 0.6;\n}\n\n.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button:hover {\n opacity: 1;\n}\n\n/* Tooltip popup styling */\n.map-tooltip .mapboxgl-popup-content {\n padding: 0.75rem 1rem;\n background-color: var(--color-background-surface);\n border: 1px solid var(--color-border-default);\n border-radius: 0.5rem;\n box-shadow:\n 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n font-family: inherit;\n max-width: none !important; /* Allow custom tooltip widths */\n}\n\n.map-tooltip .mapboxgl-popup-tip {\n border-top-color: var(--color-background-surface);\n}\n\n/* Bare tooltip — strip the default popup chrome so the content (which\n brings its own card styling) sits directly over the map. Hides the\n built-in tip arrow; consumers can render their own caret if desired. */\n.map-tooltip-bare .mapboxgl-popup-content {\n padding: 0 !important;\n background: transparent !important;\n border: none !important;\n border-radius: 0 !important;\n box-shadow: none !important;\n}\n\n.map-tooltip-bare .mapboxgl-popup-tip {\n display: none !important;\n}\n","/**\n * Layers panel chrome.\n *\n * StackNav is a sidebar rail, so its pane carries `px-2 py-3` for sitting beside\n * content. Inside a popover that padding pushes the rows out of line with the\n * popover's own \"Map details\" header and leaves a gap under the last row. The\n * panel takes ownership of its spacing instead: the pane goes flush, and rows\n * supply their own padding.\n */\n[data-layers-panel] .edges-stack-nav__pane {\n padding: 0;\n}\n\n/**\n * Hairlines between rows only — an adjacent-sibling rule, so the first row gets\n * none and neither does the row under a back header.\n */\n[data-layers-panel] .edges-layers-panel__row + .edges-layers-panel__row {\n border-top: 1px solid var(--color-border-subtle, var(--color-border-default));\n}\n"],"mappings":"AAWA,CAAC,gBACC,8BAA8B,IAC9B,iCAAiC,IAAI,wBAAwB,EAAE,KAC/D,yCAAyC,IAAI,sBAAsB,EAAE,MACrE,+BAA+B,IAAI,wBAAwB,EAAE,MAE7D,WAAY,IAAI,4BAA4B,EAAE,IAAI,6BAClD,aAAc,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBAClE,CAEA,CAAC,sBACC,QAAS,KACT,YAAa,OACb,gBAAiB,cACjB,OAAQ,KAzBV,QA0BW,EAAE,KACX,cAAe,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBACnE,CAEA,CAAC,wBACC,cAAe,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBACnE,CAEA,CAAC,wBAID,CAAC,yBAID,CAAC,8BAPC,WAAY,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBAChE,CAUA,CAAC,sBACC,cAAe,IAAI,MAAM,IAAI,8BAA8B,EAAE,IAAI,wBACnE,CAEA,CAAC,sBACC,QAAS,EACT,eAAgB,IAClB,CAEA,CAAC,0BAA0B,CAL1B,sBAMC,WACE,UAAU,IAAI,iCAAiC,IAAI,8BAA8B,CACjF,QAAQ,IAAI,yCAAyC,IAAI,8BAC7D,CAEA,CAAC,2BACC,UAAW,UAAW,GACtB,QAAS,EACT,eAAgB,IAClB,CAEA,CAAC,6BACC,UAAW,UAAW,KAAK,IAAI,8BAA8B,EAAE,IACjE,CAEA,CAAC,6BACC,UAAW,UAAW,IAAI,8BAC5B,CAEA,CAAC,+BACC,WAAY,IACd,CAEA,CAAC,oBAAoB,OACrB,CADC,oBACoB,eACrB,CAFC,oBAEoB,cACnB,WAAY,IAAI,sCAAsC,EAAE,IAAI,0BAC9D,CAEA,CAAC,6BACD,CADC,4BAC4B,OAC7B,CAFC,4BAE4B,eAC7B,CAHC,4BAG4B,cAC3B,WAAY,IAAI,uCAAuC,EAAE,IAAI,8BAC7D,MAAO,IAAI,kCAAkC,EAAE,IAAI,sBACrD,CAEA,CAAC,yBAAyB,OAC1B,CADC,yBACyB,eACxB,WAAY,IAAI,uCAAuC,EAAE,IAAI,6BAC/D,CC/FA,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,4BACtC,iBAAkB,sBAClB,WAAY,eACZ,OAAQ,IAAI,MAAM,IAAI,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,eAC1D,QAAS,EACX,CAEA,CAPC,oBAOoB,CAPC,iBAOiB,CAPC,2BAO2B,OACjE,QAAS,CACX,CAGA,CAAC,YAAY,CAAC,uBAbd,QAcW,OAAQ,KACjB,iBAAkB,IAAI,4BACtB,OAAQ,IAAI,MAAM,IAAI,wBAhBxB,cAiBiB,MACf,WACE,EAAE,KAAK,KAAK,KAAK,SAAgB,CACjC,EAAE,IAAI,KAAK,KAAK,UAClB,YAAa,QACb,UAAW,cACb,CAEA,CAZC,YAYY,CAAC,mBACZ,iBAAkB,IAAI,2BACxB,CAKA,CAAC,iBAAiB,CAnBJ,uBAbd,QAiCW,YACT,WAAY,sBACZ,OAAQ,eAnCV,cAoCiB,YACf,WAAY,cACd,CAEA,CARC,iBAQiB,CAfJ,mBAgBZ,QAAS,cACX,CCjCA,CAAC,mBAAmB,CAAC,sBATrB,QAUW,CACX,CAMA,CAAC,mBAAmB,CAAC,uBAAwB,CAAE,CAA1B,wBACnB,WAAY,IAAI,MAAM,IAAI,qBAAqB,EAAE,IAAI,wBACvD","names":[]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BreadcrumbProps, BreadcrumbsProps, DateValue, CalendarProps as CalendarProps$1, ValidationResult, DisclosureGroupProps, DisclosurePanelProps, ButtonProps, DisclosureProps, DateRangePickerProps as DateRangePickerProps$1, FormProps, TooltipTriggerComponentProps, TooltipProps as TooltipProps$1, ListBoxProps as ListBoxProps$1, ListBoxItemProps, ModalOverlayProps, Key, PopoverProps as PopoverProps$1, ProgressBarProps as ProgressBarProps$1, RangeCalendarProps as RangeCalendarProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps, TabsProps as TabsProps$2 } from 'react-aria-components';
|
|
2
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, Focusable } from 'react-aria-components';
|
|
3
|
-
import { as as LoadingState, B as BadgeProps, at as FilterState, au as SortState, av as SearchConfig, aw as FacetConfig, ax as FacetCounts, ay as Column, az as CellEmphasis, aA as FieldValue, aB as BooleanFormat, aC as FormattedValue, aD as FieldFormat, aE as CurrentFormat, aF as DateFormat, aG as DistanceFormat, aH as EnergyUnit, aI as EnergyFormat, aJ as CurrencyFormat, aK as NumberFormat, aL as PhoneFormat, aM as PowerFormat, aN as FormatterFunction, aO as ResistanceFormat, aP as TemperatureFormat, aQ as TemperatureUnitString, aR as TemperatureUnit, aS as TextFormat, aT as VoltageFormat, e as BaseDataPoint, $ as YFormatType, R as TooltipData, aU as CellComponentProps, aV as CellAlignment, aW as LinkBehavior, D as DeviceState, s as GridState, aX as ComponentFormatter, aY as DataTableProps, aZ as LayerSpec, a_ as CustomPinsSpec, a$ as GeoJsonLayerSpec, b0 as RasterLayerSpec, b1 as VectorLayerSpec, b2 as ClusteredVectorLayerSpec, b3 as ColorSpec } from './colors-
|
|
4
|
-
export { A as ABSENT_GRID_FIELDS, a as ActionItem, b4 as ActionMenu, b as ActionMenuProps, b5 as AppShell, c as AppShellProps, b6 as Avatar, d as AvatarProps, b7 as Badge, b8 as BaseFormat, C as CATEGORY_COLOR_TOKENS, f as CATEGORY_NEUTRAL_COLOR, b9 as CellComponent, ba as CellContext, bb as ChartContext, g as ChartMargin, bc as CodeEditor, h as CodeEditorProps, i as CodeLanguage, j as CodeTheme, bd as ComponentFormatOptions, be as CurrentUnit, bf as CustomFormat, bg as DEFAULT_MAP_TYPE, bh as DateFormatStyle, bi as DistanceUnit, bj as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, k as EntityArchetype, bk as EntityCategory, bl as EntityCategoryConfig, l as EntityConfig, m as EntityStateRule, n as EntityType, bm as FacetType, bn as FilterChip, bo as FilterCondition, bp as FilterGroup, bq as FilterOperator, G as GRID_ELEMENT_TYPE_BY_ENTITY, br as GRID_STATE_COLORS, o as GRID_STAT_LIST, bs as GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR, bt as GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR, p as GridElementSourceType, q as GridStatField, r as GridStatFieldFormat, bu as GridStateColor, H as HEADLINE_METRIC_BOUNDS, t as Heading, u as HeadlineMetric, bv as InteractiveMap, bw as InteractiveMapHandle, I as InteractiveMapProps, bx as LayerCheckState, by as LayerFeature, bz as LayerSelection, bA as LayerStyle, bB as LayerTreeNode, bC as LayerVisibilityPatch, L as Loader, v as Logo, bD as MAP_TYPES, M as MapPoint, bE as MapType, bF as Meter, w as MeterProps, x as MetricFormat, y as MetricSource, bG as MobileBreakpoint, bH as MobileConfig, bI as MobileRenderer, bJ as PercentBarCell, bK as PercentBarCellProps, P as PercentThresholdLevel, z as PercentThresholds, bL as PercentageFormat, bM as PowerUnit, bN as RenderType, bO as ResistanceUnit, S as SegmentOption, bP as SegmentedControl, F as SegmentedControlProps, J as SerializableFieldFormat, K as SideNav, N as SideNavItem, O as SideNavProps, bQ as SortConfig, bR as SortDirection, bS as StackNav, bT as StackNavGroup, bU as StackNavItem, bV as StackNavLinkComponentProps, bW as StackNavProps, bX as StackNavRenderRow, bY as StackNavRowRenderProps, bZ as StackNavTheme, b_ as StaticMap, Q as StaticMapProps, b$ as TableDensity, c0 as TableLayout, c1 as TableWidth, T as TextLink, c2 as TextTransform, c3 as TextTruncatePosition, U as TooltipSeries, V as TopNav, W as TopNavProps, X as UNARY_FILTER_OPERATORS, Y as UNARY_OPERATOR_LABELS, c4 as UNVERIFIED_VOLTAGE_UNIT_ROWS, Z as UnaryFilterOperator, c5 as UseInfiniteScrollOptions, c6 as UseInfiniteScrollReturn, c7 as VoltageUnit, _ as YFormatSettings, c8 as ZoomStops, a0 as activeDeviceStates, c9 as addFilterCondition, a1 as archetypeFor, ca as baselineFromPoint, a2 as clearColorCache, a3 as createCategoryColorMap, cb as createEmptyFilter, cc as createFilter, cd as createFilters, a4 as createXScale, a5 as createYScale, a6 as defaultMargin, a7 as deviceStateLabels, a8 as deviceStateMetricFormats, a9 as entityHasDetailPage, aa as entityHasStatList, ab as entityShowsNow, ce as filterToChips, cf as formatComponentValue, ac as getContrastingTextColor, ad as getDefaultChartColor, ae as getDefaultColors, af as getDeviceStateDisplayLabel, af as getDeviceStateLabel, cg as getEntityCategory, ag as getEntityConfig, ah as getEntityIcon, ai as getEntityLabel, aj as getEntityStatList, ch as getFilterFields, ak as getGridStateLabel, al as getResolvedColor, am as getThemeCategoricalColors, an as getYFormatSettings, ao as gridStateLabels, ap as isActiveDeviceState, ap as isActiveState, ci as isFilterEmpty, aq as isLightColor, ar as isUnaryFilterOperator, cj as mapValuesToCategoricalColors, ck as percentThresholdLevel, cl as removeFilterCondition, cm as useChartContext, cn as useComponentFormatter, co as useInfiniteScroll } from './colors-
|
|
3
|
+
import { as as LoadingState, B as BadgeProps, at as FilterState, au as SortState, av as SearchConfig, aw as FacetConfig, ax as FacetCounts, ay as Column, az as CellEmphasis, aA as FieldValue, aB as BooleanFormat, aC as FormattedValue, aD as FieldFormat, aE as CurrentFormat, aF as DateFormat, aG as DistanceFormat, aH as EnergyUnit, aI as EnergyFormat, aJ as CurrencyFormat, aK as NumberFormat, aL as PhoneFormat, aM as PowerFormat, aN as FormatterFunction, aO as ResistanceFormat, aP as TemperatureFormat, aQ as TemperatureUnitString, aR as TemperatureUnit, aS as TextFormat, aT as VoltageFormat, e as BaseDataPoint, $ as YFormatType, R as TooltipData, aU as CellComponentProps, aV as CellAlignment, aW as LinkBehavior, D as DeviceState, s as GridState, aX as ComponentFormatter, aY as DataTableProps, aZ as LayerSpec, a_ as CustomPinsSpec, a$ as GeoJsonLayerSpec, b0 as RasterLayerSpec, b1 as VectorLayerSpec, b2 as ClusteredVectorLayerSpec, b3 as ColorSpec } from './colors-6y9-eGyY.cjs';
|
|
4
|
+
export { A as ABSENT_GRID_FIELDS, a as ActionItem, b4 as ActionMenu, b as ActionMenuProps, b5 as AppShell, c as AppShellProps, b6 as Avatar, d as AvatarProps, b7 as Badge, b8 as BaseFormat, C as CATEGORY_COLOR_TOKENS, f as CATEGORY_NEUTRAL_COLOR, b9 as CellComponent, ba as CellContext, bb as ChartContext, g as ChartMargin, bc as CodeEditor, h as CodeEditorProps, i as CodeLanguage, j as CodeTheme, bd as ComponentFormatOptions, be as CurrentUnit, bf as CustomFormat, bg as DEFAULT_MAP_TYPE, bh as DateFormatStyle, bi as DistanceUnit, bj as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, k as EntityArchetype, bk as EntityCategory, bl as EntityCategoryConfig, l as EntityConfig, m as EntityStateRule, n as EntityType, bm as FacetType, bn as FilterChip, bo as FilterCondition, bp as FilterGroup, bq as FilterOperator, G as GRID_ELEMENT_TYPE_BY_ENTITY, br as GRID_STATE_COLORS, o as GRID_STAT_LIST, bs as GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR, bt as GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR, p as GridElementSourceType, q as GridStatField, r as GridStatFieldFormat, bu as GridStateColor, H as HEADLINE_METRIC_BOUNDS, t as Heading, u as HeadlineMetric, bv as InteractiveMap, bw as InteractiveMapHandle, I as InteractiveMapProps, bx as LayerCheckState, by as LayerFeature, bz as LayerSelection, bA as LayerStyle, bB as LayerTreeNode, bC as LayerVisibilityPatch, L as Loader, v as Logo, bD as MAP_TYPES, M as MapPoint, bE as MapType, bF as Meter, w as MeterProps, x as MetricFormat, y as MetricSource, bG as MobileBreakpoint, bH as MobileConfig, bI as MobileRenderer, bJ as PercentBarCell, bK as PercentBarCellProps, P as PercentThresholdLevel, z as PercentThresholds, bL as PercentageFormat, bM as PowerUnit, bN as RenderType, bO as ResistanceUnit, S as SegmentOption, bP as SegmentedControl, F as SegmentedControlProps, J as SerializableFieldFormat, K as SideNav, N as SideNavItem, O as SideNavProps, bQ as SortConfig, bR as SortDirection, bS as StackNav, bT as StackNavGroup, bU as StackNavItem, bV as StackNavLinkComponentProps, bW as StackNavProps, bX as StackNavRenderRow, bY as StackNavRowRenderProps, bZ as StackNavTheme, b_ as StaticMap, Q as StaticMapProps, b$ as TableDensity, c0 as TableLayout, c1 as TableWidth, T as TextLink, c2 as TextTransform, c3 as TextTruncatePosition, U as TooltipSeries, V as TopNav, W as TopNavProps, X as UNARY_FILTER_OPERATORS, Y as UNARY_OPERATOR_LABELS, c4 as UNVERIFIED_VOLTAGE_UNIT_ROWS, Z as UnaryFilterOperator, c5 as UseInfiniteScrollOptions, c6 as UseInfiniteScrollReturn, c7 as VoltageUnit, _ as YFormatSettings, c8 as ZoomStops, a0 as activeDeviceStates, c9 as addFilterCondition, a1 as archetypeFor, ca as baselineFromPoint, a2 as clearColorCache, a3 as createCategoryColorMap, cb as createEmptyFilter, cc as createFilter, cd as createFilters, a4 as createXScale, a5 as createYScale, a6 as defaultMargin, a7 as deviceStateLabels, a8 as deviceStateMetricFormats, a9 as entityHasDetailPage, aa as entityHasStatList, ab as entityShowsNow, ce as filterToChips, cf as formatComponentValue, ac as getContrastingTextColor, ad as getDefaultChartColor, ae as getDefaultColors, af as getDeviceStateDisplayLabel, af as getDeviceStateLabel, cg as getEntityCategory, ag as getEntityConfig, ah as getEntityIcon, ai as getEntityLabel, aj as getEntityStatList, ch as getFilterFields, ak as getGridStateLabel, al as getResolvedColor, am as getThemeCategoricalColors, an as getYFormatSettings, ao as gridStateLabels, ap as isActiveDeviceState, ap as isActiveState, ci as isFilterEmpty, aq as isLightColor, ar as isUnaryFilterOperator, cj as mapValuesToCategoricalColors, ck as percentThresholdLevel, cl as removeFilterCondition, cm as useChartContext, cn as useComponentFormatter, co as useInfiniteScroll } from './colors-6y9-eGyY.cjs';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import * as React$1 from 'react';
|
|
7
7
|
import React__default, { ReactNode, HTMLAttributes, ComponentProps, CSSProperties, Component, ErrorInfo } from 'react';
|
|
@@ -1190,6 +1190,15 @@ interface UseTableExportReturn {
|
|
|
1190
1190
|
exportCSV: () => Promise<void>;
|
|
1191
1191
|
/** Whether export is available (has data and exportable columns) */
|
|
1192
1192
|
canExport: boolean;
|
|
1193
|
+
/**
|
|
1194
|
+
* True while `exportCSV` is in flight.
|
|
1195
|
+
*
|
|
1196
|
+
* Writing the file is synchronous, but a caller that drains a paged source before
|
|
1197
|
+
* handing rows over is not — that is seconds of round-trips with no feedback, and
|
|
1198
|
+
* every surface that has needed it so far has hand-rolled the same `useState`
|
|
1199
|
+
* beside this hook. Owning it here keeps the button's disabled state consistent.
|
|
1200
|
+
*/
|
|
1201
|
+
isExporting: boolean;
|
|
1193
1202
|
}
|
|
1194
1203
|
/**
|
|
1195
1204
|
* Hook for exporting DataTable data as CSV.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BreadcrumbProps, BreadcrumbsProps, DateValue, CalendarProps as CalendarProps$1, ValidationResult, DisclosureGroupProps, DisclosurePanelProps, ButtonProps, DisclosureProps, DateRangePickerProps as DateRangePickerProps$1, FormProps, TooltipTriggerComponentProps, TooltipProps as TooltipProps$1, ListBoxProps as ListBoxProps$1, ListBoxItemProps, ModalOverlayProps, Key, PopoverProps as PopoverProps$1, ProgressBarProps as ProgressBarProps$1, RangeCalendarProps as RangeCalendarProps$1, TabProps as TabProps$1, TabListProps as TabListProps$1, TabPanelProps, TabsProps as TabsProps$2 } from 'react-aria-components';
|
|
2
2
|
export { BreadcrumbProps, BreadcrumbsProps, DialogTrigger, Focusable } from 'react-aria-components';
|
|
3
|
-
import { as as LoadingState, B as BadgeProps, at as FilterState, au as SortState, av as SearchConfig, aw as FacetConfig, ax as FacetCounts, ay as Column, az as CellEmphasis, aA as FieldValue, aB as BooleanFormat, aC as FormattedValue, aD as FieldFormat, aE as CurrentFormat, aF as DateFormat, aG as DistanceFormat, aH as EnergyUnit, aI as EnergyFormat, aJ as CurrencyFormat, aK as NumberFormat, aL as PhoneFormat, aM as PowerFormat, aN as FormatterFunction, aO as ResistanceFormat, aP as TemperatureFormat, aQ as TemperatureUnitString, aR as TemperatureUnit, aS as TextFormat, aT as VoltageFormat, e as BaseDataPoint, $ as YFormatType, R as TooltipData, aU as CellComponentProps, aV as CellAlignment, aW as LinkBehavior, D as DeviceState, s as GridState, aX as ComponentFormatter, aY as DataTableProps, aZ as LayerSpec, a_ as CustomPinsSpec, a$ as GeoJsonLayerSpec, b0 as RasterLayerSpec, b1 as VectorLayerSpec, b2 as ClusteredVectorLayerSpec, b3 as ColorSpec } from './colors-
|
|
4
|
-
export { A as ABSENT_GRID_FIELDS, a as ActionItem, b4 as ActionMenu, b as ActionMenuProps, b5 as AppShell, c as AppShellProps, b6 as Avatar, d as AvatarProps, b7 as Badge, b8 as BaseFormat, C as CATEGORY_COLOR_TOKENS, f as CATEGORY_NEUTRAL_COLOR, b9 as CellComponent, ba as CellContext, bb as ChartContext, g as ChartMargin, bc as CodeEditor, h as CodeEditorProps, i as CodeLanguage, j as CodeTheme, bd as ComponentFormatOptions, be as CurrentUnit, bf as CustomFormat, bg as DEFAULT_MAP_TYPE, bh as DateFormatStyle, bi as DistanceUnit, bj as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, k as EntityArchetype, bk as EntityCategory, bl as EntityCategoryConfig, l as EntityConfig, m as EntityStateRule, n as EntityType, bm as FacetType, bn as FilterChip, bo as FilterCondition, bp as FilterGroup, bq as FilterOperator, G as GRID_ELEMENT_TYPE_BY_ENTITY, br as GRID_STATE_COLORS, o as GRID_STAT_LIST, bs as GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR, bt as GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR, p as GridElementSourceType, q as GridStatField, r as GridStatFieldFormat, bu as GridStateColor, H as HEADLINE_METRIC_BOUNDS, t as Heading, u as HeadlineMetric, bv as InteractiveMap, bw as InteractiveMapHandle, I as InteractiveMapProps, bx as LayerCheckState, by as LayerFeature, bz as LayerSelection, bA as LayerStyle, bB as LayerTreeNode, bC as LayerVisibilityPatch, L as Loader, v as Logo, bD as MAP_TYPES, M as MapPoint, bE as MapType, bF as Meter, w as MeterProps, x as MetricFormat, y as MetricSource, bG as MobileBreakpoint, bH as MobileConfig, bI as MobileRenderer, bJ as PercentBarCell, bK as PercentBarCellProps, P as PercentThresholdLevel, z as PercentThresholds, bL as PercentageFormat, bM as PowerUnit, bN as RenderType, bO as ResistanceUnit, S as SegmentOption, bP as SegmentedControl, F as SegmentedControlProps, J as SerializableFieldFormat, K as SideNav, N as SideNavItem, O as SideNavProps, bQ as SortConfig, bR as SortDirection, bS as StackNav, bT as StackNavGroup, bU as StackNavItem, bV as StackNavLinkComponentProps, bW as StackNavProps, bX as StackNavRenderRow, bY as StackNavRowRenderProps, bZ as StackNavTheme, b_ as StaticMap, Q as StaticMapProps, b$ as TableDensity, c0 as TableLayout, c1 as TableWidth, T as TextLink, c2 as TextTransform, c3 as TextTruncatePosition, U as TooltipSeries, V as TopNav, W as TopNavProps, X as UNARY_FILTER_OPERATORS, Y as UNARY_OPERATOR_LABELS, c4 as UNVERIFIED_VOLTAGE_UNIT_ROWS, Z as UnaryFilterOperator, c5 as UseInfiniteScrollOptions, c6 as UseInfiniteScrollReturn, c7 as VoltageUnit, _ as YFormatSettings, c8 as ZoomStops, a0 as activeDeviceStates, c9 as addFilterCondition, a1 as archetypeFor, ca as baselineFromPoint, a2 as clearColorCache, a3 as createCategoryColorMap, cb as createEmptyFilter, cc as createFilter, cd as createFilters, a4 as createXScale, a5 as createYScale, a6 as defaultMargin, a7 as deviceStateLabels, a8 as deviceStateMetricFormats, a9 as entityHasDetailPage, aa as entityHasStatList, ab as entityShowsNow, ce as filterToChips, cf as formatComponentValue, ac as getContrastingTextColor, ad as getDefaultChartColor, ae as getDefaultColors, af as getDeviceStateDisplayLabel, af as getDeviceStateLabel, cg as getEntityCategory, ag as getEntityConfig, ah as getEntityIcon, ai as getEntityLabel, aj as getEntityStatList, ch as getFilterFields, ak as getGridStateLabel, al as getResolvedColor, am as getThemeCategoricalColors, an as getYFormatSettings, ao as gridStateLabels, ap as isActiveDeviceState, ap as isActiveState, ci as isFilterEmpty, aq as isLightColor, ar as isUnaryFilterOperator, cj as mapValuesToCategoricalColors, ck as percentThresholdLevel, cl as removeFilterCondition, cm as useChartContext, cn as useComponentFormatter, co as useInfiniteScroll } from './colors-
|
|
3
|
+
import { as as LoadingState, B as BadgeProps, at as FilterState, au as SortState, av as SearchConfig, aw as FacetConfig, ax as FacetCounts, ay as Column, az as CellEmphasis, aA as FieldValue, aB as BooleanFormat, aC as FormattedValue, aD as FieldFormat, aE as CurrentFormat, aF as DateFormat, aG as DistanceFormat, aH as EnergyUnit, aI as EnergyFormat, aJ as CurrencyFormat, aK as NumberFormat, aL as PhoneFormat, aM as PowerFormat, aN as FormatterFunction, aO as ResistanceFormat, aP as TemperatureFormat, aQ as TemperatureUnitString, aR as TemperatureUnit, aS as TextFormat, aT as VoltageFormat, e as BaseDataPoint, $ as YFormatType, R as TooltipData, aU as CellComponentProps, aV as CellAlignment, aW as LinkBehavior, D as DeviceState, s as GridState, aX as ComponentFormatter, aY as DataTableProps, aZ as LayerSpec, a_ as CustomPinsSpec, a$ as GeoJsonLayerSpec, b0 as RasterLayerSpec, b1 as VectorLayerSpec, b2 as ClusteredVectorLayerSpec, b3 as ColorSpec } from './colors-lgmIbyUz.js';
|
|
4
|
+
export { A as ABSENT_GRID_FIELDS, a as ActionItem, b4 as ActionMenu, b as ActionMenuProps, b5 as AppShell, c as AppShellProps, b6 as Avatar, d as AvatarProps, b7 as Badge, b8 as BaseFormat, C as CATEGORY_COLOR_TOKENS, f as CATEGORY_NEUTRAL_COLOR, b9 as CellComponent, ba as CellContext, bb as ChartContext, g as ChartMargin, bc as CodeEditor, h as CodeEditorProps, i as CodeLanguage, j as CodeTheme, bd as ComponentFormatOptions, be as CurrentUnit, bf as CustomFormat, bg as DEFAULT_MAP_TYPE, bh as DateFormatStyle, bi as DistanceUnit, bj as ENTITY_CATEGORY_CONFIG, E as ENTITY_CONFIG, k as EntityArchetype, bk as EntityCategory, bl as EntityCategoryConfig, l as EntityConfig, m as EntityStateRule, n as EntityType, bm as FacetType, bn as FilterChip, bo as FilterCondition, bp as FilterGroup, bq as FilterOperator, G as GRID_ELEMENT_TYPE_BY_ENTITY, br as GRID_STATE_COLORS, o as GRID_STAT_LIST, bs as GRID_STAT_LIST_CAPACITOR_PER_PHASE_KVAR, bt as GRID_STAT_LIST_CAPACITOR_TOTAL_KVAR, p as GridElementSourceType, q as GridStatField, r as GridStatFieldFormat, bu as GridStateColor, H as HEADLINE_METRIC_BOUNDS, t as Heading, u as HeadlineMetric, bv as InteractiveMap, bw as InteractiveMapHandle, I as InteractiveMapProps, bx as LayerCheckState, by as LayerFeature, bz as LayerSelection, bA as LayerStyle, bB as LayerTreeNode, bC as LayerVisibilityPatch, L as Loader, v as Logo, bD as MAP_TYPES, M as MapPoint, bE as MapType, bF as Meter, w as MeterProps, x as MetricFormat, y as MetricSource, bG as MobileBreakpoint, bH as MobileConfig, bI as MobileRenderer, bJ as PercentBarCell, bK as PercentBarCellProps, P as PercentThresholdLevel, z as PercentThresholds, bL as PercentageFormat, bM as PowerUnit, bN as RenderType, bO as ResistanceUnit, S as SegmentOption, bP as SegmentedControl, F as SegmentedControlProps, J as SerializableFieldFormat, K as SideNav, N as SideNavItem, O as SideNavProps, bQ as SortConfig, bR as SortDirection, bS as StackNav, bT as StackNavGroup, bU as StackNavItem, bV as StackNavLinkComponentProps, bW as StackNavProps, bX as StackNavRenderRow, bY as StackNavRowRenderProps, bZ as StackNavTheme, b_ as StaticMap, Q as StaticMapProps, b$ as TableDensity, c0 as TableLayout, c1 as TableWidth, T as TextLink, c2 as TextTransform, c3 as TextTruncatePosition, U as TooltipSeries, V as TopNav, W as TopNavProps, X as UNARY_FILTER_OPERATORS, Y as UNARY_OPERATOR_LABELS, c4 as UNVERIFIED_VOLTAGE_UNIT_ROWS, Z as UnaryFilterOperator, c5 as UseInfiniteScrollOptions, c6 as UseInfiniteScrollReturn, c7 as VoltageUnit, _ as YFormatSettings, c8 as ZoomStops, a0 as activeDeviceStates, c9 as addFilterCondition, a1 as archetypeFor, ca as baselineFromPoint, a2 as clearColorCache, a3 as createCategoryColorMap, cb as createEmptyFilter, cc as createFilter, cd as createFilters, a4 as createXScale, a5 as createYScale, a6 as defaultMargin, a7 as deviceStateLabels, a8 as deviceStateMetricFormats, a9 as entityHasDetailPage, aa as entityHasStatList, ab as entityShowsNow, ce as filterToChips, cf as formatComponentValue, ac as getContrastingTextColor, ad as getDefaultChartColor, ae as getDefaultColors, af as getDeviceStateDisplayLabel, af as getDeviceStateLabel, cg as getEntityCategory, ag as getEntityConfig, ah as getEntityIcon, ai as getEntityLabel, aj as getEntityStatList, ch as getFilterFields, ak as getGridStateLabel, al as getResolvedColor, am as getThemeCategoricalColors, an as getYFormatSettings, ao as gridStateLabels, ap as isActiveDeviceState, ap as isActiveState, ci as isFilterEmpty, aq as isLightColor, ar as isUnaryFilterOperator, cj as mapValuesToCategoricalColors, ck as percentThresholdLevel, cl as removeFilterCondition, cm as useChartContext, cn as useComponentFormatter, co as useInfiniteScroll } from './colors-lgmIbyUz.js';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import * as React$1 from 'react';
|
|
7
7
|
import React__default, { ReactNode, HTMLAttributes, ComponentProps, CSSProperties, Component, ErrorInfo } from 'react';
|
|
@@ -1190,6 +1190,15 @@ interface UseTableExportReturn {
|
|
|
1190
1190
|
exportCSV: () => Promise<void>;
|
|
1191
1191
|
/** Whether export is available (has data and exportable columns) */
|
|
1192
1192
|
canExport: boolean;
|
|
1193
|
+
/**
|
|
1194
|
+
* True while `exportCSV` is in flight.
|
|
1195
|
+
*
|
|
1196
|
+
* Writing the file is synchronous, but a caller that drains a paged source before
|
|
1197
|
+
* handing rows over is not — that is seconds of round-trips with no feedback, and
|
|
1198
|
+
* every surface that has needed it so far has hand-rolled the same `useState`
|
|
1199
|
+
* beside this hook. Owning it here keeps the button's disabled state consistent.
|
|
1200
|
+
*/
|
|
1201
|
+
isExporting: boolean;
|
|
1193
1202
|
}
|
|
1194
1203
|
/**
|
|
1195
1204
|
* Hook for exporting DataTable data as CSV.
|