@sheetxl/studio-mui 0.8.0-beta.22 → 0.8.0-beta.23
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/{94tsNi06fbT_N5QP.mjs → 3vdsx6Z062TFVqqm.mjs} +1 -1
- package/browser/esm/{D26ZjloyA6kyqhCO.mjs → 61qlLY6EQNjbQMDi.mjs} +2 -2
- package/browser/esm/{B_N6a3iKw4osibIz.mjs → 9W8UMvVpOm879O9Q.mjs} +1 -1
- package/browser/esm/{BKwBJsEKNY-Zg8CB.mjs → B0GhKutuGufS8cTX.mjs} +2 -2
- package/browser/esm/{CMPdCzAvGvFQ_NOu.mjs → B19n0bcO5bMPruGk.mjs} +1 -1
- package/browser/esm/{IrJcYpXt_8rkAXkj.mjs → B1WCXTGT4QyfuXEG.mjs} +3 -3
- package/browser/esm/{veW5ER4LND6O438J.mjs → B1cZfl1su2i_IUuO.mjs} +1 -1
- package/browser/esm/{Dt3cLYWyjIUhoGv5.mjs → B5ykigtm3LE3-S9e.mjs} +2 -2
- package/browser/esm/{CqmCCdvSBl4ksHpK.mjs → B8DK-EICUzzkKHOT.mjs} +4 -4
- package/browser/esm/{C-rODYmI2nVNJxkV.mjs → BTw0PMEQ23eq2l3z.mjs} +2 -2
- package/browser/esm/{BOlLywIc0l3AgTeQ.mjs → BZl2Zo1B5LmU6ND7.mjs} +3 -3
- package/browser/esm/{DCjDYZjRl7IH3hl7.mjs → BbABKdPYxk4IMSLc.mjs} +1 -1
- package/browser/esm/{es5d1Dk1vs-XYLkm.mjs → Bcwt4-GEbF3sfJ8P.mjs} +2 -2
- package/browser/esm/{COFmQH3tB3uvu0v4.mjs → BhkaQtl8eWTBqQSV.mjs} +1 -1
- package/browser/esm/{Df0ygc7YMQG-3ATr.mjs → Bi91aW5tILFwRzDH.mjs} +1 -1
- package/browser/esm/{CSgrMpZ0rZKxXZyj.mjs → BkGHlu2z__idmVOV.mjs} +4 -4
- package/browser/esm/{h0wby0g03NYV4-XW.mjs → BpYJD74w23YliQn6.mjs} +5 -5
- package/browser/esm/{CwBN8jwNndijQgmx.mjs → BtR1nedinfNR24qm.mjs} +1 -1
- package/browser/esm/{DNdSq8U8iqBPrwOo.mjs → Bw6mxAfCx4FULeUB.mjs} +1 -1
- package/browser/esm/{DqFTGLVzd9DQ8EhO.mjs → Bwc48kjFvd98HI3-.mjs} +21 -21
- package/browser/esm/{ov0v-5BfNGRojfXZ.mjs → C5q3B-KjPRLy3Ihp.mjs} +2 -2
- package/browser/esm/{DB44ddihGazQSGaZ.mjs → C66BP2x5G9VxianJ.mjs} +1 -1
- package/browser/esm/{C1F9o-e9q6m9MuOd.mjs → C7cXbOyJfTmYUd18.mjs} +784 -792
- package/browser/esm/{DkWzWQNmOvX1iJXV.mjs → CI8k7kDBS1QVZn5S.mjs} +2 -2
- package/browser/esm/{C1tObUn9YlTLNn25.mjs → CPGiQiXu-u6r11fr.mjs} +2 -2
- package/browser/esm/{BChPnCMzvz7cXxgX.mjs → CT8RqHXjAPVLs2bn.mjs} +2 -2
- package/browser/esm/{Dq5jd89jluXcrOEE.mjs → CUY_oauSAZX4Z-d-.mjs} +5 -5
- package/browser/esm/{BfiIvcOXqUoxIFoz.mjs → CWZoE2dDxX-8yQql.mjs} +2 -2
- package/browser/esm/{CtNLEdf5v8pGcG3C.mjs → CaHNU1h47mUesQQN.mjs} +2 -2
- package/browser/esm/{DrMsUvIwtq9dARmW.mjs → Ce5ZiG5RMMewOh20.mjs} +4 -4
- package/browser/esm/{Df13XIFEDDEusmq6.mjs → ClXxtB98U76iDrtj.mjs} +2 -2
- package/browser/esm/{B73fvq9CvO4zWnAU.mjs → CmYZ6sd6YCXvcNFo.mjs} +3 -3
- package/browser/esm/{4fBGyv6A2TxumCq-.mjs → CrKqA0lliI3x_pFG.mjs} +1 -1
- package/browser/esm/{C-LSHx-5EgUmc44h.mjs → CuCtXVvc9N3sUzWz.mjs} +6 -6
- package/browser/esm/{CXvLc2JRNpJ9CiWw.mjs → CwKA4g_ulbxqKWN6.mjs} +3 -3
- package/browser/esm/{DaCPqL3R4JLbgfKh.mjs → D2S83AjNN8JCl2EL.mjs} +2 -2
- package/browser/esm/{DXRtL-ZwbSMLfMWu.mjs → D7ogY8ykfJGZ35jY.mjs} +1 -1
- package/browser/esm/{C3lvgNO_MVml-Awy.mjs → DEILBkTYM5GuSYLP.mjs} +2 -2
- package/browser/esm/{CgtckX24zzJUIsPm.mjs → DEsDS0RX4DnyT_jk.mjs} +4 -4
- package/browser/esm/{t7Y081CM2JBXwlh-.mjs → DFdgG6xUa0_mmiSp.mjs} +1 -1
- package/browser/esm/{Dqa4YY-GeaELqOWP.mjs → DGaYmKVqluJZ8ZD8.mjs} +2 -2
- package/browser/esm/{BuAIHmOwBspXtuLo.mjs → DLuMMUERB4N5Zf-n.mjs} +4 -4
- package/browser/esm/{CJlwai18BnsJScjr.mjs → DNVpxaUopxkKOZaG.mjs} +2 -2
- package/browser/esm/{dAjSLtkpLCkJDkhU.mjs → DSuMuoNFUjJsd15-.mjs} +1 -1
- package/browser/esm/{vsSZOEJBDfjVM46M.mjs → DZ72x5v3_f0dhXS5.mjs} +2 -2
- package/browser/esm/{De5GPX3SbEvetD0y.mjs → Db-NbGskcpMZZHKM.mjs} +1 -1
- package/browser/esm/{D3H9iUvXD2rOEXUz.mjs → DmfuCdn6QW__7sVr.mjs} +3 -3
- package/browser/esm/{eA3xhEFzK_Y-f3m3.mjs → DnSTmOtiviJE47Im.mjs} +5 -5
- package/browser/esm/{DdyE9R4gSZNhRZb0.mjs → DuzrJpmUyTTXroFX.mjs} +5 -5
- package/browser/esm/{DQbt4DNrmq-Uhlgk.mjs → Dv4ndHScQEENL6DA.mjs} +8 -8
- package/browser/esm/{DEMQ4FkP_kNZF_wE.mjs → JjoDQ7kBaTdBLqA4.mjs} +1 -1
- package/browser/esm/{PujeLGgr7jXdyoVl.mjs → NTmBvTnoLPfgA2Cj.mjs} +1 -1
- package/browser/esm/{CuL7ggWqWMgPSTYd.mjs → OAvkBxphUfqrOn_K.mjs} +1 -1
- package/browser/esm/{CzhTxHyYCZp4qxKC.mjs → S3LY_kWRu6v1Ft40.mjs} +119 -116
- package/browser/esm/{UkGnqCkXqASlUdkb.mjs → TFJUQcKsawCh4esx.mjs} +4 -4
- package/browser/esm/{BhT_uJEPxlXpMzZA.mjs → ea57m6-nIYUKFyzf.mjs} +8 -8
- package/browser/esm/index.mjs +17 -17
- package/browser/esm/{CStCc2wP7hmm92t1.mjs → pfN8xe0LCSTqzF_2.mjs} +2 -2
- package/browser/esm/{CoVFWmiy6hWV8rPy.mjs → vcqr-88ypSy0Jx2Q.mjs} +4 -4
- package/browser/esm/{BYtWtukbMjjvrpmO.mjs → xdqV7p4ssraS4FHb.mjs} +4 -4
- package/licenses/dependencies.txt +1 -1
- package/node/esm/{DBB9QhddMWoyCmju.mjs → 5Sg-hTry8N_ADjwz.mjs} +2 -2
- package/node/esm/{Bppef7aHA2mOZ_sn.mjs → BBcWEgWdtRmfiFgw.mjs} +1 -1
- package/node/esm/{C9dfS-Tk6WGogUSV.mjs → BJYaCliDBm8LmZWp.mjs} +2 -2
- package/node/esm/{CM2JoqeXwIblrqJM.mjs → BQvZ_uVsIOZSfXFf.mjs} +2 -2
- package/node/esm/{Dj16Fzha7o7DGv6z.mjs → BS33GA7F0bkFfwXo.mjs} +2 -2
- package/node/esm/{BNJBkYIYk2zyHoU3.mjs → BT0yXqLFKoPiS71A.mjs} +1 -1
- package/node/esm/{D1QZYBh1NZInkWaZ.mjs → BZjXyuhD5XzRKyKi.mjs} +2 -2
- package/node/esm/{DomLgHu8aLIg6y2l.mjs → BcWKuDVZKC_PVYtg.mjs} +1 -1
- package/node/esm/{wC3tHWypFfvBG8Fu.mjs → BcZDO-Mj9HsII_hy.mjs} +1 -1
- package/node/esm/{tt1hY7OYeKg-gSFj.mjs → BjRqhIL_i20fCqwt.mjs} +1 -1
- package/node/esm/{DxRENk3CWrgvcnJj.mjs → Bq7H9YN6TQEPFxf9.mjs} +2 -2
- package/node/esm/{DY96atQfGYmZ90TD.mjs → BtYfA9MPu_ajX7Y9.mjs} +4 -4
- package/node/esm/{B5dbA7OTeRHtdFKK.mjs → BvdZuwQByiJVQOvh.mjs} +4 -4
- package/node/esm/{BPGz9KUMwgtyF6LG.mjs → Bz_1k_dxr4BRsQv3.mjs} +1 -1
- package/node/esm/{DRigWgmIaYtEv5Lk.mjs → C2-KRircvBQzs5Ba.mjs} +1 -1
- package/node/esm/{CF8UfOyBsfrrOyAH.mjs → C5G29l25qVLu5OZj.mjs} +2 -2
- package/node/esm/{CTsTUI34q8TBkdX5.mjs → C5XI_nNcwDiNGqNp.mjs} +1 -1
- package/node/esm/{DrBGMrwOCXerStOS.mjs → COXiXFKdsF49hE5l.mjs} +2 -2
- package/node/esm/{bXPPrX3OxYcCm85J.mjs → COrRcQDAFnkRj95H.mjs} +1 -1
- package/node/esm/{BML2jZO-vGc6RS51.mjs → CRJi4wTYJJJq2kEV.mjs} +2 -2
- package/node/esm/{DLQ1x8uASVrHgCX2.mjs → CfvgBqV3sMafVSQM.mjs} +1 -1
- package/node/esm/{C4qWN7D3UW8jLaZK.mjs → CspVpQ8x2lBzmEJr.mjs} +4 -4
- package/node/esm/{Bzi3tHPQ3b7BGbwU.mjs → D0f2t3XyaDfFTC08.mjs} +1 -1
- package/node/esm/{eCWrCiaQxjPKI08p.mjs → DG5EIoSdFG3FutGu.mjs} +1 -1
- package/node/esm/{GeB-AGYaOLPf4xIa.mjs → DScYIiZenzzEpqNX.mjs} +2 -2
- package/node/esm/{CawfjLMD5X08VllQ.mjs → DT6duO2Kls0dywMs.mjs} +2 -2
- package/node/esm/{Caf_ZRpLHj97cmhq.mjs → DXGG2ZQw5gsEiizJ.mjs} +1 -1
- package/node/esm/{CbE22c6PmT_9BusX.mjs → Db70KVKsFGdRlKEx.mjs} +1 -1
- package/node/esm/{Bn2kMFZYznOun538.mjs → DdX-VVGAfrU2a52x.mjs} +1 -1
- package/node/esm/{Bu647iy66qiv3-qM.mjs → DgHlwwldxPMVUdYv.mjs} +2 -2
- package/node/esm/{DLt7HmhROlJ1V8bV.mjs → HTk99NQ6xaWtPNfO.mjs} +1 -1
- package/node/esm/{BuDVpL6sgPNGIN7T.mjs → cFgQxgzJMvn3jgnS.mjs} +1 -1
- package/node/esm/{JieSP-_GeRIfiW8Z.mjs → d7nC9HA-O7Jg57HD.mjs} +2 -2
- package/node/esm/{Dg5D5zMNzygUWk51.mjs → eOKsk3UBMDeeE2K8.mjs} +2 -2
- package/node/esm/index.mjs +2140 -2137
- package/node/esm/{BjpAc-kSpia0lwjr.mjs → j5sUOLJOXDDfgzyV.mjs} +1 -1
- package/node/esm/{Dv8pWn_FIH1LYneP.mjs → lHvI11zfRX3BV9uN.mjs} +2 -2
- package/node/esm/{BI4aQ23a2wqqskmY.mjs → orrZaoah66_1GRIf.mjs} +504 -512
- package/node/esm/{G7AEbATGEFC09W8Z.mjs → tUUYzU1yWSNE4COh.mjs} +1 -1
- package/node/esm/{CcLCu4TIukHypMCt.mjs → wy1h9E1aAC6zMYna.mjs} +2 -2
- package/package.json +10 -10
- package/types/src/studio/StudioProps.d.ts +5 -6
- package/types/src/theme/ThemeUtils.d.ts +8 -27
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/studio-mui - Studio - Spreadsheet UI built with SheetXL SDK using React & MUI. - v0.8.0-beta.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
|
-
import { SparklineRangesDialog as r } from "./
|
|
7
|
+
import { SparklineRangesDialog as r } from "./D0f2t3XyaDfFTC08.mjs";
|
|
8
8
|
import { memo as t } from "react";
|
|
9
9
|
import { jsx as m } from "react/jsx-runtime";
|
|
10
10
|
var a = t((t) => m(r, {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/studio-mui",
|
|
3
3
|
"description": "Studio - Spreadsheet UI built with SheetXL SDK using React & MUI.",
|
|
4
|
-
"version": "0.8.0-beta.
|
|
4
|
+
"version": "0.8.0-beta.23",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -51,19 +51,19 @@
|
|
|
51
51
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
52
52
|
"@dnd-kit/sortable": "^10.0.0",
|
|
53
53
|
"@dnd-kit/utilities": "^3.2.2",
|
|
54
|
-
"@sheetxl/grid-react": "^0.8.0-beta.
|
|
55
|
-
"@sheetxl/io": "^0.8.0-beta.
|
|
56
|
-
"@sheetxl/react": "^0.8.0-beta.
|
|
57
|
-
"@sheetxl/scripting-react": "^0.8.0-beta.
|
|
58
|
-
"@sheetxl/sdk": "^0.8.0-beta.
|
|
59
|
-
"@sheetxl/utils": "^0.8.0-beta.
|
|
60
|
-
"@sheetxl/utils-mui": "^0.8.0-beta.
|
|
61
|
-
"@sheetxl/utils-react": "^0.8.0-beta.
|
|
54
|
+
"@sheetxl/grid-react": "^0.8.0-beta.23",
|
|
55
|
+
"@sheetxl/io": "^0.8.0-beta.23",
|
|
56
|
+
"@sheetxl/react": "^0.8.0-beta.23",
|
|
57
|
+
"@sheetxl/scripting-react": "^0.8.0-beta.23",
|
|
58
|
+
"@sheetxl/sdk": "^0.8.0-beta.23",
|
|
59
|
+
"@sheetxl/utils": "^0.8.0-beta.23",
|
|
60
|
+
"@sheetxl/utils-mui": "^0.8.0-beta.23",
|
|
61
|
+
"@sheetxl/utils-react": "^0.8.0-beta.23",
|
|
62
62
|
"clsx": "^2.1.1",
|
|
63
63
|
"csstype": "^3.2.3",
|
|
64
64
|
"file-saver": "^2.0.5",
|
|
65
65
|
"notistack": "^3.0.2",
|
|
66
|
-
"react-hook-form": "^7.
|
|
66
|
+
"react-hook-form": "^7.91.0",
|
|
67
67
|
"react-merge-refs": "^3.0.2",
|
|
68
68
|
"react-transition-group": "^4.4.5",
|
|
69
69
|
"rooks": "^9.9.0",
|
|
@@ -2,8 +2,7 @@ import { IWorkbook, IWorkbookIO } from '@sheetxl/sdk';
|
|
|
2
2
|
import { ErrorPanelProps, LoadingPanelProps, RenderSlotFn, VirtualKeyboardMode } from '@sheetxl/utils-react';
|
|
3
3
|
import { SxProps } from '@mui/system';
|
|
4
4
|
import { Theme, ThemeOptions, PaperProps } from '@mui/material';
|
|
5
|
-
import { TaskPaneAreaProps, IWorkbookElement, WorkbookElementProps, WorkbookLoadEvent, SheetEditable } from '@sheetxl/react';
|
|
6
|
-
import { ExplicitTokens } from '../theme/ThemeUtils';
|
|
5
|
+
import { TaskPaneAreaProps, IWorkbookElement, WorkbookElementProps, WorkbookLoadEvent, SheetEditable, ExplicitTokens } from '@sheetxl/react';
|
|
7
6
|
import { DocumentTitleProps } from '../workbook';
|
|
8
7
|
import { WorkbookToolbarsProps } from '../toolbar';
|
|
9
8
|
import { FormulaBarProps, IFormulaBarElement, FormulaBarPlacement } from '../formulaBar';
|
|
@@ -230,7 +229,7 @@ export interface StudioProps extends Omit<PaperProps, 'autoFocus' | 'ref'> {
|
|
|
230
229
|
* @remarks
|
|
231
230
|
* This is *config*, not state. Light/dark **mode** and the dark-grid/dark-image toggles are self-managed by
|
|
232
231
|
* Studio as persisted preferences (see {@link @sheetxl/react!ThemeStateKey}), driven by the surrounding
|
|
233
|
-
* `PersistentStateProvider` — not by props.
|
|
232
|
+
* `PersistentStateProvider` — not by props. {@link tokens} layers token values on top.
|
|
234
233
|
*/
|
|
235
234
|
muiTheme?: ThemeOptions;
|
|
236
235
|
/**
|
|
@@ -258,9 +257,9 @@ export interface StudioProps extends Omit<PaperProps, 'autoFocus' | 'ref'> {
|
|
|
258
257
|
* cells and keeps deriving only the rest.
|
|
259
258
|
*
|
|
260
259
|
* The surfaces are `app` (the default cell everything inherits), `header` (row/column headers) and `grid`
|
|
261
|
-
* (the cell body). These are emitted with Studio's own `sxl-app` layer, so they stay **surface-aware**.
|
|
262
|
-
*
|
|
263
|
-
*
|
|
260
|
+
* (the cell body). These are emitted with Studio's own `sxl-app` layer, so they stay **surface-aware**. The
|
|
261
|
+
* `app` cell also retints the MUI chrome (primary, background, text, radius, font). A stylesheet in
|
|
262
|
+
* `@layer sxl-overrides` reaches the grid but not the MUI chrome.
|
|
264
263
|
*/
|
|
265
264
|
tokens?: ExplicitTokens;
|
|
266
265
|
/**
|
|
@@ -1,25 +1,6 @@
|
|
|
1
1
|
import { Theme, ThemeOptions } from '@mui/material';
|
|
2
|
-
import { TokenTheme
|
|
3
|
-
|
|
4
|
-
export type ExplicitSurface = 'app' | 'header' | 'grid';
|
|
5
|
-
/**
|
|
6
|
-
* Explicit token values a HOST supplies, addressed by **cell** — `(surface × mode)`, not just token. So a
|
|
7
|
-
* host says "the header paper is `editorGroupHeader.tabsBackground`" without any new token name entering
|
|
8
|
-
* the vocabulary; the expressiveness comes from the matrix that already exists (THEMING-DESIGN §8).
|
|
9
|
-
*
|
|
10
|
-
* ```ts
|
|
11
|
-
* { dark: { app: { 'color-base-200': '#1f1f1f' }, header: { 'color-base-100': '#181818' } } }
|
|
12
|
-
* ```
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* The escape hatch out of the math below. Every derived value here (the gridline, the header hover) is an
|
|
16
|
-
* *elevation* calculation: it assumes "raised" means "lighter", which is the Material idea. A host with a
|
|
17
|
-
* FLAT design language (VS Code, Fluent) has its own named surfaces that do not follow that curve at all,
|
|
18
|
-
* and mapping them onto the five MUI palette slots the adapter reads throws all of them away. So each
|
|
19
|
-
* derivation is a FALLBACK: an explicitly supplied token wins, and only what the host leaves unset is
|
|
20
|
-
* computed.
|
|
21
|
-
*/
|
|
22
|
-
export type ExplicitTokens = Partial<Record<ThemeMode, Partial<Record<ExplicitSurface, Partial<TokenTheme>>>>>;
|
|
2
|
+
import { TokenTheme } from '@sheetxl/utils-react';
|
|
3
|
+
import { ExplicitTokens } from '@sheetxl/react';
|
|
23
4
|
/**
|
|
24
5
|
* The MUI→Theme adapter: maps a MUI {@link Theme} onto the framework-neutral flat {@link TokenTheme}
|
|
25
6
|
* token set (utils-react) — one mode's worth of `--sxl-*` values. {@link createStudioThemeCSS} compiles the
|
|
@@ -31,8 +12,8 @@ export type ExplicitTokens = Partial<Record<ThemeMode, Partial<Record<ExplicitSu
|
|
|
31
12
|
*/
|
|
32
13
|
export declare const createThemeFromMUITheme: (muiTheme: Theme, explicit?: ExplicitTokens) => TokenTheme;
|
|
33
14
|
/**
|
|
34
|
-
* The **inverse** adapter (`sxl → mui`): map a partial {@link TokenTheme} (
|
|
35
|
-
*
|
|
15
|
+
* The **inverse** adapter (`sxl → mui`): map a partial {@link TokenTheme} (the host's `app`
|
|
16
|
+
* tokens) onto the MUI palette/geometry slots the forward {@link createThemeFromMUITheme} reads. Studio
|
|
36
17
|
* merges the result INTO its `createExhibitTheme` input, so a token override flows `sxl → mui → sxl`: the MUI
|
|
37
18
|
* chrome (buttons / slider / tabs) follows it as well as the grid — no "half-themed" mixed bag. Only the mapped
|
|
38
19
|
* subset (colors, radius, fonts) crosses; non-color MUI config (components / spacing) is untouched. Partial in,
|
|
@@ -48,10 +29,10 @@ export declare const tokensToMuiOptions: (tokens?: Partial<TokenTheme>) => Theme
|
|
|
48
29
|
*
|
|
49
30
|
* `explicit` is the host's own token values ({@link ExplicitTokens}), addressed per `(surface × mode)` cell.
|
|
50
31
|
* Each cell is merged into the surface it names AND consulted by that surface's derivations, so a host color
|
|
51
|
-
* participates in the math instead of being computed over. This is emitted in `sxl-app
|
|
52
|
-
* `sxl-overrides
|
|
53
|
-
*
|
|
54
|
-
*
|
|
32
|
+
* participates in the math instead of being computed over. This is emitted in `sxl-app`, not
|
|
33
|
+
* `sxl-overrides`, which is why it can be surface-aware: an override-layer rule keyed on `[mode]` alone
|
|
34
|
+
* outranks (by layer, not specificity) the `[mode][surface="header"]` rules below, so it would flatten every
|
|
35
|
+
* surface at once.
|
|
55
36
|
*/
|
|
56
37
|
export declare const createStudioThemeCSS: (lightTheme: Theme, darkTheme: Theme, scope?: string, explicit?: ExplicitTokens) => string;
|
|
57
38
|
//# sourceMappingURL=ThemeUtils.d.ts.map
|