@db-ux/core-foundations 5.7.0 → 6.0.0

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,37 @@
1
1
  # @db-ux/core-foundations
2
2
 
3
+ ## 6.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 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):
8
+
9
+ - 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`.
10
+
11
+ - feat(DBStack): `overflow: auto` removed - a stack no longer scrolls - [see commit 6da172d](https://github.com/db-ux-design-system/core-web/commit/6da172d5ff05cd3c44b93c430c77664b43d25a5f):
12
+
13
+ - It clipped the focus ring of its children. Content that does not fit is now visible outside the
14
+ - stack instead of being scrollable; set `overflow` on the stack yourself if you relied on it.
15
+ - `wrap` keeps the scroll container, since wrapped items overflow by design.
16
+ - New `data-focus-container` / `.db-focus-container` helper reserves the room a focus ring needs
17
+ - inside any clipping container, for the cases where that combination is needed. It owns the
18
+ - padding and margin of the element it sits on, so it belongs on a container that brings no
19
+ - spacing of its own.
20
+
21
+ ### Minor Changes
22
+
23
+ - 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):
24
+
25
+ - 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.
26
+
27
+ ## 5.7.1
28
+
29
+ ### Patch Changes
30
+
31
+ - fix(icons): make `data-icon-variant="filled"` work in themed projects - [see commit cab6ff5](https://github.com/db-ux-design-system/core-web/commit/cab6ff57916d5b986ef9ac6d39357494be9797b4):
32
+
33
+ - The generic `default` / `filled` variant names were only emitted in the foundations theme CSS and hard-coded the whitelabel `db-ux-*` font families. Themed projects load `@db-ux/db-theme` instead of the foundations theme CSS, so the selectors never shipped and `data-icon-variant="filled"` silently fell back to the default icon font. The mapping now lives in the always-loaded defaults bundle and resolves through the themeable `--db-icon-<variant>-font-family` custom property.
34
+
3
35
  ## 5.7.0
4
36
 
5
37
  ### 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";