@nice2dev/ui 1.2.2 → 1.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/CHANGELOG.md +433 -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/NiceForm-CfAPcXdX.cjs +1 -0
- package/dist/NiceForm-DfKYNQti.js +5017 -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.css +1 -1
- package/dist/NiceModal-BlYhFDhP.js +80 -0
- package/dist/NiceModal-DmWz2PDM.cjs +1 -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-DDKtL1AA.cjs +586 -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-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 +374 -20
- package/dist/index.mjs +21602 -20317
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.mjs +24 -24
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +31 -0
- 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-DvQptSPX.cjs +1 -0
- package/dist/style.css +7 -4
- 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
|
};
|
|
@@ -17235,10 +17431,34 @@ export declare interface NiceNavShellProps {
|
|
|
17235
17431
|
* Opt-in: wrap the shell in a {@link NiceSpatialNavProvider} so keyboard
|
|
17236
17432
|
* arrows / a gamepad d-pad can navigate focusable controls (registered via
|
|
17237
17433
|
* `useSpatialFocusable` / `<NiceFocusable>`). Default false.
|
|
17434
|
+
*
|
|
17435
|
+
* @deprecated since 1.3.0 — the shell is a focus scope of the input engine: arrows, the d-pad
|
|
17436
|
+
* and the stick reach every focusable element without registration.
|
|
17238
17437
|
*/
|
|
17239
17438
|
spatialNavigation?: boolean;
|
|
17240
17439
|
/** Options forwarded to NiceSpatialNavProvider when `spatialNavigation` is on. */
|
|
17241
17440
|
spatialNavigationProps?: Omit<NiceSpatialNavProviderProps, 'children'>;
|
|
17441
|
+
/**
|
|
17442
|
+
* Unhandled arrow keys in the content (1.3.0): `spatial` (default) moves focus like the d-pad,
|
|
17443
|
+
* `native` scrolls — for document-like pages (long text, articles).
|
|
17444
|
+
*/
|
|
17445
|
+
contentArrows?: 'spatial' | 'native';
|
|
17446
|
+
/**
|
|
17447
|
+
* Where the button hint bar goes in pad and remote modes (1.3.0, default `bottom`; `none` hides
|
|
17448
|
+
* it). With the hints preference at "always" it shows for the keyboard too.
|
|
17449
|
+
*/
|
|
17450
|
+
hintBar?: 'top' | 'bottom' | 'none';
|
|
17451
|
+
/**
|
|
17452
|
+
* TV / 10-foot mode (1.3.0 D4): large type and targets, a strong focus ring and a 5 % safe
|
|
17453
|
+
* area for the overscan of a television. A TV browser gets it without this.
|
|
17454
|
+
*/
|
|
17455
|
+
tv?: boolean;
|
|
17456
|
+
/**
|
|
17457
|
+
* After a navigation made with the keyboard, a pad or a remote, move focus into the new page —
|
|
17458
|
+
* to the element focused there last time, else its first one — and announce it (1.3.0, default
|
|
17459
|
+
* true).
|
|
17460
|
+
*/
|
|
17461
|
+
focusContentOnNavigate?: boolean;
|
|
17242
17462
|
}
|
|
17243
17463
|
|
|
17244
17464
|
export declare interface NiceNavShellTab {
|
|
@@ -17555,6 +17775,55 @@ export { NiceOnChange }
|
|
|
17555
17775
|
|
|
17556
17776
|
export { NiceOnOpenChange }
|
|
17557
17777
|
|
|
17778
|
+
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) & {
|
|
17779
|
+
displayName: string;
|
|
17780
|
+
};
|
|
17781
|
+
|
|
17782
|
+
/**
|
|
17783
|
+
* Opens `NiceOnScreenKeyboard` for the text field a gamepad or remote engages, by the
|
|
17784
|
+
* `onScreenKeyboard` preference: `auto` — when a pad or remote engages a text field (A on it),
|
|
17785
|
+
* `always` — also when one takes focus by touch, `never` — not at all. Render it once; the
|
|
17786
|
+
* application shells do.
|
|
17787
|
+
*/
|
|
17788
|
+
export declare function NiceOnScreenKeyboardHost(): default_2.JSX.Element | null;
|
|
17789
|
+
|
|
17790
|
+
export declare interface NiceOnScreenKeyboardProps extends NiceBaseProps {
|
|
17791
|
+
/** The text being typed (controlled). */
|
|
17792
|
+
value?: string;
|
|
17793
|
+
/** Initial text when uncontrolled — the keyboard keeps its own. */
|
|
17794
|
+
defaultValue?: string;
|
|
17795
|
+
/** The cursor in the text (controlled; default: the keyboard keeps it, at the end at first). */
|
|
17796
|
+
caret?: number;
|
|
17797
|
+
/** Every key: the new text and cursor. */
|
|
17798
|
+
onChange?: (value: string, caret: number) => void;
|
|
17799
|
+
/** Start, or the Enter key of a one-line field: the text is done. */
|
|
17800
|
+
onSubmit?: (value: string) => void;
|
|
17801
|
+
/** B, Escape or the close key: leave, keeping the text. */
|
|
17802
|
+
onClose?: () => void;
|
|
17803
|
+
/** Letter layout; default the interface language when there is one for it, else English. */
|
|
17804
|
+
language?: NiceKeyboardLanguage;
|
|
17805
|
+
/** The languages LB / RB and the language key go through (default `[language]`). */
|
|
17806
|
+
languages?: NiceKeyboardLanguage[];
|
|
17807
|
+
/** `text` — letters (with the language's accents), `number` — digits. */
|
|
17808
|
+
layout?: 'text' | 'number';
|
|
17809
|
+
/** A multi-line field: Enter types a new line, Start confirms. */
|
|
17810
|
+
multiline?: boolean;
|
|
17811
|
+
/** Dots instead of the text in the preview (passwords). */
|
|
17812
|
+
masked?: boolean;
|
|
17813
|
+
maxLength?: number;
|
|
17814
|
+
/** Caption of the Enter key ("Search", "Send"). */
|
|
17815
|
+
enterLabel?: string;
|
|
17816
|
+
/** The text with its cursor above the keys (default true). */
|
|
17817
|
+
showPreview?: boolean;
|
|
17818
|
+
/** The field it types into, shown with the preview. */
|
|
17819
|
+
fieldLabel?: string;
|
|
17820
|
+
/**
|
|
17821
|
+
* An overlay that takes focus and keeps it until closed (default). `false`: part of the page —
|
|
17822
|
+
* a kiosk's standing keyboard — with neither.
|
|
17823
|
+
*/
|
|
17824
|
+
modal?: boolean;
|
|
17825
|
+
}
|
|
17826
|
+
|
|
17558
17827
|
export { NiceOnSelect }
|
|
17559
17828
|
|
|
17560
17829
|
export { NiceOptimisticConfig }
|
|
@@ -18076,7 +18345,7 @@ export declare interface NicePieChartProps extends NiceStandardProps {
|
|
|
18076
18345
|
width?: number;
|
|
18077
18346
|
/** Chart height in px. */
|
|
18078
18347
|
height?: number;
|
|
18079
|
-
/**
|
|
18348
|
+
/** Radius of the hole in px: 0 (default) draws a full pie, more than 0 a donut. */
|
|
18080
18349
|
innerRadius?: number;
|
|
18081
18350
|
/** Chart title. */
|
|
18082
18351
|
title?: string;
|
|
@@ -18536,6 +18805,8 @@ export declare interface NiceProgressProps extends Omit<NiceFormFieldProps, 'sub
|
|
|
18536
18805
|
labelPlacement?: 'top' | 'bottom' | 'left' | 'right';
|
|
18537
18806
|
}
|
|
18538
18807
|
|
|
18808
|
+
export { NicePromptDevice }
|
|
18809
|
+
|
|
18539
18810
|
/**
|
|
18540
18811
|
* Light-weight prompt modal — a tiny `window.prompt` replacement.
|
|
18541
18812
|
* The panel opens with the same `nice-modal-in` animation as `NiceModal` /
|
|
@@ -20539,6 +20810,9 @@ export declare interface NiceSetupWizardRestartConfig {
|
|
|
20539
20810
|
skipConfirm?: boolean;
|
|
20540
20811
|
}
|
|
20541
20812
|
|
|
20813
|
+
/** Where a shell puts the button hint bar (pad and remote modes; `none` hides it). */
|
|
20814
|
+
declare type NiceShellHintBar = 'top' | 'bottom' | 'none';
|
|
20815
|
+
|
|
20542
20816
|
export declare interface NiceShellProps extends NiceBaseProps {
|
|
20543
20817
|
/** Navigation data for sidebar / menus. */
|
|
20544
20818
|
menu?: NiceUserMenuResponse;
|
|
@@ -21776,6 +22050,11 @@ export declare interface NiceTableProps<T extends Record<string, any> = any> ext
|
|
|
21776
22050
|
emptyText?: string;
|
|
21777
22051
|
}
|
|
21778
22052
|
|
|
22053
|
+
/**
|
|
22054
|
+
* NiceTabs — WAI-ARIA tabs (1.3.0): ← → (↑ ↓ when vertical) move between the tabs and select
|
|
22055
|
+
* them, Home / End go to the first / last; LB / RB on a pad (Ctrl+PageUp / PageDown) switch tabs
|
|
22056
|
+
* from anywhere inside, the panel included.
|
|
22057
|
+
*/
|
|
21779
22058
|
export declare const NiceTabs: default_2.FC<NiceTabsProps>;
|
|
21780
22059
|
|
|
21781
22060
|
/** Props for the {@link NiceTabs} component — a tabbed content panel. */
|
|
@@ -21802,6 +22081,12 @@ export declare interface NiceTabsProps extends NiceBaseProps {
|
|
|
21802
22081
|
* icon as a heavily-rounded pill rectangle (not a circle).
|
|
21803
22082
|
*/
|
|
21804
22083
|
countLocation?: 'right' | 'bottom';
|
|
22084
|
+
/**
|
|
22085
|
+
* Show the buttons that switch tabs (LB / RB on a pad, Ctrl+PageUp / PageDown) at the ends of
|
|
22086
|
+
* the strip while hints are visible (1.3.0). Default: the user's "hints next to controls"
|
|
22087
|
+
* preference.
|
|
22088
|
+
*/
|
|
22089
|
+
showHints?: boolean;
|
|
21805
22090
|
}
|
|
21806
22091
|
|
|
21807
22092
|
export declare const NiceTag: default_2.FC<NiceTagProps>;
|
|
@@ -22111,11 +22396,17 @@ declare interface NiceThemeBuilderProps extends NiceBaseProps {
|
|
|
22111
22396
|
sections?: NiceThemeBuilderSection[];
|
|
22112
22397
|
/** Called when theme changes */
|
|
22113
22398
|
onChange?: (theme: NiceTheme) => void;
|
|
22114
|
-
/**
|
|
22399
|
+
/**
|
|
22400
|
+
* Called when user clicks Apply, after the theme went to the page: the enclosing
|
|
22401
|
+
* NiceThemeProvider when there is one, otherwise the document root.
|
|
22402
|
+
*/
|
|
22115
22403
|
onApply?: (theme: NiceTheme) => void;
|
|
22116
|
-
/** Called when user clicks Export */
|
|
22404
|
+
/** Called when user clicks Export; without it the button downloads the theme as `<name>.json`. */
|
|
22117
22405
|
onExport?: (json: string, cssVars: Record<string, string>) => void;
|
|
22118
|
-
/**
|
|
22406
|
+
/**
|
|
22407
|
+
* Apply every edit to the page live (default: false) — through the enclosing NiceThemeProvider
|
|
22408
|
+
* when there is one, otherwise to the document root.
|
|
22409
|
+
*/
|
|
22119
22410
|
livePreview?: boolean;
|
|
22120
22411
|
/** Currently focused token from NiceThemePreview (auto-switches section + scrolls) */
|
|
22121
22412
|
focusedToken?: string;
|
|
@@ -22438,6 +22729,11 @@ export declare interface NiceTimeoutFeedbackProps extends NiceStandardProps {
|
|
|
22438
22729
|
loading: boolean;
|
|
22439
22730
|
}
|
|
22440
22731
|
|
|
22732
|
+
/**
|
|
22733
|
+
* The toasts are a named region (1.3.0 D3): F6 or a pad's View reaches them without them ever
|
|
22734
|
+
* taking focus. Escape (B on a pad) dismisses the toast with focus, which goes on to the next
|
|
22735
|
+
* toast or back to where it came from.
|
|
22736
|
+
*/
|
|
22441
22737
|
export declare const NiceToastContainer: default_2.FC<ToastContainerProps>;
|
|
22442
22738
|
|
|
22443
22739
|
/** Data object describing a single toast notification. */
|
|
@@ -22452,6 +22748,18 @@ export declare interface NiceToastItem {
|
|
|
22452
22748
|
message: string;
|
|
22453
22749
|
/** Auto-dismiss delay in ms. Omit to keep until manually dismissed. */
|
|
22454
22750
|
duration?: number;
|
|
22751
|
+
/** An action of the toast ("Undo", "Retry"): runs, then dismisses the toast. */
|
|
22752
|
+
action?: {
|
|
22753
|
+
label: string;
|
|
22754
|
+
onClick: () => void;
|
|
22755
|
+
};
|
|
22756
|
+
}
|
|
22757
|
+
|
|
22758
|
+
/** Options of a toast added through {@link useNiceToast}. */
|
|
22759
|
+
export declare interface NiceToastOptions {
|
|
22760
|
+
title?: string;
|
|
22761
|
+
duration?: number;
|
|
22762
|
+
action?: NiceToastItem['action'];
|
|
22455
22763
|
}
|
|
22456
22764
|
|
|
22457
22765
|
export declare const NiceToggle: default_2.ForwardRefExoticComponent<NiceToggleProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
@@ -26127,6 +26435,8 @@ export declare function rgbToHsv({ r, g, b }: RGB): HSV;
|
|
|
26127
26435
|
|
|
26128
26436
|
export declare type RoomGridLayout = 'grid' | 'list';
|
|
26129
26437
|
|
|
26438
|
+
export { RovingFocusControls }
|
|
26439
|
+
|
|
26130
26440
|
/**
|
|
26131
26441
|
* Row render context.
|
|
26132
26442
|
*/
|
|
@@ -27927,12 +28237,16 @@ export declare interface TimelineMarker {
|
|
|
27927
28237
|
|
|
27928
28238
|
export declare type TimelineZoomLevel = 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
27929
28239
|
|
|
28240
|
+
export { toAriaKeyShortcuts }
|
|
28241
|
+
|
|
27930
28242
|
declare interface ToastContainerProps {
|
|
27931
28243
|
toasts: NiceToastItem[];
|
|
27932
28244
|
onDismiss: (id: string) => void;
|
|
27933
28245
|
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center';
|
|
27934
28246
|
}
|
|
27935
28247
|
|
|
28248
|
+
export { toGamepadButton }
|
|
28249
|
+
|
|
27936
28250
|
export { ToggleStyleVariant }
|
|
27937
28251
|
|
|
27938
28252
|
/**
|
|
@@ -28411,6 +28725,8 @@ export declare interface TreeMapNode {
|
|
|
28411
28725
|
|
|
28412
28726
|
export { triggerHaptic }
|
|
28413
28727
|
|
|
28728
|
+
export { triggerNiceAction }
|
|
28729
|
+
|
|
28414
28730
|
/** Context value provided by the {@link NiceTutorialProvider} for imperative tutorial control. */
|
|
28415
28731
|
export declare interface TutorialContextValue {
|
|
28416
28732
|
/** Start a tutorial with the given steps */
|
|
@@ -28686,6 +29002,8 @@ export { useComponentDisplayStyle }
|
|
|
28686
29002
|
|
|
28687
29003
|
export { useComponentHelp }
|
|
28688
29004
|
|
|
29005
|
+
export { useConnectedGamepads }
|
|
29006
|
+
|
|
28689
29007
|
export { useContainerSize }
|
|
28690
29008
|
|
|
28691
29009
|
export { UseContainerSizeResult }
|
|
@@ -28746,6 +29064,10 @@ export declare function useEditorStatePersistence({ storageKey, autoSaveInterval
|
|
|
28746
29064
|
policy: ITracelessPolicy;
|
|
28747
29065
|
};
|
|
28748
29066
|
|
|
29067
|
+
export { useEngage }
|
|
29068
|
+
|
|
29069
|
+
export { UseEngageOptions }
|
|
29070
|
+
|
|
28749
29071
|
export declare function useERPReportDesigner(): ERPReportDesignerContextValue;
|
|
28750
29072
|
|
|
28751
29073
|
export declare function useFAQ(): FAQContextValue;
|
|
@@ -28758,14 +29080,22 @@ export declare function useFeatureFlags(): NiceFeatureFlagsContextValue;
|
|
|
28758
29080
|
|
|
28759
29081
|
export { useFocusManagement }
|
|
28760
29082
|
|
|
29083
|
+
export { useFocusScope }
|
|
29084
|
+
|
|
28761
29085
|
export { useFocusTrap }
|
|
28762
29086
|
|
|
28763
29087
|
export { useFormGeneration }
|
|
28764
29088
|
|
|
28765
29089
|
export { useGamepad }
|
|
28766
29090
|
|
|
29091
|
+
export { useGamepadFamily }
|
|
29092
|
+
|
|
28767
29093
|
export { UseGamepadOptions }
|
|
28768
29094
|
|
|
29095
|
+
export { useGridFocus }
|
|
29096
|
+
|
|
29097
|
+
export { UseGridFocusOptions }
|
|
29098
|
+
|
|
28769
29099
|
export { useGridPreferences }
|
|
28770
29100
|
|
|
28771
29101
|
/**
|
|
@@ -28794,10 +29124,26 @@ export declare function useGridStatePersistence({ storageKey, initialState, onSt
|
|
|
28794
29124
|
|
|
28795
29125
|
export { useHaptic }
|
|
28796
29126
|
|
|
29127
|
+
export { useHintsVisible }
|
|
29128
|
+
|
|
29129
|
+
export { useInputEngine }
|
|
29130
|
+
|
|
29131
|
+
export { useInputHints }
|
|
29132
|
+
|
|
29133
|
+
export { useInputMethod }
|
|
29134
|
+
|
|
28797
29135
|
export { useInputMode }
|
|
28798
29136
|
|
|
29137
|
+
export { useInputPreferences }
|
|
29138
|
+
|
|
29139
|
+
export { useInputState }
|
|
29140
|
+
|
|
28799
29141
|
export declare function useIntegrationHub(): IntegrationHubContextValue;
|
|
28800
29142
|
|
|
29143
|
+
export { useIntent }
|
|
29144
|
+
|
|
29145
|
+
export { UseIntentOptions }
|
|
29146
|
+
|
|
28801
29147
|
export { useIsTouchDevice }
|
|
28802
29148
|
|
|
28803
29149
|
/**
|
|
@@ -28817,6 +29163,10 @@ export { useMediaQuery }
|
|
|
28817
29163
|
|
|
28818
29164
|
export { useMemoryMonitor }
|
|
28819
29165
|
|
|
29166
|
+
export { useMenuButton }
|
|
29167
|
+
|
|
29168
|
+
export { UseMenuButtonOptions }
|
|
29169
|
+
|
|
28820
29170
|
/** Hook to access the module loader. */
|
|
28821
29171
|
export declare function useModuleLoader(): NiceModuleLoaderContextValue;
|
|
28822
29172
|
|
|
@@ -28826,6 +29176,10 @@ export { useNiceA11y }
|
|
|
28826
29176
|
|
|
28827
29177
|
export { useNiceAccessMode }
|
|
28828
29178
|
|
|
29179
|
+
export { useNiceAction }
|
|
29180
|
+
|
|
29181
|
+
export { useNiceActions }
|
|
29182
|
+
|
|
28829
29183
|
export { useNiceAI }
|
|
28830
29184
|
|
|
28831
29185
|
export { useNiceCollapse }
|
|
@@ -28918,22 +29272,10 @@ export declare interface UseNiceTimeoutResult {
|
|
|
28918
29272
|
export declare function useNiceToast(): {
|
|
28919
29273
|
toasts: NiceToastItem[];
|
|
28920
29274
|
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;
|
|
29275
|
+
info: (msg: string, opts?: NiceToastOptions) => string;
|
|
29276
|
+
success: (msg: string, opts?: NiceToastOptions) => string;
|
|
29277
|
+
warning: (msg: string, opts?: NiceToastOptions) => string;
|
|
29278
|
+
error: (msg: string, opts?: NiceToastOptions) => string;
|
|
28937
29279
|
};
|
|
28938
29280
|
|
|
28939
29281
|
export { useNiceTransition }
|
|
@@ -28972,6 +29314,10 @@ export declare interface UseOnlineStatusOptions {
|
|
|
28972
29314
|
|
|
28973
29315
|
export { useOrientation }
|
|
28974
29316
|
|
|
29317
|
+
export { useOverlayFocus }
|
|
29318
|
+
|
|
29319
|
+
export { UseOverlayFocusOptions }
|
|
29320
|
+
|
|
28975
29321
|
export { usePan }
|
|
28976
29322
|
|
|
28977
29323
|
export { UsePanOptions }
|
|
@@ -29139,6 +29485,10 @@ export declare interface UserMenuItem {
|
|
|
29139
29485
|
|
|
29140
29486
|
export { useRouteAnnouncement }
|
|
29141
29487
|
|
|
29488
|
+
export { useRovingFocus }
|
|
29489
|
+
|
|
29490
|
+
export { UseRovingFocusOptions }
|
|
29491
|
+
|
|
29142
29492
|
export { useRovingTabIndex }
|
|
29143
29493
|
|
|
29144
29494
|
export { UseRovingTabIndexOptions }
|
|
@@ -29333,6 +29683,10 @@ export declare function useTracelessStorage(preferredType?: 'local' | 'session')
|
|
|
29333
29683
|
|
|
29334
29684
|
export declare function useTranscoder(): TranscoderContextValue;
|
|
29335
29685
|
|
|
29686
|
+
export { useTreeFocus }
|
|
29687
|
+
|
|
29688
|
+
export { UseTreeFocusOptions }
|
|
29689
|
+
|
|
29336
29690
|
export declare function useUndoKeyboard<T = unknown>(manager: NiceUndoManager<T>): void;
|
|
29337
29691
|
|
|
29338
29692
|
export declare function useUndoManager<T = unknown>(): UndoContextValue<T>;
|