@nice2dev/ui 1.0.18 → 1.0.20
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 +64 -0
- package/dist/NiceErrorBoundary-Bzx-bOeb.cjs +1 -0
- package/dist/NiceErrorBoundary-DBCCmeyl.js +770 -0
- package/dist/NiceErrorBoundary-DvA00DOz.cjs +1 -0
- package/dist/NiceErrorBoundary-V6wkSSLP.cjs +1 -0
- package/dist/NiceErrorBoundary-eTwBEuSH.js +770 -0
- package/dist/NiceErrorBoundary-qp4IJ18o.js +770 -0
- package/dist/NiceForm-B1Okz7SW.cjs +382 -0
- package/dist/NiceForm-BXHPoTcH.cjs +382 -0
- package/dist/NiceForm-DL7Kxsi2.js +5383 -0
- package/dist/NiceForm-DLADlHAQ.js +5383 -0
- package/dist/NiceForm-DUkduLqG.cjs +382 -0
- package/dist/NiceForm-D_XZxq3a.js +5383 -0
- package/dist/NiceForm.css +1 -1
- package/dist/NiceModal-0Sg2HxIb.cjs +1 -0
- package/dist/NiceModal-BRih_XEH.js +95 -0
- package/dist/NiceModal-C4HIsjrn.js +95 -0
- package/dist/NiceModal-CUdeVj-j.js +95 -0
- package/dist/NiceModal-Cc8R-DpX.cjs +1 -0
- package/dist/NiceModal-DieswZtd.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-4UEsYB5r.js +6553 -0
- package/dist/NiceModuleLifecyclePanel-C6agdtTI.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-CEfeJxw_.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel-D4xWUswk.js +6777 -0
- package/dist/NiceModuleLifecyclePanel-jDzEfvDM.js +6553 -0
- package/dist/NiceModuleLifecyclePanel-sBJLlhJp.cjs +1 -0
- package/dist/NiceModuleLifecyclePanel.css +1 -1
- package/dist/NicePagination-B2TC6MTL.cjs +1 -0
- package/dist/NicePagination-BAywVGwT.js +171 -0
- package/dist/NicePagination-Cqr3Pe_F.js +171 -0
- package/dist/NicePagination-DnnypBiE.js +171 -0
- package/dist/NicePagination-DyWWdtb3.cjs +1 -0
- package/dist/NicePagination-F8NyMfgc.cjs +1 -0
- package/dist/NicePinCodeInput-Bo8Ahkae.js +12240 -0
- package/dist/NicePinCodeInput-C6zJxUVf.cjs +419 -0
- package/dist/NicePinCodeInput-CpPtHZsK.js +12240 -0
- package/dist/NicePinCodeInput-Cpa01Yfg.cjs +419 -0
- package/dist/NicePinCodeInput-JvYd_LB_.cjs +419 -0
- package/dist/NicePinCodeInput-ltwzQf4r.js +12240 -0
- package/dist/NicePinCodeInput.css +1 -1
- package/dist/NiceSavedQueryPanel-BIXW0y1X.js +6455 -0
- package/dist/NiceSavedQueryPanel-BOBULytX.js +6455 -0
- package/dist/NiceSavedQueryPanel-CFHwMDIx.cjs +596 -0
- package/dist/NiceSavedQueryPanel-CTfC-qwV.cjs +596 -0
- package/dist/NiceSavedQueryPanel-DuonbEem.js +6584 -0
- package/dist/NiceSavedQueryPanel-MdKdGYNg.cjs +596 -0
- package/dist/NiceSavedQueryPanel.css +1 -1
- package/dist/NiceTabs-B9zxj6qd.js +1657 -0
- package/dist/NiceTabs-BjBtazRn.cjs +1 -0
- package/dist/NiceTabs-C-VQXNIa.cjs +1 -0
- package/dist/NiceTabs-CJ8G2t0-.js +1657 -0
- package/dist/NiceTabs-CNauJ4fu.cjs +1 -0
- package/dist/NiceTabs-v7HfeXIw.js +1657 -0
- package/dist/NiceWindow-BMiF-so6.cjs +1 -0
- package/dist/NiceWindow-Bo_yCa1o.js +1418 -0
- package/dist/NiceWindow-CysIgnn3.js +1418 -0
- package/dist/NiceWindow-D6SjpDc4.cjs +1 -0
- package/dist/NiceWindow-DPzJxOfx.cjs +1 -0
- package/dist/NiceWindow-DUTRQOaP.js +1418 -0
- package/dist/charts-C60va95_.js +4657 -0
- package/dist/charts-CJlMAHJG.cjs +761 -0
- package/dist/charts-CX4jiyVh.cjs +761 -0
- package/dist/charts-CYpqDxHd.js +4657 -0
- package/dist/charts-D_I1iwel.cjs +761 -0
- package/dist/charts-P6qura0j.js +4657 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.css +1 -1
- package/dist/charts.mjs +1 -1
- package/dist/core-Bcc4sz15.cjs +96 -0
- package/dist/core-BfeyB9A8.cjs +96 -0
- package/dist/core-BgGSTko-.js +22401 -0
- package/dist/core-DDJKu5LZ.cjs +96 -0
- package/dist/core-Da1dGJN3.js +22401 -0
- package/dist/core-XsWxyBHD.js +22767 -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.mjs +2 -2
- package/dist/index-CQIDqjZp.cjs +5194 -0
- package/dist/index-CXVXf_HY.cjs +5194 -0
- package/dist/index-CtikFbFa.js +64337 -0
- package/dist/index-DCDfWfAt.js +64336 -0
- package/dist/index-DpiCo0_e.cjs +5194 -0
- package/dist/index-xVJiF843.js +65040 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +450 -6
- package/dist/index.mjs +874 -860
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.mjs +3 -3
- package/dist/navigation.cjs +1 -1
- package/dist/navigation.d.ts +50 -3
- 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-MdKdGYNg.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-DuonbEem.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-BjBtazRn.cjs"),i=require("./NiceForm-B1Okz7SW.cjs"),e=require("./NicePinCodeInput-JvYd_LB_.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-CJ8G2t0-.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-D_XZxq3a.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-CpPtHZsK.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-DvA00DOz.cjs"),i=require("./NiceModal-0Sg2HxIb.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.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-eTwBEuSH.js";
|
|
2
|
+
import { N as C } from "./NiceModal-BRih_XEH.js";
|
|
3
3
|
export {
|
|
4
4
|
i as NiceAlert,
|
|
5
5
|
o as NiceConfirmDialog,
|