@balkangraph/orgchart.js 9.0.31 → 9.0.32

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/orgchart.d.ts CHANGED
@@ -4424,51 +4424,64 @@ declare namespace OrgChart {
4424
4424
  }
4425
4425
 
4426
4426
  /**
4427
- * Specifies a scale that match the boundaries
4427
+ * Defines how the initial chart scale is calculated to fit the container.
4428
4428
  */
4429
4429
  enum match {
4430
4430
 
4431
4431
  /**
4432
- * Match height
4433
- * ```typescript
4432
+ * Scales the chart to fit the container **height**.
4433
+ *
4434
+ * ```ts
4434
4435
  * let chart = new OrgChart('#tree', {
4435
- * scaleInitial: OrgChart.match.height
4436
+ * scaleInitial: OrgChart.match.height
4436
4437
  * });
4437
4438
  * ```
4438
4439
  */
4439
4440
  height,
4440
4441
 
4441
4442
  /**
4442
- * Match width
4443
- * ```typescript
4443
+ * Scales the chart to fit the container **width**.
4444
+ *
4445
+ * ```ts
4444
4446
  * let chart = new OrgChart('#tree', {
4445
- * scaleInitial: OrgChart.match.width
4447
+ * scaleInitial: OrgChart.match.width
4446
4448
  * });
4447
4449
  * ```
4448
4450
  */
4449
4451
  width,
4450
4452
 
4451
4453
  /**
4452
- * Match boundary
4453
- * ```typescript
4454
+ * Scales the chart to fit **both width and height**,
4455
+ * ensuring the entire chart is visible.
4456
+ *
4457
+ * ```ts
4454
4458
  * let chart = new OrgChart('#tree', {
4455
- * scaleInitial: OrgChart.match.boundary
4459
+ * scaleInitial: OrgChart.match.boundary
4456
4460
  * });
4457
4461
  * ```
4458
4462
  */
4459
4463
  boundary,
4460
4464
 
4461
4465
  /**
4462
- * Match boundary if outside of the visible area
4463
- * ```typescript
4466
+ * Scales the chart to fit the boundaries **only if**
4467
+ * part of the chart is outside the visible area.
4468
+ *
4469
+ * If the chart already fits, no scaling is applied.
4470
+ *
4471
+ * ```ts
4464
4472
  * let chart = new OrgChart('#tree', {
4465
- * scaleInitial: OrgChart.match.boundaryIfOutside
4473
+ * scaleInitial: OrgChart.match.boundaryIfOutside
4466
4474
  * });
4467
4475
  * ```
4468
4476
  */
4469
- boundaryIfOutside
4470
- }
4477
+ boundaryIfOutside,
4471
4478
 
4479
+ /**
4480
+ * Disables automatic scaling.
4481
+ * The chart is rendered at its default scale.
4482
+ */
4483
+ none
4484
+ }
4472
4485
 
4473
4486
  /**
4474
4487
  * Add movable functionality
package/orgchart.js CHANGED
@@ -1 +1 @@
1
- /* eslint-disable */
1
+ /* eslint-disable */
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"9.00.31"}
1
+ {"author":{"name":"BALKAN App"},"bugs":{"email":"support@balkan.app","url":"https://github.com/BALKANGraph/OrgChartJS/issues"},"deprecated":false,"description":"Ultimate Organizational Chart JavaScript library, Interactive Diagrams","files":["orgchart.js","orgchart.d.ts","package.json","README.md"],"homepage":"https://balkan.app/","keywords":["diagram","chart","tree","orgchart","graph","svg","hierarchy","family-tree","decision-tree","visualization","tree-layout","hierarchical","javascript","js","html","html5"],"license":"SEE LICENSE IN https://balkan.app","main":"orgchart.js","types":"orgchart.d.ts","name":"@balkangraph/orgchart.js","repository":{"type":"git","url":"https://github.com/BALKANGraph/OrgChartJS"},"dependencies":{},"version":"9.00.32"}