beckhoff-xts-viewer-3d 6.2.0 → 6.3.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.
- package/LICENSE +21 -21
- package/README.md +283 -273
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/docs/screenshots/README.md +123 -123
- package/package.json +208 -208
- package/scripts/postinstall-disclaimer.mjs +72 -72
package/dist/index.d.cts
CHANGED
|
@@ -12,7 +12,7 @@ import { GLTF } from 'three-stdlib';
|
|
|
12
12
|
* Run `npm run sync-version` (or any script that depends on it) to refresh
|
|
13
13
|
* after bumping the package version.
|
|
14
14
|
*/
|
|
15
|
-
declare const VERSION: "6.
|
|
15
|
+
declare const VERSION: "6.3.0";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Default CDN URL for the GLB asset bundle (`beckhoff-xts-viewer-3d-assets`).
|
|
@@ -3815,6 +3815,11 @@ interface XtsViewer3DProps {
|
|
|
3815
3815
|
showOriginAxes?: boolean;
|
|
3816
3816
|
showModuleLabels?: boolean;
|
|
3817
3817
|
overlayFps?: boolean;
|
|
3818
|
+
/**
|
|
3819
|
+
* Ground grid (default `true`). The grid is infinite and fades out at a
|
|
3820
|
+
* distance taken from the layout's size, so it reaches past the track
|
|
3821
|
+
* on any layout without showing an edge.
|
|
3822
|
+
*/
|
|
3818
3823
|
showGrid?: boolean;
|
|
3819
3824
|
};
|
|
3820
3825
|
className?: string;
|
|
@@ -4624,6 +4629,13 @@ declare const GIZMO_AXIS_LABELS: readonly [string, string, string];
|
|
|
4624
4629
|
* `<DimensionLabel>` / `<MoverIdLabel>` additionally wrap their `<Text>`
|
|
4625
4630
|
* in a local Suspense boundary, so even a font that parses badly costs
|
|
4626
4631
|
* one label rather than the scene.
|
|
4632
|
+
*
|
|
4633
|
+
* The `blob:` URL can still be refused: a host whose Content-Security-
|
|
4634
|
+
* Policy leaves `blob:` out of `connect-src` blocks troika's request for
|
|
4635
|
+
* it, and every label then suspends for good while lines and geometry keep
|
|
4636
|
+
* drawing (issue #140). So the built-in font is checked once, the way
|
|
4637
|
+
* troika will load it. A blocked `blob:` URL is swapped for the `data:`
|
|
4638
|
+
* copy, and the host gets one warning that names the policy and the fix.
|
|
4627
4639
|
*/
|
|
4628
4640
|
/**
|
|
4629
4641
|
* Default 3D-text font: Roboto Condensed (Latin, regular weight).
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { GLTF } from 'three-stdlib';
|
|
|
12
12
|
* Run `npm run sync-version` (or any script that depends on it) to refresh
|
|
13
13
|
* after bumping the package version.
|
|
14
14
|
*/
|
|
15
|
-
declare const VERSION: "6.
|
|
15
|
+
declare const VERSION: "6.3.0";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Default CDN URL for the GLB asset bundle (`beckhoff-xts-viewer-3d-assets`).
|
|
@@ -3815,6 +3815,11 @@ interface XtsViewer3DProps {
|
|
|
3815
3815
|
showOriginAxes?: boolean;
|
|
3816
3816
|
showModuleLabels?: boolean;
|
|
3817
3817
|
overlayFps?: boolean;
|
|
3818
|
+
/**
|
|
3819
|
+
* Ground grid (default `true`). The grid is infinite and fades out at a
|
|
3820
|
+
* distance taken from the layout's size, so it reaches past the track
|
|
3821
|
+
* on any layout without showing an edge.
|
|
3822
|
+
*/
|
|
3818
3823
|
showGrid?: boolean;
|
|
3819
3824
|
};
|
|
3820
3825
|
className?: string;
|
|
@@ -4624,6 +4629,13 @@ declare const GIZMO_AXIS_LABELS: readonly [string, string, string];
|
|
|
4624
4629
|
* `<DimensionLabel>` / `<MoverIdLabel>` additionally wrap their `<Text>`
|
|
4625
4630
|
* in a local Suspense boundary, so even a font that parses badly costs
|
|
4626
4631
|
* one label rather than the scene.
|
|
4632
|
+
*
|
|
4633
|
+
* The `blob:` URL can still be refused: a host whose Content-Security-
|
|
4634
|
+
* Policy leaves `blob:` out of `connect-src` blocks troika's request for
|
|
4635
|
+
* it, and every label then suspends for good while lines and geometry keep
|
|
4636
|
+
* drawing (issue #140). So the built-in font is checked once, the way
|
|
4637
|
+
* troika will load it. A blocked `blob:` URL is swapped for the `data:`
|
|
4638
|
+
* copy, and the host gets one warning that names the policy and the fix.
|
|
4627
4639
|
*/
|
|
4628
4640
|
/**
|
|
4629
4641
|
* Default 3D-text font: Roboto Condensed (Latin, regular weight).
|