What's New in the ThingWorx Web Component SDK Version 9.6.0¶
Lit Version 3 Migration¶
- The ThingWorx Web Component SDK library and all of its web components are upgraded to use the Lit 3 library out of the box. This allows the library to take advantage of the latest enhancements available in Lit 3.
- We strongly recommend using Lit 3 when creating new components. If you are using custom components that were created using older versions of the library, such as Lit 2 or Polymer, you may need to manually adjust your code when upgrading to Lit 3.
- The web component samples in the Getting Started Tutorial were updated to support Lit 3.
For more information about upgrading to Lit 3, refer to the Lit 3 Upgrade Guide.
Web Component SDK Utility¶
Support for custom web components created using Polymer or Lit 2 is deprecated and will be removed in a future release. The utility continues to support both libraries until they are removed from the Web Component SDK. However, PTC recommends migrating to Lit 3 to continue using the utility in future releases.
New Web Components¶
- ptcs-progress-tracker - Enables you to simplify complex workflows by dividing them into multiple mashups with linear navigation between each step. Each step displays a mashup.
- ptcs-kpi-dial - Enables you to display Key Performance Indicator (KPI) values using one of several layouts, such as a dial, a horizontal bar, or a vertical column.
- ptcs-collection - Enables you to display a collection of cells that contain various UI components. You can display the cells using several layouts such as flex, grid, or table.
- ptcs-tree-selector - Enables you to display hierarchical data, allowing users to navigate and select items from a tree structure. It includes two views: a tree area and an item selection area.
Lit Web Component Migration¶
-
The following components are migrated from Polymer to Lit:
- ptcs-list
- ptcs-dropdown
- ptcs-file-upload
All visual components that are migrated to Lit maintain the same API and appearance.