@nice2dev/ui 1.1.10 → 1.2.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.
Files changed (114) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/README.md +12 -20
  3. package/dist/NiceButton-5tWvfXKl.cjs +1 -0
  4. package/dist/NiceButton-DHSgQT1_.js +112 -0
  5. package/dist/NiceCodeEditor-B8At55f5.js +1179 -0
  6. package/dist/NiceCodeEditor-BJSEzhcY.cjs +260 -0
  7. package/dist/NiceColorPicker-DCgmE-3H.cjs +1 -0
  8. package/dist/NiceColorPicker-DK30kJgy.js +486 -0
  9. package/dist/NiceColorPicker-DtPFxDKM.cjs +1 -0
  10. package/dist/NiceColorPicker-bNJBAU_c.js +598 -0
  11. package/dist/NiceDataGrid-BOCJr6XF.js +2217 -0
  12. package/dist/NiceDataGrid-BV5Oh-gy.cjs +10 -0
  13. package/dist/NiceDataGrid-Dd7SI-M6.cjs +10 -0
  14. package/dist/NiceDataGrid-DjZchXYG.js +2217 -0
  15. package/dist/NiceForm-BCEXovJR.cjs +1 -0
  16. package/dist/NiceForm-D7oyWHXg.js +4820 -0
  17. package/dist/NiceForm-DUhxXArr.js +4817 -0
  18. package/dist/NiceForm-uCeVmTrD.cjs +1 -0
  19. package/dist/NiceHtmlEditor-BYk1roA4.cjs +10 -0
  20. package/dist/NiceHtmlEditor-C5kLeF9H.cjs +10 -0
  21. package/dist/NiceHtmlEditor-CFVMIC5L.js +848 -0
  22. package/dist/NiceHtmlEditor-mWebBmy1.js +849 -0
  23. package/dist/NiceLoginForm-BHyDY7br.cjs +1 -0
  24. package/dist/NiceLoginForm-BuxFY2Rk.js +750 -0
  25. package/dist/NiceLoginForm.css +1 -0
  26. package/dist/NiceMention-CA7CL5BI.js +11263 -0
  27. package/dist/NiceMention-CHcKRl-L.cjs +430 -0
  28. package/dist/NiceMention-DJD0BLcp.js +11269 -0
  29. package/dist/NiceMention-DcaUEMSg.cjs +430 -0
  30. package/dist/NiceMention.css +1 -1
  31. package/dist/NiceModal-C4p8a82e.cjs +1 -0
  32. package/dist/NiceModal-TNlkaL_i.js +85 -0
  33. package/dist/NiceModuleLifecyclePanel-BWbKdVC_.js +7054 -0
  34. package/dist/NiceModuleLifecyclePanel-CZHIzvkE.cjs +1 -0
  35. package/dist/NiceModuleLifecyclePanel-OC9YK2kG.js +7052 -0
  36. package/dist/NiceModuleLifecyclePanel-_OcfDmtC.cjs +1 -0
  37. package/dist/NicePagination-8XsBbMNx.js +165 -0
  38. package/dist/NicePagination-CkOoXf0f.js +165 -0
  39. package/dist/NicePagination-D7lek1G7.cjs +1 -0
  40. package/dist/NicePagination-OjTEfZJE.cjs +1 -0
  41. package/dist/NicePivotGrid-BJRSciWl.js +1183 -0
  42. package/dist/NicePivotGrid-CS1dPmNI.cjs +152 -0
  43. package/dist/NicePivotGrid-D2AxqDzJ.js +1183 -0
  44. package/dist/NicePivotGrid-DxQ6Py9D.cjs +152 -0
  45. package/dist/NiceSavedQueryPanel-B5HhqlAI.cjs +586 -0
  46. package/dist/NiceSavedQueryPanel-CMStDOKe.js +5125 -0
  47. package/dist/NiceSavedQueryPanel-D2i34e_b.cjs +586 -0
  48. package/dist/NiceSavedQueryPanel-mPO2THs7.js +5142 -0
  49. package/dist/NiceSavedQueryPanel.css +1 -1
  50. package/dist/NiceScheduler-7gP7vcLy.cjs +5 -0
  51. package/dist/NiceScheduler-Cy7F9tgH.js +1693 -0
  52. package/dist/NiceScheduler-DquRUZxD.cjs +5 -0
  53. package/dist/NiceScheduler-l8N4yCWd.js +1716 -0
  54. package/dist/NiceSelect-DZB1Rs9x.js +435 -0
  55. package/dist/NiceSelect-tMz9QQUs.cjs +1 -0
  56. package/dist/NiceStreamDashboard.doc-74KUXya1.cjs +8 -0
  57. package/dist/NiceStreamDashboard.doc-k8PQfCM0.js +32 -0
  58. package/dist/NiceWindow-BEov3s9F.js +2094 -0
  59. package/dist/NiceWindow-CDt6PCEg.cjs +1 -0
  60. package/dist/NiceWindow.css +1 -1
  61. package/dist/charts-C047IMVn.cjs +768 -0
  62. package/dist/charts-CCXSb3xk.js +4752 -0
  63. package/dist/charts-CqETcUhH.js +4752 -0
  64. package/dist/charts-DouiiHOT.cjs +768 -0
  65. package/dist/charts.cjs +1 -1
  66. package/dist/charts.mjs +1 -1
  67. package/dist/core-BL-KmGYC.js +795 -0
  68. package/dist/core-Chg-oYCr.cjs +1 -0
  69. package/dist/core-CxBnKAhs.cjs +1 -0
  70. package/dist/core-D_LRh59n.js +795 -0
  71. package/dist/data-branching-Km4lc8P_.cjs +1 -0
  72. package/dist/data-branching-YQtJJEtn.js +6273 -0
  73. package/dist/data-branching.cjs +1 -1
  74. package/dist/data-branching.mjs +1 -1
  75. package/dist/data.cjs +1 -1
  76. package/dist/data.d.ts +0 -51
  77. package/dist/data.mjs +3 -3
  78. package/dist/devops-D5yIDM3e.js +8312 -0
  79. package/dist/devops-rVpB0ZAX.cjs +17 -0
  80. package/dist/devops.cjs +1 -1
  81. package/dist/devops.mjs +1 -1
  82. package/dist/editors.cjs +1 -1
  83. package/dist/editors.d.ts +6 -25
  84. package/dist/editors.mjs +55 -54
  85. package/dist/feedback.cjs +1 -1
  86. package/dist/feedback.d.ts +5 -0
  87. package/dist/feedback.mjs +2 -2
  88. package/dist/index.cjs +284 -284
  89. package/dist/index.css +1 -1
  90. package/dist/index.d.ts +194 -208
  91. package/dist/index.mjs +20312 -19511
  92. package/dist/lazy.cjs +1 -1
  93. package/dist/lazy.mjs +29 -29
  94. package/dist/navigation.cjs +1 -1
  95. package/dist/navigation.mjs +3 -3
  96. package/dist/no-code-6WyYb3hL.cjs +331 -0
  97. package/dist/no-code-BH5oVFC6.js +8186 -0
  98. package/dist/no-code-CnHG5_Vn.js +8186 -0
  99. package/dist/no-code-DMKlg1Zl.cjs +331 -0
  100. package/dist/no-code.cjs +1 -1
  101. package/dist/no-code.css +1 -1
  102. package/dist/no-code.d.ts +25 -18
  103. package/dist/no-code.mjs +3 -3
  104. package/dist/overlays.cjs +1 -1
  105. package/dist/overlays.d.ts +24 -24
  106. package/dist/overlays.mjs +24 -490
  107. package/dist/pickerCommons-0vyK1Knv.js +547 -0
  108. package/dist/pickerCommons-BFbItm8o.cjs +1 -0
  109. package/dist/pickerCommons-BHirHJyn.js +548 -0
  110. package/dist/pickerCommons-Bt8JIaTN.cjs +1 -0
  111. package/dist/pickerCommons.css +1 -1
  112. package/dist/style.css +10 -7
  113. package/package.json +4 -6
  114. package/css/legacy-bg-text-aliases.css +0 -87
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/ui",
3
- "version": "1.1.10",
3
+ "version": "1.2.0",
4
4
  "description": "Nice2Dev UI — Universal, themeable, i18n-ready React component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -64,12 +64,10 @@
64
64
  "require": "./dist/data-branching.cjs"
65
65
  },
66
66
  "./style.css": "./dist/style.css",
67
- "./dist/style.css": "./dist/style.css",
68
- "./css/legacy-bg-text-aliases.css": "./css/legacy-bg-text-aliases.css"
67
+ "./dist/style.css": "./dist/style.css"
69
68
  },
70
69
  "files": [
71
70
  "dist",
72
- "css",
73
71
  "LICENSE",
74
72
  "CHANGELOG.md",
75
73
  "README.md"
@@ -99,8 +97,8 @@
99
97
  "react-dom": ">=17.0.0"
100
98
  },
101
99
  "dependencies": {
102
- "@nice2dev/i18n": "^1.1.10",
103
- "@nice2dev/ui-core": "^1.1.10",
100
+ "@nice2dev/i18n": "^1.2.0",
101
+ "@nice2dev/ui-core": "^1.2.0",
104
102
  "country-flag-icons": "^1.6.20"
105
103
  },
106
104
  "devDependencies": {
@@ -1,87 +0,0 @@
1
- /* ============================================================
2
- @nice2dev/ui — legacy-bg-text-aliases.css
3
-
4
- Opt-in compatibility layer for apps that SET the old unprefixed
5
- variable names and expect Nice controls to follow them.
6
-
7
- Until 1.1.7 the library read `--color-primary`, `--bg-primary`,
8
- `--text-muted`, `--border-color`, `--shadow-md` and friends directly,
9
- so setting those names anywhere on the page repainted our controls.
10
- That was never intentional: unprefixed names belong to the page, not
11
- to a library, and a single collision poisoned the whole `--nice-*`
12
- tree because those tokens were derived from the unprefixed ones.
13
-
14
- From 1.1.7 the controls read `--nice-*` only, and `style.css` declares
15
- the old names as aliases pointing AT the Nice tokens — so reading them
16
- still works. What no longer works by default is the reverse: setting
17
- `--color-primary` in your app no longer moves our controls.
18
-
19
- Import this file if you need that behaviour back:
20
-
21
- import '@nice2dev/ui/style.css';
22
- import '@nice2dev/ui/css/legacy-bg-text-aliases.css'; // after style.css
23
-
24
- It re-points each Nice token at the matching unprefixed name, falling
25
- back to the Nice default when the app has not set one. Loading it after
26
- style.css is required — these declarations must win on source order.
27
-
28
- Prefer migrating instead: set `--nice-color-primary` (and friends)
29
- directly. That is the spelling @nice2dev/design-tokens emits, it cannot
30
- collide with your own variables, and this file will be removed in 1.2.
31
- ============================================================ */
32
-
33
- :root {
34
- /* Backgrounds */
35
- --nice-bg-primary: var(--bg-primary, #ffffff);
36
- --nice-bg-secondary: var(--bg-secondary, #f8fafc);
37
- --nice-bg-tertiary: var(--bg-tertiary, #f1f5f9);
38
- --nice-bg-elevated: var(--bg-elevated, #ffffff);
39
- --nice-bg-canvas: var(--bg-canvas, #f8fafc);
40
- --nice-bg-inset: var(--bg-inset, #f1f5f9);
41
-
42
- /* Text */
43
- --nice-text-primary: var(--text-primary, #0f172a);
44
- --nice-text-secondary: var(--text-secondary, #475569);
45
- --nice-text-muted: var(--text-muted, #94a3b8);
46
- --nice-text-inverse: var(--text-inverse, #ffffff);
47
-
48
- /* Borders */
49
- --nice-border-color: var(--border-color, #cbd5e1);
50
-
51
- /* Shadows */
52
- --nice-shadow-sm: var(--shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.05));
53
- --nice-shadow-md: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.1));
54
- --nice-shadow-lg: var(--shadow-lg, 0 10px 24px rgba(0, 0, 0, 0.15));
55
- --nice-shadow-xl: var(--shadow-xl, 0 20px 40px rgba(0, 0, 0, 0.2));
56
-
57
- /* Brand / status colours */
58
- --nice-color-primary: var(--color-primary, #3b82f6);
59
- --nice-color-success: var(--color-success, #10b981);
60
- --nice-color-warning: var(--color-warning, #f59e0b);
61
- --nice-color-error: var(--color-error, #ef4444);
62
- --nice-color-info: var(--color-info, #06b6d4);
63
- --nice-color-accent: var(--color-accent, #8b5cf6);
64
-
65
- /* Hover / surface */
66
- --nice-hover-bg: var(--hover-bg, #f1f5f9);
67
- --nice-color-surface: var(--color-surface, #ffffff);
68
- }
69
-
70
- /* Dark-mode mirror. The Nice tokens swap on their own with the theme
71
- attribute; this block re-asserts the chain so an app that sets the
72
- unprefixed names per theme still wins under Nice's dark selectors. */
73
- .nice-dark,
74
- [data-theme='dark'],
75
- :root[data-theme='dark'] {
76
- --nice-bg-primary: var(--bg-primary, #0f172a);
77
- --nice-bg-secondary: var(--bg-secondary, #1e293b);
78
- --nice-bg-tertiary: var(--bg-tertiary, #334155);
79
- --nice-bg-elevated: var(--bg-elevated, #1e293b);
80
- --nice-bg-canvas: var(--bg-canvas, #0f172a);
81
-
82
- --nice-text-primary: var(--text-primary, #f8fafc);
83
- --nice-text-secondary: var(--text-secondary, #cbd5e1);
84
- --nice-text-muted: var(--text-muted, #64748b);
85
-
86
- --nice-border-color: var(--border-color, #334155);
87
- }