@nice2dev/ui 1.0.8 → 1.0.11

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.
Files changed (92) hide show
  1. package/dist/NiceErrorBoundary-B5nF-OVn.cjs +1 -0
  2. package/dist/NiceErrorBoundary-BZEHCXNM.cjs +1 -0
  3. package/dist/NiceErrorBoundary-D6jw6wwD.js +762 -0
  4. package/dist/NiceErrorBoundary-D75yr_WE.js +762 -0
  5. package/dist/NiceForm-BgR-m8T9.cjs +382 -0
  6. package/dist/NiceForm-CKoJA6NG.js +5131 -0
  7. package/dist/NiceForm-D7xnpnRJ.cjs +382 -0
  8. package/dist/NiceForm-DYKciCeR.js +5131 -0
  9. package/dist/NiceForm.css +1 -0
  10. package/dist/NiceModal-1QX7NhyH.js +95 -0
  11. package/dist/NiceModal-Br3J9jOV.cjs +1 -0
  12. package/dist/NiceModal-CAwsKVQ2.cjs +1 -0
  13. package/dist/NiceModal-DVAsBzHP.js +95 -0
  14. package/dist/NiceModuleLifecyclePanel-C9xMSjOF.cjs +1 -0
  15. package/dist/NiceModuleLifecyclePanel-CMrPbSw9.js +5249 -0
  16. package/dist/NiceModuleLifecyclePanel-D3azLDdj.js +5249 -0
  17. package/dist/NiceModuleLifecyclePanel-DEfAIhFf.cjs +1 -0
  18. package/dist/NiceModuleLifecyclePanel.css +1 -0
  19. package/dist/NicePagination-CbB5P1N_.js +171 -0
  20. package/dist/NicePagination-DbE-uOkl.js +171 -0
  21. package/dist/NicePagination-DlealakT.cjs +1 -0
  22. package/dist/NicePagination-UGjzvRUS.cjs +1 -0
  23. package/dist/NicePinCodeInput-B8cI8zu8.js +11830 -0
  24. package/dist/NicePinCodeInput-BmRO9HSQ.js +11830 -0
  25. package/dist/NicePinCodeInput-D91uvVsF.cjs +419 -0
  26. package/dist/NicePinCodeInput-SGQaHvpE.cjs +419 -0
  27. package/dist/NicePinCodeInput.css +1 -1
  28. package/dist/NiceSavedQueryPanel-7nZe46t8.cjs +596 -0
  29. package/dist/NiceSavedQueryPanel-BSGzs7Oc.js +6449 -0
  30. package/dist/NiceSavedQueryPanel-CZ5bYOe_.js +6449 -0
  31. package/dist/NiceSavedQueryPanel-Ce2s060j.cjs +596 -0
  32. package/dist/NiceTabs-BeaxZzAO.js +1636 -0
  33. package/dist/NiceTabs-DcbYFIWR.cjs +1 -0
  34. package/dist/NiceTabs-DvOmxKyQ.cjs +1 -0
  35. package/dist/NiceTabs-DzLHzwuA.js +1636 -0
  36. package/dist/NiceWindow-Bga9fOkg.js +1409 -0
  37. package/dist/NiceWindow-CVgkxcCz.cjs +1 -0
  38. package/dist/NiceWindow-CxWTj5xH.cjs +1 -0
  39. package/dist/NiceWindow-DeC83yfE.js +1409 -0
  40. package/dist/charts-BAS21jkC.js +4621 -0
  41. package/dist/charts-BcvKWYUl.cjs +759 -0
  42. package/dist/charts-DShUbWrP.cjs +759 -0
  43. package/dist/charts-DZvmvfhM.js +4621 -0
  44. package/dist/charts.cjs +1 -1
  45. package/dist/charts.d.ts +42 -45
  46. package/dist/charts.mjs +1 -1
  47. package/dist/core-B4b1BmHt.js +22177 -0
  48. package/dist/core-C2ZmWe_u.cjs +96 -0
  49. package/dist/core-CjmLbclt.cjs +96 -0
  50. package/dist/core-Da43q-pO.js +22094 -0
  51. package/dist/data-branching-CJlrg8qf.cjs +1 -0
  52. package/dist/data-branching-DCUwI53s.js +6121 -0
  53. package/dist/data-branching.cjs +1 -1
  54. package/dist/data-branching.d.ts +1 -38
  55. package/dist/data-branching.mjs +1 -1
  56. package/dist/data.cjs +1 -1
  57. package/dist/data.d.ts +206 -192
  58. package/dist/data.mjs +1 -1
  59. package/dist/devops-CXynFG3X.cjs +17 -0
  60. package/dist/devops-D0TfzV5B.js +7660 -0
  61. package/dist/devops.cjs +1 -1
  62. package/dist/devops.d.ts +1 -38
  63. package/dist/devops.mjs +1 -1
  64. package/dist/editors.cjs +1 -1
  65. package/dist/editors.d.ts +311 -393
  66. package/dist/editors.mjs +61 -64
  67. package/dist/feedback.cjs +1 -1
  68. package/dist/feedback.d.ts +3 -44
  69. package/dist/feedback.mjs +11 -10
  70. package/dist/index-B8wxZ8Ps.cjs +5192 -0
  71. package/dist/index-DlHlXz8e.js +57319 -0
  72. package/dist/index-Dx726U90.cjs +5192 -0
  73. package/dist/index-pAuGTbuB.js +57319 -0
  74. package/dist/index.cjs +1 -1
  75. package/dist/index.css +1 -1
  76. package/dist/index.d.ts +2249 -11141
  77. package/dist/index.mjs +880 -1018
  78. package/dist/lazy.cjs +1 -1
  79. package/dist/lazy.d.ts +7 -39
  80. package/dist/lazy.mjs +24 -24
  81. package/dist/navigation.cjs +1 -1
  82. package/dist/navigation.d.ts +151 -216
  83. package/dist/navigation.mjs +52 -46
  84. package/dist/no-code-B5bzduNP.cjs +332 -0
  85. package/dist/no-code-D8RJ7lx0.js +7064 -0
  86. package/dist/no-code.cjs +1 -1
  87. package/dist/no-code.d.ts +1 -38
  88. package/dist/no-code.mjs +1 -1
  89. package/dist/overlays.cjs +1 -1
  90. package/dist/overlays.d.ts +13 -45
  91. package/dist/overlays.mjs +243 -233
  92. package/package.json +5 -3
package/dist/editors.mjs CHANGED
@@ -1,66 +1,63 @@
1
- import { N as a, a as c, b as s } from "./NiceButton-D9l39Rs7.js";
2
- import { N as o, a as t, b as r, c as n, d, e as u, f as l, g as p, h as P, i as I, j as k, k as m, l as C, m as E, n as g, o as x, p as T, q as A, r as S, s as b, t as D, u as L, v as R, w as f, x as B, y as F, z as M, A as w, B as h, C as y, D as G, E as H, F as j, G as v, H as K, I as O, J as U, K as V, L as W, M as q, O as z, P as J, Q, R as X, S as Y, T as Z, U as _, V as $, W as ee, X as ie, Y as ae, Z as ce, _ as se, $ as Ne, a0 as oe } from "./NicePinCodeInput-CrMfdxxc.js";
3
- import { N as re, a as ne, b as de } from "./NiceToggle-CaY1u82g.js";
1
+ import { N as a, a as c, b as s, c as N, d as o, e as t } from "./NiceTabs-BeaxZzAO.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-DYKciCeR.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-BmRO9HSQ.js";
4
4
  export {
5
- o as NiceAccountPicker,
6
- t as NiceAddressInput,
7
- r as NiceAutocomplete,
8
- n as NiceCalendar,
9
- d as NiceCascadeSelect,
10
- re as NiceCheckbox,
11
- u as NiceCodeEditor,
12
- l as NiceCodeEditorAI,
13
- p as NiceColorPalette,
14
- a as NiceColorPicker,
15
- P as NiceContactPicker,
16
- I as NiceCountryPicker,
17
- k as NiceCropEditor,
18
- m as NiceCurrencyInput,
19
- C as NiceDatePicker,
20
- E as NiceDateRangeBox,
21
- g as NiceDateTimePicker,
22
- x as NiceDocumentEditor,
23
- T as NiceDropDownBox,
24
- A as NiceEmojiPicker,
25
- S as NiceFileUpload,
26
- b as NiceFloatingLabelInput,
27
- D as NiceForm,
28
- L as NiceGradientPicker,
29
- R as NiceHtmlEditor,
30
- f as NiceHtmlEditorAI,
31
- B as NiceImageAnnotator,
32
- F as NiceImageEditor,
33
- M as NiceInPlaceEditor,
34
- w as NiceInputOtp,
35
- h as NiceInvoiceLineEditor,
36
- y as NiceKnob,
37
- G as NiceLookup,
38
- H as NiceMarkdownEditor,
39
- j as NiceMaskedInput,
40
- v as NiceMention,
41
- K as NiceMultiColumnComboBox,
42
- ne as NiceNumberInput,
43
- O as NicePDFAnnotationEditor,
44
- U as NicePasswordInput,
45
- V as NicePhoneInput,
46
- W as NicePickList,
47
- q as NicePinCodeInput,
48
- z as NiceRadioGroup,
49
- J as NiceRangeSlider,
50
- Q as NiceRating,
51
- X as NiceScannerControl,
52
- c as NiceSelect,
53
- Y as NiceSignature,
54
- Z as NiceSignaturePad,
55
- _ as NiceSlider,
56
- $ as NiceTagBox,
57
- ee as NiceTaxRatePicker,
58
- ie as NiceTextArea,
59
- s as NiceTextInput,
60
- ae as NiceTimePicker,
61
- de as NiceToggle,
62
- ce as NiceTransferList,
63
- se as NiceTreeSelect,
64
- Ne as NiceVatInput,
65
- oe as NiceWiki
5
+ n as MASK_PRESETS,
6
+ R as NICE_COLOR_PRESET_KEYS,
7
+ b as NiceAccountPicker,
8
+ f as NiceAddressInput,
9
+ d as NiceAutocomplete,
10
+ M as NiceCalendar,
11
+ a as NiceCheckbox,
12
+ h as NiceCodeEditor,
13
+ w as NiceCodeEditorAI,
14
+ B as NiceColorPalette,
15
+ c as NiceColorPicker,
16
+ F as NiceContactPicker,
17
+ p as NiceCountryPicker,
18
+ L as NiceCropEditor,
19
+ _ as NiceCurrencyInput,
20
+ u as NiceDatePicker,
21
+ j as NiceDateRangeBox,
22
+ P as NiceDateTimePicker,
23
+ y as NiceDocumentEditor,
24
+ G as NiceDropDownBox,
25
+ H as NiceEmojiPicker,
26
+ k as NiceFileUpload,
27
+ E as NiceForm,
28
+ K as NiceGradientPicker,
29
+ O as NiceHtmlEditor,
30
+ v as NiceHtmlEditorAI,
31
+ q as NiceImageAnnotator,
32
+ z as NiceImageEditor,
33
+ U as NiceInputOtp,
34
+ V as NiceInvoiceLineEditor,
35
+ W as NiceKnob,
36
+ Y as NiceLookup,
37
+ J as NiceMarkdownEditor,
38
+ l as NiceMaskedInput,
39
+ Q as NiceMention,
40
+ s as NiceNumberInput,
41
+ X as NicePDFAnnotationEditor,
42
+ I as NicePasswordInput,
43
+ m as NicePhoneInput,
44
+ Z as NicePickList,
45
+ $ as NicePinCodeInput,
46
+ C as NiceRadioGroup,
47
+ ee as NiceRangeSlider,
48
+ g as NiceRating,
49
+ ie as NiceScannerControl,
50
+ N as NiceSelect,
51
+ ae as NiceSignature,
52
+ ce as NiceSignaturePad,
53
+ S as NiceSlider,
54
+ x as NiceTagBox,
55
+ se as NiceTaxRatePicker,
56
+ A as NiceTextArea,
57
+ o as NiceTextInput,
58
+ T as NiceTimePicker,
59
+ t as NiceToggle,
60
+ Ne as NiceTreeSelect,
61
+ oe as NiceVatInput,
62
+ te as NiceWiki
66
63
  };
package/dist/feedback.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceErrorBoundary-BAeqfoSc.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.NiceModal=e.NiceModal;exports.NiceOfflineBanner=e.NiceOfflineBanner;exports.NiceRetryPanel=e.NiceRetryPanel;exports.NiceTimeoutFeedback=e.NiceTimeoutFeedback;exports.NiceToastContainer=e.NiceToastContainer;exports.alertIcons=e.alertIcons;exports.useNiceToast=e.useNiceToast;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NiceErrorBoundary-BZEHCXNM.cjs"),i=require("./NiceModal-Br3J9jOV.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;
@@ -2,19 +2,13 @@ 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
+ import { NiceSize } from '@nice2dev/ui-core';
7
+ import { NiceVariant } from '@nice2dev/ui-core';
5
8
  import { RefAttributes } from 'react';
6
9
 
7
10
  export declare const alertIcons: Record<string, default_2.ReactNode>;
8
11
 
9
- /**
10
- * Per-component visibility & interaction level used by the access control system.
11
- * - `'full'` — fully interactive (default)
12
- * - `'readOnly'` — renders but cannot be edited
13
- * - `'disabled'` — renders greyed-out
14
- * - `'hidden'` — not rendered at all
15
- */
16
- declare type NiceAccessMode = 'full' | 'readOnly' | 'disabled' | 'hidden';
17
-
18
12
  export declare const NiceAlert: default_2.FC<NiceAlertProps>;
19
13
 
20
14
  /** Props for the {@link NiceAlert} component — a status message bar (info/success/warning/error). */
@@ -35,28 +29,6 @@ export declare interface NiceAlertProps extends NiceBaseProps {
35
29
  icon?: default_2.ReactNode;
36
30
  }
37
31
 
38
- /** Base props inherited by every NiceToDev component. */
39
- declare interface NiceBaseProps {
40
- /** Additional CSS class name(s). */
41
- className?: string;
42
- /** Inline style object. */
43
- style?: React.CSSProperties;
44
- /** HTML `id` attribute. When omitted a stable auto-generated id is used. */
45
- id?: string;
46
- /** Tooltip text shown on hover. */
47
- title?: string;
48
- /** Test identifier for integration / e2e test selectors. */
49
- 'data-testid'?: string;
50
- /** Controls component visibility and interaction — see {@link NiceAccessMode}. */
51
- accessMode?: NiceAccessMode;
52
- /**
53
- * Visual presentation style override.
54
- * When set, overrides the global `displayStyle` from `NiceThemeProvider`.
55
- * @see NiceDisplayStyle
56
- */
57
- displayStyle?: NiceDisplayStyle;
58
- }
59
-
60
32
  export declare const NiceConfirmDialog: default_2.FC<NiceConfirmDialogProps>;
61
33
 
62
34
  /** Props for the {@link NiceConfirmDialog} component — a confirmation modal with accept / reject buttons. */
@@ -116,13 +88,6 @@ export declare interface NiceCookieConsentProps extends NiceBaseProps {
116
88
  showDetails?: boolean;
117
89
  }
118
90
 
119
- /**
120
- * Cross-component visual presentation style.
121
- * Each style maps 1:1 to a ThemeVariantConfig preset controlling
122
- * buttons, inputs, cards, badges, tabs, toggles, tooltips, tables, etc.
123
- */
124
- declare type NiceDisplayStyle = 'default' | 'minimal' | 'rounded' | 'sharp' | 'glass' | 'neumorphic' | 'playful' | 'enterprise' | 'modern3d' | 'brutalist' | 'luxe' | 'pill' | 'flat' | 'editorial' | 'dashboard' | 'softCloud' | 'cosmic' | 'corporate' | 'bank' | 'government' | 'military' | 'legal' | 'medical' | 'swiss' | 'scandinavian' | 'bauhaus' | 'notebook' | 'origami' | 'watercolor' | 'monochrome' | 'paper' | 'zen' | 'terminal' | 'hacker' | 'retro8bit' | 'synthwave' | 'cyberpunk' | 'steampunk' | 'vapor' | 'neon' | 'windows95' | 'material' | 'fluent' | 'cupertino' | 'ant' | 'bootstrap' | 'chakra' | 'notion' | 'linear' | 'vercel' | 'candy' | 'bubblegum' | 'cartoon' | 'kawaii' | 'circus' | 'gaming' | 'kiddo' | 'disco' | 'clown';
125
-
126
91
  export declare const NiceDrawer: default_2.FC<NiceDrawerProps>;
127
92
 
128
93
  /** Props for the {@link NiceDrawer} component — a slide-in panel from any edge. */
@@ -270,9 +235,6 @@ export declare interface NiceRetryPanelProps extends NiceBaseProps {
270
235
  icon?: default_2.ReactNode;
271
236
  }
272
237
 
273
- /** T-shirt sizing used across all components for consistent visual density. */
274
- declare type NiceSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
275
-
276
238
  export declare const NiceTimeoutFeedback: default_2.FC<NiceTimeoutFeedbackProps>;
277
239
 
278
240
  export declare interface NiceTimeoutFeedbackProps extends NiceBaseProps {
@@ -306,9 +268,6 @@ export declare interface NiceToastItem {
306
268
  duration?: number;
307
269
  }
308
270
 
309
- /** Visual style variant for buttons, alerts, badges and other themed controls. */
310
- declare type NiceVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'ghost' | 'outline';
311
-
312
271
  declare interface ToastContainerProps {
313
272
  toasts: NiceToastItem[];
314
273
  onDismiss: (id: string) => void;
package/dist/feedback.mjs CHANGED
@@ -1,16 +1,17 @@
1
- import { N as i, a as s, b as o, c, d as r, e as N, f as n, g as t, h as l, i as f, j as d, k as m, u } from "./NiceErrorBoundary-niMx1aSJ.js";
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-D6jw6wwD.js";
2
+ import { N as C } from "./NiceModal-DVAsBzHP.js";
2
3
  export {
3
4
  i as NiceAlert,
4
- s as NiceConfirmDialog,
5
- o as NiceCookieConsent,
6
- c as NiceDrawer,
7
- r as NiceErrorBoundary,
5
+ o as NiceConfirmDialog,
6
+ s as NiceCookieConsent,
7
+ r as NiceDrawer,
8
+ c as NiceErrorBoundary,
8
9
  N as NiceLoginForm,
9
- n as NiceModal,
10
- t as NiceOfflineBanner,
11
- l as NiceRetryPanel,
10
+ C as NiceModal,
11
+ n as NiceOfflineBanner,
12
+ t as NiceRetryPanel,
12
13
  f as NiceTimeoutFeedback,
13
- d as NiceToastContainer,
14
+ l as NiceToastContainer,
14
15
  m as alertIcons,
15
- u as useNiceToast
16
+ d as useNiceToast
16
17
  };