@db-ux/core-foundations 5.7.1 → 6.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @db-ux/core-foundations
2
2
 
3
+ ## 6.0.1
4
+
5
+ No changes in this release.
6
+
7
+ ## 6.0.0
8
+
9
+ ### Major Changes
10
+
11
+ - refactor(DBHeading): strip block spacing by default, remove `alignment` and `paragraphSpacing`, rename `size` to `visualSize` - [see commit 56cf6f9](https://github.com/db-ux-design-system/core-web/commit/56cf6f9ae9dba4d8e17c1f84d6deae994260c619):
12
+
13
+ - Block-level text elements (`h1`-`h6`, `p`) no longer carry a `margin-block` by default. Set `data-text-spacing="true"` on an ancestor or on the element itself to add the spacing (`calc(1lh / 2)`, derived from each element's own line height) back. The Heading `paragraphSpacing` and `alignment` properties were removed, and `size` was renamed to `visualSize`.
14
+
15
+ - feat(DBStack): `overflow: auto` removed - a stack no longer scrolls - [see commit 6da172d](https://github.com/db-ux-design-system/core-web/commit/6da172d5ff05cd3c44b93c430c77664b43d25a5f):
16
+
17
+ - It clipped the focus ring of its children. Content that does not fit is now visible outside the
18
+ - stack instead of being scrollable; set `overflow` on the stack yourself if you relied on it.
19
+ - `wrap` keeps the scroll container, since wrapped items overflow by design.
20
+ - New `data-focus-container` / `.db-focus-container` helper reserves the room a focus ring needs
21
+ - inside any clipping container, for the cases where that combination is needed. It owns the
22
+ - padding and margin of the element it sits on, so it belongs on a container that brings no
23
+ - spacing of its own.
24
+
25
+ ### Minor Changes
26
+
27
+ - feat(DBBreadcrumb): add breadcrumb (`DBBreadcrumb`, `DBBreadcrumbItem` and `DBBreadcrumbPopoverItem`) components with truncation - [see commit 592bf6a](https://github.com/db-ux-design-system/core-web/commit/592bf6aebb76bc58e9f8e05daf5d5f7bb04330de):
28
+
29
+ - Supports composition (slotted items) and options API (`items`), `size` and `separator` variants, disabled and icon-only (`noText`) items, automatic collapsing, and manual truncation via `DBBreadcrumbPopoverItem` which reveals the hidden items in a popover. Also refactors `DBAccordion` to reuse the shared `parseItems` utility.
30
+
3
31
  ## 5.7.1
4
32
 
5
33
  ### Patch Changes
package/README.md CHANGED
@@ -274,11 +274,11 @@ If you want to optimize the size of the loaded styles, you might want to skip lo
274
274
  You are able to optimize the initial settings as well:
275
275
 
276
276
  ```css
277
- /* The required styles will normalize css and add focus and default font to body */
277
+ /* The required styles normalize css, add focus, set the default body font, and apply the mandatory headline typography (font-sizes & line-heights) to h1-h6. */
278
278
  @import "@db-ux/core-foundations/build/styles/defaults/default-required.css";
279
279
  /* The default setting for :root, adds a color space (neutral-bg-basic-level-1) and a density (regular). */
280
280
  @import "@db-ux/core-foundations/build/styles/defaults/default-root.css";
281
- /* Adds font-sizes & line-heights to headlines and paragraph tags. You probably need this, but you might strip some styles if you don't need the range of h1-h6. */
281
+ /* Adds the optional font-weight utilities ([data-font], heading [data-variant]) and the small/code font-size. The headline h1-h6 typography is no longer here - it moved to default-required.css. */
282
282
  @import "@db-ux/core-foundations/build/styles/defaults/default-fonts.css";
283
283
  /* Adds "[data-icon]" and other icon related styles. If you don't need icons in your application you could skip this. */
284
284
  @import "@db-ux/core-foundations/build/styles/defaults/default-icons.css";