@nice2dev/ui 1.4.22 → 1.4.24

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 (38) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/dist/{NicePivotGrid-BshofJh1.cjs → NicePivotGrid-D53CQ2cY.cjs} +1 -1
  3. package/dist/charts/NiceAdvancedCharts.mjs +621 -764
  4. package/dist/charts/NiceBarGauge.mjs +100 -65
  5. package/dist/charts/NiceBullet.mjs +103 -98
  6. package/dist/charts/NiceChart.mjs +269 -266
  7. package/dist/charts/NiceChartRangeSelector.mjs +159 -0
  8. package/dist/charts/NiceCircularGauge.mjs +99 -70
  9. package/dist/charts/NiceHeatMap.mjs +140 -70
  10. package/dist/charts/NiceLinearGauge.mjs +168 -119
  11. package/dist/charts/NiceOrganizationChart.mjs +183 -90
  12. package/dist/charts/NicePieChart.mjs +94 -49
  13. package/dist/charts/NicePolarChart.mjs +2 -2
  14. package/dist/charts/NiceSankey.mjs +166 -93
  15. package/dist/charts/NiceStockChart.mjs +258 -157
  16. package/dist/charts-CSgOgfES.cjs +867 -0
  17. package/dist/charts.cjs +1 -1
  18. package/dist/charts.d.ts +150 -104
  19. package/dist/charts.mjs +22 -24
  20. package/dist/core/lazy.mjs +50 -63
  21. package/dist/core-lazy-sO0xvg64.cjs +1 -0
  22. package/dist/data.cjs +1 -1
  23. package/dist/demo/docs/docPreviews.mjs +450 -466
  24. package/dist/demo/docs/docRegistry.mjs +5 -35
  25. package/dist/index.cjs +60 -67
  26. package/dist/index.d.ts +145 -174
  27. package/dist/index.mjs +831 -836
  28. package/dist/lazy.cjs +1 -1
  29. package/dist/lazy.d.ts +49 -23
  30. package/dist/lazy.mjs +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/tools/NiceShowcase.mjs +1 -2
  33. package/package.json +4 -4
  34. package/dist/charts/NiceRangeSelector.mjs +0 -135
  35. package/dist/charts/NiceTreeMap.mjs +0 -100
  36. package/dist/charts/NiceVectorMap.mjs +0 -59
  37. package/dist/charts-C3Q3r8Yz.cjs +0 -918
  38. package/dist/core-lazy-CUnBYI-T.cjs +0 -1
@@ -2410,7 +2410,7 @@ toaster.info('Processing…');`,
2410
2410
  width={800}
2411
2411
  height={400}
2412
2412
  />`,
2413
- related: ["NiceChart", "NiceRangeSelector"]
2413
+ related: ["NiceChart", "NiceChartRangeSelector"]
2414
2414
  },
2415
2415
  {
2416
2416
  id: "NiceOrganizationChart",
@@ -2434,11 +2434,11 @@ toaster.info('Processing…');`,
2434
2434
  related: ["NiceDiagram", "NiceTreeMap"]
2435
2435
  },
2436
2436
  {
2437
- id: "NiceRangeSelector",
2438
- name: "NiceRangeSelector",
2437
+ id: "NiceChartRangeSelector",
2438
+ name: "NiceChartRangeSelector",
2439
2439
  category: "Charts",
2440
2440
  description: "Range selection slider for time-series data with mini chart preview.",
2441
- importExample: /* @__PURE__ */ e("NiceRangeSelector"),
2441
+ importExample: /* @__PURE__ */ e("NiceChartRangeSelector"),
2442
2442
  props: [
2443
2443
  { name: "data", type: "number[]", description: "Preview data series" },
2444
2444
  { name: "start", type: "number", description: "Selected range start index" },
@@ -2451,39 +2451,9 @@ toaster.info('Processing…');`,
2451
2451
  { name: "width", type: "number", description: "Width" },
2452
2452
  { name: "height", type: "number", description: "Height" }
2453
2453
  ],
2454
- example: "<NiceRangeSelector data={prices} start={rangeStart} end={rangeEnd} onChange={(s, e) => { setStart(s); setEnd(e); }} width={600} height={60} />",
2454
+ example: "<NiceChartRangeSelector data={prices} start={rangeStart} end={rangeEnd} onChange={(s, e) => { setStart(s); setEnd(e); }} width={600} height={60} />",
2455
2455
  related: ["NiceStockChart", "NiceChart"]
2456
2456
  },
2457
- {
2458
- id: "NiceVectorMap",
2459
- name: "NiceVectorMap",
2460
- category: "Charts",
2461
- description: "SVG vector map with region coloring, tooltips, and click interaction.",
2462
- importExample: /* @__PURE__ */ e("NiceVectorMap"),
2463
- props: [
2464
- {
2465
- name: "regions",
2466
- type: "NiceMapRegion[]",
2467
- description: "Region data with values and colors"
2468
- },
2469
- { name: "width", type: "number", description: "Width" },
2470
- { name: "height", type: "number", description: "Height" },
2471
- {
2472
- name: "onRegionClick",
2473
- type: "(region: NiceMapRegion) => void",
2474
- description: "Region click"
2475
- }
2476
- ],
2477
- example: `<NiceVectorMap
2478
- regions={[
2479
- { id: 'us', label: 'USA', value: 300, color: '#3b82f6' },
2480
- { id: 'eu', label: 'Europe', value: 200, color: '#10b981' },
2481
- ]}
2482
- width={600}
2483
- height={400}
2484
- />`,
2485
- related: ["NiceMap", "NiceHeatMap"]
2486
- },
2487
2457
  // ═══════════════════════════════════════════════════════════
2488
2458
  // OVERLAYS
2489
2459
  // ═══════════════════════════════════════════════════════════