This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
ember-headless-table@1.3.0
Minor Changes
#94310a6e0 Thanks @NullVoxPopuli! - An alternative, yet more verbose, option is now available for the sticky / pinnable columns plugin.
But also, as an escape hatch for performance sensitive situations where one would want to avoid altering any style attributes during render (as is one of the primary use cases of RFC#883) as this causes repaint calculations and degraded performance in the browser.
This new technique for the sticky/pinnable colums plugin allows you to set the style attribute so that the browser can calculate layout in a single pass.
To opt in to this, two things must be done:
invoke the styleStringFor helper in the template, and set the result to the style attribute for the th and td cells.
when configuring the StickyColumns plugin in headlessTable, configure the the workaroundForModifierTimingUpdateRFC883 flag to true. This allows td and th cells to have modifiers without causing repaints due to style changes caused by the sticky columns plugin.
#8157c22d4 Thanks @NullVoxPopuli! - Prevent hard-to-debug issues that occur with incorrect column configs.
One such way problems can occur is when the key property is duplicated
for multiple column configs.
This is now eagerly prevented via dev-time Error.
All the column config validity checking code is removed in production builds
via @embroider/macrosmacroCondition(isDevelopingApp()).
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
ember-headless-table@1.3.0
Minor Changes
#94
310a6e0
Thanks @NullVoxPopuli! - An alternative, yet more verbose, option is now available for the sticky / pinnable columns plugin.This is, in part, due to waiting on RFC#883: add new timing capabilities to modifier manager.
But also, as an escape hatch for performance sensitive situations where one would want to avoid altering any style attributes during render (as is one of the primary use cases of RFC#883) as this causes repaint calculations and degraded performance in the browser.
This new technique for the sticky/pinnable colums plugin allows you to set the
style
attribute so that the browser can calculate layout in a single pass.To opt in to this, two things must be done:
invoke the
styleStringFor
helper in the template, and set the result to thestyle
attribute for theth
andtd
cells.when configuring the
StickyColumns
plugin inheadlessTable
, configure the theworkaroundForModifierTimingUpdateRFC883
flag totrue
. This allows td and th cells to have modifiers without causing repaints due to style changes caused by the sticky columns plugin.Patch Changes
#81
57c22d4
Thanks @NullVoxPopuli! - Prevent hard-to-debug issues that occur with incorrect column configs. One such way problems can occur is when thekey
property is duplicated for multiple column configs.This is now eagerly prevented via dev-time Error. All the column config validity checking code is removed in production builds via
@embroider/macros
macroCondition(isDevelopingApp())
.