@nice2dev/ui 1.4.23 → 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.
- package/CHANGELOG.md +57 -0
- package/dist/{NicePivotGrid-B5Fgi5E_.cjs → NicePivotGrid-D53CQ2cY.cjs} +1 -1
- package/dist/charts/NiceAdvancedCharts.mjs +586 -773
- package/dist/charts/NiceChartRangeSelector.mjs +159 -0
- package/dist/charts/NiceHeatMap.mjs +140 -70
- package/dist/charts/NiceOrganizationChart.mjs +183 -90
- package/dist/charts/NiceSankey.mjs +166 -93
- package/dist/charts/NiceStockChart.mjs +258 -157
- package/dist/charts-CSgOgfES.cjs +867 -0
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.ts +126 -102
- package/dist/charts.mjs +22 -24
- package/dist/core/lazy.mjs +50 -63
- package/dist/core-lazy-sO0xvg64.cjs +1 -0
- package/dist/data.cjs +1 -1
- package/dist/demo/docs/docPreviews.mjs +450 -466
- package/dist/demo/docs/docRegistry.mjs +5 -35
- package/dist/index.cjs +60 -67
- package/dist/index.d.ts +121 -172
- package/dist/index.mjs +831 -836
- package/dist/lazy.cjs +1 -1
- package/dist/lazy.d.ts +41 -23
- package/dist/lazy.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/tools/NiceShowcase.mjs +1 -2
- package/package.json +4 -4
- package/dist/charts/NiceRangeSelector.mjs +0 -135
- package/dist/charts/NiceTreeMap.mjs +0 -100
- package/dist/charts/NiceVectorMap.mjs +0 -59
- package/dist/charts-C9B548D2.cjs +0 -924
- package/dist/core-lazy-B54FdghB.cjs +0 -1
|
@@ -2410,7 +2410,7 @@ toaster.info('Processing…');`,
|
|
|
2410
2410
|
width={800}
|
|
2411
2411
|
height={400}
|
|
2412
2412
|
/>`,
|
|
2413
|
-
related: ["NiceChart", "
|
|
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: "
|
|
2438
|
-
name: "
|
|
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("
|
|
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: "<
|
|
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
|
// ═══════════════════════════════════════════════════════════
|