@nice2dev/ui 1.2.0 → 1.2.1

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 (191) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/dist/NiceApiExplorer.doc-CFJndg5h.js +25 -0
  3. package/dist/NiceApiExplorer.doc-TEx67kV5.cjs +1 -0
  4. package/dist/NiceBPMNDesigner.doc-6lK1pXRq.js +32 -0
  5. package/dist/NiceBPMNDesigner.doc-BY8t7qOi.cjs +8 -0
  6. package/dist/NiceBackupDiffViewer.doc-CYvOeX19.js +25 -0
  7. package/dist/NiceBackupDiffViewer.doc-ChQaZCg1.cjs +1 -0
  8. package/dist/NiceBackupList.doc-BdQCw0_D.cjs +1 -0
  9. package/dist/NiceBackupList.doc-BwjIAoqz.js +25 -0
  10. package/dist/NiceBackupRestoreDialog.doc-B2iiqTps.cjs +1 -0
  11. package/dist/NiceBackupRestoreDialog.doc-DuXSGJiD.js +25 -0
  12. package/dist/NiceBackupScheduler.doc-BpY45181.js +31 -0
  13. package/dist/NiceBackupScheduler.doc-ByeL3iH1.cjs +7 -0
  14. package/dist/NiceBackupStatusBadge.doc-BA3dYgiW.cjs +1 -0
  15. package/dist/NiceBackupStatusBadge.doc-CxwkVarP.js +25 -0
  16. package/dist/NiceBackupTagEditor.doc-Bej1KHco.cjs +7 -0
  17. package/dist/NiceBackupTagEditor.doc-CNy4uNws.js +31 -0
  18. package/dist/NiceBottomSheet.doc-keq-Fzlz.cjs +8 -0
  19. package/dist/NiceBottomSheet.doc-v-UPUKQk.js +32 -0
  20. package/dist/NiceBranchManager.doc-BTyRjX7X.cjs +6 -0
  21. package/dist/NiceBranchManager.doc-Cz4SyEqE.js +30 -0
  22. package/dist/NiceButton-3AcJJ15c.cjs +1 -0
  23. package/dist/NiceButton-vkI07DP0.js +88 -0
  24. package/dist/NiceCodeEditor-VGIDWSkS.js +1181 -0
  25. package/dist/NiceCodeEditor-qX39PSnQ.cjs +260 -0
  26. package/dist/NiceColorPicker-CQhhjZ8w.cjs +1 -0
  27. package/dist/NiceColorPicker-Cbop7VMu.js +491 -0
  28. package/dist/NiceConnectorConfigForm.doc-BKrDuhXw.cjs +7 -0
  29. package/dist/NiceConnectorConfigForm.doc-BsHeXz3M.js +31 -0
  30. package/dist/NiceDataBranchGraph.doc-Axidz41W.js +29 -0
  31. package/dist/NiceDataBranchGraph.doc-sjLmrrtE.cjs +5 -0
  32. package/dist/NiceDataBranchManager.doc-B1-Rp2X4.cjs +6 -0
  33. package/dist/NiceDataBranchManager.doc-GUqfTFvW.js +30 -0
  34. package/dist/NiceDataConflictResolver.doc-CjQryrTu.cjs +5 -0
  35. package/dist/NiceDataConflictResolver.doc-L-TcnQMX.js +29 -0
  36. package/dist/NiceDataDiffViewer.doc-BzGrf0U-.cjs +6 -0
  37. package/dist/NiceDataDiffViewer.doc-goxhSldH.js +30 -0
  38. package/dist/NiceDataGrid-BDEIbuBS.js +2218 -0
  39. package/dist/NiceDataGrid-CS5aB-EN.cjs +10 -0
  40. package/dist/NiceDataMapper.doc-QmnmnvVq.js +30 -0
  41. package/dist/NiceDataMapper.doc-ytGVtYVr.cjs +6 -0
  42. package/dist/NiceDataMergeBuilder.doc-BcmzKxh2.cjs +6 -0
  43. package/dist/NiceDataMergeBuilder.doc-BvYa4aUJ.js +30 -0
  44. package/dist/NiceDataSnapshot.doc-C73K1biG.cjs +6 -0
  45. package/dist/NiceDataSnapshot.doc-hU7wnOzM.js +30 -0
  46. package/dist/NiceDesktopViews.doc-DJjYlyP2.cjs +1 -0
  47. package/dist/NiceDesktopViews.doc-ly-VUAJj.js +25 -0
  48. package/dist/NiceDeviceControlCard.doc-BZIo92-w.cjs +1 -0
  49. package/dist/NiceDeviceControlCard.doc-DIzZcW9L.js +25 -0
  50. package/dist/NiceDocumentViewer-B9VIVKyw.js +726 -0
  51. package/dist/NiceDocumentViewer-CDXAmPp7.cjs +180 -0
  52. package/dist/NiceDocumentationViewer.doc-BSNGa7a_.js +25 -0
  53. package/dist/NiceDocumentationViewer.doc-CrwlvPFg.cjs +1 -0
  54. package/dist/NiceEnergyChart.doc-DW-jllDV.cjs +1 -0
  55. package/dist/NiceEnergyChart.doc-DnEehTff.js +25 -0
  56. package/dist/NiceFeatureGate.doc-DN17uS_B.cjs +3 -0
  57. package/dist/NiceFeatureGate.doc-DNfFSRrh.js +27 -0
  58. package/dist/NiceForm-BcN4p2kG.cjs +1 -0
  59. package/dist/NiceForm-tIXS-M6b.js +4770 -0
  60. package/dist/NiceFormItem.doc-BJwEnDz2.js +36 -0
  61. package/dist/NiceFormItem.doc-Ck3PgaPD.cjs +12 -0
  62. package/dist/NiceGantt-CTbqCuwv.cjs +1 -0
  63. package/dist/NiceGantt-Dao7pN9z.js +328 -0
  64. package/dist/NiceGantt.doc-B6YZcJvG.cjs +11 -0
  65. package/dist/NiceGantt.doc-DsI1QXly.js +48 -0
  66. package/dist/NiceGitBlame.doc-BQ2KvGkD.js +30 -0
  67. package/dist/NiceGitBlame.doc-DuTSjZVN.cjs +6 -0
  68. package/dist/NiceGitDiffViewer.doc-D24AGos_.js +30 -0
  69. package/dist/NiceGitDiffViewer.doc-D9FVquBC.cjs +6 -0
  70. package/dist/NiceGitGraph.doc-C-8VGMIz.js +29 -0
  71. package/dist/NiceGitGraph.doc-eRvTmefl.cjs +5 -0
  72. package/dist/NiceGitHooks.doc-DCTVw7HX.cjs +5 -0
  73. package/dist/NiceGitHooks.doc-OCFj5w6v.js +29 -0
  74. package/dist/NiceHtmlEditor-DUwcqj5N.cjs +10 -0
  75. package/dist/NiceHtmlEditor-DiAphF1k.js +889 -0
  76. package/dist/NiceInstanceMonitor.doc-BSDZp5xa.js +31 -0
  77. package/dist/NiceInstanceMonitor.doc-HVbLufnh.cjs +7 -0
  78. package/dist/NiceLocaleManager.doc-CbVHDEWu.js +25 -0
  79. package/dist/NiceLocaleManager.doc-XH6hMW0Z.cjs +1 -0
  80. package/dist/NiceLockButton.doc-BMhSj3TB.cjs +1 -0
  81. package/dist/NiceLockButton.doc-DvHGhcfm.js +25 -0
  82. package/dist/NiceLoginForm-DQe77Isv.js +747 -0
  83. package/dist/NiceLoginForm-NBCo-DUZ.cjs +1 -0
  84. package/dist/NiceLoginForm.css +1 -1
  85. package/dist/NiceMAM.doc-CsQ57saR.cjs +8 -0
  86. package/dist/NiceMAM.doc-hjW7buTH.js +32 -0
  87. package/dist/NiceMention--3P3vO-W.cjs +430 -0
  88. package/dist/NiceMention-Co2cqkVM.js +11316 -0
  89. package/dist/NiceMention.css +1 -1
  90. package/dist/NiceModuleLifecyclePanel-DV3F_QdI.cjs +1 -0
  91. package/dist/NiceModuleLifecyclePanel-gaZkIEtK.js +6825 -0
  92. package/dist/NiceModuleLifecyclePanel.css +1 -1
  93. package/dist/NiceNetworkDiscoveryPanel.doc-B0RtGaS3.js +25 -0
  94. package/dist/NiceNetworkDiscoveryPanel.doc-BFgFZI5G.cjs +1 -0
  95. package/dist/NicePagination-B3nZDZem.js +165 -0
  96. package/dist/NicePagination-B8rg1Y67.cjs +1 -0
  97. package/dist/NicePipelineEditor.doc-CjqDKe2x.js +29 -0
  98. package/dist/NicePipelineEditor.doc-DZ0pTVTp.cjs +5 -0
  99. package/dist/NicePipelineMonitor.doc-C88-TagI.cjs +5 -0
  100. package/dist/NicePipelineMonitor.doc-CFtH4XJx.js +29 -0
  101. package/dist/NicePivotGrid-BaZa2YZW.js +1157 -0
  102. package/dist/NicePivotGrid-DyOPhPO8.cjs +152 -0
  103. package/dist/NiceRoomGrid.doc-DJPVUQVg.cjs +8 -0
  104. package/dist/NiceRoomGrid.doc-DLHJS_Wb.js +32 -0
  105. package/dist/NiceSavedQueryPanel-BC84uRfh.cjs +586 -0
  106. package/dist/NiceSavedQueryPanel-CMfcODIO.js +5120 -0
  107. package/dist/NiceSavedQueryPanel.css +1 -1
  108. package/dist/NiceSceneBar.doc-09sc3yuF.cjs +1 -0
  109. package/dist/NiceSceneBar.doc-DLePMuVU.js +25 -0
  110. package/dist/NiceSceneSelector.doc-CPzCAy-d.cjs +7 -0
  111. package/dist/NiceSceneSelector.doc-FCLZvPc0.js +31 -0
  112. package/dist/NiceScheduler-BAJRzFQN.js +1690 -0
  113. package/dist/NiceScheduler-dJ7gHDv7.cjs +5 -0
  114. package/dist/NiceSchedulerViews.doc-C9opZpgg.cjs +1 -0
  115. package/dist/NiceSchedulerViews.doc-Dy7ZH1iL.js +25 -0
  116. package/dist/NiceSelect-CZR8Zu_k.js +420 -0
  117. package/dist/NiceSelect-DIKGbaJo.cjs +1 -0
  118. package/dist/NiceSensorGaugePanel.doc-BHirbWLn.cjs +8 -0
  119. package/dist/NiceSensorGaugePanel.doc-DjKmooI6.js +32 -0
  120. package/dist/NiceSpotlight.doc-BVZFfDVI.cjs +10 -0
  121. package/dist/NiceSpotlight.doc-JqwkzrEm.js +34 -0
  122. package/dist/NiceStateDesigner.doc-CfnwiwfU.js +29 -0
  123. package/dist/NiceStateDesigner.doc-DV4zEC50.cjs +5 -0
  124. package/dist/NiceStepper.doc-5VjaLM6r.js +31 -0
  125. package/dist/NiceStepper.doc-f8lYpr33.cjs +7 -0
  126. package/dist/NiceTaskInbox.doc-CHrxthqp.js +32 -0
  127. package/dist/NiceTaskInbox.doc-CdCTfgBq.cjs +8 -0
  128. package/dist/NiceTestBuilder.doc-BoBzLfa0.js +30 -0
  129. package/dist/NiceTestBuilder.doc-Cj1fNTvk.cjs +6 -0
  130. package/dist/NiceTranscoder.doc-Dnirl3wg.cjs +7 -0
  131. package/dist/NiceTranscoder.doc-cInCYZh7.js +31 -0
  132. package/dist/NiceVideoAnnotator.doc-C1iEi7OM.cjs +7 -0
  133. package/dist/NiceVideoAnnotator.doc-C8zyfKH_.js +31 -0
  134. package/dist/NiceVideoEditor.doc-C6mhEb-q.cjs +7 -0
  135. package/dist/NiceVideoEditor.doc-lrwmKjqj.js +31 -0
  136. package/dist/NiceWindow-CWN8OCHF.js +2109 -0
  137. package/dist/NiceWindow-Dd8qjkIW.cjs +1 -0
  138. package/dist/NiceWindow.css +1 -1
  139. package/dist/charts-Bo2WAI5T.cjs +768 -0
  140. package/dist/charts-ByrdMeQP.js +4767 -0
  141. package/dist/charts.cjs +1 -1
  142. package/dist/charts.css +1 -1
  143. package/dist/charts.d.ts +28 -18
  144. package/dist/charts.mjs +1 -1
  145. package/dist/core-B8eBUE4m.js +438 -0
  146. package/dist/core-lBFqvT0V.cjs +1 -0
  147. package/dist/core-lazy-Bh2yg4Et.js +351 -0
  148. package/dist/core-lazy-CkWKjfc6.cjs +1 -0
  149. package/dist/data-branching-Dak1_ZKR.cjs +1 -0
  150. package/dist/data-branching-DiLAO4Qt.js +6386 -0
  151. package/dist/data-branching.cjs +1 -1
  152. package/dist/data-branching.mjs +1 -1
  153. package/dist/data.cjs +1 -1
  154. package/dist/data.d.ts +22 -18
  155. package/dist/data.mjs +3 -3
  156. package/dist/devops-DkVluHBp.cjs +17 -0
  157. package/dist/devops-zsMUueTd.js +8648 -0
  158. package/dist/devops.cjs +1 -1
  159. package/dist/devops.d.ts +3 -3
  160. package/dist/devops.mjs +1 -1
  161. package/dist/editors.cjs +1 -1
  162. package/dist/editors.d.ts +100 -38
  163. package/dist/editors.mjs +8 -8
  164. package/dist/feedback.cjs +1 -1
  165. package/dist/feedback.d.ts +71 -2
  166. package/dist/feedback.mjs +10 -9
  167. package/dist/index.cjs +193 -193
  168. package/dist/index.css +1 -1
  169. package/dist/index.d.ts +637 -225
  170. package/dist/index.mjs +26403 -26405
  171. package/dist/injectStyleOnce-BzC_BCs_.js +9 -0
  172. package/dist/injectStyleOnce-DeWaxcdf.cjs +1 -0
  173. package/dist/lazy.cjs +1 -1
  174. package/dist/lazy.d.ts +9 -7
  175. package/dist/lazy.mjs +51 -51
  176. package/dist/navigation.cjs +1 -1
  177. package/dist/navigation.css +1 -0
  178. package/dist/navigation.d.ts +99 -43
  179. package/dist/navigation.mjs +504 -547
  180. package/dist/no-code-DiTEnuRv.js +8288 -0
  181. package/dist/no-code-wG9c0z_T.cjs +331 -0
  182. package/dist/no-code.cjs +1 -1
  183. package/dist/no-code.css +1 -1
  184. package/dist/no-code.mjs +1 -1
  185. package/dist/overlays.cjs +1 -1
  186. package/dist/overlays.d.ts +12 -6
  187. package/dist/overlays.mjs +1 -1
  188. package/dist/pickerCommons-BCRiHDE_.cjs +1 -0
  189. package/dist/pickerCommons-DkumQ3KE.js +548 -0
  190. package/dist/style.css +12 -9
  191. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,112 @@
1
1
  # [1.0.27] — 2026-06-07
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8c82c30: 1.2.1 — the decisions that waited since 1.2.0, and the debts the CI gates were holding. One API
8
+ change, agreed: `NiceIconSuggestorAI` suggests Nice icons only. Two stylesheets to import if you use
9
+ the packages: `@nice2dev/social/style.css`, `@nice2dev/ui-science/style.css`. Upgrade notes:
10
+ `documentation/omniverk/OMNIVERK_UPGRADE_1.2.1.md`.
11
+
12
+ **Tree-shaking.** An import from a package no longer brings the whole package. Module-level
13
+ statements that may have a side effect — a `displayName` assigned after each component (now
14
+ `Object.assign` inside `/* @__PURE__ */`, or under a development check for plain functions),
15
+ unannotated `forwardRef` / `memo` / `createContext` / icon-factory calls, spreads, registries filled
16
+ at import, `<style>` tags injected at import, a direct `eval` in ui-math — are gone. One import from
17
+ each of 53 packages: 5066.5 kB → 1171.6 kB (`@nice2dev/ui` 1928.2 kB → 12.9 kB, icon packs 48–275 kB
18
+ → 1.6–2.6 kB). `defaultViewRegistry` has the Nice\* input controls from the start, each loading its
19
+ module on first render; sixteen controls add their styles to `<head>` on first render.
20
+
21
+ **Dead code.** 405 source files no entry point imported (never on npm) are deleted;
22
+ `NiceClipboardStack` (`@nice2dev/ui`) and `NiceSampleBrowser` (`@nice2dev/ui-audio`), finished and
23
+ documented, are exported.
24
+
25
+ **ui-mobile draws Nice icons.** New peer `@nice2dev/icons ^1.2.0`; `TabIcons`, `DrawerIcons`,
26
+ `HeaderIcons`, the `NiceSwipeActions` presets and the `NiceInfiniteScroll` states are `Ntd*` icons
27
+ instead of pasted `<svg>`, simple glyphs are CSS marks. `@nice2dev/icons` adds `NtdReply` and
28
+ `NtdInbox`; an icon no longer throws without `window.matchMedia`.
29
+
30
+ **`NiceIconSuggestorAI` (breaking, agreed).** `AIIconLibrary` is `'nice'`; `svgPath` and `unicode`
31
+ left `AISuggestedIcon`; the preview is a `<NiceIcon>`, "Copy SVG" is "Copy JSX".
32
+
33
+ **Peer ranges.** Every internal `@nice2dev/*` peer is `^1.2.0` (was as wide as `^1.0.20`), except
34
+ `@nice2dev/icons ^1.2.1` where a package draws an icon new in 1.2.1: ui-mobile (`NtdReply`,
35
+ `NtdInbox`), ui-audio (`NtdMicrophoneOff`) and ui-security (`NtdBackspace`). ui-security, licensing
36
+ (`^1.2.0`) and templates (`^1.2.0`) gain the `@nice2dev/icons` peer: their glyph icons (`⌫`, `←`,
37
+ `→`, `↑`, `↓`) are Nice icons now. `@nice2dev/icons` adds `NtdBackspace`.
38
+
39
+ **Class names inside components.** 834 class names in library stylesheets had no `nice-` prefix
40
+ (`.tab-button`, `.status-badge`, `.selected`, …) and styled every element of that name on the page.
41
+ They follow `nice-{block}__{element}--{modifier}` now — no change on screen. The class theme hooks
42
+ next to `[data-theme]` on seven controls (`dark` on the AI chart / data grid / code and HTML
43
+ editors / form builder, `light-theme` on `NiceMAM` and `NiceVideoAnnotator`) are `nice-dark` /
44
+ `nice-light`; `NiceLowPowerMode` marks `<html>` with `nice-lpm-no-animations` /
45
+ `nice-lpm-reduced-quality`; the `NiceVideoEditor` of `@nice2dev/ui-video` styles its elements under
46
+ `nice-video-studio`, so they no longer collide with the `NiceVideoEditor` of `@nice2dev/ui`.
47
+ Rules for classes nothing rendered are gone, among them the stylesheet of `NiceGanttChart`, which
48
+ left ui-erp in 1.0.10.
49
+
50
+ **Translations.** About 3,400 UI texts in 32 packages were hard-coded; they go through `t()` now,
51
+ with the English text unchanged and pl / de / fr / es / uk in `@nice2dev/i18n` (ui-diagrams,
52
+ ui-presentations and ui-math in their own dictionaries). In `@nice2dev/events` and
53
+ `@nice2dev/admin` that includes column headers, option labels and the statuses and roles they used
54
+ to print raw (`checked-in`, `no-show`) — English labels for those come from the dictionary. ui-3d and ui-graphics read the app's
55
+ global translator, as ui-audio does since 1.2.0 — their own provider overrides it. ui-audio's
56
+ controls used 631 keys the dictionary did not have (English in every language), and the radio
57
+ player showed raw keys (`search_stations`). Texts that were hard-coded **in Polish** — in
58
+ `NiceSidebarNav`, `NiceNetworkDiscoveryPanel`, the backup and smart-home controls,
59
+ `NiceSavedQueryPanel`, `NiceNotificationPreferences`, the ui-buildings panels, the ui-printing
60
+ template editor and the photo editor — default to English now; Polish is in the dictionary. English
61
+ plurals glued on (`result{s}`) are two keys. `presentationsTranslator(lang)` (ui-presentations)
62
+ translates outside its provider.
63
+
64
+ **List props are optional.** 170 list props (`items`, `columns`, `data`, …) in 15 packages that
65
+ were required without a default are optional, with a stable empty default; every one of those
66
+ controls mounts without data (tested). `NiceStockChart` without data no longer computes NaN
67
+ coordinates.
68
+
69
+ **Unstyled components get stylesheets.** 98 components rendered class names no stylesheet had —
70
+ admin panels, auth forms, events rounds and pickers, the ERP invoice / purchase order / VAT table /
71
+ HR dashboard, the radio player, `NiceInbox`, PWA prompts, `NiceViewRenderer`, shells, smart-home,
72
+ … The fixed layout that sat in inline style objects is in classes now, so an app can override it;
73
+ values that depend on data stay inline. **`@nice2dev/social` and `@nice2dev/ui-science` ship a
74
+ stylesheet — import `@nice2dev/social/style.css` / `@nice2dev/ui-science/style.css`.** ui-science's
75
+ `sideEffects` is `["*.css"]`. Colours, spacing and radii in every stylesheet come from theme tokens
76
+ (visible in dark themes: `NiceRecipe` difficulty badges, transcoder states, warehouse heat map).
77
+
78
+ **Icons only from Nice.** About 130 glyphs (`×`, `→`, `↑`) and 100 pasted `<svg>` used as icons
79
+ are Nice icons; 11 `<svg>` stay as the control's own graphic (logos, spinners, checkbox mark). `NiceIcon`
80
+ gains `pin`, `mic-off`, `log-out`, `chevrons-left`, `chevrons-right`, `zoom-in`, `zoom-out`,
81
+ `navigation`, `refresh-ccw`, `minimize` and `smartphone`; `@nice2dev/icons` gains
82
+ `NtdMicrophoneOff`. The `icon` fields of the module, menu, tab, mode, quick-action, scene and admin
83
+ widget DTOs, notification channels and view toolbar items are rendered through `NiceIcon` — they
84
+ used to be printed as text. `NiceRatings` `thumbs` draws shapes instead of emoji.
85
+
86
+ **Dialogs instead of `window.prompt` / `confirm` / `alert`.** New `useNiceDialogs()` — `prompt`,
87
+ `confirm` and `alert` as promises on `NicePromptDialog` / `NiceConfirmDialog` — and
88
+ `NiceConfirmDialog.showReject`. Seventeen controls asked through the browser's blocking dialogs and
89
+ use the library's now (`NiceFileManager`, `NiceHtmlEditor`, `NiceViewRenderer` action `confirm`, the 3D,
90
+ vector and pixel editors, …). Keys pressed in `NicePromptDialog` / `NiceConfirmDialog` no longer
91
+ reach the page's shortcuts (Escape still closes them), and `NicePromptDialog`'s backdrop covers the
92
+ whole viewport.
93
+
94
+ **Smaller fixes.** `NiceFileManager.items` is optional. `NiceMLStudio` status badges: `draft`,
95
+ `registered`, `archived`, `cancelled` get a neutral colour, deploying / stopped deployments theirs.
96
+ Component docs (`doc.json`) list only props the components have. `NiceMobileTabs`: tabs beyond
97
+ `maxTabs` open from "More" (it only logged). `NiceInventoryManager`: new `onCreatePurchaseOrder`;
98
+ without it the "Create PO" button is gone (it only logged). Keyboard: `NiceNavShell` tabs follow the
99
+ WAI-ARIA tabs pattern, clickable `NiceDeviceTile` / `NiceCardGroup` cards and animated icons with
100
+ `trigger="click"` are focusable. ui-math: `CalculatorService.evaluate` parses instead of running
101
+ `new Function` (`asin`, `sinh`, `ceil`, exponents and `angleUnit` were wrong); `ExpressionParser`
102
+ takes `functions`, `constants`, `ignoreCase` and `strict`, multiplies implicitly (`2x`) and reads `^`
103
+ right to left. `InvoiceLine.vatRate` and `VatRate.rate` are documented as fractions (0.23).
104
+ `AmqpServerBinding` is `Record<string, never>`.
105
+
106
+ - Updated dependencies [8c82c30]
107
+ - @nice2dev/i18n@1.2.1
108
+ - @nice2dev/ui-core@1.2.1
109
+
3
110
  ## 1.2.0
4
111
 
5
112
  ### Minor Changes
@@ -0,0 +1,25 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", o = "NiceApiExplorer", c = "API documentation explorer component.", s = "display", t = "1.0.0", n = "stable", i = [{ name: "spec", type: "OpenAPISpec | string", required: !0, description: "OpenAPI specification" }, { name: "baseUrl", type: "string", description: "API base URL" }], p = [{ title: "API Explorer", code: '<NiceApiExplorer spec={openApiSpec} baseUrl="/api" />' }], a = { keyboard: ["Tab to navigate"], aria: ["Navigation role"] }, r = ["NiceDocumentationViewer", "NiceConsole"], l = {
2
+ $schema: e,
3
+ name: o,
4
+ description: c,
5
+ category: s,
6
+ since: t,
7
+ status: n,
8
+ props: i,
9
+ examples: p,
10
+ accessibility: a,
11
+ seeAlso: r
12
+ };
13
+ export {
14
+ e as $schema,
15
+ a as accessibility,
16
+ s as category,
17
+ l as default,
18
+ c as description,
19
+ p as examples,
20
+ o as name,
21
+ i as props,
22
+ r as seeAlso,
23
+ t as since,
24
+ n as status
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceApiExplorer",o="API documentation explorer component.",t="display",c="1.0.0",i="stable",n=[{name:"spec",type:"OpenAPISpec | string",required:!0,description:"OpenAPI specification"},{name:"baseUrl",type:"string",description:"API base URL"}],a=[{title:"API Explorer",code:'<NiceApiExplorer spec={openApiSpec} baseUrl="/api" />'}],p={keyboard:["Tab to navigate"],aria:["Navigation role"]},r=["NiceDocumentationViewer","NiceConsole"],l={$schema:e,name:s,description:o,category:t,since:c,status:i,props:n,examples:a,accessibility:p,seeAlso:r};exports.$schema=e;exports.accessibility=p;exports.category=t;exports.default=l;exports.description=o;exports.examples=a;exports.name=s;exports.props=n;exports.seeAlso=r;exports.since=c;exports.status=i;
@@ -0,0 +1,32 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", o = "NiceBPMNDesigner", n = "BPMN 2.0 workflow designer with visual process modeling capabilities.", t = "workflow", s = "1.0.0", a = "stable", i = [{ name: "value", type: "BPMNDocument", description: "BPMN diagram" }, { name: "onChange", type: "(doc: BPMNDocument) => void", description: "Change callback" }, { name: "palette", type: "BPMNElement[]", description: "Element palette" }, { name: "readOnly", type: "boolean", default: "false", description: "Read-only mode" }, { name: "showMinimap", type: "boolean", default: "true", description: "Show minimap" }, { name: "showProperties", type: "boolean", default: "true", description: "Show properties panel" }, { name: "onValidate", type: "(errors: ValidationError[]) => void", description: "Validation callback" }, { name: "exportFormats", type: "string[]", default: "['bpmn', 'svg', 'png']", description: "Export formats" }], r = [{ title: "BPMN Designer", description: "Design workflow process", code: `<NiceBPMNDesigner
2
+ value={workflow}
3
+ onChange={setWorkflow}
4
+ showMinimap
5
+ showProperties
6
+ onValidate={(e) => setErrors(e)}
7
+ exportFormats={['bpmn', 'svg']}
8
+ />` }], c = { keyboard: ["Tab through elements", "Delete to remove", "Arrow keys to move"], aria: ["Canvas with element descriptions"] }, p = ["NiceTaskInbox", "NiceInstanceMonitor"], l = {
9
+ $schema: e,
10
+ name: o,
11
+ description: n,
12
+ category: t,
13
+ since: s,
14
+ status: a,
15
+ props: i,
16
+ examples: r,
17
+ accessibility: c,
18
+ seeAlso: p
19
+ };
20
+ export {
21
+ e as $schema,
22
+ c as accessibility,
23
+ t as category,
24
+ l as default,
25
+ n as description,
26
+ r as examples,
27
+ o as name,
28
+ i as props,
29
+ p as seeAlso,
30
+ s as since,
31
+ a as status
32
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceBPMNDesigner",t="BPMN 2.0 workflow designer with visual process modeling capabilities.",n="workflow",s="1.0.0",i="stable",a=[{name:"value",type:"BPMNDocument",description:"BPMN diagram"},{name:"onChange",type:"(doc: BPMNDocument) => void",description:"Change callback"},{name:"palette",type:"BPMNElement[]",description:"Element palette"},{name:"readOnly",type:"boolean",default:"false",description:"Read-only mode"},{name:"showMinimap",type:"boolean",default:"true",description:"Show minimap"},{name:"showProperties",type:"boolean",default:"true",description:"Show properties panel"},{name:"onValidate",type:"(errors: ValidationError[]) => void",description:"Validation callback"},{name:"exportFormats",type:"string[]",default:"['bpmn', 'svg', 'png']",description:"Export formats"}],r=[{title:"BPMN Designer",description:"Design workflow process",code:`<NiceBPMNDesigner
2
+ value={workflow}
3
+ onChange={setWorkflow}
4
+ showMinimap
5
+ showProperties
6
+ onValidate={(e) => setErrors(e)}
7
+ exportFormats={['bpmn', 'svg']}
8
+ />`}],c={keyboard:["Tab through elements","Delete to remove","Arrow keys to move"],aria:["Canvas with element descriptions"]},l=["NiceTaskInbox","NiceInstanceMonitor"],p={$schema:e,name:o,description:t,category:n,since:s,status:i,props:a,examples:r,accessibility:c,seeAlso:l};exports.$schema=e;exports.accessibility=c;exports.category=n;exports.default=p;exports.description=t;exports.examples=r;exports.name=o;exports.props=a;exports.seeAlso=l;exports.since=s;exports.status=i;
@@ -0,0 +1,25 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", i = "NiceBackupDiffViewer", c = "Backup diff comparison viewer.", t = "display", s = "1.0.0", o = "stable", n = [{ name: "original", type: "BackupSnapshot", required: !0, description: "Original snapshot" }, { name: "current", type: "BackupSnapshot", required: !0, description: "Current snapshot" }], r = [{ title: "Diff Viewer", code: "<NiceBackupDiffViewer original={original} current={current} />" }], a = { keyboard: [], aria: ["Diff description"] }, p = ["NiceBackupList", "NiceConflictResolution"], u = {
2
+ $schema: e,
3
+ name: i,
4
+ description: c,
5
+ category: t,
6
+ since: s,
7
+ status: o,
8
+ props: n,
9
+ examples: r,
10
+ accessibility: a,
11
+ seeAlso: p
12
+ };
13
+ export {
14
+ e as $schema,
15
+ a as accessibility,
16
+ t as category,
17
+ u as default,
18
+ c as description,
19
+ r as examples,
20
+ i as name,
21
+ n as props,
22
+ p as seeAlso,
23
+ s as since,
24
+ o as status
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",i="NiceBackupDiffViewer",s="Backup diff comparison viewer.",c="display",t="1.0.0",o="stable",n=[{name:"original",type:"BackupSnapshot",required:!0,description:"Original snapshot"},{name:"current",type:"BackupSnapshot",required:!0,description:"Current snapshot"}],a=[{title:"Diff Viewer",code:"<NiceBackupDiffViewer original={original} current={current} />"}],r={keyboard:[],aria:["Diff description"]},p=["NiceBackupList","NiceConflictResolution"],u={$schema:e,name:i,description:s,category:c,since:t,status:o,props:n,examples:a,accessibility:r,seeAlso:p};exports.$schema=e;exports.accessibility=r;exports.category=c;exports.default=u;exports.description=s;exports.examples=a;exports.name=i;exports.props=n;exports.seeAlso=p;exports.since=t;exports.status=o;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceBackupList",c="Backup history list component.",t="display",o="1.0.0",a="stable",i=[{name:"onRestore",type:"(backup: Backup) => void",description:"Restore callback"},{name:"onDelete",type:"(backup: Backup) => void",description:"Delete callback"}],n=[{title:"Backup List",code:"<NiceBackupList backups={backups} onRestore={handleRestore} />"}],p={keyboard:["Arrow keys"],aria:["List role"]},l=["NiceBackupRestoreDialog","NiceDataList"],r={$schema:e,name:s,description:c,category:t,since:o,status:a,props:i,examples:n,accessibility:p,seeAlso:l};exports.$schema=e;exports.accessibility=p;exports.category=t;exports.default=r;exports.description=c;exports.examples=n;exports.name=s;exports.props=i;exports.seeAlso=l;exports.since=o;exports.status=a;
@@ -0,0 +1,25 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", c = "NiceBackupList", s = "Backup history list component.", t = "display", o = "1.0.0", a = "stable", i = [{ name: "onRestore", type: "(backup: Backup) => void", description: "Restore callback" }, { name: "onDelete", type: "(backup: Backup) => void", description: "Delete callback" }], n = [{ title: "Backup List", code: "<NiceBackupList backups={backups} onRestore={handleRestore} />" }], p = { keyboard: ["Arrow keys"], aria: ["List role"] }, l = ["NiceBackupRestoreDialog", "NiceDataList"], r = {
2
+ $schema: e,
3
+ name: c,
4
+ description: s,
5
+ category: t,
6
+ since: o,
7
+ status: a,
8
+ props: i,
9
+ examples: n,
10
+ accessibility: p,
11
+ seeAlso: l
12
+ };
13
+ export {
14
+ e as $schema,
15
+ p as accessibility,
16
+ t as category,
17
+ r as default,
18
+ s as description,
19
+ n as examples,
20
+ c as name,
21
+ i as props,
22
+ l as seeAlso,
23
+ o as since,
24
+ a as status
25
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",o="NiceBackupRestoreDialog",c="Backup restore confirmation dialog.",s="overlay",t="1.0.0",a="stable",i=[{name:"open",type:"boolean",required:!0,description:"Dialog open state"},{name:"onConfirm",type:"() => void",description:"Confirm callback"},{name:"onCancel",type:"() => void",description:"Cancel callback"}],n=[{title:"Restore Dialog",code:"<NiceBackupRestoreDialog open={open} backup={backup} onConfirm={restore} />"}],r={keyboard:["Escape to close"],aria:["Dialog role"]},l=["NiceConfirmDialog","NiceBackupList"],p={$schema:e,name:o,description:c,category:s,since:t,status:a,props:i,examples:n,accessibility:r,seeAlso:l};exports.$schema=e;exports.accessibility=r;exports.category=s;exports.default=p;exports.description=c;exports.examples=n;exports.name=o;exports.props=i;exports.seeAlso=l;exports.since=t;exports.status=a;
@@ -0,0 +1,25 @@
1
+ const o = "https://nice2dev.com/schemas/component-doc-v1.json", e = "NiceBackupRestoreDialog", c = "Backup restore confirmation dialog.", a = "overlay", t = "1.0.0", s = "stable", n = [{ name: "open", type: "boolean", required: !0, description: "Dialog open state" }, { name: "onConfirm", type: "() => void", description: "Confirm callback" }, { name: "onCancel", type: "() => void", description: "Cancel callback" }], i = [{ title: "Restore Dialog", code: "<NiceBackupRestoreDialog open={open} backup={backup} onConfirm={restore} />" }], r = { keyboard: ["Escape to close"], aria: ["Dialog role"] }, p = ["NiceConfirmDialog", "NiceBackupList"], l = {
2
+ $schema: o,
3
+ name: e,
4
+ description: c,
5
+ category: a,
6
+ since: t,
7
+ status: s,
8
+ props: n,
9
+ examples: i,
10
+ accessibility: r,
11
+ seeAlso: p
12
+ };
13
+ export {
14
+ o as $schema,
15
+ r as accessibility,
16
+ a as category,
17
+ l as default,
18
+ c as description,
19
+ i as examples,
20
+ e as name,
21
+ n as props,
22
+ p as seeAlso,
23
+ t as since,
24
+ s as status
25
+ };
@@ -0,0 +1,31 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", c = "NiceBackupScheduler", n = "Backup scheduler with cron-like scheduling and retention policies.", t = "backup", s = "1.0.0", o = "stable", i = [{ name: "schedule", type: "BackupSchedule", description: "Current schedule" }, { name: "onChange", type: "(schedule: BackupSchedule) => void", description: "Change callback" }, { name: "retention", type: "RetentionPolicy", description: "Retention policy" }, { name: "presets", type: "SchedulePreset[]", description: "Schedule presets" }, { name: "timezone", type: "string", description: "Schedule timezone" }], a = [{ title: "Backup Scheduler", description: "Schedule backups", code: `<NiceBackupScheduler
2
+ schedule={backupSchedule}
3
+ onChange={setBackupSchedule}
4
+ retention={retentionPolicy}
5
+ onRetentionChange={setRetentionPolicy}
6
+ presets={schedulePresets}
7
+ />` }], d = { keyboard: ["Tab through fields"], aria: ["Schedule form", "Time selection"] }, l = ["NiceBackupTagEditor", "NiceScheduler"], u = {
8
+ $schema: e,
9
+ name: c,
10
+ description: n,
11
+ category: t,
12
+ since: s,
13
+ status: o,
14
+ props: i,
15
+ examples: a,
16
+ accessibility: d,
17
+ seeAlso: l
18
+ };
19
+ export {
20
+ e as $schema,
21
+ d as accessibility,
22
+ t as category,
23
+ u as default,
24
+ n as description,
25
+ a as examples,
26
+ c as name,
27
+ i as props,
28
+ l as seeAlso,
29
+ s as since,
30
+ o as status
31
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",c="NiceBackupScheduler",t="Backup scheduler with cron-like scheduling and retention policies.",n="backup",s="1.0.0",o="stable",i=[{name:"schedule",type:"BackupSchedule",description:"Current schedule"},{name:"onChange",type:"(schedule: BackupSchedule) => void",description:"Change callback"},{name:"retention",type:"RetentionPolicy",description:"Retention policy"},{name:"presets",type:"SchedulePreset[]",description:"Schedule presets"},{name:"timezone",type:"string",description:"Schedule timezone"}],a=[{title:"Backup Scheduler",description:"Schedule backups",code:`<NiceBackupScheduler
2
+ schedule={backupSchedule}
3
+ onChange={setBackupSchedule}
4
+ retention={retentionPolicy}
5
+ onRetentionChange={setRetentionPolicy}
6
+ presets={schedulePresets}
7
+ />`}],l={keyboard:["Tab through fields"],aria:["Schedule form","Time selection"]},d=["NiceBackupTagEditor","NiceScheduler"],u={$schema:e,name:c,description:t,category:n,since:s,status:o,props:i,examples:a,accessibility:l,seeAlso:d};exports.$schema=e;exports.accessibility=l;exports.category=n;exports.default=u;exports.description=t;exports.examples=a;exports.name=c;exports.props=i;exports.seeAlso=d;exports.since=s;exports.status=o;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",s="NiceBackupStatusBadge",t="Backup status indicator badge.",c="display",a="1.0.0",n="stable",o=[{name:"status",type:"'synced' | 'pending' | 'error' | 'syncing'",required:!0,description:"Backup status"}],i=[{title:"Status Badge",code:'<NiceBackupStatusBadge status="synced" lastBackup={new Date()} />'}],u={keyboard:[],aria:["Status announcement"]},d=["NiceBadge"],p={$schema:e,name:s,description:t,category:c,since:a,status:n,props:o,examples:i,accessibility:u,seeAlso:d};exports.$schema=e;exports.accessibility=u;exports.category=c;exports.default=p;exports.description=t;exports.examples=i;exports.name=s;exports.props=o;exports.seeAlso=d;exports.since=a;exports.status=n;
@@ -0,0 +1,25 @@
1
+ const t = "https://nice2dev.com/schemas/component-doc-v1.json", s = "NiceBackupStatusBadge", e = "Backup status indicator badge.", a = "display", c = "1.0.0", n = "stable", o = [{ name: "status", type: "'synced' | 'pending' | 'error' | 'syncing'", required: !0, description: "Backup status" }], i = [{ title: "Status Badge", code: '<NiceBackupStatusBadge status="synced" lastBackup={new Date()} />' }], d = { keyboard: [], aria: ["Status announcement"] }, u = ["NiceBadge"], p = {
2
+ $schema: t,
3
+ name: s,
4
+ description: e,
5
+ category: a,
6
+ since: c,
7
+ status: n,
8
+ props: o,
9
+ examples: i,
10
+ accessibility: d,
11
+ seeAlso: u
12
+ };
13
+ export {
14
+ t as $schema,
15
+ d as accessibility,
16
+ a as category,
17
+ p as default,
18
+ e as description,
19
+ i as examples,
20
+ s as name,
21
+ o as props,
22
+ u as seeAlso,
23
+ c as since,
24
+ n as status
25
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",a="NiceBackupTagEditor",t="Tag editor for backup labeling and categorization.",s="backup",n="1.0.0",o="stable",c=[{name:"tags",type:"string[]",description:"Current tags"},{name:"onChange",type:"(tags: string[]) => void",description:"Change callback"},{name:"suggestions",type:"string[]",description:"Tag suggestions"},{name:"maxTags",type:"number",description:"Maximum tags allowed"},{name:"placeholder",type:"string",description:"Input placeholder"},{name:"disabled",type:"boolean",default:"false",description:"Disable editing"}],i=[{title:"Backup Tag Editor",description:"Tag backups",code:`<NiceBackupTagEditor
2
+ tags={backupTags}
3
+ onChange={setBackupTags}
4
+ suggestions={commonTags}
5
+ maxTags={10}
6
+ allowCreate
7
+ />`}],g={keyboard:["Tab to navigate","Enter to add tag"],aria:["Tag list","Tag removal buttons"]},r=["NiceBackupScheduler","NiceTagInput"],p={$schema:e,name:a,description:t,category:s,since:n,status:o,props:c,examples:i,accessibility:g,seeAlso:r};exports.$schema=e;exports.accessibility=g;exports.category=s;exports.default=p;exports.description=t;exports.examples=i;exports.name=a;exports.props=c;exports.seeAlso=r;exports.since=n;exports.status=o;
@@ -0,0 +1,31 @@
1
+ const a = "https://nice2dev.com/schemas/component-doc-v1.json", e = "NiceBackupTagEditor", t = "Tag editor for backup labeling and categorization.", s = "backup", n = "1.0.0", o = "stable", c = [{ name: "tags", type: "string[]", description: "Current tags" }, { name: "onChange", type: "(tags: string[]) => void", description: "Change callback" }, { name: "suggestions", type: "string[]", description: "Tag suggestions" }, { name: "maxTags", type: "number", description: "Maximum tags allowed" }, { name: "placeholder", type: "string", description: "Input placeholder" }, { name: "disabled", type: "boolean", default: "false", description: "Disable editing" }], i = [{ title: "Backup Tag Editor", description: "Tag backups", code: `<NiceBackupTagEditor
2
+ tags={backupTags}
3
+ onChange={setBackupTags}
4
+ suggestions={commonTags}
5
+ maxTags={10}
6
+ allowCreate
7
+ />` }], g = { keyboard: ["Tab to navigate", "Enter to add tag"], aria: ["Tag list", "Tag removal buttons"] }, p = ["NiceBackupScheduler", "NiceTagInput"], r = {
8
+ $schema: a,
9
+ name: e,
10
+ description: t,
11
+ category: s,
12
+ since: n,
13
+ status: o,
14
+ props: c,
15
+ examples: i,
16
+ accessibility: g,
17
+ seeAlso: p
18
+ };
19
+ export {
20
+ a as $schema,
21
+ g as accessibility,
22
+ s as category,
23
+ r as default,
24
+ t as description,
25
+ i as examples,
26
+ e as name,
27
+ c as props,
28
+ p as seeAlso,
29
+ n as since,
30
+ o as status
31
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceBottomSheet",n="Bottom sheet with snap points and drag-to-dismiss.",o="mobile",s="1.0.0",a="stable",i=[{name:"open",type:"boolean",required:!0,description:"Open state"},{name:"onOpenChange",type:"(open: boolean) => void",required:!0,description:"Open change callback"},{name:"children",type:"React.ReactNode",required:!0,description:"Sheet content"},{name:"snapPoints",type:"number[]",default:"[0.5, 1]",description:"Snap points (0-1)"},{name:"initialSnap",type:"number",default:"0",description:"Default snap point index"},{name:"onSnap",type:"(index: number) => void",description:"Snap callback"},{name:"showHandle",type:"boolean",default:"true",description:"Show drag handle"}],c=[{title:"Bottom Sheet",description:"Draggable sheet",code:`<NiceBottomSheet
2
+ open={sheetOpen}
3
+ onOpenChange={setSheetOpen}
4
+ snapPoints={[0.3, 0.7, 1]}
5
+ showHandle
6
+ >
7
+ <DetailPanel />
8
+ </NiceBottomSheet>`}],p={keyboard:["Tab within sheet","Escape to close"],aria:["Dialog role","Drag handle description"]},r=["NiceActionSheet","NiceDrawer"],d={$schema:e,name:t,description:n,category:o,since:s,status:a,props:i,examples:c,accessibility:p,seeAlso:r};exports.$schema=e;exports.accessibility=p;exports.category=o;exports.default=d;exports.description=n;exports.examples=c;exports.name=t;exports.props=i;exports.seeAlso=r;exports.since=s;exports.status=a;
@@ -0,0 +1,32 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceBottomSheet", n = "Bottom sheet with snap points and drag-to-dismiss.", o = "mobile", a = "1.0.0", i = "stable", s = [{ name: "open", type: "boolean", required: !0, description: "Open state" }, { name: "onOpenChange", type: "(open: boolean) => void", required: !0, description: "Open change callback" }, { name: "children", type: "React.ReactNode", required: !0, description: "Sheet content" }, { name: "snapPoints", type: "number[]", default: "[0.5, 1]", description: "Snap points (0-1)" }, { name: "initialSnap", type: "number", default: "0", description: "Default snap point index" }, { name: "onSnap", type: "(index: number) => void", description: "Snap callback" }, { name: "showHandle", type: "boolean", default: "true", description: "Show drag handle" }], c = [{ title: "Bottom Sheet", description: "Draggable sheet", code: `<NiceBottomSheet
2
+ open={sheetOpen}
3
+ onOpenChange={setSheetOpen}
4
+ snapPoints={[0.3, 0.7, 1]}
5
+ showHandle
6
+ >
7
+ <DetailPanel />
8
+ </NiceBottomSheet>` }], p = { keyboard: ["Tab within sheet", "Escape to close"], aria: ["Dialog role", "Drag handle description"] }, d = ["NiceActionSheet", "NiceDrawer"], r = {
9
+ $schema: e,
10
+ name: t,
11
+ description: n,
12
+ category: o,
13
+ since: a,
14
+ status: i,
15
+ props: s,
16
+ examples: c,
17
+ accessibility: p,
18
+ seeAlso: d
19
+ };
20
+ export {
21
+ e as $schema,
22
+ p as accessibility,
23
+ o as category,
24
+ r as default,
25
+ n as description,
26
+ c as examples,
27
+ t as name,
28
+ s as props,
29
+ d as seeAlso,
30
+ a as since,
31
+ i as status
32
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",n="NiceBranchManager",c="Git branch management panel with create, delete, checkout, and merge operations.",a="devops",t="1.0.7",r="stable",s=[{name:"branches",type:"GitBranch[]",required:!1,default:"[]",description:"List of branches"},{name:"currentBranch",type:"string",description:"Currently checked out branch"},{name:"onCheckout",type:"(branch: string) => Promise<void>",description:"Checkout branch callback"},{name:"onDelete",type:"(branch: string) => Promise<void>",description:"Delete branch callback"},{name:"onMerge",type:"(source: string, target: string) => Promise<void>",description:"Merge branch callback"}],o=[{title:"Branch Manager",description:"Manage Git branches",code:`<NiceBranchManager
2
+ branches={branches}
3
+ currentBranch="main"
4
+ onCheckout={handleCheckout}
5
+ onCreate={handleCreate}
6
+ />`}],i={role:"region",ariaLabel:"Git branch manager"},h=["NiceGitGraph","NiceMergeRequestBuilder"],l={$schema:e,name:n,description:c,category:a,since:t,status:r,props:s,examples:o,accessibility:i,seeAlso:h};exports.$schema=e;exports.accessibility=i;exports.category=a;exports.default=l;exports.description=c;exports.examples=o;exports.name=n;exports.props=s;exports.seeAlso=h;exports.since=t;exports.status=r;
@@ -0,0 +1,30 @@
1
+ const e = "https://nice2dev.com/schemas/component-doc-v1.json", n = "NiceBranchManager", c = "Git branch management panel with create, delete, checkout, and merge operations.", a = "devops", t = "1.0.7", r = "stable", o = [{ name: "branches", type: "GitBranch[]", required: !1, default: "[]", description: "List of branches" }, { name: "currentBranch", type: "string", description: "Currently checked out branch" }, { name: "onCheckout", type: "(branch: string) => Promise<void>", description: "Checkout branch callback" }, { name: "onDelete", type: "(branch: string) => Promise<void>", description: "Delete branch callback" }, { name: "onMerge", type: "(source: string, target: string) => Promise<void>", description: "Merge branch callback" }], s = [{ title: "Branch Manager", description: "Manage Git branches", code: `<NiceBranchManager
2
+ branches={branches}
3
+ currentBranch="main"
4
+ onCheckout={handleCheckout}
5
+ onCreate={handleCreate}
6
+ />` }], i = { role: "region", ariaLabel: "Git branch manager" }, h = ["NiceGitGraph", "NiceMergeRequestBuilder"], d = {
7
+ $schema: e,
8
+ name: n,
9
+ description: c,
10
+ category: a,
11
+ since: t,
12
+ status: r,
13
+ props: o,
14
+ examples: s,
15
+ accessibility: i,
16
+ seeAlso: h
17
+ };
18
+ export {
19
+ e as $schema,
20
+ i as accessibility,
21
+ a as category,
22
+ d as default,
23
+ c as description,
24
+ s as examples,
25
+ n as name,
26
+ o as props,
27
+ h as seeAlso,
28
+ t as since,
29
+ r as status
30
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),i=require("@nice2dev/ui-core"),L=require("react"),W=Object.assign(L.forwardRef(({children:s,variant:$="primary",size:v="md",type:C="button",disabled:o,loading:n,fullWidth:k,onClick:S,leftIcon:r,rightIcon:c,error:l,errorPlacement:y="bottom",ariaLabel:w,className:z,style:B,id:p,accessMode:D,displayStyle:f,...q},O)=>{const a=i.normalizeVariant($),d=i.normalizeSize(v),b=i.useNiceAccessMode(D,p),h=b==="hidden";(b==="disabled"||b==="readOnly")&&(o=!0);const x=i.useComponentDisplayStyle("button",f),R=i.useComponentDisplayClass("button",f);let j=x;if(a!=="primary"){const t={...x};delete t.background,delete t.color,(a==="outline"||a==="ghost")&&(delete t.border,delete t.borderColor,delete t.borderWidth,delete t.borderStyle,delete t.boxShadow),j=t}const u=s!=null&&s!==!1&&!(typeof s=="string"&&s.trim()===""),N=!u&&!!(r||c),m=e.jsxs("button",{ref:O,type:C,id:p,className:`nice-btn nice-btn--${a} nice-btn--${d} nice-btn--ds-${R} ${N?"nice-btn--icon-only":""} ${k?"nice-btn--full-width":""} ${n?"nice-btn--loading":""} ${l&&!y?"nice-btn--has-error":""} ${z||""}`,style:{...j,...B},disabled:o||n,"aria-busy":n||void 0,"aria-disabled":o||n||void 0,"aria-label":w,onClick:S,...q,children:[n&&e.jsx("svg",{className:"nice-btn__spinner",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3","aria-hidden":"true",children:e.jsx("circle",{cx:"12",cy:"12",r:"10",strokeDasharray:"31.4 31.4",strokeLinecap:"round"})}),!n&&r&&e.jsx("span",{className:"nice-btn__icon","aria-hidden":"true",children:r}),!n&&u&&e.jsx("span",{children:s}),n&&u&&e.jsx("span",{style:{visibility:"hidden"},"aria-hidden":"true",children:s}),n&&N&&e.jsx("span",{className:"nice-btn__icon",style:{visibility:"hidden"},"aria-hidden":"true",children:r||c}),!n&&c&&e.jsx("span",{className:"nice-btn__icon","aria-hidden":"true",children:c})]});if(h)return null;if(!l)return m;const _=e.jsx("div",{className:"nice-field__error",role:"alert",children:l});return y==="right"?e.jsxs("span",{className:`nice-btn-field nice-btn-field--right nice-field--${d}`,children:[m,_]}):h?null:e.jsxs("span",{className:`nice-btn-field nice-btn-field--bottom nice-field--${d}`,children:[m,_]})}),{displayName:"NiceButton"});exports.NiceButton=W;
@@ -0,0 +1,88 @@
1
+ import { jsxs as m, jsx as t } from "react/jsx-runtime";
2
+ import { normalizeVariant as A, normalizeSize as E, useNiceAccessMode as H, useComponentDisplayStyle as M, useComponentDisplayClass as R } from "@nice2dev/ui-core";
3
+ import { forwardRef as V } from "react";
4
+ const J = /* @__PURE__ */ Object.assign(
5
+ /* @__PURE__ */ V(
6
+ ({
7
+ children: i,
8
+ variant: x = "primary",
9
+ size: C = "md",
10
+ type: k = "button",
11
+ disabled: o,
12
+ loading: e,
13
+ fullWidth: S,
14
+ onClick: w,
15
+ leftIcon: s,
16
+ rightIcon: r,
17
+ error: l,
18
+ errorPlacement: p = "bottom",
19
+ ariaLabel: z,
20
+ className: D,
21
+ style: j,
22
+ id: f,
23
+ accessMode: B,
24
+ displayStyle: y,
25
+ ...O
26
+ }, L) => {
27
+ const a = A(x), c = E(C), d = H(B, f), h = d === "hidden";
28
+ (d === "disabled" || d === "readOnly") && (o = !0);
29
+ const N = M("button", y), W = R("button", y);
30
+ let _ = N;
31
+ if (a !== "primary") {
32
+ const n = { ...N };
33
+ delete n.background, delete n.color, (a === "outline" || a === "ghost") && (delete n.border, delete n.borderColor, delete n.borderWidth, delete n.borderStyle, delete n.boxShadow), _ = n;
34
+ }
35
+ const b = i != null && i !== !1 && !(typeof i == "string" && i.trim() === ""), $ = !b && !!(s || r), u = /* @__PURE__ */ m(
36
+ "button",
37
+ {
38
+ ref: L,
39
+ type: k,
40
+ id: f,
41
+ className: `nice-btn nice-btn--${a} nice-btn--${c} nice-btn--ds-${W} ${$ ? "nice-btn--icon-only" : ""} ${S ? "nice-btn--full-width" : ""} ${e ? "nice-btn--loading" : ""} ${l && !p ? "nice-btn--has-error" : ""} ${D || ""}`,
42
+ style: { ..._, ...j },
43
+ disabled: o || e,
44
+ "aria-busy": e || void 0,
45
+ "aria-disabled": o || e || void 0,
46
+ "aria-label": z,
47
+ onClick: w,
48
+ ...O,
49
+ children: [
50
+ e && /* @__PURE__ */ t(
51
+ "svg",
52
+ {
53
+ className: "nice-btn__spinner",
54
+ viewBox: "0 0 24 24",
55
+ fill: "none",
56
+ stroke: "currentColor",
57
+ strokeWidth: "3",
58
+ "aria-hidden": "true",
59
+ children: /* @__PURE__ */ t("circle", { cx: "12", cy: "12", r: "10", strokeDasharray: "31.4 31.4", strokeLinecap: "round" })
60
+ }
61
+ ),
62
+ !e && s && /* @__PURE__ */ t("span", { className: "nice-btn__icon", "aria-hidden": "true", children: s }),
63
+ !e && b && /* @__PURE__ */ t("span", { children: i }),
64
+ e && b && /* @__PURE__ */ t("span", { style: { visibility: "hidden" }, "aria-hidden": "true", children: i }),
65
+ e && $ && /* @__PURE__ */ t("span", { className: "nice-btn__icon", style: { visibility: "hidden" }, "aria-hidden": "true", children: s || r }),
66
+ !e && r && /* @__PURE__ */ t("span", { className: "nice-btn__icon", "aria-hidden": "true", children: r })
67
+ ]
68
+ }
69
+ );
70
+ if (h)
71
+ return null;
72
+ if (!l)
73
+ return u;
74
+ const v = /* @__PURE__ */ t("div", { className: "nice-field__error", role: "alert", children: l });
75
+ return p === "right" ? /* @__PURE__ */ m("span", { className: `nice-btn-field nice-btn-field--right nice-field--${c}`, children: [
76
+ u,
77
+ v
78
+ ] }) : h ? null : /* @__PURE__ */ m("span", { className: `nice-btn-field nice-btn-field--bottom nice-field--${c}`, children: [
79
+ u,
80
+ v
81
+ ] });
82
+ }
83
+ ),
84
+ { displayName: "NiceButton" }
85
+ );
86
+ export {
87
+ J as N
88
+ };