What's New in the ThingWorx Web Component SDK Version 9.5.0¶
Enhancements¶
-
ptcs-grid
- Added support for caching column configurations for multiple grids on a single page.
-
ptcs-button
- Added an
iconPlacement
property that controls the position of the icon relative to the text label. - Added a
size
property that sets the size of the button from a pre-defined list of sizes and a fill option that sets the icon size based on hte size of its parent container.
- Added an
-
Icon library
Removed web component dependency on the Polymer iron-icons library. If you are using an iron-icon, we recommend updating the reference in your component to use the CDS Icons library instead:
Before:
<ptcs-icon icon="search" size="small"></ptcs-icon>
After:
<ptcs-icon icon="icons:search" size="small"></ptcs-icon>
Lit Web Components¶
-
The following components are migrated from Polymer to Lit:
- ptcs-accordion
- ptcs-breadcrumb
- ptcs-chart-bar
- ptcs-chart-line
- ptcs-chart-schedule
- ptcs-chart-waterfall
- ptcs-chart-pareto
- ptcs-chart-pie
- ptcs-chart-combo
- ptcs-chip-data-filter
- ptcs-combobox
- ptcs-confirmation
- ptcs-datepicker
- ptcs-dynamic-panel
- ptcs-grid
- ptcs-icon
- ptcs-image
- ptcs-link
- ptcs-list-shuttle
- ptcs-menubar
- ptcs-pagination
- ptcs-slider
- ptcs-tabs
- ptcs-toolbar
- ptcs-value-display
- ptcs-collapse
- ptcs-modal-image-popup
- ptcs-modal-overlay
- ptcs-moment
All visual components that are migrated to lit maintain the same API and appearance.