@nice2dev/ui 1.2.1 → 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 +476 -0
- package/dist/NiceButton-CnAIqCbd.js +101 -0
- package/dist/NiceButton-DzCqkG5a.cjs +1 -0
- package/dist/NiceCodeEditor-C43xFG8v.cjs +260 -0
- package/dist/NiceCodeEditor-CK6B54mu.js +1215 -0
- package/dist/NiceCodeEditor-CspuYLh6.js +1174 -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-CrD4HPlO.cjs +10 -0
- package/dist/NiceDataGrid-Dfg1DVbU.js +2224 -0
- package/dist/NiceForm-CISJyzoW.cjs +1 -0
- package/dist/NiceForm-CfAPcXdX.cjs +1 -0
- package/dist/NiceForm-DfKYNQti.js +5017 -0
- package/dist/NiceForm-DmH6k1b_.js +4775 -0
- package/dist/NiceGantt-CHnq-n8f.cjs +1 -0
- package/dist/NiceGantt-CX3jVNaF.js +330 -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/NiceHtmlEditor-DeK0Of98.js +883 -0
- package/dist/NiceHtmlEditor-DvVxl4Fu.cjs +10 -0
- package/dist/NiceLoginForm-CHXbz0eu.js +747 -0
- package/dist/NiceLoginForm-DRPldHXa.js +808 -0
- package/dist/NiceLoginForm-IGLUCQUE.cjs +1 -0
- package/dist/NiceLoginForm-ix6J1adA.cjs +1 -0
- package/dist/NiceMention-CgDp0sl9.cjs +430 -0
- package/dist/NiceMention-DBvFvx71.js +11653 -0
- package/dist/NiceMention-DKhk3xdM.js +11321 -0
- package/dist/NiceMention-wp1AJ5oh.cjs +430 -0
- package/dist/NiceMention.css +1 -1
- package/dist/NiceModal-BbQwiEOp.cjs +1 -0
- package/dist/NiceModal-BlYhFDhP.js +80 -0
- package/dist/NiceModal-DQEfTcnZ.js +85 -0
- package/dist/NiceModal-DmWz2PDM.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-22CEEVbA.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-BCd9Wv5Y.js +6825 -0
- package/dist/NiceModuleLifecyclePanel-D8EoXqBy.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-SN6G7t64.js +7189 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -1
- package/dist/NicePagination-BFGt1v0a.js +165 -0
- package/dist/NicePagination-BJS65foT.js +200 -0
- package/dist/NicePagination-D_3GfWp5.cjs +1 -0
- package/dist/NicePagination-DltL3-Sz.cjs +1 -0
- package/dist/NicePivotGrid-BD87Na7P.js +1163 -0
- package/dist/NicePivotGrid-BPmnvbPQ.cjs +152 -0
- package/dist/NicePivotGrid-D_kRF1Dt.js +1180 -0
- package/dist/NicePivotGrid-DqluEkCI.cjs +152 -0
- package/dist/NiceSavedQueryPanel-BSTiZvFg.js +5130 -0
- package/dist/NiceSavedQueryPanel-C2Tn1cMW.js +5311 -0
- package/dist/NiceSavedQueryPanel-DDKtL1AA.cjs +586 -0
- package/dist/NiceSavedQueryPanel-DrR3sw4T.cjs +586 -0
- package/dist/NiceScheduler-DvxJ8N0I.js +1698 -0
- package/dist/NiceScheduler-GJLvkXJ3.cjs +5 -0
- package/dist/NiceScheduler-TIksdF0k.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-BpELGDXh.cjs +768 -0
- package/dist/charts-C6iOu0H6.cjs +768 -0
- package/dist/charts-M6LuVI7F.js +4776 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.ts +1 -29
- package/dist/charts.mjs +1 -1
- package/dist/core-lazy-B_laOXNf.cjs +1 -0
- package/dist/core-lazy-Ctin_LwS.cjs +1 -0
- package/dist/core-lazy-VQEjdz0L.js +351 -0
- package/dist/core-lazy-iDiropM6.js +351 -0
- package/dist/data-branching-7rpktFJ-.cjs +1 -0
- package/dist/data-branching-BS0aFUMu.js +6428 -0
- package/dist/data-branching-BgIAw01q.cjs +1 -0
- package/dist/data-branching-bvB9K6KS.js +6386 -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-Bp-_aA-9.js +8682 -0
- package/dist/devops-CFytAJQr.cjs +18 -0
- package/dist/devops-CW8YY_zA.js +9122 -0
- package/dist/devops-CXBSjnyX.cjs +17 -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 +199 -194
- package/dist/index.css +1 -1
- package/dist/index.d.ts +378 -48
- package/dist/index.mjs +23248 -21783
- 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-BNFk_BDO.js +8275 -0
- package/dist/no-code-BaAI_sJR.js +8318 -0
- package/dist/no-code-CFdTp543.cjs +331 -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-CMxFt9SW.js +548 -0
- package/dist/pickerCommons-Dc_hlz-e.cjs +1 -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
|
*
|
|
@@ -2376,6 +2445,8 @@ export declare interface CLIArg {
|
|
|
2376
2445
|
*
|
|
2377
2446
|
* Provides programmatic API and CLI runner for scaffolding projects
|
|
2378
2447
|
* with @nice2dev/ui components.
|
|
2448
|
+
*
|
|
2449
|
+
* audit-allow: i18n-file — terminal output for developers, not UI copy.
|
|
2379
2450
|
*/
|
|
2380
2451
|
export declare interface CLICommand {
|
|
2381
2452
|
name: string;
|
|
@@ -3181,6 +3252,8 @@ export { createSSEDataSource }
|
|
|
3181
3252
|
/** Define a set of standard ERP API contracts (views, modules, feature flags). */
|
|
3182
3253
|
export declare function createStandardErpContracts(): NiceApiContract[];
|
|
3183
3254
|
|
|
3255
|
+
export { createTabEscape }
|
|
3256
|
+
|
|
3184
3257
|
/**
|
|
3185
3258
|
* Creates a Zustand-compatible undo middleware.
|
|
3186
3259
|
* Usage:
|
|
@@ -3546,6 +3619,8 @@ export declare interface DetectedFace {
|
|
|
3546
3619
|
thumbnailUrl?: string;
|
|
3547
3620
|
}
|
|
3548
3621
|
|
|
3622
|
+
export { detectGamepadFamily }
|
|
3623
|
+
|
|
3549
3624
|
export declare type DeviceCategory = 'light' | 'switch' | 'thermostat' | 'cover' | 'lock' | 'climate' | 'alarm' | 'media-player' | 'gate' | 'energy-meter';
|
|
3550
3625
|
|
|
3551
3626
|
declare interface DevToolsConfig {
|
|
@@ -4616,6 +4691,8 @@ declare interface ESLintNode {
|
|
|
4616
4691
|
*
|
|
4617
4692
|
* Usage in .eslintrc:
|
|
4618
4693
|
* { plugins: ["@nice2dev/ui"], rules: { "@nice2dev/ui/require-i18n": "warn" } }
|
|
4694
|
+
*
|
|
4695
|
+
* audit-allow: i18n-file — lint messages for developers, not UI copy.
|
|
4619
4696
|
*/
|
|
4620
4697
|
export declare interface ESLintRule {
|
|
4621
4698
|
name: string;
|
|
@@ -5286,6 +5363,10 @@ export { GamepadAxis }
|
|
|
5286
5363
|
|
|
5287
5364
|
export { GamepadButton_2 as GamepadButton }
|
|
5288
5365
|
|
|
5366
|
+
export { gamepadButtonLabel }
|
|
5367
|
+
|
|
5368
|
+
export { gamepadGlyphName }
|
|
5369
|
+
|
|
5289
5370
|
export { GamepadState }
|
|
5290
5371
|
|
|
5291
5372
|
/**
|
|
@@ -5432,6 +5513,8 @@ export { getComputedTheme }
|
|
|
5432
5513
|
|
|
5433
5514
|
export { getDisplayStyleDataAttrs }
|
|
5434
5515
|
|
|
5516
|
+
export { getInputEngine }
|
|
5517
|
+
|
|
5435
5518
|
export { getLeakReports }
|
|
5436
5519
|
|
|
5437
5520
|
export { getLeakSummary }
|
|
@@ -7134,6 +7217,12 @@ export { NICE_DISPLAY_STYLE_INFO }
|
|
|
7134
7217
|
|
|
7135
7218
|
export { NICE_DISPLAY_STYLES }
|
|
7136
7219
|
|
|
7220
|
+
export { NICE_INPUT_DEFAULTS }
|
|
7221
|
+
|
|
7222
|
+
export { NICE_INTENT_EVENT }
|
|
7223
|
+
|
|
7224
|
+
export { NICE_INTENTS }
|
|
7225
|
+
|
|
7137
7226
|
export { NICE_THEME_GALLERY }
|
|
7138
7227
|
|
|
7139
7228
|
export { NICE_THEME_PACK_FONT_LINKS }
|
|
@@ -7313,6 +7402,8 @@ export declare interface NiceAchievementBadgeProps {
|
|
|
7313
7402
|
id?: string;
|
|
7314
7403
|
}
|
|
7315
7404
|
|
|
7405
|
+
export { NiceAction }
|
|
7406
|
+
|
|
7316
7407
|
export declare const NiceActionBuilder: ForwardRefExoticComponent<NiceActionBuilderProps & RefAttributes<HTMLDivElement>>;
|
|
7317
7408
|
|
|
7318
7409
|
export declare interface NiceActionBuilderProps {
|
|
@@ -7396,6 +7487,8 @@ export declare interface NiceActionSheetProps extends NiceBaseProps {
|
|
|
7396
7487
|
error?: string;
|
|
7397
7488
|
}
|
|
7398
7489
|
|
|
7490
|
+
export { NiceActivationKeyEvent }
|
|
7491
|
+
|
|
7399
7492
|
/**
|
|
7400
7493
|
* Composite address editor. Wraps a 1- or 2-column grid of sub-inputs in a standard
|
|
7401
7494
|
* `nice-field`. Honours all `NiceFormFieldProps` (loading/error/helperText/size/
|
|
@@ -7778,6 +7871,8 @@ export declare interface NiceAppShellProps extends NiceBaseProps {
|
|
|
7778
7871
|
* controls its own look and size. Default false.
|
|
7779
7872
|
*/
|
|
7780
7873
|
flush?: boolean;
|
|
7874
|
+
/** Button hint bar in pad and remote modes (1.3.0, default `bottom`; `none` hides it). */
|
|
7875
|
+
hintBar?: NiceShellHintBar;
|
|
7781
7876
|
}
|
|
7782
7877
|
|
|
7783
7878
|
export { NiceAriaProps }
|
|
@@ -8730,6 +8825,10 @@ export declare interface NiceButtonGroupProps extends NiceBaseProps {
|
|
|
8730
8825
|
errorPlacement?: 'bottom' | 'right';
|
|
8731
8826
|
}
|
|
8732
8827
|
|
|
8828
|
+
export { NiceButtonPrompt }
|
|
8829
|
+
|
|
8830
|
+
export { NiceButtonPromptProps }
|
|
8831
|
+
|
|
8733
8832
|
/** Props for the {@link NiceButton} component. */
|
|
8734
8833
|
export declare interface NiceButtonProps extends NiceBaseProps {
|
|
8735
8834
|
/** Button content (text, icons, etc.). */
|
|
@@ -8758,6 +8857,29 @@ export declare interface NiceButtonProps extends NiceBaseProps {
|
|
|
8758
8857
|
errorPlacement?: 'bottom' | 'right';
|
|
8759
8858
|
/** Accessible label — applied as `aria-label` (use for icon-only buttons). */
|
|
8760
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;
|
|
8761
8883
|
}
|
|
8762
8884
|
|
|
8763
8885
|
export { NiceCacheConfig }
|
|
@@ -9033,6 +9155,11 @@ export declare interface NiceCascadeOption {
|
|
|
9033
9155
|
* either commit the selection (leaf) or open its children in
|
|
9034
9156
|
* column N+1. The selected path renders as `Label1 / Label2 / …`.
|
|
9035
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
|
+
*
|
|
9036
9163
|
* Built without portals so it lives inside the document flow — fine
|
|
9037
9164
|
* for sidebar pickers; consumers wrapping into modals should bring
|
|
9038
9165
|
* their own positioning if needed.
|
|
@@ -10142,6 +10269,11 @@ export declare interface NiceCommandPaletteProps {
|
|
|
10142
10269
|
onOpen?: () => void;
|
|
10143
10270
|
/** Called when palette closes */
|
|
10144
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;
|
|
10145
10277
|
}
|
|
10146
10278
|
|
|
10147
10279
|
export declare const NiceCommandPaletteProvider: default_2.FC<NiceCommandPaletteProviderProps>;
|
|
@@ -11094,6 +11226,8 @@ export declare interface NiceDashboardShellProps extends NiceBaseProps {
|
|
|
11094
11226
|
sidePanelWidth?: number;
|
|
11095
11227
|
/** Main dashboard content (widgets grid). */
|
|
11096
11228
|
children?: React.ReactNode;
|
|
11229
|
+
/** Button hint bar in pad and remote modes (1.3.0, default `bottom`; `none` hides it). */
|
|
11230
|
+
hintBar?: NiceShellHintBar;
|
|
11097
11231
|
}
|
|
11098
11232
|
|
|
11099
11233
|
export declare const NiceDataBranchGraph: default_2.FC<NiceDataBranchGraphProps>;
|
|
@@ -12710,6 +12844,8 @@ export declare interface NiceEnergyChartProps extends NiceBaseProps {
|
|
|
12710
12844
|
onDrillDown?: (bucket: string) => void;
|
|
12711
12845
|
}
|
|
12712
12846
|
|
|
12847
|
+
export { NiceEngageKind }
|
|
12848
|
+
|
|
12713
12849
|
/** Minimal entity field descriptor (OmniVerk `ModuleEntityField`-compatible). */
|
|
12714
12850
|
export declare interface NiceEntityFieldLike {
|
|
12715
12851
|
name: string;
|
|
@@ -13337,6 +13473,12 @@ export { NiceFocusable }
|
|
|
13337
13473
|
|
|
13338
13474
|
export { NiceFocusableProps }
|
|
13339
13475
|
|
|
13476
|
+
export { NiceFocusScope }
|
|
13477
|
+
|
|
13478
|
+
export { NiceFocusScopeOptions }
|
|
13479
|
+
|
|
13480
|
+
export { NiceFocusScopeProps }
|
|
13481
|
+
|
|
13340
13482
|
/**
|
|
13341
13483
|
* Cycles Tab / Shift+Tab between the first and last focusable
|
|
13342
13484
|
* descendants. Use inside modals, dialogs, drawers — anywhere
|
|
@@ -13401,34 +13543,6 @@ export declare interface NiceFooterSocialLink {
|
|
|
13401
13543
|
label: string;
|
|
13402
13544
|
}
|
|
13403
13545
|
|
|
13404
|
-
/**
|
|
13405
|
-
* NiceForecastChart — Time series chart with forecast and confidence intervals.
|
|
13406
|
-
*
|
|
13407
|
-
* @example
|
|
13408
|
-
* ```tsx
|
|
13409
|
-
* <NiceForecastChart
|
|
13410
|
-
* scenarios={[
|
|
13411
|
-
* {
|
|
13412
|
-
* id: 'base',
|
|
13413
|
-
* name: 'Base Forecast',
|
|
13414
|
-
* isBase: true,
|
|
13415
|
-
* data: historicalAndForecastData,
|
|
13416
|
-
* showConfidenceBand: true,
|
|
13417
|
-
* confidenceLevel: 95,
|
|
13418
|
-
* },
|
|
13419
|
-
* {
|
|
13420
|
-
* id: 'optimistic',
|
|
13421
|
-
* name: 'Optimistic',
|
|
13422
|
-
* data: optimisticData,
|
|
13423
|
-
* },
|
|
13424
|
-
* ]}
|
|
13425
|
-
* forecastStartDate={new Date('2026-01-01')}
|
|
13426
|
-
* annotations={[
|
|
13427
|
-
* { id: '1', date: '2025-06-15', type: 'event', label: 'Product Launch' }
|
|
13428
|
-
* ]}
|
|
13429
|
-
* />
|
|
13430
|
-
* ```
|
|
13431
|
-
*/
|
|
13432
13546
|
export declare const NiceForecastChart: default_2.ForwardRefExoticComponent<NiceForecastChartProps & default_2.RefAttributes<ForecastChartRef>>;
|
|
13433
13547
|
|
|
13434
13548
|
/**
|
|
@@ -13686,6 +13800,14 @@ export declare interface NiceGalleryProps extends NiceStandardProps {
|
|
|
13686
13800
|
|
|
13687
13801
|
export declare const NiceGamepad: default_2.FC<NiceGamepadProps>;
|
|
13688
13802
|
|
|
13803
|
+
export { NiceGamepadButton }
|
|
13804
|
+
|
|
13805
|
+
export { NiceGamepadButtonAlias }
|
|
13806
|
+
|
|
13807
|
+
export { NiceGamepadFamily }
|
|
13808
|
+
|
|
13809
|
+
export { NiceGamepadInfo }
|
|
13810
|
+
|
|
13689
13811
|
export declare interface NiceGamepadProps extends Omit<NiceDeviceTileProps, 'children'> {
|
|
13690
13812
|
/** 'compact' = micro silhouette icon (default); 'full' = labeled layout. */
|
|
13691
13813
|
view?: 'full' | 'compact';
|
|
@@ -14580,6 +14702,16 @@ export { NiceInlineHelp }
|
|
|
14580
14702
|
|
|
14581
14703
|
export { NiceInlineHelpProps }
|
|
14582
14704
|
|
|
14705
|
+
export { NiceInputEngine }
|
|
14706
|
+
|
|
14707
|
+
export { NiceInputHint }
|
|
14708
|
+
|
|
14709
|
+
export { NiceInputHintBar }
|
|
14710
|
+
|
|
14711
|
+
export { NiceInputHintBarProps }
|
|
14712
|
+
|
|
14713
|
+
export { NiceInputMethod }
|
|
14714
|
+
|
|
14583
14715
|
export declare const NiceInputOtp: default_2.ForwardRefExoticComponent<NiceInputOtpProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14584
14716
|
displayName: string;
|
|
14585
14717
|
};
|
|
@@ -14600,6 +14732,27 @@ export declare interface NiceInputOtpProps extends NiceFormFieldProps {
|
|
|
14600
14732
|
cellWidth?: number | string;
|
|
14601
14733
|
}
|
|
14602
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
|
+
|
|
14603
14756
|
export declare const NiceInstallPrompt: default_2.ForwardRefExoticComponent<NiceInstallPromptProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
14604
14757
|
displayName: string;
|
|
14605
14758
|
};
|
|
@@ -14719,6 +14872,10 @@ export declare interface NiceIntegrationHubProps extends NiceBaseProps {
|
|
|
14719
14872
|
showMonitoring?: boolean;
|
|
14720
14873
|
}
|
|
14721
14874
|
|
|
14875
|
+
export { NiceIntent }
|
|
14876
|
+
|
|
14877
|
+
export { NiceIntentDetail }
|
|
14878
|
+
|
|
14722
14879
|
/**
|
|
14723
14880
|
* {@link NiceInvoiceLineEditor} — Editable grid for invoice/order line items with auto-calculated
|
|
14724
14881
|
* net/gross amounts, VAT breakdown, discounts and totals.
|
|
@@ -14878,6 +15035,10 @@ export { NiceKeyboardHint }
|
|
|
14878
15035
|
|
|
14879
15036
|
export { NiceKeyboardHintProps }
|
|
14880
15037
|
|
|
15038
|
+
export { NiceKeyCap }
|
|
15039
|
+
|
|
15040
|
+
export { NiceKeyCapProps }
|
|
15041
|
+
|
|
14881
15042
|
export declare const NiceKeyValueEditor: ForwardRefExoticComponent<NiceKeyValueEditorProps & RefAttributes<HTMLDivElement>>;
|
|
14882
15043
|
|
|
14883
15044
|
export declare interface NiceKeyValueEditorProps extends NiceBaseProps {
|
|
@@ -14938,6 +15099,13 @@ export declare interface NiceKioskShellProps extends NiceBaseProps {
|
|
|
14938
15099
|
locked?: boolean;
|
|
14939
15100
|
/** Full-screen content (POS, terminal, etc.). */
|
|
14940
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;
|
|
14941
15109
|
}
|
|
14942
15110
|
|
|
14943
15111
|
export declare const NiceKnob: default_2.ForwardRefExoticComponent<NiceKnobProps & default_2.RefAttributes<HTMLDivElement>> & {
|
|
@@ -15148,6 +15316,8 @@ export declare interface NiceLifecycleTrigger {
|
|
|
15148
15316
|
* - Left / Right — previous / next image
|
|
15149
15317
|
* - Escape — close
|
|
15150
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.
|
|
15151
15321
|
*
|
|
15152
15322
|
* All toolbar button labels go through `useNiceTranslation` so the
|
|
15153
15323
|
* viewer follows the global picker.
|
|
@@ -16932,6 +17102,8 @@ export declare interface NiceNavbarProps extends NiceFormFieldProps {
|
|
|
16932
17102
|
onBrandClick?: () => void;
|
|
16933
17103
|
}
|
|
16934
17104
|
|
|
17105
|
+
export { NiceNavDirection }
|
|
17106
|
+
|
|
16935
17107
|
export declare const NiceNavMenu: default_2.ForwardRefExoticComponent<NiceNavMenuProps & default_2.RefAttributes<HTMLElement>> & {
|
|
16936
17108
|
displayName: string;
|
|
16937
17109
|
};
|
|
@@ -17259,10 +17431,34 @@ export declare interface NiceNavShellProps {
|
|
|
17259
17431
|
* Opt-in: wrap the shell in a {@link NiceSpatialNavProvider} so keyboard
|
|
17260
17432
|
* arrows / a gamepad d-pad can navigate focusable controls (registered via
|
|
17261
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.
|
|
17262
17437
|
*/
|
|
17263
17438
|
spatialNavigation?: boolean;
|
|
17264
17439
|
/** Options forwarded to NiceSpatialNavProvider when `spatialNavigation` is on. */
|
|
17265
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;
|
|
17266
17462
|
}
|
|
17267
17463
|
|
|
17268
17464
|
export declare interface NiceNavShellTab {
|
|
@@ -17579,6 +17775,55 @@ export { NiceOnChange }
|
|
|
17579
17775
|
|
|
17580
17776
|
export { NiceOnOpenChange }
|
|
17581
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
|
+
|
|
17582
17827
|
export { NiceOnSelect }
|
|
17583
17828
|
|
|
17584
17829
|
export { NiceOptimisticConfig }
|
|
@@ -18100,7 +18345,7 @@ export declare interface NicePieChartProps extends NiceStandardProps {
|
|
|
18100
18345
|
width?: number;
|
|
18101
18346
|
/** Chart height in px. */
|
|
18102
18347
|
height?: number;
|
|
18103
|
-
/**
|
|
18348
|
+
/** Radius of the hole in px: 0 (default) draws a full pie, more than 0 a donut. */
|
|
18104
18349
|
innerRadius?: number;
|
|
18105
18350
|
/** Chart title. */
|
|
18106
18351
|
title?: string;
|
|
@@ -18560,6 +18805,8 @@ export declare interface NiceProgressProps extends Omit<NiceFormFieldProps, 'sub
|
|
|
18560
18805
|
labelPlacement?: 'top' | 'bottom' | 'left' | 'right';
|
|
18561
18806
|
}
|
|
18562
18807
|
|
|
18808
|
+
export { NicePromptDevice }
|
|
18809
|
+
|
|
18563
18810
|
/**
|
|
18564
18811
|
* Light-weight prompt modal — a tiny `window.prompt` replacement.
|
|
18565
18812
|
* The panel opens with the same `nice-modal-in` animation as `NiceModal` /
|
|
@@ -20563,6 +20810,9 @@ export declare interface NiceSetupWizardRestartConfig {
|
|
|
20563
20810
|
skipConfirm?: boolean;
|
|
20564
20811
|
}
|
|
20565
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
|
+
|
|
20566
20816
|
export declare interface NiceShellProps extends NiceBaseProps {
|
|
20567
20817
|
/** Navigation data for sidebar / menus. */
|
|
20568
20818
|
menu?: NiceUserMenuResponse;
|
|
@@ -21800,6 +22050,11 @@ export declare interface NiceTableProps<T extends Record<string, any> = any> ext
|
|
|
21800
22050
|
emptyText?: string;
|
|
21801
22051
|
}
|
|
21802
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
|
+
*/
|
|
21803
22058
|
export declare const NiceTabs: default_2.FC<NiceTabsProps>;
|
|
21804
22059
|
|
|
21805
22060
|
/** Props for the {@link NiceTabs} component — a tabbed content panel. */
|
|
@@ -21826,6 +22081,12 @@ export declare interface NiceTabsProps extends NiceBaseProps {
|
|
|
21826
22081
|
* icon as a heavily-rounded pill rectangle (not a circle).
|
|
21827
22082
|
*/
|
|
21828
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;
|
|
21829
22090
|
}
|
|
21830
22091
|
|
|
21831
22092
|
export declare const NiceTag: default_2.FC<NiceTagProps>;
|
|
@@ -22135,11 +22396,17 @@ declare interface NiceThemeBuilderProps extends NiceBaseProps {
|
|
|
22135
22396
|
sections?: NiceThemeBuilderSection[];
|
|
22136
22397
|
/** Called when theme changes */
|
|
22137
22398
|
onChange?: (theme: NiceTheme) => void;
|
|
22138
|
-
/**
|
|
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
|
+
*/
|
|
22139
22403
|
onApply?: (theme: NiceTheme) => void;
|
|
22140
|
-
/** Called when user clicks Export */
|
|
22404
|
+
/** Called when user clicks Export; without it the button downloads the theme as `<name>.json`. */
|
|
22141
22405
|
onExport?: (json: string, cssVars: Record<string, string>) => void;
|
|
22142
|
-
/**
|
|
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
|
+
*/
|
|
22143
22410
|
livePreview?: boolean;
|
|
22144
22411
|
/** Currently focused token from NiceThemePreview (auto-switches section + scrolls) */
|
|
22145
22412
|
focusedToken?: string;
|
|
@@ -22462,6 +22729,11 @@ export declare interface NiceTimeoutFeedbackProps extends NiceStandardProps {
|
|
|
22462
22729
|
loading: boolean;
|
|
22463
22730
|
}
|
|
22464
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
|
+
*/
|
|
22465
22737
|
export declare const NiceToastContainer: default_2.FC<ToastContainerProps>;
|
|
22466
22738
|
|
|
22467
22739
|
/** Data object describing a single toast notification. */
|
|
@@ -22476,6 +22748,18 @@ export declare interface NiceToastItem {
|
|
|
22476
22748
|
message: string;
|
|
22477
22749
|
/** Auto-dismiss delay in ms. Omit to keep until manually dismissed. */
|
|
22478
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'];
|
|
22479
22763
|
}
|
|
22480
22764
|
|
|
22481
22765
|
export declare const NiceToggle: default_2.ForwardRefExoticComponent<NiceToggleProps & default_2.RefAttributes<HTMLInputElement>> & {
|
|
@@ -26151,6 +26435,8 @@ export declare function rgbToHsv({ r, g, b }: RGB): HSV;
|
|
|
26151
26435
|
|
|
26152
26436
|
export declare type RoomGridLayout = 'grid' | 'list';
|
|
26153
26437
|
|
|
26438
|
+
export { RovingFocusControls }
|
|
26439
|
+
|
|
26154
26440
|
/**
|
|
26155
26441
|
* Row render context.
|
|
26156
26442
|
*/
|
|
@@ -27951,12 +28237,16 @@ export declare interface TimelineMarker {
|
|
|
27951
28237
|
|
|
27952
28238
|
export declare type TimelineZoomLevel = 'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year';
|
|
27953
28239
|
|
|
28240
|
+
export { toAriaKeyShortcuts }
|
|
28241
|
+
|
|
27954
28242
|
declare interface ToastContainerProps {
|
|
27955
28243
|
toasts: NiceToastItem[];
|
|
27956
28244
|
onDismiss: (id: string) => void;
|
|
27957
28245
|
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center';
|
|
27958
28246
|
}
|
|
27959
28247
|
|
|
28248
|
+
export { toGamepadButton }
|
|
28249
|
+
|
|
27960
28250
|
export { ToggleStyleVariant }
|
|
27961
28251
|
|
|
27962
28252
|
/**
|
|
@@ -28435,6 +28725,8 @@ export declare interface TreeMapNode {
|
|
|
28435
28725
|
|
|
28436
28726
|
export { triggerHaptic }
|
|
28437
28727
|
|
|
28728
|
+
export { triggerNiceAction }
|
|
28729
|
+
|
|
28438
28730
|
/** Context value provided by the {@link NiceTutorialProvider} for imperative tutorial control. */
|
|
28439
28731
|
export declare interface TutorialContextValue {
|
|
28440
28732
|
/** Start a tutorial with the given steps */
|
|
@@ -28710,6 +29002,8 @@ export { useComponentDisplayStyle }
|
|
|
28710
29002
|
|
|
28711
29003
|
export { useComponentHelp }
|
|
28712
29004
|
|
|
29005
|
+
export { useConnectedGamepads }
|
|
29006
|
+
|
|
28713
29007
|
export { useContainerSize }
|
|
28714
29008
|
|
|
28715
29009
|
export { UseContainerSizeResult }
|
|
@@ -28770,6 +29064,10 @@ export declare function useEditorStatePersistence({ storageKey, autoSaveInterval
|
|
|
28770
29064
|
policy: ITracelessPolicy;
|
|
28771
29065
|
};
|
|
28772
29066
|
|
|
29067
|
+
export { useEngage }
|
|
29068
|
+
|
|
29069
|
+
export { UseEngageOptions }
|
|
29070
|
+
|
|
28773
29071
|
export declare function useERPReportDesigner(): ERPReportDesignerContextValue;
|
|
28774
29072
|
|
|
28775
29073
|
export declare function useFAQ(): FAQContextValue;
|
|
@@ -28782,14 +29080,22 @@ export declare function useFeatureFlags(): NiceFeatureFlagsContextValue;
|
|
|
28782
29080
|
|
|
28783
29081
|
export { useFocusManagement }
|
|
28784
29082
|
|
|
29083
|
+
export { useFocusScope }
|
|
29084
|
+
|
|
28785
29085
|
export { useFocusTrap }
|
|
28786
29086
|
|
|
28787
29087
|
export { useFormGeneration }
|
|
28788
29088
|
|
|
28789
29089
|
export { useGamepad }
|
|
28790
29090
|
|
|
29091
|
+
export { useGamepadFamily }
|
|
29092
|
+
|
|
28791
29093
|
export { UseGamepadOptions }
|
|
28792
29094
|
|
|
29095
|
+
export { useGridFocus }
|
|
29096
|
+
|
|
29097
|
+
export { UseGridFocusOptions }
|
|
29098
|
+
|
|
28793
29099
|
export { useGridPreferences }
|
|
28794
29100
|
|
|
28795
29101
|
/**
|
|
@@ -28818,10 +29124,26 @@ export declare function useGridStatePersistence({ storageKey, initialState, onSt
|
|
|
28818
29124
|
|
|
28819
29125
|
export { useHaptic }
|
|
28820
29126
|
|
|
29127
|
+
export { useHintsVisible }
|
|
29128
|
+
|
|
29129
|
+
export { useInputEngine }
|
|
29130
|
+
|
|
29131
|
+
export { useInputHints }
|
|
29132
|
+
|
|
29133
|
+
export { useInputMethod }
|
|
29134
|
+
|
|
28821
29135
|
export { useInputMode }
|
|
28822
29136
|
|
|
29137
|
+
export { useInputPreferences }
|
|
29138
|
+
|
|
29139
|
+
export { useInputState }
|
|
29140
|
+
|
|
28823
29141
|
export declare function useIntegrationHub(): IntegrationHubContextValue;
|
|
28824
29142
|
|
|
29143
|
+
export { useIntent }
|
|
29144
|
+
|
|
29145
|
+
export { UseIntentOptions }
|
|
29146
|
+
|
|
28825
29147
|
export { useIsTouchDevice }
|
|
28826
29148
|
|
|
28827
29149
|
/**
|
|
@@ -28841,6 +29163,10 @@ export { useMediaQuery }
|
|
|
28841
29163
|
|
|
28842
29164
|
export { useMemoryMonitor }
|
|
28843
29165
|
|
|
29166
|
+
export { useMenuButton }
|
|
29167
|
+
|
|
29168
|
+
export { UseMenuButtonOptions }
|
|
29169
|
+
|
|
28844
29170
|
/** Hook to access the module loader. */
|
|
28845
29171
|
export declare function useModuleLoader(): NiceModuleLoaderContextValue;
|
|
28846
29172
|
|
|
@@ -28850,6 +29176,10 @@ export { useNiceA11y }
|
|
|
28850
29176
|
|
|
28851
29177
|
export { useNiceAccessMode }
|
|
28852
29178
|
|
|
29179
|
+
export { useNiceAction }
|
|
29180
|
+
|
|
29181
|
+
export { useNiceActions }
|
|
29182
|
+
|
|
28853
29183
|
export { useNiceAI }
|
|
28854
29184
|
|
|
28855
29185
|
export { useNiceCollapse }
|
|
@@ -28942,22 +29272,10 @@ export declare interface UseNiceTimeoutResult {
|
|
|
28942
29272
|
export declare function useNiceToast(): {
|
|
28943
29273
|
toasts: NiceToastItem[];
|
|
28944
29274
|
dismiss: (id: string) => void;
|
|
28945
|
-
info: (msg: string, opts?:
|
|
28946
|
-
|
|
28947
|
-
|
|
28948
|
-
|
|
28949
|
-
success: (msg: string, opts?: {
|
|
28950
|
-
title?: string;
|
|
28951
|
-
duration?: number;
|
|
28952
|
-
}) => string;
|
|
28953
|
-
warning: (msg: string, opts?: {
|
|
28954
|
-
title?: string;
|
|
28955
|
-
duration?: number;
|
|
28956
|
-
}) => string;
|
|
28957
|
-
error: (msg: string, opts?: {
|
|
28958
|
-
title?: string;
|
|
28959
|
-
duration?: number;
|
|
28960
|
-
}) => 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;
|
|
28961
29279
|
};
|
|
28962
29280
|
|
|
28963
29281
|
export { useNiceTransition }
|
|
@@ -28996,6 +29314,10 @@ export declare interface UseOnlineStatusOptions {
|
|
|
28996
29314
|
|
|
28997
29315
|
export { useOrientation }
|
|
28998
29316
|
|
|
29317
|
+
export { useOverlayFocus }
|
|
29318
|
+
|
|
29319
|
+
export { UseOverlayFocusOptions }
|
|
29320
|
+
|
|
28999
29321
|
export { usePan }
|
|
29000
29322
|
|
|
29001
29323
|
export { UsePanOptions }
|
|
@@ -29163,6 +29485,10 @@ export declare interface UserMenuItem {
|
|
|
29163
29485
|
|
|
29164
29486
|
export { useRouteAnnouncement }
|
|
29165
29487
|
|
|
29488
|
+
export { useRovingFocus }
|
|
29489
|
+
|
|
29490
|
+
export { UseRovingFocusOptions }
|
|
29491
|
+
|
|
29166
29492
|
export { useRovingTabIndex }
|
|
29167
29493
|
|
|
29168
29494
|
export { UseRovingTabIndexOptions }
|
|
@@ -29357,6 +29683,10 @@ export declare function useTracelessStorage(preferredType?: 'local' | 'session')
|
|
|
29357
29683
|
|
|
29358
29684
|
export declare function useTranscoder(): TranscoderContextValue;
|
|
29359
29685
|
|
|
29686
|
+
export { useTreeFocus }
|
|
29687
|
+
|
|
29688
|
+
export { UseTreeFocusOptions }
|
|
29689
|
+
|
|
29360
29690
|
export declare function useUndoKeyboard<T = unknown>(manager: NiceUndoManager<T>): void;
|
|
29361
29691
|
|
|
29362
29692
|
export declare function useUndoManager<T = unknown>(): UndoContextValue<T>;
|