@nice2dev/ui 1.0.17 → 1.0.19
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 +316 -0
- package/dist/NiceAlertDialog.doc-BST0-aVs.cjs +14 -0
- package/dist/NiceAlertDialog.doc-GRpJU_5Y.js +38 -0
- package/dist/NiceAnimatePresence.doc-BrttRpeS.js +36 -0
- package/dist/NiceAnimatePresence.doc-IdEWrSnT.cjs +12 -0
- package/dist/NiceCalendarScheduler.doc-Cc-DFMhR.js +33 -0
- package/dist/NiceCalendarScheduler.doc-TPe0kRBN.cjs +9 -0
- package/dist/NiceCameraFeed.doc-BJl0gdWv.js +31 -0
- package/dist/NiceCameraFeed.doc-Bt4eZ8MH.cjs +7 -0
- package/dist/NiceChip.doc-Bccf4IQe.cjs +7 -0
- package/dist/NiceChip.doc-DEsqjL7z.js +31 -0
- package/dist/NiceCombobox.doc-8hMzrsdM.js +34 -0
- package/dist/NiceCombobox.doc-C5IPnVuz.cjs +10 -0
- package/dist/NiceConfigProvider.doc-CKIudO44.js +32 -0
- package/dist/NiceConfigProvider.doc-bMLQj3Zx.cjs +8 -0
- package/dist/NiceCronEditor.doc-BThdELxx.js +31 -0
- package/dist/NiceCronEditor.doc-w_TbOWFo.cjs +7 -0
- package/dist/NiceDataList.doc-DHXrpTPT.cjs +9 -0
- package/dist/NiceDataList.doc-R8SchHqZ.js +33 -0
- package/dist/NiceDiagram.doc-CASS0Tnj.cjs +8 -0
- package/dist/NiceDiagram.doc-DGX-Hwhg.js +32 -0
- package/dist/NiceDocPage.doc-BVBe27kj.cjs +1 -0
- package/dist/NiceDocPage.doc-CDcL3Sqt.js +25 -0
- package/dist/NiceDrawingCanvas.doc-DYYFKKMW.js +32 -0
- package/dist/NiceDrawingCanvas.doc-wa684gbC.cjs +8 -0
- package/dist/NiceDropdown.doc-D2NS9hBT.js +35 -0
- package/dist/NiceDropdown.doc-dAgER8da.cjs +11 -0
- package/dist/NiceDropzone.doc-CVVNc9SE.cjs +9 -0
- package/dist/NiceDropzone.doc-aeajYWqU.js +33 -0
- package/dist/NiceEnergyMonitor.doc-BBnVKuwf.js +32 -0
- package/dist/NiceEnergyMonitor.doc-lf6CCIYi.cjs +8 -0
- package/dist/NiceErrorBoundary-COY0cEsF.js +762 -0
- package/dist/NiceErrorBoundary-CR-_ZScD.cjs +1 -0
- package/dist/NiceErrorBoundary-DBCCmeyl.js +770 -0
- package/dist/NiceErrorBoundary-V6wkSSLP.cjs +1 -0
- package/dist/NiceExpressionBuilder.doc-CTjqEcZR.cjs +8 -0
- package/dist/NiceExpressionBuilder.doc-Cu_ORFhd.js +32 -0
- package/dist/NiceFileExplorer.doc-B0aN041v.js +32 -0
- package/dist/NiceFileExplorer.doc-DNHYQF_t.cjs +8 -0
- package/dist/NiceFloatingActionButton.doc-BOlJwq4S.cjs +7 -0
- package/dist/NiceFloatingActionButton.doc-oYnwvMP9.js +31 -0
- package/dist/NiceFontPicker.doc-B10vOqeF.cjs +8 -0
- package/dist/NiceFontPicker.doc-DuPp0cDP.js +32 -0
- package/dist/NiceForm-COk1rNVa.js +5357 -0
- package/dist/NiceForm-CU8Dldq-.cjs +382 -0
- package/dist/NiceForm-DLADlHAQ.js +5383 -0
- package/dist/NiceForm-DUkduLqG.cjs +382 -0
- package/dist/NiceForm.css +1 -1
- package/dist/NiceGestureHandler.doc-9GGvVnM5.cjs +8 -0
- package/dist/NiceGestureHandler.doc-BduQU3SA.js +32 -0
- package/dist/NiceHeader.doc-Cxoy_f_k.cjs +6 -0
- package/dist/NiceHeader.doc-DjAVl-T4.js +30 -0
- package/dist/NiceImage.doc-COy4iVy1.js +34 -0
- package/dist/NiceImage.doc-CvnaTRj8.cjs +10 -0
- package/dist/NiceInPlaceEditor.doc-8nC6Kqvn.cjs +1 -0
- package/dist/NiceInPlaceEditor.doc-gF1XPyu5.js +25 -0
- package/dist/NiceInteractiveTimeline.doc-BTeASFR4.js +50 -0
- package/dist/NiceInteractiveTimeline.doc-WMOVQhMe.cjs +11 -0
- package/dist/NiceJsonEditor.doc-BpVa-AlY.js +31 -0
- package/dist/NiceJsonEditor.doc-DeyoVDQw.cjs +7 -0
- package/dist/NiceMegaMenu.doc-CO34gN43.cjs +7 -0
- package/dist/NiceMegaMenu.doc-DpchTBL6.js +31 -0
- package/dist/NiceMentionInput.doc-O0W58Unu.js +32 -0
- package/dist/NiceMentionInput.doc-ZSPjBsZc.cjs +8 -0
- package/dist/NiceModal-CIITx65V.cjs +1 -0
- package/dist/NiceModal-CN23FZsc.js +95 -0
- package/dist/NiceModal-CUdeVj-j.js +95 -0
- package/dist/NiceModal-Cc8R-DpX.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-4UEsYB5r.js +6553 -0
- package/dist/NiceModuleLifecyclePanel-BDnsr5ZW.js +6349 -0
- package/dist/NiceModuleLifecyclePanel-C6agdtTI.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-F1uN0gMh.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -1
- package/dist/NiceMotion.doc-COF5BldG.cjs +9 -0
- package/dist/NiceMotion.doc-utheTBgM.js +33 -0
- package/dist/NiceMultiColumnComboBox.doc-Ben0Q0J0.cjs +1 -0
- package/dist/NiceMultiColumnComboBox.doc-CK1DppZI.js +25 -0
- package/dist/NiceNotificationList.doc-CBWusjJX.cjs +7 -0
- package/dist/NiceNotificationList.doc-D7lQIxK0.js +31 -0
- package/dist/NiceOfflineSync.doc-BLQFyOf2.cjs +8 -0
- package/dist/NiceOfflineSync.doc-CKWFmR3b.js +32 -0
- package/dist/NicePagination-B4U0LwZy.js +171 -0
- package/dist/NicePagination-CGQf54a9.cjs +1 -0
- package/dist/NicePagination-Cqr3Pe_F.js +171 -0
- package/dist/NicePagination-DyWWdtb3.cjs +1 -0
- package/dist/NicePinCodeInput-C6zJxUVf.cjs +419 -0
- package/dist/NicePinCodeInput-DG_-eXXJ.cjs +419 -0
- package/dist/NicePinCodeInput-g-yUiepm.js +11875 -0
- package/dist/NicePinCodeInput-ltwzQf4r.js +12240 -0
- package/dist/NicePinCodeInput.css +1 -1
- package/dist/NicePreview.doc-Cl7_5MVR.js +30 -0
- package/dist/NicePreview.doc-atKISvmp.cjs +6 -0
- package/dist/NicePropertyGrid.doc-D6xljYe1.cjs +7 -0
- package/dist/NicePropertyGrid.doc-nX2etusg.js +31 -0
- package/dist/NiceRadio.doc-BTURz62X.js +27 -0
- package/dist/NiceRadio.doc-Cc8-1vbn.cjs +3 -0
- package/dist/NiceRecurrencePicker.doc-78HjPJm0.js +31 -0
- package/dist/NiceRecurrencePicker.doc-vC2YmCXF.cjs +7 -0
- package/dist/NiceRichTextEditor.doc-ClPCkzCd.cjs +6 -0
- package/dist/NiceRichTextEditor.doc-CtmV9UvX.js +30 -0
- package/dist/NiceSavedQueryPanel-BIXW0y1X.js +6455 -0
- package/dist/NiceSavedQueryPanel-CE3QR4RY.js +6446 -0
- package/dist/NiceSavedQueryPanel-CFHwMDIx.cjs +596 -0
- package/dist/NiceSavedQueryPanel-DSnj-3Es.cjs +596 -0
- package/dist/NiceSavedQueryPanel.css +1 -1
- package/dist/NiceSceneSelector.doc-CY2OmaWQ.cjs +7 -0
- package/dist/NiceSceneSelector.doc-UsVgDrw1.js +31 -0
- package/dist/NiceScrollArea.doc-C6Y-odUa.js +27 -0
- package/dist/NiceScrollArea.doc-LdxDrGDY.cjs +3 -0
- package/dist/NiceSheet.doc-CsIu3Y1G.cjs +11 -0
- package/dist/NiceSheet.doc-DLfSY-MA.js +35 -0
- package/dist/NiceSpeedDial.doc-CSWvNR9n.cjs +7 -0
- package/dist/NiceSpeedDial.doc-DqnpBcMy.js +31 -0
- package/dist/NiceSplitPane.doc-Ck_FvdL6.cjs +9 -0
- package/dist/NiceSplitPane.doc-Di68JZuy.js +33 -0
- package/dist/NiceSpotlight.doc-CM4PnsHE.js +34 -0
- package/dist/NiceSpotlight.doc-Dm_B-kUJ.cjs +10 -0
- package/dist/NiceStepNavigation.doc-DXraCs7t.js +31 -0
- package/dist/NiceStepNavigation.doc-TSy2dWmf.cjs +7 -0
- package/dist/NiceSteps.doc-C_mkhnez.cjs +10 -0
- package/dist/NiceSteps.doc-PW1zubHM.js +34 -0
- package/dist/NiceSwitch.doc-CLc7OxrE.cjs +6 -0
- package/dist/NiceSwitch.doc-dGMMY4es.js +30 -0
- package/dist/NiceTabs-32xjguOv.cjs +1 -0
- package/dist/NiceTabs-B9zxj6qd.js +1657 -0
- package/dist/NiceTabs-Blk0h4jY.js +1624 -0
- package/dist/NiceTabs-CNauJ4fu.cjs +1 -0
- package/dist/NiceTransition.doc-BmImVoB8.js +35 -0
- package/dist/NiceTransition.doc-GA1N91ON.cjs +11 -0
- package/dist/NiceTree.doc-D7SCXljC.js +40 -0
- package/dist/NiceTree.doc-DZx3hUwY.cjs +16 -0
- package/dist/NiceUnitConverter.doc-DmiyYOH_.cjs +10 -0
- package/dist/NiceUnitConverter.doc-YnzD3uKT.js +34 -0
- package/dist/NiceVirtualGrid.doc-DI2c9ckY.js +35 -0
- package/dist/NiceVirtualGrid.doc-rtwudxTG.cjs +11 -0
- package/dist/NiceVirtualList.doc-BpoTiXoV.js +31 -0
- package/dist/NiceVirtualList.doc-C8q-Hfl0.cjs +7 -0
- package/dist/NiceWindow-B4jA_-hi.js +1409 -0
- package/dist/NiceWindow-Bo_yCa1o.js +1418 -0
- package/dist/NiceWindow-DPzJxOfx.cjs +1 -0
- package/dist/NiceWindow-UpKllge7.cjs +1 -0
- package/dist/charts-0BEMJ0Xt.js +4657 -0
- package/dist/charts-C60va95_.js +4657 -0
- package/dist/charts-CbxmU6Z2.cjs +761 -0
- package/dist/charts-D_I1iwel.cjs +761 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.css +1 -1
- package/dist/charts.d.ts +19 -19
- package/dist/charts.mjs +1 -1
- package/dist/core-BIA5_uSq.js +22316 -0
- package/dist/core-Bcc4sz15.cjs +96 -0
- package/dist/core-DQYnL6uf.cjs +96 -0
- package/dist/core-Da1dGJN3.js +22401 -0
- package/dist/data.cjs +1 -1
- package/dist/data.d.ts +5 -0
- package/dist/data.mjs +1 -1
- package/dist/editors.cjs +1 -1
- package/dist/editors.d.ts +44 -1
- package/dist/editors.mjs +3 -3
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.d.ts +10 -10
- package/dist/feedback.mjs +2 -2
- package/dist/index-BjBsn6ad.cjs +5194 -0
- package/dist/index-C2Uoywo9.js +63852 -0
- package/dist/index-DCDfWfAt.js +64336 -0
- package/dist/index-DpiCo0_e.cjs +5194 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1798 -57
- package/dist/index.mjs +943 -895
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +4 -3
- package/dist/lazy.mjs +3 -3
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +15 -1
- package/dist/navigation.mjs +30 -30
- package/dist/overlays.cjs +1 -1
- package/dist/overlays.mjs +53 -53
- package/dist/style.css +6 -6
- package/package.json +3 -3
package/dist/data.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceSavedQueryPanel-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceSavedQueryPanel-CFHwMDIx.cjs");exports.NiceCardView=e.NiceCardView;exports.NiceDataGrid=e.NiceDataGrid;exports.NiceDataGridAI=e.NiceDataGridAI;exports.NiceKanbanBoard=e.NiceKanbanBoard;exports.NiceList=e.NiceList;exports.NiceModuleGrid=e.NiceModuleGrid;exports.NicePivotGrid=e.NicePivotGrid;exports.NicePivotGridFieldChooser=e.NicePivotGridFieldChooser;exports.NiceReconciliationView=e.NiceReconciliationView;exports.NiceSavedQueryPanel=e.NiceSavedQueryPanel;exports.NiceSpreadsheet=e.NiceSpreadsheet;exports.NiceTable=e.NiceTable;exports.NiceTileView=e.NiceTileView;exports.NiceTreeGrid=e.NiceTreeGrid;exports.NiceTreeList=e.NiceTreeList;exports.NiceTreeView=e.NiceTreeView;exports.computeAggregate=e.computeAggregate;exports.escapeCsvField=e.escapeCsvField;
|
package/dist/data.d.ts
CHANGED
|
@@ -1706,6 +1706,11 @@ export declare interface NiceTreeViewProps extends NiceBaseProps {
|
|
|
1706
1706
|
editable?: boolean;
|
|
1707
1707
|
/** Called when a node label is edited. */
|
|
1708
1708
|
onNodeEdit?: (key: string, newText: string) => void;
|
|
1709
|
+
/**
|
|
1710
|
+
* Maximum nesting depth rendered (1..10). Beyond this, nodes are treated as
|
|
1711
|
+
* leaves (children not rendered, no expand toggle). Default: unlimited.
|
|
1712
|
+
*/
|
|
1713
|
+
maxDepth?: number;
|
|
1709
1714
|
}
|
|
1710
1715
|
|
|
1711
1716
|
/**
|
package/dist/data.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as a, a as s, b as c, c as r, d as N, e as d, f as o, g as t, h as l, i as n, j as G, k as p, l as T, m as g, n as v, o as w, p as V, q as b } from "./NiceSavedQueryPanel-
|
|
1
|
+
import { N as a, a as s, b as c, c as r, d as N, e as d, f as o, g as t, h as l, i as n, j as G, k as p, l as T, m as g, n as v, o as w, p as V, q as b } from "./NiceSavedQueryPanel-BIXW0y1X.js";
|
|
2
2
|
export {
|
|
3
3
|
a as NiceCardView,
|
|
4
4
|
s as NiceDataGrid,
|
package/dist/editors.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./NiceTabs-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./NiceTabs-CNauJ4fu.cjs"),i=require("./NiceForm-DUkduLqG.cjs"),e=require("./NicePinCodeInput-C6zJxUVf.cjs");exports.NiceCheckbox=c.NiceCheckbox;exports.NiceColorPicker=c.NiceColorPicker;exports.NiceNumberInput=c.NiceNumberInput;exports.NiceSelect=c.NiceSelect;exports.NiceTextInput=c.NiceTextInput;exports.NiceToggle=c.NiceToggle;exports.MASK_PRESETS=i.MASK_PRESETS;exports.NiceAutocomplete=i.NiceAutocomplete;exports.NiceCountryPicker=i.NiceCountryPicker;exports.NiceDatePicker=i.NiceDatePicker;exports.NiceDateTimePicker=i.NiceDateTimePicker;exports.NiceFileUpload=i.NiceFileUpload;exports.NiceForm=i.NiceForm;exports.NiceMaskedInput=i.NiceMaskedInput;exports.NicePasswordInput=i.NicePasswordInput;exports.NicePhoneInput=i.NicePhoneInput;exports.NiceRadioGroup=i.NiceRadioGroup;exports.NiceRating=i.NiceRating;exports.NiceSlider=i.NiceSlider;exports.NiceTagBox=i.NiceTagBox;exports.NiceTextArea=i.NiceTextArea;exports.NiceTimePicker=i.NiceTimePicker;exports.NICE_COLOR_PRESET_KEYS=e.NICE_COLOR_PRESET_KEYS;exports.NiceAccountPicker=e.NiceAccountPicker;exports.NiceAddressInput=e.NiceAddressInput;exports.NiceCalendar=e.NiceCalendar;exports.NiceCodeEditor=e.NiceCodeEditor;exports.NiceCodeEditorAI=e.NiceCodeEditorAI;exports.NiceColorPalette=e.NiceColorPalette;exports.NiceContactPicker=e.NiceContactPicker;exports.NiceCropEditor=e.NiceCropEditor;exports.NiceCurrencyInput=e.NiceCurrencyInput;exports.NiceDateRangeBox=e.NiceDateRangeBox;exports.NiceDocumentEditor=e.NiceDocumentEditor;exports.NiceDropDownBox=e.NiceDropDownBox;exports.NiceEmojiPicker=e.NiceEmojiPicker;exports.NiceGradientPicker=e.NiceGradientPicker;exports.NiceHtmlEditor=e.NiceHtmlEditor;exports.NiceHtmlEditorAI=e.NiceHtmlEditorAI;exports.NiceImageAnnotator=e.NiceImageAnnotator;exports.NiceImageEditor=e.NiceImageEditor;exports.NiceInputOtp=e.NiceInputOtp;exports.NiceInvoiceLineEditor=e.NiceInvoiceLineEditor;exports.NiceKnob=e.NiceKnob;exports.NiceLookup=e.NiceLookup;exports.NiceMarkdownEditor=e.NiceMarkdownEditor;exports.NiceMention=e.NiceMention;exports.NicePDFAnnotationEditor=e.NicePDFAnnotationEditor;exports.NicePickList=e.NicePickList;exports.NicePinCodeInput=e.NicePinCodeInput;exports.NiceRangeSlider=e.NiceRangeSlider;exports.NiceScannerControl=e.NiceScannerControl;exports.NiceSignature=e.NiceSignature;exports.NiceSignaturePad=e.NiceSignaturePad;exports.NiceTaxRatePicker=e.NiceTaxRatePicker;exports.NiceTreeSelect=e.NiceTreeSelect;exports.NiceVatInput=e.NiceVatInput;exports.NiceWiki=e.NiceWiki;
|
package/dist/editors.d.ts
CHANGED
|
@@ -699,6 +699,29 @@ export declare interface NiceColorPaletteProps extends NiceBaseProps {
|
|
|
699
699
|
label?: string;
|
|
700
700
|
/** Disabled state */
|
|
701
701
|
disabled?: boolean;
|
|
702
|
+
/**
|
|
703
|
+
* Target number of colors in the generated palette. Overrides the natural
|
|
704
|
+
* count of the active harmony mode (clamped between `minColors` and
|
|
705
|
+
* `maxColors`). When omitted, the harmony's natural angle count is used.
|
|
706
|
+
*/
|
|
707
|
+
colorCount?: number;
|
|
708
|
+
/**
|
|
709
|
+
* Step size (HSV value delta) between adjacent colors in the `shade-chain`
|
|
710
|
+
* mode. Default 0.12.
|
|
711
|
+
*/
|
|
712
|
+
shadeStep?: number;
|
|
713
|
+
/** Called when the user changes the shade step via the in-component control. */
|
|
714
|
+
onShadeStepChange?: (step: number) => void;
|
|
715
|
+
/**
|
|
716
|
+
* Custom harmony schemes. Appended to the built-in mode list in the
|
|
717
|
+
* selector and persisted via `localStorage` when `persistCustomSchemes`
|
|
718
|
+
* is true.
|
|
719
|
+
*/
|
|
720
|
+
customSchemes?: NiceCustomHarmonyScheme[];
|
|
721
|
+
/** Called when the user edits the custom-schemes list. */
|
|
722
|
+
onCustomSchemesChange?: (schemes: NiceCustomHarmonyScheme[]) => void;
|
|
723
|
+
/** Persist custom schemes to `localStorage["nice-palette-custom-schemes"]`. Default true. */
|
|
724
|
+
persistCustomSchemes?: boolean;
|
|
702
725
|
}
|
|
703
726
|
|
|
704
727
|
export declare const NiceColorPicker: default_2.ForwardRefExoticComponent<NiceColorPickerProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
@@ -796,6 +819,12 @@ export declare interface NiceCountryPickerProps extends NiceFormFieldProps, Dual
|
|
|
796
819
|
* false (except flag) and ignoring `controlWidth`. Default: false.
|
|
797
820
|
*/
|
|
798
821
|
compact?: boolean;
|
|
822
|
+
/**
|
|
823
|
+
* Visual variant. `'ghost'` removes border, background and the dropdown
|
|
824
|
+
* arrow — only the flag/icon is shown. Designed for dense toolbars
|
|
825
|
+
* (e.g. NiceTopNav narrow mode). Default: `'default'`.
|
|
826
|
+
*/
|
|
827
|
+
variant?: 'default' | 'ghost';
|
|
799
828
|
/**
|
|
800
829
|
* Dropdown horizontal alignment relative to the trigger. `'auto'` picks
|
|
801
830
|
* the side with more available viewport space (right-edge preferred).
|
|
@@ -896,6 +925,15 @@ export declare interface NiceCurrencyInputProps extends NiceFormFieldProps {
|
|
|
896
925
|
onBlur?: (e: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
897
926
|
}
|
|
898
927
|
|
|
928
|
+
/** A user-defined harmony scheme (hue angles + optional lightness offsets). */
|
|
929
|
+
declare interface NiceCustomHarmonyScheme {
|
|
930
|
+
id: string;
|
|
931
|
+
name: string;
|
|
932
|
+
angles: number[];
|
|
933
|
+
/** Optional per-color lightness deltas applied on top of preset/base V. */
|
|
934
|
+
lightnessOffsets?: number[];
|
|
935
|
+
}
|
|
936
|
+
|
|
899
937
|
/** Predefined date-format presets. */
|
|
900
938
|
export declare type NiceDateFormatPreset = 'date-local' | 'date-utc' | 'datetime-local' | 'datetime-utc' | 'month-local' | 'month-utc' | 'week' | 'time';
|
|
901
939
|
|
|
@@ -1358,7 +1396,7 @@ declare interface NiceGradientValue {
|
|
|
1358
1396
|
stops: NiceGradientStop[];
|
|
1359
1397
|
}
|
|
1360
1398
|
|
|
1361
|
-
declare type NiceHarmonyMode = 'monochromatic' | 'complementary' | 'split-complementary' | 'analogous' | 'triadic' | 'tetradic' | 'square' | 'custom';
|
|
1399
|
+
declare type NiceHarmonyMode = 'monochromatic' | 'complementary' | 'split-complementary' | 'analogous' | 'triadic' | 'tetradic' | 'square' | 'shade-chain' | 'custom';
|
|
1362
1400
|
|
|
1363
1401
|
export declare const NiceHtmlEditor: default_2.FC<NiceHtmlEditorProps>;
|
|
1364
1402
|
|
|
@@ -2501,6 +2539,11 @@ export declare interface NiceTreeSelectProps extends NiceFormFieldProps {
|
|
|
2501
2539
|
/** Only allow selection of leaf nodes */
|
|
2502
2540
|
selectableLeafsOnly?: boolean;
|
|
2503
2541
|
clearable?: boolean;
|
|
2542
|
+
/**
|
|
2543
|
+
* Maximum nesting depth rendered (1..10). Beyond this, nodes are treated as
|
|
2544
|
+
* leaves (children not rendered, no expand toggle). Default: unlimited.
|
|
2545
|
+
*/
|
|
2546
|
+
maxDepth?: number;
|
|
2504
2547
|
}
|
|
2505
2548
|
|
|
2506
2549
|
/**
|
package/dist/editors.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as a, a as c, b as s, c as N, d as o, e as t } from "./NiceTabs-
|
|
2
|
-
import { M as n, N as d, a as p, b as u, c as P, d as k, e as E, f as l, g as I, h as m, i as C, j as g, k as S, l as x, m as A, n as T } from "./NiceForm-
|
|
3
|
-
import { N as R, a as b, b as f, c as M, d as h, e as w, f as B, g as F, h as L, i as _, j, k as y, l as G, m as H, n as K, o as O, p as v, q, r as z, s as U, t as V, u as W, v as Y, w as J, x as Q, y as X, z as Z, A as $, B as ee, C as ie, D as ae, E as ce, F as se, G as Ne, H as oe, I as te } from "./NicePinCodeInput-
|
|
1
|
+
import { N as a, a as c, b as s, c as N, d as o, e as t } from "./NiceTabs-B9zxj6qd.js";
|
|
2
|
+
import { M as n, N as d, a as p, b as u, c as P, d as k, e as E, f as l, g as I, h as m, i as C, j as g, k as S, l as x, m as A, n as T } from "./NiceForm-DLADlHAQ.js";
|
|
3
|
+
import { N as R, a as b, b as f, c as M, d as h, e as w, f as B, g as F, h as L, i as _, j, k as y, l as G, m as H, n as K, o as O, p as v, q, r as z, s as U, t as V, u as W, v as Y, w as J, x as Q, y as X, z as Z, A as $, B as ee, C as ie, D as ae, E as ce, F as se, G as Ne, H as oe, I as te } from "./NicePinCodeInput-ltwzQf4r.js";
|
|
4
4
|
export {
|
|
5
5
|
n as MASK_PRESETS,
|
|
6
6
|
R as NICE_COLOR_PRESET_KEYS,
|
package/dist/feedback.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceErrorBoundary-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceErrorBoundary-V6wkSSLP.cjs"),i=require("./NiceModal-Cc8R-DpX.cjs");exports.NiceAlert=e.NiceAlert;exports.NiceConfirmDialog=e.NiceConfirmDialog;exports.NiceCookieConsent=e.NiceCookieConsent;exports.NiceDrawer=e.NiceDrawer;exports.NiceErrorBoundary=e.NiceErrorBoundary;exports.NiceLoginForm=e.NiceLoginForm;exports.NiceOfflineBanner=e.NiceOfflineBanner;exports.NiceRetryPanel=e.NiceRetryPanel;exports.NiceTimeoutFeedback=e.NiceTimeoutFeedback;exports.NiceToastContainer=e.NiceToastContainer;exports.alertIcons=e.alertIcons;exports.useNiceToast=e.useNiceToast;exports.NiceModal=i.NiceModal;
|
package/dist/feedback.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { Component } from 'react';
|
|
|
2
2
|
import { default as default_2 } from 'react';
|
|
3
3
|
import { ForwardRefExoticComponent } from 'react';
|
|
4
4
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
5
|
-
import { NiceBaseProps } from '@nice2dev/ui-core';
|
|
6
5
|
import { NiceSize } from '@nice2dev/ui-core';
|
|
6
|
+
import { NiceStandardProps } from '@nice2dev/ui-core';
|
|
7
7
|
import { NiceVariant } from '@nice2dev/ui-core';
|
|
8
8
|
import { RefAttributes } from 'react';
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ export declare const alertIcons: Record<string, default_2.ReactNode>;
|
|
|
12
12
|
export declare const NiceAlert: default_2.FC<NiceAlertProps>;
|
|
13
13
|
|
|
14
14
|
/** Props for the {@link NiceAlert} component — a status message bar (info/success/warning/error). */
|
|
15
|
-
export declare interface NiceAlertProps extends
|
|
15
|
+
export declare interface NiceAlertProps extends NiceStandardProps {
|
|
16
16
|
/** Alert size. */
|
|
17
17
|
size?: NiceSize;
|
|
18
18
|
/** Visual variant determining color and icon. */
|
|
@@ -32,7 +32,7 @@ export declare interface NiceAlertProps extends NiceBaseProps {
|
|
|
32
32
|
export declare const NiceConfirmDialog: default_2.FC<NiceConfirmDialogProps>;
|
|
33
33
|
|
|
34
34
|
/** Props for the {@link NiceConfirmDialog} component — a confirmation modal with accept / reject buttons. */
|
|
35
|
-
export declare interface NiceConfirmDialogProps extends
|
|
35
|
+
export declare interface NiceConfirmDialogProps extends NiceStandardProps {
|
|
36
36
|
/** Size variant. */
|
|
37
37
|
size?: NiceSize;
|
|
38
38
|
/** Whether the dialog is visible. */
|
|
@@ -65,7 +65,7 @@ declare type NiceCookieCategory = 'necessary' | 'analytics' | 'marketing' | 'pre
|
|
|
65
65
|
export declare const NiceCookieConsent: ForwardRefExoticComponent<NiceCookieConsentProps & RefAttributes<HTMLDivElement>>;
|
|
66
66
|
|
|
67
67
|
/** Props for the {@link NiceCookieConsent} component — a GDPR-style cookie consent banner with category toggles. */
|
|
68
|
-
export declare interface NiceCookieConsentProps extends
|
|
68
|
+
export declare interface NiceCookieConsentProps extends NiceStandardProps {
|
|
69
69
|
/** Show the banner when `true`. */
|
|
70
70
|
visible?: boolean;
|
|
71
71
|
/** Called when the user accepts all categories. */
|
|
@@ -91,7 +91,7 @@ export declare interface NiceCookieConsentProps extends NiceBaseProps {
|
|
|
91
91
|
export declare const NiceDrawer: default_2.FC<NiceDrawerProps>;
|
|
92
92
|
|
|
93
93
|
/** Props for the {@link NiceDrawer} component — a slide-in panel from any edge. */
|
|
94
|
-
export declare interface NiceDrawerProps extends
|
|
94
|
+
export declare interface NiceDrawerProps extends NiceStandardProps {
|
|
95
95
|
/** Whether the drawer is open. */
|
|
96
96
|
open: boolean;
|
|
97
97
|
/** Called when the user requests to close. */
|
|
@@ -147,7 +147,7 @@ declare interface NiceErrorBoundaryState {
|
|
|
147
147
|
export declare const NiceLoginForm: ForwardRefExoticComponent<NiceLoginFormProps & RefAttributes<HTMLFormElement>>;
|
|
148
148
|
|
|
149
149
|
/** Props for the {@link NiceLoginForm} component — a pre-built login form with username, password, remember-me, and social links. */
|
|
150
|
-
export declare interface NiceLoginFormProps extends
|
|
150
|
+
export declare interface NiceLoginFormProps extends NiceStandardProps {
|
|
151
151
|
/** Called with credentials on form submit. */
|
|
152
152
|
onSubmit?: (credentials: {
|
|
153
153
|
username: string;
|
|
@@ -189,7 +189,7 @@ export declare interface NiceLoginFormProps extends NiceBaseProps {
|
|
|
189
189
|
export declare const NiceModal: default_2.FC<NiceModalProps>;
|
|
190
190
|
|
|
191
191
|
/** Props for the {@link NiceModal} component — a dialog overlay with focus trapping. */
|
|
192
|
-
export declare interface NiceModalProps extends
|
|
192
|
+
export declare interface NiceModalProps extends NiceStandardProps {
|
|
193
193
|
/** Whether the modal is currently visible. */
|
|
194
194
|
open: boolean;
|
|
195
195
|
/** Called when the user requests to close the modal. */
|
|
@@ -214,7 +214,7 @@ export declare interface NiceModalProps extends NiceBaseProps {
|
|
|
214
214
|
|
|
215
215
|
export declare const NiceOfflineBanner: default_2.FC<NiceOfflineBannerProps>;
|
|
216
216
|
|
|
217
|
-
export declare interface NiceOfflineBannerProps extends
|
|
217
|
+
export declare interface NiceOfflineBannerProps extends NiceStandardProps {
|
|
218
218
|
size?: NiceSize;
|
|
219
219
|
message?: string;
|
|
220
220
|
variant?: 'warning' | 'error';
|
|
@@ -223,7 +223,7 @@ export declare interface NiceOfflineBannerProps extends NiceBaseProps {
|
|
|
223
223
|
|
|
224
224
|
export declare const NiceRetryPanel: default_2.FC<NiceRetryPanelProps>;
|
|
225
225
|
|
|
226
|
-
export declare interface NiceRetryPanelProps extends
|
|
226
|
+
export declare interface NiceRetryPanelProps extends NiceStandardProps {
|
|
227
227
|
size?: NiceSize;
|
|
228
228
|
error: string | Error;
|
|
229
229
|
onRetry: () => void;
|
|
@@ -237,7 +237,7 @@ export declare interface NiceRetryPanelProps extends NiceBaseProps {
|
|
|
237
237
|
|
|
238
238
|
export declare const NiceTimeoutFeedback: default_2.FC<NiceTimeoutFeedbackProps>;
|
|
239
239
|
|
|
240
|
-
export declare interface NiceTimeoutFeedbackProps extends
|
|
240
|
+
export declare interface NiceTimeoutFeedbackProps extends NiceStandardProps {
|
|
241
241
|
size?: NiceSize;
|
|
242
242
|
timeoutMs?: number;
|
|
243
243
|
slowThresholdMs?: number;
|
package/dist/feedback.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as i, a as o, b as s, c as r, d as c, e as N, f as n, g as t, h as f, i as l, j as m, u as d } from "./NiceErrorBoundary-
|
|
2
|
-
import { N as C } from "./NiceModal-
|
|
1
|
+
import { N as i, a as o, b as s, c as r, d as c, e as N, f as n, g as t, h as f, i as l, j as m, u as d } from "./NiceErrorBoundary-DBCCmeyl.js";
|
|
2
|
+
import { N as C } from "./NiceModal-CUdeVj-j.js";
|
|
3
3
|
export {
|
|
4
4
|
i as NiceAlert,
|
|
5
5
|
o as NiceConfirmDialog,
|