@aiquants/console-ui 0.1.1 → 0.3.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/README.md +94 -41
- package/dist/chunk-A4D4K2WF.cjs +1 -0
- package/dist/chunk-BMGBEN26.js +1 -0
- package/dist/chunk-BUX2DNVR.js +1 -0
- package/dist/chunk-IR2WTSOW.cjs +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.d.cts +315 -165
- package/dist/core.d.ts +315 -165
- package/dist/core.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +146 -20
- package/dist/index.d.ts +146 -20
- package/dist/index.js +1 -1
- package/dist/styles/console-ui.css +555 -136
- package/dist/testing.cjs +1 -1
- package/dist/testing.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-BEDKWWJC.cjs +0 -1
- package/dist/chunk-MYMCHY7C.js +0 -1
- package/dist/chunk-U5UPIUBJ.cjs +0 -1
- package/dist/chunk-UKP35ZC3.js +0 -1
package/dist/core.d.cts
CHANGED
|
@@ -14,11 +14,18 @@ type ConsoleUiLabels = {
|
|
|
14
14
|
readonly loadFailed: (reason: string) => string;
|
|
15
15
|
readonly refreshFailed: (reason: string) => string;
|
|
16
16
|
readonly forbiddenBecause: (message: string, reason: string) => string;
|
|
17
|
+
readonly failureSentence: (failure: {
|
|
18
|
+
readonly status: number | null;
|
|
19
|
+
readonly reason: string;
|
|
20
|
+
}, refusal: string, failed: (reason: string) => string) => string;
|
|
17
21
|
readonly loadMore: (limit: string) => string;
|
|
18
22
|
readonly endOfRecords: string;
|
|
19
23
|
readonly close: string;
|
|
20
24
|
readonly cancel: string;
|
|
21
25
|
readonly reload: string;
|
|
26
|
+
readonly breadcrumb: string;
|
|
27
|
+
readonly stepDone: string;
|
|
28
|
+
readonly stepPending: string;
|
|
22
29
|
};
|
|
23
30
|
declare const reasonAside: (reason: string) => string;
|
|
24
31
|
declare const CONSOLE_UI_LABEL_CATALOGS: Readonly<Record<ConsoleUiLocale, ConsoleUiLabels>>;
|
|
@@ -59,6 +66,7 @@ type TileGridPlan = {
|
|
|
59
66
|
readonly css: string;
|
|
60
67
|
};
|
|
61
68
|
declare const tileGridPlan: (count: number, minInlinePx: number, gapPx: number) => TileGridPlan;
|
|
69
|
+
declare const HTTP_FORBIDDEN = 403;
|
|
62
70
|
type ResourceOutcome<T> = {
|
|
63
71
|
readonly ok: true;
|
|
64
72
|
readonly value: T;
|
|
@@ -133,95 +141,46 @@ declare const settleFirstPage: <T, C, M>(state: PagedState<T, C, M>, outcome: Re
|
|
|
133
141
|
declare const beginPage: <T, C, M>(state: PagedState<T, C, M>) => PagedState<T, C, M>;
|
|
134
142
|
declare const settlePage: <T, C, M>(state: PagedState<T, C, M>, cursor: C, outcome: ResourceOutcome<NextPage<T, C>>) => PagedState<T, C, M>;
|
|
135
143
|
declare const mapPagedList: <T, C, M>(state: PagedState<T, C, M>, map: (content: PagedContent<T, M>) => PagedContent<T, M>) => PagedState<T, C, M>;
|
|
136
|
-
declare const
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
readonly
|
|
173
|
-
|
|
174
|
-
readonly medium: 500;
|
|
175
|
-
readonly bold: 700;
|
|
176
|
-
};
|
|
177
|
-
readonly radius: {
|
|
178
|
-
readonly "radius-control": 4;
|
|
179
|
-
readonly "radius-item": 8;
|
|
180
|
-
readonly "radius-container": 12;
|
|
181
|
-
readonly "radius-pill": 9999;
|
|
182
|
-
};
|
|
183
|
-
readonly size: {
|
|
184
|
-
readonly "size-control": 32;
|
|
185
|
-
readonly "size-row": 32;
|
|
186
|
-
readonly "size-row-control": 40;
|
|
187
|
-
readonly "size-target": 24;
|
|
188
|
-
};
|
|
189
|
-
readonly stroke: {
|
|
190
|
-
readonly "border-width": 1;
|
|
191
|
-
readonly "focus-width": 2;
|
|
192
|
-
readonly "focus-offset": 2;
|
|
193
|
-
};
|
|
194
|
-
readonly color: {
|
|
195
|
-
readonly fg: "#0f172b";
|
|
196
|
-
readonly "fg-secondary": "#314158";
|
|
197
|
-
readonly "fg-muted": "#45556c";
|
|
198
|
-
readonly "danger-fg": "#9f0712";
|
|
199
|
-
readonly "warning-fg": "#7b3306";
|
|
200
|
-
readonly "success-fg": "#006045";
|
|
201
|
-
readonly "info-fg": "#193cb8";
|
|
202
|
-
readonly "on-solid": "#ffffff";
|
|
203
|
-
readonly surface: "#ffffff";
|
|
204
|
-
readonly subtle: "#f8fafc";
|
|
205
|
-
readonly sunken: "#f1f5f9";
|
|
206
|
-
readonly "danger-tint": "#fef2f2";
|
|
207
|
-
readonly "warning-tint": "#fffbeb";
|
|
208
|
-
readonly "success-tint": "#ecfdf5";
|
|
209
|
-
readonly "info-tint": "#eff6ff";
|
|
210
|
-
readonly "neutral-solid": "#314158";
|
|
211
|
-
readonly "danger-solid": "#9f0712";
|
|
212
|
-
readonly "success-solid": "#006045";
|
|
213
|
-
readonly "info-solid": "#193cb8";
|
|
214
|
-
readonly "warning-solid": "#7b3306";
|
|
215
|
-
readonly "danger-accent": "#e7000b";
|
|
216
|
-
readonly "warning-accent": "#bb4d00";
|
|
217
|
-
readonly "success-accent": "#009966";
|
|
218
|
-
readonly "info-accent": "#155dfc";
|
|
219
|
-
readonly focus: "#155dfc";
|
|
220
|
-
readonly "border-control": "#62748e";
|
|
221
|
-
readonly "border-subtle": "#e2e8f0";
|
|
222
|
-
};
|
|
144
|
+
declare const LATTICE_PX = 4;
|
|
145
|
+
declare const SPACE_MULTIPLIERS: readonly [
|
|
146
|
+
1,
|
|
147
|
+
2,
|
|
148
|
+
3,
|
|
149
|
+
4,
|
|
150
|
+
6,
|
|
151
|
+
8,
|
|
152
|
+
12,
|
|
153
|
+
16,
|
|
154
|
+
24
|
|
155
|
+
];
|
|
156
|
+
declare const TYPE_STEPS: {
|
|
157
|
+
readonly caption: -2;
|
|
158
|
+
readonly body: -1;
|
|
159
|
+
readonly title: 0;
|
|
160
|
+
readonly heading: 1;
|
|
161
|
+
readonly display: 2;
|
|
162
|
+
readonly "display-lg": 3;
|
|
163
|
+
};
|
|
164
|
+
declare const MOTION_STEPS: readonly [
|
|
165
|
+
1,
|
|
166
|
+
2,
|
|
167
|
+
3
|
|
168
|
+
];
|
|
169
|
+
declare const ceilToLattice: (px: number) => number;
|
|
170
|
+
declare const TARGET_PX: number;
|
|
171
|
+
declare const ROW_WITH_CONTROL_PX: number;
|
|
172
|
+
type SpaceToken = `space-${(typeof SPACE_MULTIPLIERS)[number]}`;
|
|
173
|
+
type TypeToken = keyof typeof TYPE_STEPS | "prose";
|
|
174
|
+
type MotionToken = `motion-${(typeof MOTION_STEPS)[number]}`;
|
|
175
|
+
type WeightToken = "regular" | "medium" | "bold";
|
|
176
|
+
type RadiusToken = "radius-control" | "radius-item" | "radius-container" | "radius-pill";
|
|
177
|
+
type SizeToken = "size-control" | "size-row" | "size-row-control" | "size-target";
|
|
178
|
+
type StrokeToken = "border-width" | "focus-width" | "focus-offset" | "marker-width";
|
|
179
|
+
type SchemeColor = {
|
|
180
|
+
readonly light: string;
|
|
181
|
+
readonly dark: string;
|
|
223
182
|
};
|
|
224
|
-
type ConsoleUiTokens = {
|
|
183
|
+
type ConsoleUiTokens$1<ColorToken extends string = string> = {
|
|
225
184
|
readonly space: Readonly<Record<SpaceToken, number>>;
|
|
226
185
|
readonly type: Readonly<Record<TypeToken, {
|
|
227
186
|
readonly size: number;
|
|
@@ -231,110 +190,301 @@ type ConsoleUiTokens = {
|
|
|
231
190
|
readonly radius: Readonly<Record<RadiusToken, number>>;
|
|
232
191
|
readonly size: Readonly<Record<SizeToken, number>>;
|
|
233
192
|
readonly stroke: Readonly<Record<StrokeToken, number>>;
|
|
234
|
-
readonly
|
|
193
|
+
readonly motion: Readonly<Record<MotionToken, number>>;
|
|
194
|
+
readonly color: Readonly<Record<ColorToken, SchemeColor>>;
|
|
235
195
|
};
|
|
236
|
-
|
|
237
|
-
type TypeToken = keyof typeof TOKENS.type;
|
|
238
|
-
type WeightToken = keyof typeof TOKENS.weight;
|
|
239
|
-
type RadiusToken = keyof typeof TOKENS.radius;
|
|
240
|
-
type SizeToken = keyof typeof TOKENS.size;
|
|
241
|
-
type StrokeToken = keyof typeof TOKENS.stroke;
|
|
242
|
-
type ColorToken = keyof typeof TOKENS.color;
|
|
243
|
-
type FgRole = "fg" | "fg-secondary" | "fg-muted" | "danger-fg" | "warning-fg" | "success-fg" | "info-fg" | "on-solid";
|
|
244
|
-
type SurfaceRole = "surface" | "subtle" | "sunken" | "danger-tint" | "warning-tint" | "success-tint" | "info-tint" | "neutral-solid" | "danger-solid" | "success-solid" | "info-solid" | "warning-solid";
|
|
245
|
-
type AccentRole = "danger-accent" | "warning-accent" | "success-accent" | "info-accent";
|
|
246
|
-
type TokenName = SpaceToken | `font-size-${TypeToken}` | `line-height-${TypeToken}` | `font-weight-${WeightToken}` | RadiusToken | SizeToken | StrokeToken | ColorToken;
|
|
247
|
-
declare const cssVar: (name: TokenName) => string;
|
|
248
|
-
type Srgb = readonly [
|
|
249
|
-
red: number,
|
|
250
|
-
green: number,
|
|
251
|
-
blue: number
|
|
252
|
-
];
|
|
253
|
-
declare const hexToSrgb: (hex: string) => Srgb;
|
|
254
|
-
declare const contrastRatio: (first: Srgb, second: Srgb) => number;
|
|
255
|
-
declare const CONTRAST_MINIMUM: {
|
|
256
|
-
readonly text: 4.5;
|
|
257
|
-
readonly nonText: 3;
|
|
258
|
-
};
|
|
259
|
-
type ContrastRole = FgRole | AccentRole | "focus" | "border-control";
|
|
260
|
-
declare const CONTRAST_PAIRS: {
|
|
196
|
+
declare const CONSOLE_PALETTE: {
|
|
261
197
|
readonly fg: {
|
|
262
|
-
readonly
|
|
263
|
-
readonly
|
|
264
|
-
readonly sunken: 16.28;
|
|
265
|
-
readonly "danger-tint": 16.3;
|
|
266
|
-
readonly "warning-tint": 17.19;
|
|
267
|
-
readonly "success-tint": 16.93;
|
|
268
|
-
readonly "info-tint": 16.38;
|
|
198
|
+
readonly light: "#0f172b";
|
|
199
|
+
readonly dark: "#f8fafc";
|
|
269
200
|
};
|
|
270
201
|
readonly "fg-secondary": {
|
|
271
|
-
readonly
|
|
272
|
-
readonly
|
|
273
|
-
readonly sunken: 9.45;
|
|
202
|
+
readonly light: "#314158";
|
|
203
|
+
readonly dark: "#e2e8f0";
|
|
274
204
|
};
|
|
275
205
|
readonly "fg-muted": {
|
|
276
|
-
readonly
|
|
277
|
-
readonly
|
|
278
|
-
readonly sunken: 6.92;
|
|
279
|
-
readonly "danger-tint": 6.93;
|
|
280
|
-
readonly "warning-tint": 7.31;
|
|
281
|
-
readonly "info-tint": 6.97;
|
|
206
|
+
readonly light: "#44536a";
|
|
207
|
+
readonly dark: "#cad5e2";
|
|
282
208
|
};
|
|
283
209
|
readonly "danger-fg": {
|
|
284
|
-
readonly
|
|
285
|
-
readonly
|
|
286
|
-
readonly "danger-tint": 7.64;
|
|
210
|
+
readonly light: "#9f0712";
|
|
211
|
+
readonly dark: "#ffc9c9";
|
|
287
212
|
};
|
|
288
213
|
readonly "warning-fg": {
|
|
289
|
-
readonly
|
|
290
|
-
readonly
|
|
291
|
-
readonly "warning-tint": 8.73;
|
|
214
|
+
readonly light: "#7b3306";
|
|
215
|
+
readonly dark: "#fee685";
|
|
292
216
|
};
|
|
293
217
|
readonly "success-fg": {
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
296
|
-
readonly "success-tint": 7.23;
|
|
218
|
+
readonly light: "#006045";
|
|
219
|
+
readonly dark: "#a4f4cf";
|
|
297
220
|
};
|
|
298
221
|
readonly "info-fg": {
|
|
299
|
-
readonly
|
|
300
|
-
readonly "
|
|
301
|
-
readonly subtle: 8.43;
|
|
222
|
+
readonly light: "#193cb8";
|
|
223
|
+
readonly dark: "#bedbff";
|
|
302
224
|
};
|
|
303
225
|
readonly "on-solid": {
|
|
304
|
-
readonly "
|
|
305
|
-
readonly "
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
readonly "
|
|
226
|
+
readonly light: "#ffffff";
|
|
227
|
+
readonly dark: "#0f172b";
|
|
228
|
+
};
|
|
229
|
+
readonly surface: {
|
|
230
|
+
readonly light: "#ffffff";
|
|
231
|
+
readonly dark: "#0f172b";
|
|
232
|
+
};
|
|
233
|
+
readonly subtle: {
|
|
234
|
+
readonly light: "#f8fafc";
|
|
235
|
+
readonly dark: "#1d293d";
|
|
236
|
+
};
|
|
237
|
+
readonly sunken: {
|
|
238
|
+
readonly light: "#f1f5f9";
|
|
239
|
+
readonly dark: "#020618";
|
|
240
|
+
};
|
|
241
|
+
readonly "danger-tint": {
|
|
242
|
+
readonly light: "#fef2f2";
|
|
243
|
+
readonly dark: "#460809";
|
|
244
|
+
};
|
|
245
|
+
readonly "warning-tint": {
|
|
246
|
+
readonly light: "#fffbeb";
|
|
247
|
+
readonly dark: "#461901";
|
|
248
|
+
};
|
|
249
|
+
readonly "success-tint": {
|
|
250
|
+
readonly light: "#ecfdf5";
|
|
251
|
+
readonly dark: "#002c22";
|
|
252
|
+
};
|
|
253
|
+
readonly "info-tint": {
|
|
254
|
+
readonly light: "#eff6ff";
|
|
255
|
+
readonly dark: "#162456";
|
|
256
|
+
};
|
|
257
|
+
readonly "neutral-solid": {
|
|
258
|
+
readonly light: "#314158";
|
|
259
|
+
readonly dark: "#cad5e2";
|
|
260
|
+
};
|
|
261
|
+
readonly "danger-solid": {
|
|
262
|
+
readonly light: "#9f0712";
|
|
263
|
+
readonly dark: "#ffa2a2";
|
|
264
|
+
};
|
|
265
|
+
readonly "success-solid": {
|
|
266
|
+
readonly light: "#006045";
|
|
267
|
+
readonly dark: "#5ee9b5";
|
|
268
|
+
};
|
|
269
|
+
readonly "info-solid": {
|
|
270
|
+
readonly light: "#193cb8";
|
|
271
|
+
readonly dark: "#8ec5ff";
|
|
272
|
+
};
|
|
273
|
+
readonly "warning-solid": {
|
|
274
|
+
readonly light: "#7b3306";
|
|
275
|
+
readonly dark: "#ffd230";
|
|
309
276
|
};
|
|
310
277
|
readonly "danger-accent": {
|
|
311
|
-
readonly
|
|
312
|
-
readonly "
|
|
278
|
+
readonly light: "#e7000b";
|
|
279
|
+
readonly dark: "#ff6467";
|
|
313
280
|
};
|
|
314
281
|
readonly "warning-accent": {
|
|
315
|
-
readonly
|
|
316
|
-
readonly "
|
|
282
|
+
readonly light: "#bb4d00";
|
|
283
|
+
readonly dark: "#fcbb00";
|
|
317
284
|
};
|
|
318
285
|
readonly "success-accent": {
|
|
319
|
-
readonly
|
|
320
|
-
readonly "
|
|
286
|
+
readonly light: "#009966";
|
|
287
|
+
readonly dark: "#00d492";
|
|
321
288
|
};
|
|
322
289
|
readonly "info-accent": {
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
325
|
-
readonly sunken: 4.79;
|
|
326
|
-
readonly "info-tint": 4.82;
|
|
290
|
+
readonly light: "#155dfc";
|
|
291
|
+
readonly dark: "#51a2ff";
|
|
327
292
|
};
|
|
328
293
|
readonly focus: {
|
|
329
|
-
readonly
|
|
330
|
-
readonly
|
|
331
|
-
readonly sunken: 4.79;
|
|
332
|
-
readonly "info-tint": 4.82;
|
|
294
|
+
readonly light: "#155dfc";
|
|
295
|
+
readonly dark: "#51a2ff";
|
|
333
296
|
};
|
|
334
297
|
readonly "border-control": {
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
337
|
-
|
|
298
|
+
readonly light: "#62748e";
|
|
299
|
+
readonly dark: "#90a1b9";
|
|
300
|
+
};
|
|
301
|
+
readonly "border-subtle": {
|
|
302
|
+
readonly light: "#e2e8f0";
|
|
303
|
+
readonly dark: "#314158";
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
type ColorToken = keyof typeof CONSOLE_PALETTE;
|
|
307
|
+
type ConsoleUiTokens = ConsoleUiTokens$1<ColorToken>;
|
|
308
|
+
declare const TOKENS: ConsoleUiTokens;
|
|
309
|
+
type FgRole = "fg" | "fg-secondary" | "fg-muted" | "danger-fg" | "warning-fg" | "success-fg" | "info-fg" | "on-solid";
|
|
310
|
+
type SurfaceRole = "surface" | "subtle" | "sunken" | "danger-tint" | "warning-tint" | "success-tint" | "info-tint" | "neutral-solid" | "danger-solid" | "success-solid" | "info-solid" | "warning-solid";
|
|
311
|
+
type AccentRole = "danger-accent" | "warning-accent" | "success-accent" | "info-accent";
|
|
312
|
+
type TokenName = SpaceToken | `font-size-${TypeToken}` | `line-height-${TypeToken}` | `font-weight-${WeightToken}` | RadiusToken | SizeToken | StrokeToken | MotionToken | ColorToken;
|
|
313
|
+
declare const cssVar: (name: TokenName) => string;
|
|
314
|
+
type Srgb = readonly [
|
|
315
|
+
red: number,
|
|
316
|
+
green: number,
|
|
317
|
+
blue: number
|
|
318
|
+
];
|
|
319
|
+
declare const hexToSrgb: (hex: string) => Srgb;
|
|
320
|
+
declare const contrastRatio: (first: Srgb, second: Srgb) => number;
|
|
321
|
+
declare const CONTRAST_MINIMUM: {
|
|
322
|
+
readonly text: 7;
|
|
323
|
+
readonly largeText: 4.5;
|
|
324
|
+
readonly nonText: 3;
|
|
325
|
+
};
|
|
326
|
+
type ContrastRole = FgRole | AccentRole | "focus" | "border-control";
|
|
327
|
+
type ColorScheme = "light" | "dark";
|
|
328
|
+
declare const CONTRAST_PAIRS: {
|
|
329
|
+
readonly light: {
|
|
330
|
+
readonly fg: {
|
|
331
|
+
readonly surface: 17.83;
|
|
332
|
+
readonly subtle: 17.04;
|
|
333
|
+
readonly sunken: 16.28;
|
|
334
|
+
readonly "danger-tint": 16.3;
|
|
335
|
+
readonly "warning-tint": 17.19;
|
|
336
|
+
readonly "success-tint": 16.93;
|
|
337
|
+
readonly "info-tint": 16.38;
|
|
338
|
+
};
|
|
339
|
+
readonly "fg-secondary": {
|
|
340
|
+
readonly surface: 10.36;
|
|
341
|
+
readonly subtle: 9.9;
|
|
342
|
+
readonly sunken: 9.45;
|
|
343
|
+
};
|
|
344
|
+
readonly "fg-muted": {
|
|
345
|
+
readonly surface: 7.8;
|
|
346
|
+
readonly subtle: 7.46;
|
|
347
|
+
readonly sunken: 7.12;
|
|
348
|
+
readonly "danger-tint": 7.13;
|
|
349
|
+
readonly "warning-tint": 7.52;
|
|
350
|
+
readonly "info-tint": 7.17;
|
|
351
|
+
};
|
|
352
|
+
readonly "danger-fg": {
|
|
353
|
+
readonly surface: 8.36;
|
|
354
|
+
readonly subtle: 7.99;
|
|
355
|
+
readonly "danger-tint": 7.64;
|
|
356
|
+
};
|
|
357
|
+
readonly "warning-fg": {
|
|
358
|
+
readonly surface: 9.06;
|
|
359
|
+
readonly subtle: 8.66;
|
|
360
|
+
readonly "warning-tint": 8.73;
|
|
361
|
+
};
|
|
362
|
+
readonly "success-fg": {
|
|
363
|
+
readonly surface: 7.61;
|
|
364
|
+
readonly subtle: 7.27;
|
|
365
|
+
readonly "success-tint": 7.23;
|
|
366
|
+
};
|
|
367
|
+
readonly "info-fg": {
|
|
368
|
+
readonly surface: 8.82;
|
|
369
|
+
readonly "info-tint": 8.11;
|
|
370
|
+
readonly subtle: 8.43;
|
|
371
|
+
};
|
|
372
|
+
readonly "on-solid": {
|
|
373
|
+
readonly "neutral-solid": 10.36;
|
|
374
|
+
readonly "danger-solid": 8.36;
|
|
375
|
+
readonly "success-solid": 7.61;
|
|
376
|
+
readonly "info-solid": 8.82;
|
|
377
|
+
readonly "warning-solid": 9.06;
|
|
378
|
+
};
|
|
379
|
+
readonly "danger-accent": {
|
|
380
|
+
readonly surface: 4.77;
|
|
381
|
+
readonly "danger-tint": 4.36;
|
|
382
|
+
};
|
|
383
|
+
readonly "warning-accent": {
|
|
384
|
+
readonly surface: 5.03;
|
|
385
|
+
readonly "warning-tint": 4.85;
|
|
386
|
+
};
|
|
387
|
+
readonly "success-accent": {
|
|
388
|
+
readonly surface: 3.65;
|
|
389
|
+
readonly "success-tint": 3.47;
|
|
390
|
+
};
|
|
391
|
+
readonly "info-accent": {
|
|
392
|
+
readonly surface: 5.25;
|
|
393
|
+
readonly subtle: 5.01;
|
|
394
|
+
readonly sunken: 4.79;
|
|
395
|
+
readonly "info-tint": 4.82;
|
|
396
|
+
};
|
|
397
|
+
readonly focus: {
|
|
398
|
+
readonly surface: 5.25;
|
|
399
|
+
readonly subtle: 5.01;
|
|
400
|
+
readonly sunken: 4.79;
|
|
401
|
+
readonly "info-tint": 4.82;
|
|
402
|
+
};
|
|
403
|
+
readonly "border-control": {
|
|
404
|
+
readonly surface: 4.76;
|
|
405
|
+
readonly subtle: 4.55;
|
|
406
|
+
readonly sunken: 4.35;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
readonly dark: {
|
|
410
|
+
readonly fg: {
|
|
411
|
+
readonly surface: 17.04;
|
|
412
|
+
readonly subtle: 13.97;
|
|
413
|
+
readonly sunken: 19.27;
|
|
414
|
+
readonly "danger-tint": 15.45;
|
|
415
|
+
readonly "warning-tint": 14.34;
|
|
416
|
+
readonly "success-tint": 14.51;
|
|
417
|
+
readonly "info-tint": 14.13;
|
|
418
|
+
};
|
|
419
|
+
readonly "fg-secondary": {
|
|
420
|
+
readonly surface: 14.46;
|
|
421
|
+
readonly subtle: 11.86;
|
|
422
|
+
readonly sunken: 16.35;
|
|
423
|
+
};
|
|
424
|
+
readonly "fg-muted": {
|
|
425
|
+
readonly surface: 12;
|
|
426
|
+
readonly subtle: 9.83;
|
|
427
|
+
readonly sunken: 13.56;
|
|
428
|
+
readonly "danger-tint": 10.87;
|
|
429
|
+
readonly "warning-tint": 10.09;
|
|
430
|
+
readonly "info-tint": 9.94;
|
|
431
|
+
};
|
|
432
|
+
readonly "danger-fg": {
|
|
433
|
+
readonly surface: 12.27;
|
|
434
|
+
readonly subtle: 10.06;
|
|
435
|
+
readonly "danger-tint": 11.12;
|
|
436
|
+
};
|
|
437
|
+
readonly "warning-fg": {
|
|
438
|
+
readonly surface: 14.33;
|
|
439
|
+
readonly subtle: 11.74;
|
|
440
|
+
readonly "warning-tint": 12.05;
|
|
441
|
+
};
|
|
442
|
+
readonly "success-fg": {
|
|
443
|
+
readonly surface: 13.94;
|
|
444
|
+
readonly subtle: 11.43;
|
|
445
|
+
readonly "success-tint": 11.87;
|
|
446
|
+
};
|
|
447
|
+
readonly "info-fg": {
|
|
448
|
+
readonly surface: 12.54;
|
|
449
|
+
readonly "info-tint": 10.39;
|
|
450
|
+
readonly subtle: 10.28;
|
|
451
|
+
};
|
|
452
|
+
readonly "on-solid": {
|
|
453
|
+
readonly "neutral-solid": 12;
|
|
454
|
+
readonly "danger-solid": 9.29;
|
|
455
|
+
readonly "success-solid": 11.72;
|
|
456
|
+
readonly "info-solid": 9.83;
|
|
457
|
+
readonly "warning-solid": 12.32;
|
|
458
|
+
};
|
|
459
|
+
readonly "danger-accent": {
|
|
460
|
+
readonly surface: 6.17;
|
|
461
|
+
readonly "danger-tint": 5.6;
|
|
462
|
+
};
|
|
463
|
+
readonly "warning-accent": {
|
|
464
|
+
readonly surface: 10.4;
|
|
465
|
+
readonly "warning-tint": 8.75;
|
|
466
|
+
};
|
|
467
|
+
readonly "success-accent": {
|
|
468
|
+
readonly surface: 9.2;
|
|
469
|
+
readonly "success-tint": 7.83;
|
|
470
|
+
};
|
|
471
|
+
readonly "info-accent": {
|
|
472
|
+
readonly surface: 6.76;
|
|
473
|
+
readonly subtle: 5.54;
|
|
474
|
+
readonly sunken: 7.64;
|
|
475
|
+
readonly "info-tint": 5.6;
|
|
476
|
+
};
|
|
477
|
+
readonly focus: {
|
|
478
|
+
readonly surface: 6.76;
|
|
479
|
+
readonly subtle: 5.54;
|
|
480
|
+
readonly sunken: 7.64;
|
|
481
|
+
readonly "info-tint": 5.6;
|
|
482
|
+
};
|
|
483
|
+
readonly "border-control": {
|
|
484
|
+
readonly surface: 6.78;
|
|
485
|
+
readonly subtle: 5.56;
|
|
486
|
+
readonly sunken: 7.66;
|
|
487
|
+
};
|
|
338
488
|
};
|
|
339
489
|
};
|
|
340
|
-
export { type AccentRole, CONSOLE_UI_LABEL_CATALOGS, CONTRAST_MINIMUM, CONTRAST_PAIRS, type ColorToken, type ColumnWidth, type ColumnWidthSource, type CommandOutcome, type ConsoleUiLabels, type ConsoleUiLocale, type ConsoleUiTokens, type ContrastRole, type FgRole, type KeysetPage, type MasterDetailOptions, type MasterDetailPlan, type NextPage, type PageFailure, type PagedContent, type PagedState, type PagedValue, type RadiusToken, type ReloadCause, type ResourceFailure, type ResourceOutcome, type ResourceState, type SizeToken, type SpaceToken, type Srgb, type StrokeToken, type SurfaceRole, TOKENS, type TileGridPlan, type TileGridStep, type TokenName, type TypeToken, type WeightToken, ZonedTimeError, type ZonedTimeErrorReason, beginPage, beginPagedReload, beginReload, ceil8, contrastRatio, cssVar, flatMapOutcome, formatCount, formatInstant, hexToSrgb, keepLastGood, mapOutcome, mapPagedList, masterDetailPlan, monoTextWidthEm, reasonAside, resolveConsoleUiLabels, settleFirstPage, settlePage, tableMinInlinePx, textWidthEm, tileGridPlan, toOffsetIso, toWallTime };
|
|
490
|
+
export { type AccentRole, CONSOLE_UI_LABEL_CATALOGS, CONTRAST_MINIMUM, CONTRAST_PAIRS, type ColorScheme, type ColorToken, type ColumnWidth, type ColumnWidthSource, type CommandOutcome, type ConsoleUiLabels, type ConsoleUiLocale, type ConsoleUiTokens, type ContrastRole, type FgRole, HTTP_FORBIDDEN, type KeysetPage, LATTICE_PX, type MasterDetailOptions, type MasterDetailPlan, type MotionToken, type NextPage, type PageFailure, type PagedContent, type PagedState, type PagedValue, ROW_WITH_CONTROL_PX, type RadiusToken, type ReloadCause, type ResourceFailure, type ResourceOutcome, type ResourceState, type SchemeColor, type SizeToken, type SpaceToken, type Srgb, type StrokeToken, type SurfaceRole, TARGET_PX, TOKENS, type TileGridPlan, type TileGridStep, type TokenName, type TypeToken, type WeightToken, ZonedTimeError, type ZonedTimeErrorReason, beginPage, beginPagedReload, beginReload, ceil8, ceilToLattice, contrastRatio, cssVar, flatMapOutcome, formatCount, formatInstant, hexToSrgb, keepLastGood, mapOutcome, mapPagedList, masterDetailPlan, monoTextWidthEm, reasonAside, resolveConsoleUiLabels, settleFirstPage, settlePage, tableMinInlinePx, textWidthEm, tileGridPlan, toOffsetIso, toWallTime };
|