@nice2dev/ui 1.2.2 → 1.3.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.
- package/CHANGELOG.md +474 -0
- package/dist/NiceButton-CnAIqCbd.js +101 -0
- package/dist/NiceButton-DzCqkG5a.cjs +1 -0
- package/dist/NiceCodeEditor-CK6B54mu.js +1215 -0
- package/dist/NiceCodeEditor-bJReZPDO.cjs +268 -0
- package/dist/NiceColorPicker-BV3olE3M.cjs +1 -0
- package/dist/NiceColorPicker-CyY-4q89.js +552 -0
- package/dist/NiceDataGrid-BQIqitMM.cjs +10 -0
- package/dist/NiceDataGrid-C1eI6Pso.js +2267 -0
- package/dist/NiceDataGrid-Cs4vOOTE.js +2267 -0
- package/dist/NiceDataGrid-jZvzaCv3.cjs +10 -0
- package/dist/NiceForm-CfAPcXdX.cjs +1 -0
- package/dist/NiceForm-DYcrWaN1.js +5017 -0
- package/dist/NiceForm-DfKYNQti.js +5017 -0
- package/dist/NiceForm-ZzfYumoR.cjs +1 -0
- package/dist/NiceGantt-TEXbAELi.js +333 -0
- package/dist/NiceGantt-s2cgt5zD.cjs +1 -0
- package/dist/NiceHtmlEditor-CDZeF_zG.cjs +10 -0
- package/dist/NiceHtmlEditor-CdWgddg3.js +901 -0
- package/dist/NiceLoginForm-DRPldHXa.js +808 -0
- package/dist/NiceLoginForm-IGLUCQUE.cjs +1 -0
- package/dist/NiceMention-CgDp0sl9.cjs +430 -0
- package/dist/NiceMention-DBvFvx71.js +11653 -0
- package/dist/NiceMention-VhH0Dllr.cjs +430 -0
- package/dist/NiceMention-cOqXnI0M.js +11653 -0
- package/dist/NiceMention.css +1 -1
- package/dist/NiceModal-BlYhFDhP.js +80 -0
- package/dist/NiceModal-DmWz2PDM.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-BWUYyWfY.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-BdcJATGF.js +7190 -0
- package/dist/NiceModuleLifecyclePanel-D8EoXqBy.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-SN6G7t64.js +7189 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -1
- package/dist/NicePagination-BJS65foT.js +200 -0
- package/dist/NicePagination-D_3GfWp5.cjs +1 -0
- package/dist/NicePivotGrid-D_kRF1Dt.js +1180 -0
- package/dist/NicePivotGrid-DqluEkCI.cjs +152 -0
- package/dist/NiceSavedQueryPanel-C2Tn1cMW.js +5311 -0
- package/dist/NiceSavedQueryPanel-Cs_dypgU.js +5311 -0
- package/dist/NiceSavedQueryPanel-DDKtL1AA.cjs +586 -0
- package/dist/NiceSavedQueryPanel-DTSOHW2v.cjs +586 -0
- package/dist/NiceScheduler-BmHcJLBe.cjs +5 -0
- package/dist/NiceScheduler-DI2sg3Rr.js +1710 -0
- package/dist/NiceScheduler-GJLvkXJ3.cjs +5 -0
- package/dist/NiceScheduler-UT49u2Vq.js +1710 -0
- package/dist/NiceSelect-CdUHd8rj.cjs +1 -0
- package/dist/NiceSelect-fOelG_QB.js +495 -0
- package/dist/NiceWindow-CqSsTjrS.cjs +1 -0
- package/dist/NiceWindow-DZLPhXbR.js +2223 -0
- package/dist/charts-BYQwl_GS.js +4789 -0
- package/dist/charts-C6iOu0H6.cjs +768 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.ts +1 -1
- package/dist/charts.mjs +1 -1
- package/dist/core-lazy-B_laOXNf.cjs +1 -0
- package/dist/core-lazy-BpbIO1EN.cjs +1 -0
- package/dist/core-lazy-L7MVTPp1.js +351 -0
- package/dist/core-lazy-VQEjdz0L.js +351 -0
- package/dist/data-branching-7rpktFJ-.cjs +1 -0
- package/dist/data-branching-BS0aFUMu.js +6428 -0
- package/dist/data-branching.cjs +1 -1
- package/dist/data-branching.mjs +1 -1
- package/dist/data.cjs +1 -1
- package/dist/data.mjs +3 -3
- package/dist/devops-CFytAJQr.cjs +18 -0
- package/dist/devops-CW8YY_zA.js +9122 -0
- package/dist/devops.cjs +1 -1
- package/dist/devops.css +1 -0
- package/dist/devops.mjs +5 -5
- package/dist/editors.cjs +1 -1
- package/dist/editors.mjs +8 -8
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.d.ts +21 -16
- package/dist/feedback.mjs +3 -3
- package/dist/index.cjs +262 -257
- package/dist/index.css +1 -1
- package/dist/index.d.ts +402 -27
- package/dist/index.mjs +21437 -20148
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.mjs +24 -24
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +50 -7
- package/dist/navigation.mjs +404 -354
- package/dist/no-code-BaAI_sJR.js +8318 -0
- package/dist/no-code-oQTeAtnW.cjs +331 -0
- package/dist/no-code.cjs +1 -1
- package/dist/no-code.mjs +1 -1
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.d.ts +5 -0
- package/dist/overlays.mjs +1 -1
- package/dist/pickerCommons-BQi6IEAt.js +661 -0
- package/dist/pickerCommons-CUGHOWyc.cjs +1 -0
- package/dist/pickerCommons-D-dwdCBZ.js +659 -0
- package/dist/pickerCommons-DvQptSPX.cjs +1 -0
- package/dist/pickerCommons.css +1 -1
- package/dist/style.css +8 -5
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ import { checkContrastAAA } from '@nice2dev/ui-core';
|
|
|
35
35
|
import { checkRegression } from '@nice2dev/ui-core';
|
|
36
36
|
import { clearLeakReports } from '@nice2dev/ui-core';
|
|
37
37
|
import { clearProfilingData } from '@nice2dev/ui-core';
|
|
38
|
+
import { clickOnActivationKey } from '@nice2dev/ui-core';
|
|
38
39
|
import { CognitiveAccessibilityOptions } from '@nice2dev/ui-core';
|
|
39
40
|
import { ColumnFormulas } from '@nice2dev/ui-core';
|
|
40
41
|
import { COMMON_SHORTCUTS } from '@nice2dev/ui-core';
|
|
@@ -60,6 +61,7 @@ import { createReactQueryAdapter } from '@nice2dev/ui-core';
|
|
|
60
61
|
import { createRestDataSource } from '@nice2dev/ui-core';
|
|
61
62
|
import { createSignalRDataSource } from '@nice2dev/ui-core';
|
|
62
63
|
import { createSSEDataSource } from '@nice2dev/ui-core';
|
|
64
|
+
import { createTabEscape } from '@nice2dev/ui-core';
|
|
63
65
|
import { createURLStateManager } from '@nice2dev/ui-core';
|
|
64
66
|
import { createUserPreferencesStore } from '@nice2dev/ui-core';
|
|
65
67
|
import { createWebSocketDataSource } from '@nice2dev/ui-core';
|
|
@@ -74,6 +76,7 @@ import { DensityVariant } from '@nice2dev/ui-core';
|
|
|
74
76
|
import { deprecateProp } from '@nice2dev/ui-core';
|
|
75
77
|
import { deprecateSymbol } from '@nice2dev/ui-core';
|
|
76
78
|
import { deserializeTheme } from '@nice2dev/ui-core';
|
|
79
|
+
import { detectGamepadFamily } from '@nice2dev/ui-core';
|
|
77
80
|
import { Dispatch } from 'react';
|
|
78
81
|
import { DisplayPreferences } from '@nice2dev/ui-core';
|
|
79
82
|
import { endMark } from '@nice2dev/ui-core';
|
|
@@ -93,6 +96,8 @@ import { ForwardRefExoticComponent } from 'react';
|
|
|
93
96
|
import { GamepadAction } from '@nice2dev/ui-core';
|
|
94
97
|
import { GamepadAxis } from '@nice2dev/ui-core';
|
|
95
98
|
import { GamepadButton as GamepadButton_2 } from '@nice2dev/ui-core';
|
|
99
|
+
import { gamepadButtonLabel } from '@nice2dev/ui-core';
|
|
100
|
+
import { gamepadGlyphName } from '@nice2dev/ui-core';
|
|
96
101
|
import { GamepadState } from '@nice2dev/ui-core';
|
|
97
102
|
import { generateBadgeStyles } from '@nice2dev/ui-core';
|
|
98
103
|
import { generateButtonStyles } from '@nice2dev/ui-core';
|
|
@@ -113,6 +118,7 @@ import { getComponentStats } from '@nice2dev/ui-core';
|
|
|
113
118
|
import { getComponentStyleFromConfig } from '@nice2dev/ui-core';
|
|
114
119
|
import { getComputedTheme } from '@nice2dev/ui-core';
|
|
115
120
|
import { getDisplayStyleDataAttrs } from '@nice2dev/ui-core';
|
|
121
|
+
import { getInputEngine } from '@nice2dev/ui-core';
|
|
116
122
|
import { getLeakReports } from '@nice2dev/ui-core';
|
|
117
123
|
import { getLeakSummary } from '@nice2dev/ui-core';
|
|
118
124
|
import { getNiceAnimationClass } from '@nice2dev/ui-core';
|
|
@@ -164,6 +170,9 @@ import { NICE_BREAKPOINTS } from '@nice2dev/ui-core';
|
|
|
164
170
|
import { NICE_BUILTIN_ICONS } from '@nice2dev/ui-core';
|
|
165
171
|
import { NICE_DISPLAY_STYLE_INFO } from '@nice2dev/ui-core';
|
|
166
172
|
import { NICE_DISPLAY_STYLES } from '@nice2dev/ui-core';
|
|
173
|
+
import { NICE_INPUT_DEFAULTS } from '@nice2dev/ui-core';
|
|
174
|
+
import { NICE_INTENT_EVENT } from '@nice2dev/ui-core';
|
|
175
|
+
import { NICE_INTENTS } from '@nice2dev/ui-core';
|
|
167
176
|
import { NICE_THEME_GALLERY } from '@nice2dev/ui-core';
|
|
168
177
|
import { NICE_THEME_PACK_FONT_LINKS } from '@nice2dev/ui-core';
|
|
169
178
|
import { NICE_THEME_PACK_FONT_LINKS_EXTENDED } from '@nice2dev/ui-core';
|
|
@@ -178,6 +187,8 @@ import { NiceAccessControl } from '@nice2dev/ui-core';
|
|
|
178
187
|
import { NiceAccessControlProps } from '@nice2dev/ui-core';
|
|
179
188
|
import { NiceAccessMode } from '@nice2dev/ui-core';
|
|
180
189
|
import { NiceAccessPermissions } from '@nice2dev/ui-core';
|
|
190
|
+
import { NiceAction } from '@nice2dev/ui-core';
|
|
191
|
+
import { NiceActivationKeyEvent } from '@nice2dev/ui-core';
|
|
181
192
|
import { NiceAIContextValue } from '@nice2dev/ui-core';
|
|
182
193
|
import { NiceAIProvider } from '@nice2dev/ui-core';
|
|
183
194
|
import { NiceAnimationConfig } from '@nice2dev/ui-core';
|
|
@@ -188,6 +199,8 @@ import { NiceArrayDataSourceConfig } from '@nice2dev/ui-core';
|
|
|
188
199
|
import { NiceBaseProps } from '@nice2dev/ui-core';
|
|
189
200
|
import { NiceBreakpoint } from '@nice2dev/ui-core';
|
|
190
201
|
import { NiceBreakpoints } from '@nice2dev/ui-core';
|
|
202
|
+
import { NiceButtonPrompt } from '@nice2dev/ui-core';
|
|
203
|
+
import { NiceButtonPromptProps } from '@nice2dev/ui-core';
|
|
191
204
|
import { NiceCacheConfig } from '@nice2dev/ui-core';
|
|
192
205
|
import { NiceChangeMeta } from '@nice2dev/ui-core';
|
|
193
206
|
import { NiceChangeReason } from '@nice2dev/ui-core';
|
|
@@ -212,6 +225,7 @@ import { NiceDisplayStyleContext } from '@nice2dev/ui-core';
|
|
|
212
225
|
import { NiceDisplayStyleContextValue } from '@nice2dev/ui-core';
|
|
213
226
|
import { NiceDisplayStyleInfo } from '@nice2dev/ui-core';
|
|
214
227
|
import { NiceEditorSize } from '@nice2dev/ui-core';
|
|
228
|
+
import { NiceEngageKind } from '@nice2dev/ui-core';
|
|
215
229
|
import { NiceEntityMenuDto } from '@nice2dev/ui-core';
|
|
216
230
|
import { NiceFavoriteItem } from '@nice2dev/ui-core';
|
|
217
231
|
import { NiceFieldState } from '@nice2dev/ui-core';
|
|
@@ -225,7 +239,14 @@ import { NiceFilterGroup } from '@nice2dev/ui-core';
|
|
|
225
239
|
import { NiceFilterOperator } from '@nice2dev/ui-core';
|
|
226
240
|
import { NiceFocusable } from '@nice2dev/ui-core';
|
|
227
241
|
import { NiceFocusableProps } from '@nice2dev/ui-core';
|
|
242
|
+
import { NiceFocusScope } from '@nice2dev/ui-core';
|
|
243
|
+
import { NiceFocusScopeOptions } from '@nice2dev/ui-core';
|
|
244
|
+
import { NiceFocusScopeProps } from '@nice2dev/ui-core';
|
|
228
245
|
import { NiceFormFieldProps } from '@nice2dev/ui-core';
|
|
246
|
+
import { NiceGamepadButton } from '@nice2dev/ui-core';
|
|
247
|
+
import { NiceGamepadButtonAlias } from '@nice2dev/ui-core';
|
|
248
|
+
import { NiceGamepadFamily } from '@nice2dev/ui-core';
|
|
249
|
+
import { NiceGamepadInfo } from '@nice2dev/ui-core';
|
|
229
250
|
import { NiceGraphQLConfig } from '@nice2dev/ui-core';
|
|
230
251
|
import { NiceHelpIcon } from '@nice2dev/ui-core';
|
|
231
252
|
import { NiceHelpIconProps } from '@nice2dev/ui-core';
|
|
@@ -245,8 +266,23 @@ import { NiceInfiniteScrollConfig } from '@nice2dev/ui-core';
|
|
|
245
266
|
import { NiceInfiniteScrollState } from '@nice2dev/ui-core';
|
|
246
267
|
import { NiceInlineHelp } from '@nice2dev/ui-core';
|
|
247
268
|
import { NiceInlineHelpProps } from '@nice2dev/ui-core';
|
|
269
|
+
import { NiceInputEngine } from '@nice2dev/ui-core';
|
|
270
|
+
import { NiceInputHint } from '@nice2dev/ui-core';
|
|
271
|
+
import { NiceInputHintBar } from '@nice2dev/ui-core';
|
|
272
|
+
import { NiceInputHintBarProps } from '@nice2dev/ui-core';
|
|
273
|
+
import { NiceInputMethod } from '@nice2dev/ui-core';
|
|
274
|
+
import { NiceInputPreferences } from '@nice2dev/ui-core';
|
|
275
|
+
import { NiceInputProvider } from '@nice2dev/ui-core';
|
|
276
|
+
import { NiceInputProviderProps } from '@nice2dev/ui-core';
|
|
277
|
+
import { NiceInputSource } from '@nice2dev/ui-core';
|
|
278
|
+
import { NiceInputState } from '@nice2dev/ui-core';
|
|
279
|
+
import { NiceIntent } from '@nice2dev/ui-core';
|
|
280
|
+
import { NiceIntentDetail } from '@nice2dev/ui-core';
|
|
248
281
|
import { NiceKeyboardHint } from '@nice2dev/ui-core';
|
|
249
282
|
import { NiceKeyboardHintProps } from '@nice2dev/ui-core';
|
|
283
|
+
import { NiceKeyboardLanguage } from '@nice2dev/ui-core';
|
|
284
|
+
import { NiceKeyCap } from '@nice2dev/ui-core';
|
|
285
|
+
import { NiceKeyCapProps } from '@nice2dev/ui-core';
|
|
250
286
|
import { NiceLoadOptions } from '@nice2dev/ui-core';
|
|
251
287
|
import { NiceLoadResult } from '@nice2dev/ui-core';
|
|
252
288
|
import { NiceLookupSourceState } from '@nice2dev/ui-core';
|
|
@@ -254,6 +290,7 @@ import { NiceModeInfo } from '@nice2dev/ui-core';
|
|
|
254
290
|
import { NiceModuleInfo } from '@nice2dev/ui-core';
|
|
255
291
|
import { NiceModuleMenuDto } from '@nice2dev/ui-core';
|
|
256
292
|
import { NiceModuleStatus } from '@nice2dev/ui-core';
|
|
293
|
+
import { NiceNavDirection } from '@nice2dev/ui-core';
|
|
257
294
|
import { NiceODataConfig } from '@nice2dev/ui-core';
|
|
258
295
|
import { NiceOfflineFirstConfig } from '@nice2dev/ui-core';
|
|
259
296
|
import { NiceOnboardingAnswer } from '@nice2dev/ui-core';
|
|
@@ -269,6 +306,7 @@ import { NicePollingConfig } from '@nice2dev/ui-core';
|
|
|
269
306
|
import { NicePreferencesPanel } from '@nice2dev/ui-core';
|
|
270
307
|
import { NicePreferencesPanelProps } from '@nice2dev/ui-core';
|
|
271
308
|
import { NiceProfiler } from '@nice2dev/ui-core';
|
|
309
|
+
import { NicePromptDevice } from '@nice2dev/ui-core';
|
|
272
310
|
import { NicePullToRefresh } from '@nice2dev/ui-core';
|
|
273
311
|
import { NicePullToRefreshProps } from '@nice2dev/ui-core';
|
|
274
312
|
import { NiceQuickAction } from '@nice2dev/ui-core';
|
|
@@ -394,6 +432,7 @@ import { resolveStepsI18n } from '@nice2dev/ui-core';
|
|
|
394
432
|
import { resolveTracelessPolicy } from '@nice2dev/ui-core';
|
|
395
433
|
import { resolveTutorial } from '@nice2dev/ui-core';
|
|
396
434
|
import { RestAPISyncAdapter } from '@nice2dev/ui-core';
|
|
435
|
+
import { RovingFocusControls } from '@nice2dev/ui-core';
|
|
397
436
|
import { SafeAreaInsets } from '@nice2dev/ui-core';
|
|
398
437
|
import { saveBaseline } from '@nice2dev/ui-core';
|
|
399
438
|
import { ScreenOrientation as ScreenOrientation_2 } from '@nice2dev/ui-core';
|
|
@@ -520,6 +559,8 @@ import { themeWarmGray } from '@nice2dev/ui-core';
|
|
|
520
559
|
import { themeWine } from '@nice2dev/ui-core';
|
|
521
560
|
import { themeWinterFrost } from '@nice2dev/ui-core';
|
|
522
561
|
import { themeZinc } from '@nice2dev/ui-core';
|
|
562
|
+
import { toAriaKeyShortcuts } from '@nice2dev/ui-core';
|
|
563
|
+
import { toGamepadButton } from '@nice2dev/ui-core';
|
|
523
564
|
import { ToggleStyleVariant } from '@nice2dev/ui-core';
|
|
524
565
|
import { TooltipStyleVariant } from '@nice2dev/ui-core';
|
|
525
566
|
import { TouchPoint } from '@nice2dev/ui-core';
|
|
@@ -534,6 +575,7 @@ import { TracelessPolicySource } from '@nice2dev/ui-core';
|
|
|
534
575
|
import { TracelessTenantPolicy } from '@nice2dev/ui-core';
|
|
535
576
|
import { TracelessUserPreference } from '@nice2dev/ui-core';
|
|
536
577
|
import { triggerHaptic } from '@nice2dev/ui-core';
|
|
578
|
+
import { triggerNiceAction } from '@nice2dev/ui-core';
|
|
537
579
|
import { useAdaptiveVariant } from '@nice2dev/ui-core';
|
|
538
580
|
import { UseAdaptiveVariantOptions } from '@nice2dev/ui-core';
|
|
539
581
|
import { useAICompletion } from '@nice2dev/ui-core';
|
|
@@ -549,6 +591,7 @@ import { useCognitiveAccessibility } from '@nice2dev/ui-core';
|
|
|
549
591
|
import { useComponentDisplayClass } from '@nice2dev/ui-core';
|
|
550
592
|
import { useComponentDisplayStyle } from '@nice2dev/ui-core';
|
|
551
593
|
import { useComponentHelp } from '@nice2dev/ui-core';
|
|
594
|
+
import { useConnectedGamepads } from '@nice2dev/ui-core';
|
|
552
595
|
import { useContainerSize } from '@nice2dev/ui-core';
|
|
553
596
|
import { UseContainerSizeResult } from '@nice2dev/ui-core';
|
|
554
597
|
import { useControlId } from '@nice2dev/ui-core';
|
|
@@ -562,23 +605,41 @@ import { useDevice } from '@nice2dev/ui-core';
|
|
|
562
605
|
import { UseDeviceResult } from '@nice2dev/ui-core';
|
|
563
606
|
import { useDisplayAnimation } from '@nice2dev/ui-core';
|
|
564
607
|
import { useDisplayDensity } from '@nice2dev/ui-core';
|
|
608
|
+
import { useEngage } from '@nice2dev/ui-core';
|
|
609
|
+
import { UseEngageOptions } from '@nice2dev/ui-core';
|
|
565
610
|
import { useFocusManagement } from '@nice2dev/ui-core';
|
|
611
|
+
import { useFocusScope } from '@nice2dev/ui-core';
|
|
566
612
|
import { useFocusTrap } from '@nice2dev/ui-core';
|
|
567
613
|
import { useFormGeneration } from '@nice2dev/ui-core';
|
|
568
614
|
import { useGamepad } from '@nice2dev/ui-core';
|
|
615
|
+
import { useGamepadFamily } from '@nice2dev/ui-core';
|
|
569
616
|
import { UseGamepadOptions } from '@nice2dev/ui-core';
|
|
617
|
+
import { useGridFocus } from '@nice2dev/ui-core';
|
|
618
|
+
import { UseGridFocusOptions } from '@nice2dev/ui-core';
|
|
570
619
|
import { useGridPreferences } from '@nice2dev/ui-core';
|
|
571
620
|
import { useHaptic } from '@nice2dev/ui-core';
|
|
621
|
+
import { useHintsVisible } from '@nice2dev/ui-core';
|
|
622
|
+
import { useInputEngine } from '@nice2dev/ui-core';
|
|
623
|
+
import { useInputHints } from '@nice2dev/ui-core';
|
|
624
|
+
import { useInputMethod } from '@nice2dev/ui-core';
|
|
572
625
|
import { useInputMode } from '@nice2dev/ui-core';
|
|
626
|
+
import { useInputPreferences } from '@nice2dev/ui-core';
|
|
627
|
+
import { useInputState } from '@nice2dev/ui-core';
|
|
628
|
+
import { useIntent } from '@nice2dev/ui-core';
|
|
629
|
+
import { UseIntentOptions } from '@nice2dev/ui-core';
|
|
573
630
|
import { useIsTouchDevice } from '@nice2dev/ui-core';
|
|
574
631
|
import { useLiveAnnouncement } from '@nice2dev/ui-core';
|
|
575
632
|
import { useLongPress } from '@nice2dev/ui-core';
|
|
576
633
|
import { useMeasureEffect } from '@nice2dev/ui-core';
|
|
577
634
|
import { useMediaQuery } from '@nice2dev/ui-core';
|
|
578
635
|
import { useMemoryMonitor } from '@nice2dev/ui-core';
|
|
636
|
+
import { useMenuButton } from '@nice2dev/ui-core';
|
|
637
|
+
import { UseMenuButtonOptions } from '@nice2dev/ui-core';
|
|
579
638
|
import { useNaturalLanguageFilter } from '@nice2dev/ui-core';
|
|
580
639
|
import { useNiceA11y } from '@nice2dev/ui-core';
|
|
581
640
|
import { useNiceAccessMode } from '@nice2dev/ui-core';
|
|
641
|
+
import { useNiceAction } from '@nice2dev/ui-core';
|
|
642
|
+
import { useNiceActions } from '@nice2dev/ui-core';
|
|
582
643
|
import { useNiceAI } from '@nice2dev/ui-core';
|
|
583
644
|
import { useNiceCollapse } from '@nice2dev/ui-core';
|
|
584
645
|
import { UseNiceCollapseOptions } from '@nice2dev/ui-core';
|
|
@@ -600,6 +661,8 @@ import { useNiceTranslation } from '@nice2dev/ui-core';
|
|
|
600
661
|
import { useNiceTutorials } from '@nice2dev/ui-core';
|
|
601
662
|
import { useNiceTutorialsEnabled } from '@nice2dev/ui-core';
|
|
602
663
|
import { useOrientation } from '@nice2dev/ui-core';
|
|
664
|
+
import { useOverlayFocus } from '@nice2dev/ui-core';
|
|
665
|
+
import { UseOverlayFocusOptions } from '@nice2dev/ui-core';
|
|
603
666
|
import { usePan } from '@nice2dev/ui-core';
|
|
604
667
|
import { UsePanOptions } from '@nice2dev/ui-core';
|
|
605
668
|
import { UsePanResult } from '@nice2dev/ui-core';
|
|
@@ -614,6 +677,8 @@ import { useResolvedDisplayStyle } from '@nice2dev/ui-core';
|
|
|
614
677
|
import { useResponsiveValue } from '@nice2dev/ui-core';
|
|
615
678
|
import { useRestoreFocus } from '@nice2dev/ui-core';
|
|
616
679
|
import { useRouteAnnouncement } from '@nice2dev/ui-core';
|
|
680
|
+
import { useRovingFocus } from '@nice2dev/ui-core';
|
|
681
|
+
import { UseRovingFocusOptions } from '@nice2dev/ui-core';
|
|
617
682
|
import { useRovingTabIndex } from '@nice2dev/ui-core';
|
|
618
683
|
import { UseRovingTabIndexOptions } from '@nice2dev/ui-core';
|
|
619
684
|
import { UserPreferencesStore } from '@nice2dev/ui-core';
|
|
@@ -639,6 +704,8 @@ import { UseSwipeOptions } from '@nice2dev/ui-core';
|
|
|
639
704
|
import { UseSwipeResult } from '@nice2dev/ui-core';
|
|
640
705
|
import { useTextImprovement } from '@nice2dev/ui-core';
|
|
641
706
|
import { useThemeVariants } from '@nice2dev/ui-core';
|
|
707
|
+
import { useTreeFocus } from '@nice2dev/ui-core';
|
|
708
|
+
import { UseTreeFocusOptions } from '@nice2dev/ui-core';
|
|
642
709
|
import { useUnmountLog } from '@nice2dev/ui-core';
|
|
643
710
|
import { useUserPreferences } from '@nice2dev/ui-core';
|
|
644
711
|
import { useVirtualKeyboard } from '@nice2dev/ui-core';
|
|
@@ -2369,6 +2436,8 @@ export declare interface CLIArg {
|
|
|
2369
2436
|
default?: string;
|
|
2370
2437
|
}
|
|
2371
2438
|
|
|
2439
|
+
export { clickOnActivationKey }
|
|
2440
|
+
|
|
2372
2441
|
/**
|
|
2373
2442
|
* NiceCLI — CLI scaffolding and configuration tool for @nice2dev/ui.
|
|
2374
2443
|
*
|
|
@@ -3183,6 +3252,8 @@ export { createSSEDataSource }
|
|
|
3183
3252
|
/** Define a set of standard ERP API contracts (views, modules, feature flags). */
|
|
3184
3253
|
export declare function createStandardErpContracts(): NiceApiContract[];
|
|
3185
3254
|
|
|
3255
|
+
export { createTabEscape }
|
|
3256
|
+
|
|
3186
3257
|
/**
|
|
3187
3258
|
* Creates a Zustand-compatible undo middleware.
|
|
3188
3259
|
* Usage:
|
|
@@ -3548,6 +3619,8 @@ export declare interface DetectedFace {
|
|
|
3548
3619
|
thumbnailUrl?: string;
|
|
3549
3620
|
}
|
|
3550
3621
|
|
|
3622
|
+
export { detectGamepadFamily }
|
|
3623
|
+
|
|
3551
3624
|
export declare type DeviceCategory = 'light' | 'switch' | 'thermostat' | 'cover' | 'lock' | 'climate' | 'alarm' | 'media-player' | 'gate' | 'energy-meter';
|
|
3552
3625
|
|
|
3553
3626
|
declare interface DevToolsConfig {
|
|
@@ -5290,6 +5363,10 @@ export { GamepadAxis }
|
|
|
5290
5363
|
|
|
5291
5364
|
export { GamepadButton_2 as GamepadButton }
|
|
5292
5365
|
|
|
5366
|
+
export { gamepadButtonLabel }
|
|
5367
|
+
|
|
5368
|
+
export { gamepadGlyphName }
|
|
5369
|
+
|
|
5293
5370
|
export { GamepadState }
|
|
5294
5371
|
|
|
5295
5372
|
/**
|
|
@@ -5436,6 +5513,8 @@ export { getComputedTheme }
|
|
|
5436
5513
|
|
|
5437
5514
|
export { getDisplayStyleDataAttrs }
|
|
5438
5515
|
|
|
5516
|
+
export { getInputEngine }
|
|
5517
|
+
|
|
5439
5518
|
export { getLeakReports }
|
|
5440
5519
|
|
|
5441
5520
|
export { getLeakSummary }
|
|
@@ -7138,6 +7217,12 @@ export { NICE_DISPLAY_STYLE_INFO }
|
|
|
7138
7217
|
|
|
7139
7218
|
export { NICE_DISPLAY_STYLES }
|
|
7140
7219
|
|
|
7220
|
+
export { NICE_INPUT_DEFAULTS }
|
|
7221
|
+
|
|
7222
|
+
export { NICE_INTENT_EVENT }
|
|
7223
|
+
|
|
7224
|
+
export { NICE_INTENTS }
|
|
7225
|
+
|
|
7141
7226
|
export { NICE_THEME_GALLERY }
|
|
7142
7227
|
|
|
7143
7228
|
export { NICE_THEME_PACK_FONT_LINKS }
|
|
@@ -7317,6 +7402,8 @@ export declare interface NiceAchievementBadgeProps {
|
|
|
7317
7402
|
id?: string;
|
|
7318
7403
|
}
|
|
7319
7404
|
|
|
7405
|
+
export { NiceAction }
|
|
7406
|
+
|
|
7320
7407
|
export declare const NiceActionBuilder: ForwardRefExoticComponent<NiceActionBuilderProps & RefAttributes<HTMLDivElement>>;
|
|
7321
7408
|
|
|
7322
7409
|
export declare interface NiceActionBuilderProps {
|
|
@@ -7400,6 +7487,8 @@ export declare interface NiceActionSheetProps extends NiceBaseProps {
|
|
|
7400
7487
|
error?: string;
|
|
7401
7488
|
}
|
|
7402
7489
|
|
|
7490
|
+
export { NiceActivationKeyEvent }
|
|
7491
|
+
|
|
7403
7492
|
/**
|
|
7404
7493
|
* Composite address editor. Wraps a 1- or 2-column grid of sub-inputs in a standard
|
|
7405
7494
|
* `nice-field`. Honours all `NiceFormFieldProps` (loading/error/helperText/size/
|
|
@@ -7782,6 +7871,8 @@ export declare interface NiceAppShellProps extends NiceBaseProps {
|
|
|
7782
7871
|
* controls its own look and size. Default false.
|
|
7783
7872
|
*/
|
|
7784
7873
|
flush?: boolean;
|
|
7874
|
+
/** Button hint bar in pad and remote modes (1.3.0, default `bottom`; `none` hides it). */
|
|
7875
|
+
hintBar?: NiceShellHintBar;
|
|
7785
7876
|
}
|
|
7786
7877
|
|
|
7787
7878
|
export { NiceAriaProps }
|
|
@@ -8734,6 +8825,10 @@ export declare interface NiceButtonGroupProps extends NiceBaseProps {
|
|
|
8734
8825
|
errorPlacement?: 'bottom' | 'right';
|
|
8735
8826
|
}
|
|
8736
8827
|
|
|
8828
|
+
export { NiceButtonPrompt }
|
|
8829
|
+
|
|
8830
|
+
export { NiceButtonPromptProps }
|
|
8831
|
+
|
|
8737
8832
|
/** Props for the {@link NiceButton} component. */
|
|
8738
8833
|
export declare interface NiceButtonProps extends NiceBaseProps {
|
|
8739
8834
|
/** Button content (text, icons, etc.). */
|
|
@@ -8762,6 +8857,29 @@ export declare interface NiceButtonProps extends NiceBaseProps {
|
|
|
8762
8857
|
errorPlacement?: 'bottom' | 'right';
|
|
8763
8858
|
/** Accessible label — applied as `aria-label` (use for icon-only buttons). */
|
|
8764
8859
|
ariaLabel?: string;
|
|
8860
|
+
/** Role when the button acts as a tab, option or menu item in a composite (1.3.0). */
|
|
8861
|
+
role?: string;
|
|
8862
|
+
'aria-selected'?: boolean;
|
|
8863
|
+
'aria-pressed'?: boolean | 'mixed';
|
|
8864
|
+
'aria-expanded'?: boolean;
|
|
8865
|
+
'aria-controls'?: string;
|
|
8866
|
+
'aria-haspopup'?: boolean | 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid';
|
|
8867
|
+
/** Shortcut that activates the button, in the ARIA spelling (`'Control+S'`). */
|
|
8868
|
+
'aria-keyshortcuts'?: string;
|
|
8869
|
+
tabIndex?: number;
|
|
8870
|
+
onKeyDown?: (e: default_2.KeyboardEvent<HTMLButtonElement>) => void;
|
|
8871
|
+
/**
|
|
8872
|
+
* The button or keys that trigger this button's action, shown next to its label while hints
|
|
8873
|
+
* are visible (1.3.0): an intent (follows the user's bindings), or keys / a pad button. Keys
|
|
8874
|
+
* also become `aria-keyshortcuts`. Display only — bind the action with `useNiceAction`.
|
|
8875
|
+
*/
|
|
8876
|
+
hint?: NiceIntent | {
|
|
8877
|
+
intent?: NiceIntent;
|
|
8878
|
+
keys?: string;
|
|
8879
|
+
button?: NiceGamepadButton | NiceGamepadButtonAlias;
|
|
8880
|
+
};
|
|
8881
|
+
/** Show the hint whenever hints are visible, not only with "hints next to controls". */
|
|
8882
|
+
showHint?: boolean;
|
|
8765
8883
|
}
|
|
8766
8884
|
|
|
8767
8885
|
export { NiceCacheConfig }
|
|
@@ -9037,6 +9155,11 @@ export declare interface NiceCascadeOption {
|
|
|
9037
9155
|
* either commit the selection (leaf) or open its children in
|
|
9038
9156
|
* column N+1. The selected path renders as `Label1 / Label2 / …`.
|
|
9039
9157
|
*
|
|
9158
|
+
* Keyboard and pad (1.3.0): ↓ / ↑ on the trigger open it on the selected path; each column is a
|
|
9159
|
+
* listbox (↑ ↓ Home End, letters); → or Enter opens an option's children and moves into them, ←
|
|
9160
|
+
* goes back to the parent column, Enter / Space on a leaf commits; Escape (B) closes and focus
|
|
9161
|
+
* returns to the trigger.
|
|
9162
|
+
*
|
|
9040
9163
|
* Built without portals so it lives inside the document flow — fine
|
|
9041
9164
|
* for sidebar pickers; consumers wrapping into modals should bring
|
|
9042
9165
|
* their own positioning if needed.
|
|
@@ -10146,6 +10269,11 @@ export declare interface NiceCommandPaletteProps {
|
|
|
10146
10269
|
onOpen?: () => void;
|
|
10147
10270
|
/** Called when palette closes */
|
|
10148
10271
|
onClose?: () => void;
|
|
10272
|
+
/**
|
|
10273
|
+
* List the application actions declared with `useNiceAction` (1.3.0, default true) next to the
|
|
10274
|
+
* registered commands.
|
|
10275
|
+
*/
|
|
10276
|
+
includeActions?: boolean;
|
|
10149
10277
|
}
|
|
10150
10278
|
|
|
10151
10279
|
export declare const NiceCommandPaletteProvider: default_2.FC<NiceCommandPaletteProviderProps>;
|
|
@@ -11098,6 +11226,8 @@ export declare interface NiceDashboardShellProps extends NiceBaseProps {
|
|
|
11098
11226
|
sidePanelWidth?: number;
|
|
11099
11227
|
/** Main dashboard content (widgets grid). */
|
|
11100
11228
|
children?: React.ReactNode;
|
|
11229
|
+
/** Button hint bar in pad and remote modes (1.3.0, default `bottom`; `none` hides it). */
|
|
11230
|
+
hintBar?: NiceShellHintBar;
|
|
11101
11231
|
}
|
|
11102
11232
|
|
|
11103
11233
|
export declare const NiceDataBranchGraph: default_2.FC<NiceDataBranchGraphProps>;
|
|
@@ -12714,6 +12844,8 @@ export declare interface NiceEnergyChartProps extends NiceBaseProps {
|
|
|
12714
12844
|
onDrillDown?: (bucket: string) => void;
|
|
12715
12845
|
}
|
|
12716
12846
|
|
|
12847
|
+
export { NiceEngageKind }
|
|
12848
|
+
|
|
12717
12849
|
/** Minimal entity field descriptor (OmniVerk `ModuleEntityField`-compatible). */
|
|
12718
12850
|
export declare interface NiceEntityFieldLike {
|
|
12719
12851
|
name: string;
|
|
@@ -13341,6 +13473,12 @@ export { NiceFocusable }
|
|
|
13341
13473
|
|
|
13342
13474
|
export { NiceFocusableProps }
|
|
13343
13475
|
|
|
13476
|
+
export { NiceFocusScope }
|
|
13477
|
+
|
|
13478
|
+
export { NiceFocusScopeOptions }
|
|
13479
|
+
|
|
13480
|
+
export { NiceFocusScopeProps }
|
|
13481
|
+
|
|
13344
13482
|
/**
|
|
13345
13483
|
* Cycles Tab / Shift+Tab between the first and last focusable
|
|
13346
13484
|
* descendants. Use inside modals, dialogs, drawers — anywhere
|
|
@@ -13662,6 +13800,14 @@ export declare interface NiceGalleryProps extends NiceStandardProps {
|
|
|
13662
13800
|
|
|
13663
13801
|
export declare const NiceGamepad: default_2.FC<NiceGamepadProps>;
|
|
13664
13802
|
|
|
13803
|
+
export { NiceGamepadButton }
|
|
13804
|
+
|
|
13805
|
+
export { NiceGamepadButtonAlias }
|
|
13806
|
+
|
|
13807
|
+
export { NiceGamepadFamily }
|
|
13808
|
+
|
|
13809
|
+
export { NiceGamepadInfo }
|
|
13810
|
+
|
|
13665
13811
|
export declare interface NiceGamepadProps extends Omit<NiceDeviceTileProps, 'children'> {
|
|
13666
13812
|
/** 'compact' = micro silhouette icon (default); 'full' = labeled layout. */
|
|
13667
13813
|
view?: 'full' | 'compact';
|
|
@@ -14556,6 +14702,16 @@ export { NiceInlineHelp }
|
|
|
14556
14702
|
|
|
14557
14703
|
export { NiceInlineHelpProps }
|
|
14558
14704
|
|
|
14705
|
+
export { NiceInputEngine }
|
|
14706
|
+
|
|
14707
|
+
export { NiceInputHint }
|
|
14708
|
+
|
|
14709
|
+
export { NiceInputHintBar }
|
|
14710
|
+
|
|
14711
|
+
export { NiceInputHintBarProps }
|
|
14712
|
+
|
|
14713
|
+
export { NiceInputMethod }
|
|
14714
|
+
|
|
14559
14715
|
export declare const NiceInputOtp: default_2.ForwardRefExoticComponent<NiceInputOtpProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14560
14716
|
displayName: string;
|
|
14561
14717
|
};
|
|
@@ -14576,6 +14732,27 @@ export declare interface NiceInputOtpProps extends NiceFormFieldProps {
|
|
|
14576
14732
|
cellWidth?: number | string;
|
|
14577
14733
|
}
|
|
14578
14734
|
|
|
14735
|
+
export { NiceInputPreferences }
|
|
14736
|
+
|
|
14737
|
+
export { NiceInputProvider }
|
|
14738
|
+
|
|
14739
|
+
export { NiceInputProviderProps }
|
|
14740
|
+
|
|
14741
|
+
export declare const NiceInputSettings: (({ sections, className, style, id, "data-testid": testId, }: NiceInputSettingsProps) => default_2.JSX.Element) & {
|
|
14742
|
+
displayName: string;
|
|
14743
|
+
};
|
|
14744
|
+
|
|
14745
|
+
export declare interface NiceInputSettingsProps extends NiceBaseProps {
|
|
14746
|
+
/** Sections to show, in this order (default all). */
|
|
14747
|
+
sections?: NiceInputSettingsSection[];
|
|
14748
|
+
}
|
|
14749
|
+
|
|
14750
|
+
export declare type NiceInputSettingsSection = 'gamepad' | 'hints' | 'navigation' | 'bindings';
|
|
14751
|
+
|
|
14752
|
+
export { NiceInputSource }
|
|
14753
|
+
|
|
14754
|
+
export { NiceInputState }
|
|
14755
|
+
|
|
14579
14756
|
export declare const NiceInstallPrompt: default_2.ForwardRefExoticComponent<NiceInstallPromptProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14580
14757
|
displayName: string;
|
|
14581
14758
|
};
|
|
@@ -14695,6 +14872,10 @@ export declare interface NiceIntegrationHubProps extends NiceBaseProps {
|
|
|
14695
14872
|
showMonitoring?: boolean;
|
|
14696
14873
|
}
|
|
14697
14874
|
|
|
14875
|
+
export { NiceIntent }
|
|
14876
|
+
|
|
14877
|
+
export { NiceIntentDetail }
|
|
14878
|
+
|
|
14698
14879
|
/**
|
|
14699
14880
|
* {@link NiceInvoiceLineEditor} — Editable grid for invoice/order line items with auto-calculated
|
|
14700
14881
|
* net/gross amounts, VAT breakdown, discounts and totals.
|
|
@@ -14854,6 +15035,10 @@ export { NiceKeyboardHint }
|
|
|
14854
15035
|
|
|
14855
15036
|
export { NiceKeyboardHintProps }
|
|
14856
15037
|
|
|
15038
|
+
export { NiceKeyCap }
|
|
15039
|
+
|
|
15040
|
+
export { NiceKeyCapProps }
|
|
15041
|
+
|
|
14857
15042
|
export declare const NiceKeyValueEditor: ForwardRefExoticComponent<NiceKeyValueEditorProps & RefAttributes<HTMLDivElement>>;
|
|
14858
15043
|
|
|
14859
15044
|
export declare interface NiceKeyValueEditorProps extends NiceBaseProps {
|
|
@@ -14914,6 +15099,13 @@ export declare interface NiceKioskShellProps extends NiceBaseProps {
|
|
|
14914
15099
|
locked?: boolean;
|
|
14915
15100
|
/** Full-screen content (POS, terminal, etc.). */
|
|
14916
15101
|
children?: React.ReactNode;
|
|
15102
|
+
/** Button hint bar in pad and remote modes (1.3.0, default `bottom`; `none` hides it). */
|
|
15103
|
+
hintBar?: NiceShellHintBar;
|
|
15104
|
+
/**
|
|
15105
|
+
* TV / 10-foot mode (1.3.0 D4): large type and targets, a strong focus ring and a 5 % safe
|
|
15106
|
+
* area for the overscan of a television. A TV browser gets it without this.
|
|
15107
|
+
*/
|
|
15108
|
+
tv?: boolean;
|
|
14917
15109
|
}
|
|
14918
15110
|
|
|
14919
15111
|
export declare const NiceKnob: default_2.ForwardRefExoticComponent<NiceKnobProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
@@ -15124,6 +15316,8 @@ export declare interface NiceLifecycleTrigger {
|
|
|
15124
15316
|
* - Left / Right — previous / next image
|
|
15125
15317
|
* - Escape — close
|
|
15126
15318
|
* - `+` / `-` — zoom in / out (when `zoom` is enabled)
|
|
15319
|
+
* Gamepad: LB / RB previous / next image, LT / RT zoom, B close; the d-pad moves between the
|
|
15320
|
+
* buttons. Focus stays in the viewer and returns to the opener on close.
|
|
15127
15321
|
*
|
|
15128
15322
|
* All toolbar button labels go through `useNiceTranslation` so the
|
|
15129
15323
|
* viewer follows the global picker.
|
|
@@ -16908,6 +17102,8 @@ export declare interface NiceNavbarProps extends NiceFormFieldProps {
|
|
|
16908
17102
|
onBrandClick?: () => void;
|
|
16909
17103
|
}
|
|
16910
17104
|
|
|
17105
|
+
export { NiceNavDirection }
|
|
17106
|
+
|
|
16911
17107
|
export declare const NiceNavMenu: default_2.ForwardRefExoticComponent<NiceNavMenuProps & default_2.RefAttributes<HTMLElement>> & {
|
|
16912
17108
|
displayName: string;
|
|
16913
17109
|
};
|
|
@@ -17228,6 +17424,15 @@ export declare interface NiceNavShellProps {
|
|
|
17228
17424
|
* `--nice-shell-surface-alpha` CSS variable.
|
|
17229
17425
|
*/
|
|
17230
17426
|
surfaceOpacity?: number;
|
|
17427
|
+
/**
|
|
17428
|
+
* Height of the shell (1.3.1) — px or any CSS length. Default `100%`, which fills a parent with
|
|
17429
|
+
* a definite height. Under a parent that only has `min-height` (a page wrapper with
|
|
17430
|
+
* `min-height: 100vh`), 100% is the height of the content: the shell grows with the page,
|
|
17431
|
+
* nothing scrolls inside it, and the sticky header / footer rows and the sidebar's collapse
|
|
17432
|
+
* button move down with the content. Give the shell a definite height then — `'100dvh'` when it
|
|
17433
|
+
* is the whole page, a number — or give its parent one.
|
|
17434
|
+
*/
|
|
17435
|
+
height?: number | string;
|
|
17231
17436
|
className?: string;
|
|
17232
17437
|
contentClassName?: string;
|
|
17233
17438
|
'data-testid'?: string;
|
|
@@ -17235,10 +17440,34 @@ export declare interface NiceNavShellProps {
|
|
|
17235
17440
|
* Opt-in: wrap the shell in a {@link NiceSpatialNavProvider} so keyboard
|
|
17236
17441
|
* arrows / a gamepad d-pad can navigate focusable controls (registered via
|
|
17237
17442
|
* `useSpatialFocusable` / `<NiceFocusable>`). Default false.
|
|
17443
|
+
*
|
|
17444
|
+
* @deprecated since 1.3.0 — the shell is a focus scope of the input engine: arrows, the d-pad
|
|
17445
|
+
* and the stick reach every focusable element without registration.
|
|
17238
17446
|
*/
|
|
17239
17447
|
spatialNavigation?: boolean;
|
|
17240
17448
|
/** Options forwarded to NiceSpatialNavProvider when `spatialNavigation` is on. */
|
|
17241
17449
|
spatialNavigationProps?: Omit<NiceSpatialNavProviderProps, 'children'>;
|
|
17450
|
+
/**
|
|
17451
|
+
* Unhandled arrow keys in the content (1.3.0): `spatial` (default) moves focus like the d-pad,
|
|
17452
|
+
* `native` scrolls — for document-like pages (long text, articles).
|
|
17453
|
+
*/
|
|
17454
|
+
contentArrows?: 'spatial' | 'native';
|
|
17455
|
+
/**
|
|
17456
|
+
* Where the button hint bar goes in pad and remote modes (1.3.0, default `bottom`; `none` hides
|
|
17457
|
+
* it). With the hints preference at "always" it shows for the keyboard too.
|
|
17458
|
+
*/
|
|
17459
|
+
hintBar?: 'top' | 'bottom' | 'none';
|
|
17460
|
+
/**
|
|
17461
|
+
* TV / 10-foot mode (1.3.0 D4): large type and targets, a strong focus ring and a 5 % safe
|
|
17462
|
+
* area for the overscan of a television. A TV browser gets it without this.
|
|
17463
|
+
*/
|
|
17464
|
+
tv?: boolean;
|
|
17465
|
+
/**
|
|
17466
|
+
* After a navigation made with the keyboard, a pad or a remote, move focus into the new page —
|
|
17467
|
+
* to the element focused there last time, else its first one — and announce it (1.3.0, default
|
|
17468
|
+
* true).
|
|
17469
|
+
*/
|
|
17470
|
+
focusContentOnNavigate?: boolean;
|
|
17242
17471
|
}
|
|
17243
17472
|
|
|
17244
17473
|
export declare interface NiceNavShellTab {
|
|
@@ -17555,6 +17784,55 @@ export { NiceOnChange }
|
|
|
17555
17784
|
|
|
17556
17785
|
export { NiceOnOpenChange }
|
|
17557
17786
|
|
|
17787
|
+
export declare const NiceOnScreenKeyboard: (({ value: valueProp, defaultValue, caret: caretProp, onChange, onSubmit, onClose, language, languages, layout, multiline, masked, maxLength, enterLabel, showPreview, fieldLabel, modal, className, style, }: NiceOnScreenKeyboardProps) => default_2.JSX.Element) & {
|
|
17788
|
+
displayName: string;
|
|
17789
|
+
};
|
|
17790
|
+
|
|
17791
|
+
/**
|
|
17792
|
+
* Opens `NiceOnScreenKeyboard` for the text field a gamepad or remote engages, by the
|
|
17793
|
+
* `onScreenKeyboard` preference: `auto` — when a pad or remote engages a text field (A on it),
|
|
17794
|
+
* `always` — also when one takes focus by touch, `never` — not at all. Render it once; the
|
|
17795
|
+
* application shells do.
|
|
17796
|
+
*/
|
|
17797
|
+
export declare function NiceOnScreenKeyboardHost(): default_2.JSX.Element | null;
|
|
17798
|
+
|
|
17799
|
+
export declare interface NiceOnScreenKeyboardProps extends NiceBaseProps {
|
|
17800
|
+
/** The text being typed (controlled). */
|
|
17801
|
+
value?: string;
|
|
17802
|
+
/** Initial text when uncontrolled — the keyboard keeps its own. */
|
|
17803
|
+
defaultValue?: string;
|
|
17804
|
+
/** The cursor in the text (controlled; default: the keyboard keeps it, at the end at first). */
|
|
17805
|
+
caret?: number;
|
|
17806
|
+
/** Every key: the new text and cursor. */
|
|
17807
|
+
onChange?: (value: string, caret: number) => void;
|
|
17808
|
+
/** Start, or the Enter key of a one-line field: the text is done. */
|
|
17809
|
+
onSubmit?: (value: string) => void;
|
|
17810
|
+
/** B, Escape or the close key: leave, keeping the text. */
|
|
17811
|
+
onClose?: () => void;
|
|
17812
|
+
/** Letter layout; default the interface language when there is one for it, else English. */
|
|
17813
|
+
language?: NiceKeyboardLanguage;
|
|
17814
|
+
/** The languages LB / RB and the language key go through (default `[language]`). */
|
|
17815
|
+
languages?: NiceKeyboardLanguage[];
|
|
17816
|
+
/** `text` — letters (with the language's accents), `number` — digits. */
|
|
17817
|
+
layout?: 'text' | 'number';
|
|
17818
|
+
/** A multi-line field: Enter types a new line, Start confirms. */
|
|
17819
|
+
multiline?: boolean;
|
|
17820
|
+
/** Dots instead of the text in the preview (passwords). */
|
|
17821
|
+
masked?: boolean;
|
|
17822
|
+
maxLength?: number;
|
|
17823
|
+
/** Caption of the Enter key ("Search", "Send"). */
|
|
17824
|
+
enterLabel?: string;
|
|
17825
|
+
/** The text with its cursor above the keys (default true). */
|
|
17826
|
+
showPreview?: boolean;
|
|
17827
|
+
/** The field it types into, shown with the preview. */
|
|
17828
|
+
fieldLabel?: string;
|
|
17829
|
+
/**
|
|
17830
|
+
* An overlay that takes focus and keeps it until closed (default). `false`: part of the page —
|
|
17831
|
+
* a kiosk's standing keyboard — with neither.
|
|
17832
|
+
*/
|
|
17833
|
+
modal?: boolean;
|
|
17834
|
+
}
|
|
17835
|
+
|
|
17558
17836
|
export { NiceOnSelect }
|
|
17559
17837
|
|
|
17560
17838
|
export { NiceOptimisticConfig }
|
|
@@ -18076,7 +18354,7 @@ export declare interface NicePieChartProps extends NiceStandardProps {
|
|
|
18076
18354
|
width?: number;
|
|
18077
18355
|
/** Chart height in px. */
|
|
18078
18356
|
height?: number;
|
|
18079
|
-
/**
|
|
18357
|
+
/** Radius of the hole in px: 0 (default) draws a full pie, more than 0 a donut. */
|
|
18080
18358
|
innerRadius?: number;
|
|
18081
18359
|
/** Chart title. */
|
|
18082
18360
|
title?: string;
|
|
@@ -18536,6 +18814,8 @@ export declare interface NiceProgressProps extends Omit<NiceFormFieldProps, 'sub
|
|
|
18536
18814
|
labelPlacement?: 'top' | 'bottom' | 'left' | 'right';
|
|
18537
18815
|
}
|
|
18538
18816
|
|
|
18817
|
+
export { NicePromptDevice }
|
|
18818
|
+
|
|
18539
18819
|
/**
|
|
18540
18820
|
* Light-weight prompt modal — a tiny `window.prompt` replacement.
|
|
18541
18821
|
* The panel opens with the same `nice-modal-in` animation as `NiceModal` /
|
|
@@ -20511,6 +20791,14 @@ export declare interface NiceSetupWizardProps {
|
|
|
20511
20791
|
};
|
|
20512
20792
|
/** Accessibility */
|
|
20513
20793
|
accessMode?: NiceAccessMode;
|
|
20794
|
+
/**
|
|
20795
|
+
* Height of the wizard (1.3.1) — px or any CSS length. Default: as tall as the step, up to the
|
|
20796
|
+
* screen (`max-height: 100vh`), so on a short step the button bar sits right under it. With a
|
|
20797
|
+
* height the wizard fills exactly that (no 400px minimum, no 100vh cap): the step body scrolls
|
|
20798
|
+
* and the button bar stays at the bottom edge on every step. `'100%'` fills a parent with a
|
|
20799
|
+
* definite height, `'100dvh'` the screen.
|
|
20800
|
+
*/
|
|
20801
|
+
height?: number | string;
|
|
20514
20802
|
id?: string;
|
|
20515
20803
|
className?: string;
|
|
20516
20804
|
style?: default_2.CSSProperties;
|
|
@@ -20539,6 +20827,9 @@ export declare interface NiceSetupWizardRestartConfig {
|
|
|
20539
20827
|
skipConfirm?: boolean;
|
|
20540
20828
|
}
|
|
20541
20829
|
|
|
20830
|
+
/** Where a shell puts the button hint bar (pad and remote modes; `none` hides it). */
|
|
20831
|
+
declare type NiceShellHintBar = 'top' | 'bottom' | 'none';
|
|
20832
|
+
|
|
20542
20833
|
export declare interface NiceShellProps extends NiceBaseProps {
|
|
20543
20834
|
/** Navigation data for sidebar / menus. */
|
|
20544
20835
|
menu?: NiceUserMenuResponse;
|
|
@@ -21776,6 +22067,11 @@ export declare interface NiceTableProps<T extends Record<string, any> = any> ext
|
|
|
21776
22067
|
emptyText?: string;
|
|
21777
22068
|
}
|
|
21778
22069
|
|
|
22070
|
+
/**
|
|
22071
|
+
* NiceTabs — WAI-ARIA tabs (1.3.0): ← → (↑ ↓ when vertical) move between the tabs and select
|
|
22072
|
+
* them, Home / End go to the first / last; LB / RB on a pad (Ctrl+PageUp / PageDown) switch tabs
|
|
22073
|
+
* from anywhere inside, the panel included.
|
|
22074
|
+
*/
|
|
21779
22075
|
export declare const NiceTabs: default_2.FC<NiceTabsProps>;
|
|
21780
22076
|
|
|
21781
22077
|
/** Props for the {@link NiceTabs} component — a tabbed content panel. */
|
|
@@ -21802,6 +22098,12 @@ export declare interface NiceTabsProps extends NiceBaseProps {
|
|
|
21802
22098
|
* icon as a heavily-rounded pill rectangle (not a circle).
|
|
21803
22099
|
*/
|
|
21804
22100
|
countLocation?: 'right' | 'bottom';
|
|
22101
|
+
/**
|
|
22102
|
+
* Show the buttons that switch tabs (LB / RB on a pad, Ctrl+PageUp / PageDown) at the ends of
|
|
22103
|
+
* the strip while hints are visible (1.3.0). Default: the user's "hints next to controls"
|
|
22104
|
+
* preference.
|
|
22105
|
+
*/
|
|
22106
|
+
showHints?: boolean;
|
|
21805
22107
|
}
|
|
21806
22108
|
|
|
21807
22109
|
export declare const NiceTag: default_2.FC<NiceTagProps>;
|
|
@@ -22111,11 +22413,17 @@ declare interface NiceThemeBuilderProps extends NiceBaseProps {
|
|
|
22111
22413
|
sections?: NiceThemeBuilderSection[];
|
|
22112
22414
|
/** Called when theme changes */
|
|
22113
22415
|
onChange?: (theme: NiceTheme) => void;
|
|
22114
|
-
/**
|
|
22416
|
+
/**
|
|
22417
|
+
* Called when user clicks Apply, after the theme went to the page: the enclosing
|
|
22418
|
+
* NiceThemeProvider when there is one, otherwise the document root.
|
|
22419
|
+
*/
|
|
22115
22420
|
onApply?: (theme: NiceTheme) => void;
|
|
22116
|
-
/** Called when user clicks Export */
|
|
22421
|
+
/** Called when user clicks Export; without it the button downloads the theme as `<name>.json`. */
|
|
22117
22422
|
onExport?: (json: string, cssVars: Record<string, string>) => void;
|
|
22118
|
-
/**
|
|
22423
|
+
/**
|
|
22424
|
+
* Apply every edit to the page live (default: false) — through the enclosing NiceThemeProvider
|
|
22425
|
+
* when there is one, otherwise to the document root.
|
|
22426
|
+
*/
|
|
22119
22427
|
livePreview?: boolean;
|
|
22120
22428
|
/** Currently focused token from NiceThemePreview (auto-switches section + scrolls) */
|
|
22121
22429
|
focusedToken?: string;
|
|
@@ -22294,7 +22602,8 @@ export declare interface NiceThemePickerProps extends NiceFormFieldProps, DualVi
|
|
|
22294
22602
|
previewSize?: number;
|
|
22295
22603
|
/**
|
|
22296
22604
|
* Preview rendering style:
|
|
22297
|
-
* - `'page'` (default): a
|
|
22605
|
+
* - `'page'` (default): a page in miniature — accent bar on top, a card with two lines of text
|
|
22606
|
+
* between thin margins of the page background.
|
|
22298
22607
|
* - `'swatch'`: a flag-like vertical colour stripe (cheaper, less informative).
|
|
22299
22608
|
*/
|
|
22300
22609
|
previewShape?: 'page' | 'swatch';
|
|
@@ -22438,6 +22747,11 @@ export declare interface NiceTimeoutFeedbackProps extends NiceStandardProps {
|
|
|
22438
22747
|
loading: boolean;
|
|
22439
22748
|
}
|
|
22440
22749
|
|
|
22750
|
+
/**
|
|
22751
|
+
* The toasts are a named region (1.3.0 D3): F6 or a pad's View reaches them without them ever
|
|
22752
|
+
* taking focus. Escape (B on a pad) dismisses the toast with focus, which goes on to the next
|
|
22753
|
+
* toast or back to where it came from.
|
|
22754
|
+
*/
|
|
22441
22755
|
export declare const NiceToastContainer: default_2.FC<ToastContainerProps>;
|
|
22442
22756
|
|
|
22443
22757
|
/** Data object describing a single toast notification. */
|
|
@@ -22452,6 +22766,18 @@ export declare interface NiceToastItem {
|
|
|
22452
22766
|
message: string;
|
|
22453
22767
|
/** Auto-dismiss delay in ms. Omit to keep until manually dismissed. */
|
|
22454
22768
|
duration?: number;
|
|
22769
|
+
/** An action of the toast ("Undo", "Retry"): runs, then dismisses the toast. */
|
|
22770
|
+
action?: {
|
|
22771
|
+
label: string;
|
|
22772
|
+
onClick: () => void;
|
|
22773
|
+
};
|
|
22774
|
+
}
|
|
22775
|
+
|
|
22776
|
+
/** Options of a toast added through {@link useNiceToast}. */
|
|
22777
|
+
export declare interface NiceToastOptions {
|
|
22778
|
+
title?: string;
|
|
22779
|
+
duration?: number;
|
|
22780
|
+
action?: NiceToastItem['action'];
|
|
22455
22781
|
}
|
|
22456
22782
|
|
|
22457
22783
|
export declare const NiceToggle: default_2.ForwardRefExoticComponent<NiceToggleProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
@@ -26127,6 +26453,8 @@ export declare function rgbToHsv({ r, g, b }: RGB): HSV;
|
|
|
26127
26453
|
|
|
26128
26454
|
export declare type RoomGridLayout = 'grid' | 'list';
|
|
26129
26455
|
|
|
26456
|
+
export { RovingFocusControls }
|
|
26457
|
+
|
|
26130
26458
|
/**
|
|
26131
26459
|
* Row render context.
|
|
26132
26460
|
*/
|
|
@@ -27757,17 +28085,20 @@ export { themePastelSky }
|
|
|
27757
28085
|
|
|
27758
28086
|
export { themePink }
|
|
27759
28087
|
|
|
27760
|
-
/** Colours used to render a theme preview thumbnail.
|
|
28088
|
+
/** Colours used to render a theme preview thumbnail. */
|
|
27761
28089
|
export declare interface ThemePreviewColors {
|
|
27762
|
-
/** Main page
|
|
28090
|
+
/** Main surface (a theme's `backgrounds.primary`) — the card in the middle of the 'page' shape. */
|
|
27763
28091
|
background: string;
|
|
27764
|
-
/**
|
|
28092
|
+
/**
|
|
28093
|
+
* Secondary surface (`backgrounds.secondary`) — the page background left and right of the card
|
|
28094
|
+
* in the 'page' shape. Defaults to `background`.
|
|
28095
|
+
*/
|
|
27765
28096
|
backgroundSecondary?: string;
|
|
27766
|
-
/** Accent
|
|
28097
|
+
/** Accent — the bar across the top of the 'page' shape. */
|
|
27767
28098
|
primary: string;
|
|
27768
|
-
/** Body text
|
|
28099
|
+
/** Body text — the two lines on the card. */
|
|
27769
28100
|
textColor: string;
|
|
27770
|
-
/**
|
|
28101
|
+
/** Border of the thumbnail and of the card (defaults to a translucent overlay). */
|
|
27771
28102
|
border?: string;
|
|
27772
28103
|
}
|
|
27773
28104
|
|
|
@@ -27927,12 +28258,16 @@ export declare interface TimelineMarker {
|
|
|
27927
28258
|
|
|
27928
28259
|
export declare type TimelineZoomLevel = 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
27929
28260
|
|
|
28261
|
+
export { toAriaKeyShortcuts }
|
|
28262
|
+
|
|
27930
28263
|
declare interface ToastContainerProps {
|
|
27931
28264
|
toasts: NiceToastItem[];
|
|
27932
28265
|
onDismiss: (id: string) => void;
|
|
27933
28266
|
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center';
|
|
27934
28267
|
}
|
|
27935
28268
|
|
|
28269
|
+
export { toGamepadButton }
|
|
28270
|
+
|
|
27936
28271
|
export { ToggleStyleVariant }
|
|
27937
28272
|
|
|
27938
28273
|
/**
|
|
@@ -28411,6 +28746,8 @@ export declare interface TreeMapNode {
|
|
|
28411
28746
|
|
|
28412
28747
|
export { triggerHaptic }
|
|
28413
28748
|
|
|
28749
|
+
export { triggerNiceAction }
|
|
28750
|
+
|
|
28414
28751
|
/** Context value provided by the {@link NiceTutorialProvider} for imperative tutorial control. */
|
|
28415
28752
|
export declare interface TutorialContextValue {
|
|
28416
28753
|
/** Start a tutorial with the given steps */
|
|
@@ -28686,6 +29023,8 @@ export { useComponentDisplayStyle }
|
|
|
28686
29023
|
|
|
28687
29024
|
export { useComponentHelp }
|
|
28688
29025
|
|
|
29026
|
+
export { useConnectedGamepads }
|
|
29027
|
+
|
|
28689
29028
|
export { useContainerSize }
|
|
28690
29029
|
|
|
28691
29030
|
export { UseContainerSizeResult }
|
|
@@ -28746,6 +29085,10 @@ export declare function useEditorStatePersistence({ storageKey, autoSaveInterval
|
|
|
28746
29085
|
policy: ITracelessPolicy;
|
|
28747
29086
|
};
|
|
28748
29087
|
|
|
29088
|
+
export { useEngage }
|
|
29089
|
+
|
|
29090
|
+
export { UseEngageOptions }
|
|
29091
|
+
|
|
28749
29092
|
export declare function useERPReportDesigner(): ERPReportDesignerContextValue;
|
|
28750
29093
|
|
|
28751
29094
|
export declare function useFAQ(): FAQContextValue;
|
|
@@ -28758,14 +29101,22 @@ export declare function useFeatureFlags(): NiceFeatureFlagsContextValue;
|
|
|
28758
29101
|
|
|
28759
29102
|
export { useFocusManagement }
|
|
28760
29103
|
|
|
29104
|
+
export { useFocusScope }
|
|
29105
|
+
|
|
28761
29106
|
export { useFocusTrap }
|
|
28762
29107
|
|
|
28763
29108
|
export { useFormGeneration }
|
|
28764
29109
|
|
|
28765
29110
|
export { useGamepad }
|
|
28766
29111
|
|
|
29112
|
+
export { useGamepadFamily }
|
|
29113
|
+
|
|
28767
29114
|
export { UseGamepadOptions }
|
|
28768
29115
|
|
|
29116
|
+
export { useGridFocus }
|
|
29117
|
+
|
|
29118
|
+
export { UseGridFocusOptions }
|
|
29119
|
+
|
|
28769
29120
|
export { useGridPreferences }
|
|
28770
29121
|
|
|
28771
29122
|
/**
|
|
@@ -28794,10 +29145,26 @@ export declare function useGridStatePersistence({ storageKey, initialState, onSt
|
|
|
28794
29145
|
|
|
28795
29146
|
export { useHaptic }
|
|
28796
29147
|
|
|
29148
|
+
export { useHintsVisible }
|
|
29149
|
+
|
|
29150
|
+
export { useInputEngine }
|
|
29151
|
+
|
|
29152
|
+
export { useInputHints }
|
|
29153
|
+
|
|
29154
|
+
export { useInputMethod }
|
|
29155
|
+
|
|
28797
29156
|
export { useInputMode }
|
|
28798
29157
|
|
|
29158
|
+
export { useInputPreferences }
|
|
29159
|
+
|
|
29160
|
+
export { useInputState }
|
|
29161
|
+
|
|
28799
29162
|
export declare function useIntegrationHub(): IntegrationHubContextValue;
|
|
28800
29163
|
|
|
29164
|
+
export { useIntent }
|
|
29165
|
+
|
|
29166
|
+
export { UseIntentOptions }
|
|
29167
|
+
|
|
28801
29168
|
export { useIsTouchDevice }
|
|
28802
29169
|
|
|
28803
29170
|
/**
|
|
@@ -28817,6 +29184,10 @@ export { useMediaQuery }
|
|
|
28817
29184
|
|
|
28818
29185
|
export { useMemoryMonitor }
|
|
28819
29186
|
|
|
29187
|
+
export { useMenuButton }
|
|
29188
|
+
|
|
29189
|
+
export { UseMenuButtonOptions }
|
|
29190
|
+
|
|
28820
29191
|
/** Hook to access the module loader. */
|
|
28821
29192
|
export declare function useModuleLoader(): NiceModuleLoaderContextValue;
|
|
28822
29193
|
|
|
@@ -28826,6 +29197,10 @@ export { useNiceA11y }
|
|
|
28826
29197
|
|
|
28827
29198
|
export { useNiceAccessMode }
|
|
28828
29199
|
|
|
29200
|
+
export { useNiceAction }
|
|
29201
|
+
|
|
29202
|
+
export { useNiceActions }
|
|
29203
|
+
|
|
28829
29204
|
export { useNiceAI }
|
|
28830
29205
|
|
|
28831
29206
|
export { useNiceCollapse }
|
|
@@ -28918,22 +29293,10 @@ export declare interface UseNiceTimeoutResult {
|
|
|
28918
29293
|
export declare function useNiceToast(): {
|
|
28919
29294
|
toasts: NiceToastItem[];
|
|
28920
29295
|
dismiss: (id: string) => void;
|
|
28921
|
-
info: (msg: string, opts?:
|
|
28922
|
-
|
|
28923
|
-
|
|
28924
|
-
|
|
28925
|
-
success: (msg: string, opts?: {
|
|
28926
|
-
title?: string;
|
|
28927
|
-
duration?: number;
|
|
28928
|
-
}) => string;
|
|
28929
|
-
warning: (msg: string, opts?: {
|
|
28930
|
-
title?: string;
|
|
28931
|
-
duration?: number;
|
|
28932
|
-
}) => string;
|
|
28933
|
-
error: (msg: string, opts?: {
|
|
28934
|
-
title?: string;
|
|
28935
|
-
duration?: number;
|
|
28936
|
-
}) => string;
|
|
29296
|
+
info: (msg: string, opts?: NiceToastOptions) => string;
|
|
29297
|
+
success: (msg: string, opts?: NiceToastOptions) => string;
|
|
29298
|
+
warning: (msg: string, opts?: NiceToastOptions) => string;
|
|
29299
|
+
error: (msg: string, opts?: NiceToastOptions) => string;
|
|
28937
29300
|
};
|
|
28938
29301
|
|
|
28939
29302
|
export { useNiceTransition }
|
|
@@ -28972,6 +29335,10 @@ export declare interface UseOnlineStatusOptions {
|
|
|
28972
29335
|
|
|
28973
29336
|
export { useOrientation }
|
|
28974
29337
|
|
|
29338
|
+
export { useOverlayFocus }
|
|
29339
|
+
|
|
29340
|
+
export { UseOverlayFocusOptions }
|
|
29341
|
+
|
|
28975
29342
|
export { usePan }
|
|
28976
29343
|
|
|
28977
29344
|
export { UsePanOptions }
|
|
@@ -29139,6 +29506,10 @@ export declare interface UserMenuItem {
|
|
|
29139
29506
|
|
|
29140
29507
|
export { useRouteAnnouncement }
|
|
29141
29508
|
|
|
29509
|
+
export { useRovingFocus }
|
|
29510
|
+
|
|
29511
|
+
export { UseRovingFocusOptions }
|
|
29512
|
+
|
|
29142
29513
|
export { useRovingTabIndex }
|
|
29143
29514
|
|
|
29144
29515
|
export { UseRovingTabIndexOptions }
|
|
@@ -29333,6 +29704,10 @@ export declare function useTracelessStorage(preferredType?: 'local' | 'session')
|
|
|
29333
29704
|
|
|
29334
29705
|
export declare function useTranscoder(): TranscoderContextValue;
|
|
29335
29706
|
|
|
29707
|
+
export { useTreeFocus }
|
|
29708
|
+
|
|
29709
|
+
export { UseTreeFocusOptions }
|
|
29710
|
+
|
|
29336
29711
|
export declare function useUndoKeyboard<T = unknown>(manager: NiceUndoManager<T>): void;
|
|
29337
29712
|
|
|
29338
29713
|
export declare function useUndoManager<T = unknown>(): UndoContextValue<T>;
|