@nice2dev/ui 1.3.18 → 1.4.1

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/README.md +27 -0
  3. package/dist/{NiceDataGrid-CFibAGHt.cjs → NiceDataGrid-BT6iCUgP.cjs} +1 -1
  4. package/dist/{NiceForm-ChRj4r3f.cjs → NiceForm-Bysp66Ef.cjs} +1 -1
  5. package/dist/{NiceMention-DNx3d9L7.cjs → NiceMention-sc8W-DwH.cjs} +1 -1
  6. package/dist/NiceModuleLifecyclePanel-DBQPCa_V.cjs +1 -0
  7. package/dist/{NiceSavedQueryPanel-BuRAgrBk.cjs → NiceSavedQueryPanel-BbznsXFd.cjs} +1 -1
  8. package/dist/{NiceScheduler-DAoo1eyo.cjs → NiceScheduler-3Ez0zSQJ.cjs} +1 -1
  9. package/dist/{core-lazy-DohJQ33c.cjs → core-lazy-CL4ZIxF-.cjs} +1 -1
  10. package/dist/data.cjs +1 -1
  11. package/dist/editors/pickers/pickerCommons.mjs +284 -87
  12. package/dist/editors/pickers/themePickerHelpers.mjs +10 -8
  13. package/dist/editors.cjs +1 -1
  14. package/dist/index.cjs +166 -166
  15. package/dist/index.d.ts +142 -10
  16. package/dist/index.mjs +1517 -1488
  17. package/dist/navigation/sidebarColors.mjs +61 -50
  18. package/dist/navigation.cjs +1 -1
  19. package/dist/navigation.d.ts +7 -0
  20. package/dist/pickerCommons-CwcCc8Qi.cjs +1 -0
  21. package/dist/planning/NiceResourceAllocation.mjs +31 -31
  22. package/dist/style.css +4 -4
  23. package/dist/tools/NiceThemeDesigner.mjs +781 -708
  24. package/dist/tools/NiceThemePreview.mjs +344 -282
  25. package/dist/tools/themeCatalog.mjs +28 -44
  26. package/dist/tools/themeCatalogArchive.mjs +38 -0
  27. package/dist/tools/themeDesigner/ThemeSetEditors.mjs +400 -0
  28. package/dist/tools/themeDesigner/ThemeValueField.mjs +146 -0
  29. package/dist/tools/themeDesigner/themeDesignerPaths.mjs +105 -0
  30. package/package.json +4 -4
  31. package/dist/NiceModuleLifecyclePanel-D8Q081R6.cjs +0 -1
  32. package/dist/pickerCommons-BWglYl6J.cjs +0 -1
package/dist/index.d.ts CHANGED
@@ -37,6 +37,7 @@ import { clearLeakReports } from '@nice2dev/ui-core';
37
37
  import { clearProfilingData } from '@nice2dev/ui-core';
38
38
  import { clickOnActivationKey } from '@nice2dev/ui-core';
39
39
  import { CognitiveAccessibilityOptions } from '@nice2dev/ui-core';
40
+ import { colorSetSnapshot } from '@nice2dev/ui-core';
40
41
  import { ColumnFormulas } from '@nice2dev/ui-core';
41
42
  import { COMMON_SHORTCUTS } from '@nice2dev/ui-core';
42
43
  import { Component } from 'react';
@@ -75,6 +76,7 @@ import { DENSITY_VALUES } from '@nice2dev/ui-core';
75
76
  import { DensityVariant } from '@nice2dev/ui-core';
76
77
  import { deprecateProp } from '@nice2dev/ui-core';
77
78
  import { deprecateSymbol } from '@nice2dev/ui-core';
79
+ import { deriveColorSet } from '@nice2dev/ui-core';
78
80
  import { deserializeTheme } from '@nice2dev/ui-core';
79
81
  import { detectGamepadFamily } from '@nice2dev/ui-core';
80
82
  import { Dispatch } from 'react';
@@ -127,6 +129,7 @@ import { getPerformanceReport } from '@nice2dev/ui-core';
127
129
  import { getProfilingStats } from '@nice2dev/ui-core';
128
130
  import { getRecentTimings } from '@nice2dev/ui-core';
129
131
  import { getSlowRenders } from '@nice2dev/ui-core';
132
+ import { getThemeValue } from '@nice2dev/ui-core';
130
133
  import { getTracelessBadgeInfo } from '@nice2dev/ui-core';
131
134
  import { GraphQLSubscriptionConfig } from '@nice2dev/ui-core';
132
135
  import { GraphQLSubscriptionSource } from '@nice2dev/ui-core';
@@ -173,6 +176,10 @@ import { NICE_DISPLAY_STYLES } from '@nice2dev/ui-core';
173
176
  import { NICE_INPUT_DEFAULTS } from '@nice2dev/ui-core';
174
177
  import { NICE_INTENT_EVENT } from '@nice2dev/ui-core';
175
178
  import { NICE_INTENTS } from '@nice2dev/ui-core';
179
+ import { NICE_THEME_ARCHIVE } from '@nice2dev/ui-core';
180
+ import { NICE_THEME_CURATED } from '@nice2dev/ui-core';
181
+ import { NICE_THEME_CURATED_PACKS } from '@nice2dev/ui-core';
182
+ import { NICE_THEME_DEFAULT } from '@nice2dev/ui-core';
176
183
  import { NICE_THEME_GALLERY } from '@nice2dev/ui-core';
177
184
  import { NICE_THEME_PACK_FONT_LINKS } from '@nice2dev/ui-core';
178
185
  import { NICE_THEME_PACK_FONT_LINKS_EXTENDED } from '@nice2dev/ui-core';
@@ -204,6 +211,9 @@ import { NiceButtonPromptProps } from '@nice2dev/ui-core';
204
211
  import { NiceCacheConfig } from '@nice2dev/ui-core';
205
212
  import { NiceChangeMeta } from '@nice2dev/ui-core';
206
213
  import { NiceChangeReason } from '@nice2dev/ui-core';
214
+ import { NiceColorLevel } from '@nice2dev/ui-core';
215
+ import { NiceColorSet } from '@nice2dev/ui-core';
216
+ import { NiceColorSetMode } from '@nice2dev/ui-core';
207
217
  import { NiceComponentTutorial } from '@nice2dev/ui-core';
208
218
  import { NiceComponentType } from '@nice2dev/ui-core';
209
219
  import { NiceCrossTabSyncConfig } from '@nice2dev/ui-core';
@@ -317,6 +327,8 @@ import { niceReduxActions } from '@nice2dev/ui-core';
317
327
  import { NiceReduxMiddlewareConfig } from '@nice2dev/ui-core';
318
328
  import { niceReduxReducer } from '@nice2dev/ui-core';
319
329
  import { NiceRequestDeduplicator } from '@nice2dev/ui-core';
330
+ import { NiceResolvedLevel } from '@nice2dev/ui-core';
331
+ import { NiceResolvedTheme } from '@nice2dev/ui-core';
320
332
  import { NiceResolvedTutorialStep } from '@nice2dev/ui-core';
321
333
  import { NiceResponsiveValue } from '@nice2dev/ui-core';
322
334
  import { NiceRestConfig } from '@nice2dev/ui-core';
@@ -326,6 +338,7 @@ import { NiceRTLProviderProps } from '@nice2dev/ui-core';
326
338
  import { NiceSaveWorkspaceStateRequest } from '@nice2dev/ui-core';
327
339
  import { NiceScrollContainer } from '@nice2dev/ui-core';
328
340
  import { niceSelectors } from '@nice2dev/ui-core';
341
+ import { NiceSideNavRole } from '@nice2dev/ui-core';
329
342
  import { NiceSignalRConfig } from '@nice2dev/ui-core';
330
343
  import { NiceSize } from '@nice2dev/ui-core';
331
344
  import { NiceSkipLink } from '@nice2dev/ui-core';
@@ -345,14 +358,18 @@ import { NiceStandardFieldProps } from '@nice2dev/ui-core';
345
358
  import { NiceStandardProps } from '@nice2dev/ui-core';
346
359
  import { NiceStateIO } from '@nice2dev/ui-core';
347
360
  import { NiceStateSnapshot } from '@nice2dev/ui-core';
361
+ import { NiceSurfaceRole } from '@nice2dev/ui-core';
348
362
  import { NiceSwipeableListItem } from '@nice2dev/ui-core';
349
363
  import { NiceSwipeableListItemProps } from '@nice2dev/ui-core';
350
364
  import { NiceTabDescriptor } from '@nice2dev/ui-core';
351
365
  import { NiceTestWrapper } from '@nice2dev/ui-core';
352
366
  import { NiceTestWrapperProps } from '@nice2dev/ui-core';
353
367
  import { NiceTheme } from '@nice2dev/ui-core';
368
+ import { NiceThemeArchive } from '@nice2dev/ui-core';
354
369
  import { NiceThemeBackgroundImage } from '@nice2dev/ui-core';
355
370
  import { NiceThemeBackgrounds } from '@nice2dev/ui-core';
371
+ import { niceThemeBankingV2 } from '@nice2dev/ui-core';
372
+ import { niceThemeBlackTieGala } from '@nice2dev/ui-core';
356
373
  import { niceThemeBlue } from '@nice2dev/ui-core';
357
374
  import { niceThemeBootstrap } from '@nice2dev/ui-core';
358
375
  import { NiceThemeBorders } from '@nice2dev/ui-core';
@@ -360,20 +377,32 @@ import { NiceThemeColors } from '@nice2dev/ui-core';
360
377
  import { NiceThemeContext } from '@nice2dev/ui-core';
361
378
  import { niceThemeDark } from '@nice2dev/ui-core';
362
379
  import { NiceThemeDarkMode } from '@nice2dev/ui-core';
380
+ import { NiceThemeDiagnostic } from '@nice2dev/ui-core';
363
381
  import { niceThemeFluent } from '@nice2dev/ui-core';
382
+ import { niceThemeFluentV2 } from '@nice2dev/ui-core';
383
+ import { NiceThemeGradient } from '@nice2dev/ui-core';
364
384
  import { niceThemeHighContrast } from '@nice2dev/ui-core';
385
+ import { NiceThemeLayout } from '@nice2dev/ui-core';
365
386
  import { niceThemeLight } from '@nice2dev/ui-core';
366
387
  import { niceThemeMaterial } from '@nice2dev/ui-core';
388
+ import { niceThemeMinimalism } from '@nice2dev/ui-core';
389
+ import { niceThemeObsidianV2 } from '@nice2dev/ui-core';
390
+ import { niceThemeOnyxV2 } from '@nice2dev/ui-core';
367
391
  import { NiceThemePack } from '@nice2dev/ui-core';
368
392
  import { NiceThemePackId } from '@nice2dev/ui-core';
369
393
  import { NiceThemePackMeta } from '@nice2dev/ui-core';
394
+ import { NiceThemePreviewRoles } from '@nice2dev/ui-core';
370
395
  import { NiceThemeProvider } from '@nice2dev/ui-core';
371
396
  import { NiceThemeProviderProps } from '@nice2dev/ui-core';
397
+ import { NiceThemeScrollbar } from '@nice2dev/ui-core';
372
398
  import { NiceThemeShadows } from '@nice2dev/ui-core';
399
+ import { niceThemeShadowV2 } from '@nice2dev/ui-core';
400
+ import { niceThemeSlateV2 } from '@nice2dev/ui-core';
373
401
  import { NiceThemeSpacing } from '@nice2dev/ui-core';
374
402
  import { NiceThemeText } from '@nice2dev/ui-core';
375
403
  import { NiceThemeTransitions } from '@nice2dev/ui-core';
376
404
  import { NiceThemeTypography } from '@nice2dev/ui-core';
405
+ import { NiceThemeValue } from '@nice2dev/ui-core';
377
406
  import { NiceThemeVariantConfigurator } from '@nice2dev/ui-core';
378
407
  import { NiceThemeVariantConfiguratorProps } from '@nice2dev/ui-core';
379
408
  import { NiceThemeVariantProvider } from '@nice2dev/ui-core';
@@ -405,6 +434,7 @@ import { OpenAPIGeneratedUI } from '@nice2dev/ui-core';
405
434
  import { OpenAPIProperty } from '@nice2dev/ui-core';
406
435
  import { OpenAPISchema } from '@nice2dev/ui-core';
407
436
  import { PanGesture } from '@nice2dev/ui-core';
437
+ import { parseThemeRef } from '@nice2dev/ui-core';
408
438
  import { PerformanceMark as PerformanceMark_2 } from '@nice2dev/ui-core';
409
439
  import { PinchGesture } from '@nice2dev/ui-core';
410
440
  import { pivot } from '@nice2dev/ui-core';
@@ -425,11 +455,14 @@ import { ReduxAction } from '@nice2dev/ui-core';
425
455
  import { ReduxMiddleware } from '@nice2dev/ui-core';
426
456
  import { RefAttributes } from 'react';
427
457
  import { removeTheme } from '@nice2dev/ui-core';
458
+ import { renameThemeRef } from '@nice2dev/ui-core';
428
459
  import { RenderStats } from '@nice2dev/ui-core';
429
460
  import { RenderTiming } from '@nice2dev/ui-core';
430
461
  import { resolveCssColor } from '@nice2dev/ui-core';
431
462
  import { resolveDisplayStyleConfig } from '@nice2dev/ui-core';
432
463
  import { resolveStepsI18n } from '@nice2dev/ui-core';
464
+ import { resolveTheme } from '@nice2dev/ui-core';
465
+ import { resolveThemeValue } from '@nice2dev/ui-core';
433
466
  import { resolveTracelessPolicy } from '@nice2dev/ui-core';
434
467
  import { resolveTutorial } from '@nice2dev/ui-core';
435
468
  import { RestAPISyncAdapter } from '@nice2dev/ui-core';
@@ -458,6 +491,10 @@ import { TableStyleVariant } from '@nice2dev/ui-core';
458
491
  import { TabStyleVariant } from '@nice2dev/ui-core';
459
492
  import { takeMemorySnapshot } from '@nice2dev/ui-core';
460
493
  import { testId } from '@nice2dev/ui-core';
494
+ import { THEME_DEFAULT_LINKS } from '@nice2dev/ui-core';
495
+ import { THEME_HEADER_CURVE } from '@nice2dev/ui-core';
496
+ import { THEME_HIGHLIGHT_CURVE } from '@nice2dev/ui-core';
497
+ import { THEME_SURFACE_PATHS } from '@nice2dev/ui-core';
461
498
  import { themeAbyss } from '@nice2dev/ui-core';
462
499
  import { themeAfricanEarth } from '@nice2dev/ui-core';
463
500
  import { themeAmber } from '@nice2dev/ui-core';
@@ -527,7 +564,10 @@ import { themePastelRose } from '@nice2dev/ui-core';
527
564
  import { themePastelSage } from '@nice2dev/ui-core';
528
565
  import { themePastelSky } from '@nice2dev/ui-core';
529
566
  import { themePink } from '@nice2dev/ui-core';
567
+ import { themePreviewRoles } from '@nice2dev/ui-core';
530
568
  import { themeRealEstate } from '@nice2dev/ui-core';
569
+ import { themeRefsIn } from '@nice2dev/ui-core';
570
+ import { themeRefsOf } from '@nice2dev/ui-core';
531
571
  import { themeRetrowave } from '@nice2dev/ui-core';
532
572
  import { themeRose } from '@nice2dev/ui-core';
533
573
  import { themeRuby } from '@nice2dev/ui-core';
@@ -732,6 +772,7 @@ import { withLeakTracking } from '@nice2dev/ui-core';
732
772
  import { withOptimisticUpdates } from '@nice2dev/ui-core';
733
773
  import { withPolling } from '@nice2dev/ui-core';
734
774
  import { withWhyDidYouRender } from '@nice2dev/ui-core';
775
+ import { wouldCreateCycle } from '@nice2dev/ui-core';
735
776
  import { ZustandAdapterConfig } from '@nice2dev/ui-core';
736
777
 
737
778
  export { accessModeAttrs }
@@ -2605,6 +2646,8 @@ declare interface CodeTemplate {
2605
2646
 
2606
2647
  export { CognitiveAccessibilityOptions }
2607
2648
 
2649
+ export { colorSetSnapshot }
2650
+
2608
2651
  export { ColumnFormulas }
2609
2652
 
2610
2653
  /** Column group for multi-level headers ({@link NiceDataGridProps.columnGroups}). */
@@ -3572,6 +3615,8 @@ export { deprecateProp }
3572
3615
 
3573
3616
  export { deprecateSymbol }
3574
3617
 
3618
+ export { deriveColorSet }
3619
+
3575
3620
  /** Derive {@link NiceExportColumn}s from the view's bound cells, falling back to data keys. */
3576
3621
  export declare function deriveExportColumns(view: NiceViewDefinition, rows: Array<Record<string, unknown>>): NiceExportColumn[];
3577
3622
 
@@ -5578,6 +5623,8 @@ export { getRecentTimings }
5578
5623
 
5579
5624
  export { getSlowRenders }
5580
5625
 
5626
+ export { getThemeValue }
5627
+
5581
5628
  export { getTracelessBadgeInfo }
5582
5629
 
5583
5630
  export declare interface GitBlameEntry {
@@ -7331,16 +7378,23 @@ export { NICE_INTENT_EVENT }
7331
7378
 
7332
7379
  export { NICE_INTENTS }
7333
7380
 
7334
- /**
7335
- * Every built-in theme in categories: Theme Packs, Theme Packs Vol. 2, Core, then the gallery's
7336
- * eleven groups. A theme can sit in more than one category (a pack's theme is often a gallery theme
7337
- * too); {@link NICE_THEME_CATALOG_ENTRIES} lists each once.
7338
- */
7381
+ export { NICE_THEME_ARCHIVE }
7382
+
7383
+ /** The archived themes in categories, as the catalog had them before 1.4.0. */
7384
+ export declare const NICE_THEME_ARCHIVE_CATALOG: NiceThemeCatalogCategory[];
7385
+
7386
+ /** Every built-in theme in categories (1.4.0): Premium, Light, Dark. */
7339
7387
  export declare const NICE_THEME_CATALOG: NiceThemeCatalogCategory[];
7340
7388
 
7341
- /** Every catalog theme once, by name — a pack wins over a plain theme of the same name. */
7389
+ /** Every catalog theme once, by name. */
7342
7390
  export declare const NICE_THEME_CATALOG_ENTRIES: NiceThemeCatalogEntry[];
7343
7391
 
7392
+ export { NICE_THEME_CURATED }
7393
+
7394
+ export { NICE_THEME_CURATED_PACKS }
7395
+
7396
+ export { NICE_THEME_DEFAULT }
7397
+
7344
7398
  export { NICE_THEME_GALLERY }
7345
7399
 
7346
7400
  export { NICE_THEME_PACK_FONT_LINKS }
@@ -10146,6 +10200,8 @@ export declare interface NiceCollapsibleCardProps extends Omit<NiceStandardProps
10146
10200
 
10147
10201
  export declare type NiceCollapsibleCardTrigger = 'header' | 'icon';
10148
10202
 
10203
+ export { NiceColorLevel }
10204
+
10149
10205
  export declare const NiceColorPalette: default_2.ForwardRefExoticComponent<NiceColorPaletteProps & default_2.RefAttributes<HTMLDivElement>> & {
10150
10206
  displayName: string;
10151
10207
  };
@@ -10245,6 +10301,10 @@ export declare interface NiceColorPickerProps extends NiceFormFieldProps {
10245
10301
 
10246
10302
  export declare type NiceColorPreset = 'lightest-pastel' | 'bright-pastel' | 'shiny' | 'pastel' | 'full' | 'dark' | 'deep' | 'muted' | 'earth';
10247
10303
 
10304
+ export { NiceColorSet }
10305
+
10306
+ export { NiceColorSetMode }
10307
+
10248
10308
  export declare function NiceColumnChooser(props: NiceColumnChooserProps): default_2.ReactElement | null;
10249
10309
 
10250
10310
  export declare interface NiceColumnChooserColumn {
@@ -20198,6 +20258,8 @@ export declare interface NiceResizableProps extends NiceBaseProps {
20198
20258
  /** Resize handle position for the {@link NiceResizable} component. */
20199
20259
  export declare type NiceResizeHandle = 'top' | 'right' | 'bottom' | 'left' | 'topRight' | 'bottomRight' | 'bottomLeft' | 'topLeft';
20200
20260
 
20261
+ export { NiceResolvedLevel }
20262
+
20201
20263
  /** Resolved permissions for a user. */
20202
20264
  export declare interface NiceResolvedPermissions {
20203
20265
  /** Allowed resource → actions set. */
@@ -20206,6 +20268,8 @@ export declare interface NiceResolvedPermissions {
20206
20268
  denied: Map<string, Set<RbacAction>>;
20207
20269
  }
20208
20270
 
20271
+ export { NiceResolvedTheme }
20272
+
20209
20273
  export { NiceResolvedTutorialStep }
20210
20274
 
20211
20275
  export declare const NiceResourceAllocation: default_2.ForwardRefExoticComponent<NiceResourceAllocationProps & default_2.RefAttributes<NiceResourceAllocationRef>> & {
@@ -21809,6 +21873,8 @@ export declare interface NiceSidebarPrefsResetProps {
21809
21873
  userId?: string;
21810
21874
  }
21811
21875
 
21876
+ export { NiceSideNavRole }
21877
+
21812
21878
  export { NiceSignalRConfig }
21813
21879
 
21814
21880
  export declare const NiceSignature: default_2.ForwardRefExoticComponent<NiceSignatureProps & default_2.RefAttributes<NiceSignatureRef>>;
@@ -22743,6 +22809,8 @@ declare interface NiceSuffixOption {
22743
22809
  weight?: number;
22744
22810
  }
22745
22811
 
22812
+ export { NiceSurfaceRole }
22813
+
22746
22814
  /**
22747
22815
  * {@link NiceSurvey} — no scoring; collects responses and can display aggregate
22748
22816
  * (global) results via `results` / `fetchAggregateResults`.
@@ -23253,10 +23321,16 @@ export declare interface NiceTextInputProps extends Omit<NiceFormFieldProps, 'la
23253
23321
 
23254
23322
  export { NiceTheme }
23255
23323
 
23324
+ export { NiceThemeArchive }
23325
+
23256
23326
  export { NiceThemeBackgroundImage }
23257
23327
 
23258
23328
  export { NiceThemeBackgrounds }
23259
23329
 
23330
+ export { niceThemeBankingV2 }
23331
+
23332
+ export { niceThemeBlackTieGala }
23333
+
23260
23334
  export { niceThemeBlue }
23261
23335
 
23262
23336
  export { niceThemeBootstrap }
@@ -23277,8 +23351,8 @@ export declare interface NiceThemeCatalogEntry {
23277
23351
  theme: NiceTheme;
23278
23352
  /** The pack it comes from: a pack also brings a display style and variants. */
23279
23353
  pack?: NiceThemePack;
23280
- /** Which pack collection (`NICE_THEME_PACK_LIST` or `NICE_THEME_PACK_LIST_EXTENDED`). */
23281
- packList?: 'base' | 'extended';
23354
+ /** Which pack collection: the curated ones (1.4.0), or the archived base / extended packs. */
23355
+ packList?: 'curated' | 'base' | 'extended';
23282
23356
  /** The id of its category. */
23283
23357
  category: string;
23284
23358
  }
@@ -23388,16 +23462,30 @@ export declare interface NiceThemeDesignerProps extends NiceBaseProps {
23388
23462
  export declare type NiceThemeDesignerScreen = 'browser' | 'edit';
23389
23463
 
23390
23464
  /** Editable sections in the {@link NiceThemeDesigner}. */
23391
- export declare type NiceThemeDesignerSection = 'general' | 'colors' | 'backgrounds' | 'background-image' | 'text' | 'borders' | 'spacing' | 'typography' | 'shadows' | 'transitions' | 'nesting';
23465
+ export declare type NiceThemeDesignerSection = 'general' | 'colors' | 'backgrounds' | 'background-image' | 'text' | 'borders' | 'spacing' | 'typography' | 'shadows' | 'transitions' | 'nesting' | 'palette' | 'layout' | 'scrollbar';
23466
+
23467
+ export { NiceThemeDiagnostic }
23392
23468
 
23393
23469
  export { niceThemeFluent }
23394
23470
 
23471
+ export { niceThemeFluentV2 }
23472
+
23473
+ export { NiceThemeGradient }
23474
+
23395
23475
  export { niceThemeHighContrast }
23396
23476
 
23477
+ export { NiceThemeLayout }
23478
+
23397
23479
  export { niceThemeLight }
23398
23480
 
23399
23481
  export { niceThemeMaterial }
23400
23482
 
23483
+ export { niceThemeMinimalism }
23484
+
23485
+ export { niceThemeObsidianV2 }
23486
+
23487
+ export { niceThemeOnyxV2 }
23488
+
23401
23489
  export { NiceThemePack }
23402
23490
 
23403
23491
  export { NiceThemePackId }
@@ -23550,14 +23638,22 @@ export declare interface NiceThemePreviewProps extends NiceBaseProps {
23550
23638
  onTabChange?: (tab: NiceThemePreviewTab) => void;
23551
23639
  }
23552
23640
 
23641
+ export { NiceThemePreviewRoles }
23642
+
23553
23643
  export declare type NiceThemePreviewTab = 'general' | 'forms' | 'data' | 'feedback' | 'navigation';
23554
23644
 
23555
23645
  export { NiceThemeProvider }
23556
23646
 
23557
23647
  export { NiceThemeProviderProps }
23558
23648
 
23649
+ export { NiceThemeScrollbar }
23650
+
23559
23651
  export { NiceThemeShadows }
23560
23652
 
23653
+ export { niceThemeShadowV2 }
23654
+
23655
+ export { niceThemeSlateV2 }
23656
+
23561
23657
  export { NiceThemeSpacing }
23562
23658
 
23563
23659
  export { NiceThemeText }
@@ -23566,6 +23662,8 @@ export { NiceThemeTransitions }
23566
23662
 
23567
23663
  export { NiceThemeTypography }
23568
23664
 
23665
+ export { NiceThemeValue }
23666
+
23569
23667
  export { NiceThemeVariantConfigurator }
23570
23668
 
23571
23669
  export { NiceThemeVariantConfiguratorProps }
@@ -26489,6 +26587,8 @@ export declare function parseCLIArgs(argv: string[]): {
26489
26587
  args: Record<string, string>;
26490
26588
  };
26491
26589
 
26590
+ export { parseThemeRef }
26591
+
26492
26592
  /** Parse design tokens from CSS custom properties. */
26493
26593
  export declare function parseTokensFromCSS(css: string): FigmaDesignToken[];
26494
26594
 
@@ -27370,6 +27470,8 @@ export { removeTheme }
27370
27470
  /** Removes the node with `id` and its subtree. */
27371
27471
  export declare function removeTreeNode<T>(tree: readonly T[], id: string, options?: TreeEditOptions): T[];
27372
27472
 
27473
+ export { renameThemeRef }
27474
+
27373
27475
  export { RenderStats }
27374
27476
 
27375
27477
  export { RenderTiming }
@@ -27491,6 +27593,10 @@ export declare function resolveRolePermissions(roleId: string, roles: readonly N
27491
27593
 
27492
27594
  export { resolveStepsI18n }
27493
27595
 
27596
+ export { resolveTheme }
27597
+
27598
+ export { resolveThemeValue }
27599
+
27494
27600
  export { resolveTracelessPolicy }
27495
27601
 
27496
27602
  export { resolveTutorial }
@@ -29378,6 +29484,14 @@ export declare interface TextAnnotation extends AnnotationBase {
29378
29484
 
29379
29485
  declare type TextStyle = 'professional' | 'casual' | 'formal' | 'concise';
29380
29486
 
29487
+ export { THEME_DEFAULT_LINKS }
29488
+
29489
+ export { THEME_HEADER_CURVE }
29490
+
29491
+ export { THEME_HIGHLIGHT_CURVE }
29492
+
29493
+ export { THEME_SURFACE_PATHS }
29494
+
29381
29495
  export { themeAbyss }
29382
29496
 
29383
29497
  export { themeAfricanEarth }
@@ -29531,8 +29645,16 @@ export declare interface ThemePreviewColors {
29531
29645
  textColor: string;
29532
29646
  /** Border of the thumbnail and of the card (defaults to a translucent overlay). */
29533
29647
  border?: string;
29648
+ /**
29649
+ * The layout's colours (1.4.0, `themePreviewRoles`) — top bar, sidebar with its header levels,
29650
+ * highlight, body, panel. With them `'swatch'` / `'columns'` draws a column per role and `'page'` /
29651
+ * `'layout'` a small app; without them the shapes draw as before.
29652
+ */
29653
+ roles?: NiceThemePreviewRoles;
29534
29654
  }
29535
29655
 
29656
+ export { themePreviewRoles }
29657
+
29536
29658
  /**
29537
29659
  * Renders a tiny "page" or "swatch" thumbnail of a theme.
29538
29660
  *
@@ -29543,12 +29665,20 @@ export declare interface ThemePreviewColors {
29543
29665
  export declare const ThemePreviewSwatch: default_2.FC<{
29544
29666
  colors: ThemePreviewColors;
29545
29667
  size?: number;
29546
- shape?: 'page' | 'swatch';
29668
+ /**
29669
+ * `'page'` (default) — a page in miniature, or with `colors.roles` the app (`'layout'`);
29670
+ * `'swatch'` — stripes, or with roles a column per layout role (`'columns'`).
29671
+ */
29672
+ shape?: 'page' | 'swatch' | 'columns' | 'layout';
29547
29673
  className?: string;
29548
29674
  }>;
29549
29675
 
29550
29676
  export { themeRealEstate }
29551
29677
 
29678
+ export { themeRefsIn }
29679
+
29680
+ export { themeRefsOf }
29681
+
29552
29682
  export { themeRetrowave }
29553
29683
 
29554
29684
  export { themeRose }
@@ -31750,6 +31880,8 @@ export declare interface WorkflowTask {
31750
31880
  parentTaskId?: string;
31751
31881
  }
31752
31882
 
31883
+ export { wouldCreateCycle }
31884
+
31753
31885
  /** Whether `roleId` inheriting `parentId` would close a loop. */
31754
31886
  export declare function wouldCreateRoleCycle(roles: readonly NiceRoleDef[], roleId: string, parentId: string): boolean;
31755
31887