Repository navigation
@db-ux/ngx-core-components
6.6.0
Minor Changes
-
feat: position floating elements with CSS Anchor Positioning and show them in the top layer (Popover API) - see commit c4e536b:
- Affects DBPopover, DBTooltip, DBCustomSelect (dropdown) and the first level of the DBControlPanelNavigationItemGroup popover menus
- The JavaScript positioning is only used as a fallback if the browser does not support
position-anchor(the last of the used anchor positioning features, which impliesposition-area,anchor-nameandanchor-scope) - While a DBPopover, DBTooltip or DBCustomSelect dropdown is open, the floating element gets
popover="manual"and is rendered in the top layer, so it is no longer clipped byoverflowof ancestors - The floating elements are anchored via
anchor-name: --db-anchorandanchor-scope: --db-anchoron the trigger (.db-popover,[data-has-tooltip], the custom selectdetails, the group expand button) - With anchor positioning, closed DBPopover and DBTooltip elements are
display: none(previouslyvisibility: hiddenonly) and useposition: fixed. Custom rules which show them by only settingvisibilityno longer work, and code which measures a closed element gets a size of 0, so measurements have to wait until the element is open forceAbsolutehas no effect while the browser positions the element, because an absolutely positioned element would make its trigger the containing block and invalidate the anchor- The browser positions the element in the top layer only if it supports anchor positioning and the Popover API, otherwise the JavaScript fallback positions it in the regular layer
- The
data-corrected-placementattribute is still set to the side the browser flipped the element to - The
popover-animationkeyframes keeppointer-events: noneuntil the end, so a floating element sliding in over its trigger can't catch the pointer and close/reopen endlessly - The anchored placement of a custom select dropdown is read from
data-placementon the root.db-custom-select - A tooltip which is positioned by the browser gets the inline custom properties
--db-tooltip-arrow-inline-startand--db-tooltip-arrow-block-start, and a floating element taller than the viewport gets the inline stylesoverflowandmax-block-size - Without JavaScript the hover bridge (
::before) of a floating element spans the gap on both sides of its axis, so the pointer can still reach a tooltip which the browser flipped. The arrow of a CSS-only tooltip still follows the requesteddata-placement
Patch Changes
-
fix(DBAccordion, DBAccordionItem): keep the open state of
DBAccordionItemin sync with the native details element - see commit 5509b72:behavior="single"andinitOpenIndexno longer require a second click to open or close an item, the item now follows the nativetoggleevent of itsdetailsonToggleofDBAccordionItemis now also called when the browser changes the open state: when a sibling of the exclusive group opens, and once on load for items opened byinitOpenIndex- a controlled
DBAccordionItem(openproperty) has to followonToggle, because the browser can close it natively - the exclusive
nameis only set on thedetailsof the accordion items, a nestedDBCustomSelectno longer closes its parent item initOpenIndexonly counts thedetailsof the accordion items, which have to be direct children ofli.db-accordion-item
-
fix(DBCustomButton): icon now matches the button
sizeand the brandvariantcolor - see commit e690c0c
@db-ux/react-core-components
6.6.0
Minor Changes
-
feat: position floating elements with CSS Anchor Positioning and show them in the top layer (Popover API) - see commit c4e536b:
- Affects DBPopover, DBTooltip, DBCustomSelect (dropdown) and the first level of the DBControlPanelNavigationItemGroup popover menus
- The JavaScript positioning is only used as a fallback if the browser does not support
position-anchor(the last of the used anchor positioning features, which impliesposition-area,anchor-nameandanchor-scope) - While a DBPopover, DBTooltip or DBCustomSelect dropdown is open, the floating element gets
popover="manual"and is rendered in the top layer, so it is no longer clipped byoverflowof ancestors - The floating elements are anchored via
anchor-name: --db-anchorandanchor-scope: --db-anchoron the trigger (.db-popover,[data-has-tooltip], the custom selectdetails, the group expand button) - With anchor positioning, closed DBPopover and DBTooltip elements are
display: none(previouslyvisibility: hiddenonly) and useposition: fixed. Custom rules which show them by only settingvisibilityno longer work, and code which measures a closed element gets a size of 0, so measurements have to wait until the element is open forceAbsolutehas no effect while the browser positions the element, because an absolutely positioned element would make its trigger the containing block and invalidate the anchor- The browser positions the element in the top layer only if it supports anchor positioning and the Popover API, otherwise the JavaScript fallback positions it in the regular layer
- The
data-corrected-placementattribute is still set to the side the browser flipped the element to - The
popover-animationkeyframes keeppointer-events: noneuntil the end, so a floating element sliding in over its trigger can't catch the pointer and close/reopen endlessly - The anchored placement of a custom select dropdown is read from
data-placementon the root.db-custom-select - A tooltip which is positioned by the browser gets the inline custom properties
--db-tooltip-arrow-inline-startand--db-tooltip-arrow-block-start, and a floating element taller than the viewport gets the inline stylesoverflowandmax-block-size - Without JavaScript the hover bridge (
::before) of a floating element spans the gap on both sides of its axis, so the pointer can still reach a tooltip which the browser flipped. The arrow of a CSS-only tooltip still follows the requesteddata-placement
Patch Changes
-
fix(DBAccordion, DBAccordionItem): keep the open state of
DBAccordionItemin sync with the native details element - see commit 5509b72:behavior="single"andinitOpenIndexno longer require a second click to open or close an item, the item now follows the nativetoggleevent of itsdetailsonToggleofDBAccordionItemis now also called when the browser changes the open state: when a sibling of the exclusive group opens, and once on load for items opened byinitOpenIndex- a controlled
DBAccordionItem(openproperty) has to followonToggle, because the browser can close it natively - the exclusive
nameis only set on thedetailsof the accordion items, a nestedDBCustomSelectno longer closes its parent item initOpenIndexonly counts thedetailsof the accordion items, which have to be direct children ofli.db-accordion-item
-
fix(DBCustomButton): icon now matches the button
sizeand the brandvariantcolor - see commit e690c0c
@db-ux/wc-core-components
6.6.0
Minor Changes
-
feat: position floating elements with CSS Anchor Positioning and show them in the top layer (Popover API) - see commit c4e536b:
- Affects DBPopover, DBTooltip, DBCustomSelect (dropdown) and the first level of the DBControlPanelNavigationItemGroup popover menus
- The JavaScript positioning is only used as a fallback if the browser does not support
position-anchor(the last of the used anchor positioning features, which impliesposition-area,anchor-nameandanchor-scope) - While a DBPopover, DBTooltip or DBCustomSelect dropdown is open, the floating element gets
popover="manual"and is rendered in the top layer, so it is no longer clipped byoverflowof ancestors - The floating elements are anchored via
anchor-name: --db-anchorandanchor-scope: --db-anchoron the trigger (.db-popover,[data-has-tooltip], the custom selectdetails, the group expand button) - With anchor positioning, closed DBPopover and DBTooltip elements are
display: none(previouslyvisibility: hiddenonly) and useposition: fixed. Custom rules which show them by only settingvisibilityno longer work, and code which measures a closed element gets a size of 0, so measurements have to wait until the element is open forceAbsolutehas no effect while the browser positions the element, because an absolutely positioned element would make its trigger the containing block and invalidate the anchor- The browser positions the element in the top layer only if it supports anchor positioning and the Popover API, otherwise the JavaScript fallback positions it in the regular layer
- The
data-corrected-placementattribute is still set to the side the browser flipped the element to - The
popover-animationkeyframes keeppointer-events: noneuntil the end, so a floating element sliding in over its trigger can't catch the pointer and close/reopen endlessly - The anchored placement of a custom select dropdown is read from
data-placementon the root.db-custom-select - A tooltip which is positioned by the browser gets the inline custom properties
--db-tooltip-arrow-inline-startand--db-tooltip-arrow-block-start, and a floating element taller than the viewport gets the inline stylesoverflowandmax-block-size - Without JavaScript the hover bridge (
::before) of a floating element spans the gap on both sides of its axis, so the pointer can still reach a tooltip which the browser flipped. The arrow of a CSS-only tooltip still follows the requesteddata-placement
Patch Changes
-
fix(DBAccordion, DBAccordionItem): keep the open state of
DBAccordionItemin sync with the native details element - see commit 5509b72:behavior="single"andinitOpenIndexno longer require a second click to open or close an item, the item now follows the nativetoggleevent of itsdetailsonToggleofDBAccordionItemis now also called when the browser changes the open state: when a sibling of the exclusive group opens, and once on load for items opened byinitOpenIndex- a controlled
DBAccordionItem(openproperty) has to followonToggle, because the browser can close it natively - the exclusive
nameis only set on thedetailsof the accordion items, a nestedDBCustomSelectno longer closes its parent item initOpenIndexonly counts thedetailsof the accordion items, which have to be direct children ofli.db-accordion-item
-
fix(DBCustomButton): icon now matches the button
sizeand the brandvariantcolor - see commit e690c0c
@db-ux/v-core-components
6.6.0
Minor Changes
-
feat: position floating elements with CSS Anchor Positioning and show them in the top layer (Popover API) - see commit c4e536b:
- Affects DBPopover, DBTooltip, DBCustomSelect (dropdown) and the first level of the DBControlPanelNavigationItemGroup popover menus
- The JavaScript positioning is only used as a fallback if the browser does not support
position-anchor(the last of the used anchor positioning features, which impliesposition-area,anchor-nameandanchor-scope) - While a DBPopover, DBTooltip or DBCustomSelect dropdown is open, the floating element gets
popover="manual"and is rendered in the top layer, so it is no longer clipped byoverflowof ancestors - The floating elements are anchored via
anchor-name: --db-anchorandanchor-scope: --db-anchoron the trigger (.db-popover,[data-has-tooltip], the custom selectdetails, the group expand button) - With anchor positioning, closed DBPopover and DBTooltip elements are
display: none(previouslyvisibility: hiddenonly) and useposition: fixed. Custom rules which show them by only settingvisibilityno longer work, and code which measures a closed element gets a size of 0, so measurements have to wait until the element is open forceAbsolutehas no effect while the browser positions the element, because an absolutely positioned element would make its trigger the containing block and invalidate the anchor- The browser positions the element in the top layer only if it supports anchor positioning and the Popover API, otherwise the JavaScript fallback positions it in the regular layer
- The
data-corrected-placementattribute is still set to the side the browser flipped the element to - The
popover-animationkeyframes keeppointer-events: noneuntil the end, so a floating element sliding in over its trigger can't catch the pointer and close/reopen endlessly - The anchored placement of a custom select dropdown is read from
data-placementon the root.db-custom-select - A tooltip which is positioned by the browser gets the inline custom properties
--db-tooltip-arrow-inline-startand--db-tooltip-arrow-block-start, and a floating element taller than the viewport gets the inline stylesoverflowandmax-block-size - Without JavaScript the hover bridge (
::before) of a floating element spans the gap on both sides of its axis, so the pointer can still reach a tooltip which the browser flipped. The arrow of a CSS-only tooltip still follows the requesteddata-placement
Patch Changes
-
fix(DBAccordion, DBAccordionItem): keep the open state of
DBAccordionItemin sync with the native details element - see commit 5509b72:behavior="single"andinitOpenIndexno longer require a second click to open or close an item, the item now follows the nativetoggleevent of itsdetailsonToggleofDBAccordionItemis now also called when the browser changes the open state: when a sibling of the exclusive group opens, and once on load for items opened byinitOpenIndex- a controlled
DBAccordionItem(openproperty) has to followonToggle, because the browser can close it natively - the exclusive
nameis only set on thedetailsof the accordion items, a nestedDBCustomSelectno longer closes its parent item initOpenIndexonly counts thedetailsof the accordion items, which have to be direct children ofli.db-accordion-item
-
fix(DBCustomButton): icon now matches the button
sizeand the brandvariantcolor - see commit e690c0c
@db-ux/agent-cli
6.6.0
No changes in this release.
@db-ux/core-components
6.6.0
Minor Changes
-
feat: position floating elements with CSS Anchor Positioning and show them in the top layer (Popover API) - see commit c4e536b:
- Affects DBPopover, DBTooltip, DBCustomSelect (dropdown) and the first level of the DBControlPanelNavigationItemGroup popover menus
- The JavaScript positioning is only used as a fallback if the browser does not support
position-anchor(the last of the used anchor positioning features, which impliesposition-area,anchor-nameandanchor-scope) - While a DBPopover, DBTooltip or DBCustomSelect dropdown is open, the floating element gets
popover="manual"and is rendered in the top layer, so it is no longer clipped byoverflowof ancestors - The floating elements are anchored via
anchor-name: --db-anchorandanchor-scope: --db-anchoron the trigger (.db-popover,[data-has-tooltip], the custom selectdetails, the group expand button) - With anchor positioning, closed DBPopover and DBTooltip elements are
display: none(previouslyvisibility: hiddenonly) and useposition: fixed. Custom rules which show them by only settingvisibilityno longer work, and code which measures a closed element gets a size of 0, so measurements have to wait until the element is open forceAbsolutehas no effect while the browser positions the element, because an absolutely positioned element would make its trigger the containing block and invalidate the anchor- The browser positions the element in the top layer only if it supports anchor positioning and the Popover API, otherwise the JavaScript fallback positions it in the regular layer
- The
data-corrected-placementattribute is still set to the side the browser flipped the element to - The
popover-animationkeyframes keeppointer-events: noneuntil the end, so a floating element sliding in over its trigger can't catch the pointer and close/reopen endlessly - The anchored placement of a custom select dropdown is read from
data-placementon the root.db-custom-select - A tooltip which is positioned by the browser gets the inline custom properties
--db-tooltip-arrow-inline-startand--db-tooltip-arrow-block-start, and a floating element taller than the viewport gets the inline stylesoverflowandmax-block-size - Without JavaScript the hover bridge (
::before) of a floating element spans the gap on both sides of its axis, so the pointer can still reach a tooltip which the browser flipped. The arrow of a CSS-only tooltip still follows the requesteddata-placement
Patch Changes
-
fix(DBAccordion, DBAccordionItem): keep the open state of
DBAccordionItemin sync with the native details element - see commit 5509b72:behavior="single"andinitOpenIndexno longer require a second click to open or close an item, the item now follows the nativetoggleevent of itsdetailsonToggleofDBAccordionItemis now also called when the browser changes the open state: when a sibling of the exclusive group opens, and once on load for items opened byinitOpenIndex- a controlled
DBAccordionItem(openproperty) has to followonToggle, because the browser can close it natively - the exclusive
nameis only set on thedetailsof the accordion items, a nestedDBCustomSelectno longer closes its parent item initOpenIndexonly counts thedetailsof the accordion items, which have to be direct children ofli.db-accordion-item
-
fix(DBCustomButton): icon now matches the button
sizeand the brandvariantcolor - see commit e690c0c
@db-ux/core-eslint-plugin
6.6.0
No changes in this release.
@db-ux/core-foundations
6.6.0
Minor Changes
-
feat: position floating elements with CSS Anchor Positioning and show them in the top layer (Popover API) - see commit c4e536b:
- Affects DBPopover, DBTooltip, DBCustomSelect (dropdown) and the first level of the DBControlPanelNavigationItemGroup popover menus
- The JavaScript positioning is only used as a fallback if the browser does not support
position-anchor(the last of the used anchor positioning features, which impliesposition-area,anchor-nameandanchor-scope) - While a DBPopover, DBTooltip or DBCustomSelect dropdown is open, the floating element gets
popover="manual"and is rendered in the top layer, so it is no longer clipped byoverflowof ancestors - The floating elements are anchored via
anchor-name: --db-anchorandanchor-scope: --db-anchoron the trigger (.db-popover,[data-has-tooltip], the custom selectdetails, the group expand button) - With anchor positioning, closed DBPopover and DBTooltip elements are
display: none(previouslyvisibility: hiddenonly) and useposition: fixed. Custom rules which show them by only settingvisibilityno longer work, and code which measures a closed element gets a size of 0, so measurements have to wait until the element is open forceAbsolutehas no effect while the browser positions the element, because an absolutely positioned element would make its trigger the containing block and invalidate the anchor- The browser positions the element in the top layer only if it supports anchor positioning and the Popover API, otherwise the JavaScript fallback positions it in the regular layer
- The
data-corrected-placementattribute is still set to the side the browser flipped the element to - The
popover-animationkeyframes keeppointer-events: noneuntil the end, so a floating element sliding in over its trigger can't catch the pointer and close/reopen endlessly - The anchored placement of a custom select dropdown is read from
data-placementon the root.db-custom-select - A tooltip which is positioned by the browser gets the inline custom properties
--db-tooltip-arrow-inline-startand--db-tooltip-arrow-block-start, and a floating element taller than the viewport gets the inline stylesoverflowandmax-block-size - Without JavaScript the hover bridge (
::before) of a floating element spans the gap on both sides of its axis, so the pointer can still reach a tooltip which the browser flipped. The arrow of a CSS-only tooltip still follows the requesteddata-placement
@db-ux/mcp-server
6.6.0
No changes in this release.
@db-ux/core-postcss-plugin
6.6.0
No changes in this release.
@db-ux/core-stylelint
6.6.0
No changes in this release.
@db-ux/core-vite-plugin
6.6.0
No changes in this release.