@db-ui/core
Advanced tools
Changelog
[2.0.0] - 2022-10-14
This part includes all of the changes from @db-ui/db-ui-core@1.x
to @db-ui/core@2.0.0
– this summarizes the changes out of the previous prereleases, and is especially only including the relevant aspects for consumers of our package (so we've left out the DB UI Core contributors relevant aspects).
All of the breaking changes and relevant changes are listed in the migration guide.
indeterminate
statedensities
, the header to stay "sticky", borders around the cells, the content alignment within the cells, and control the font-size with a CSS variable (--table---fontSize
).banner
sass
%a11y-visually-hidden
and %clearfix
, mainly for being able to both provide CSS partials as well as the concenated filessemitransparent
, white
, solid
and outline
)size
and variant
via data-
attributesIn general we've introduced the possibility to control variants and configurations on elements and components with HTML data
-attributes, that we're previously only available via SCSS mixins
or @extends
.
SCSS
files directly in your codebase.$red-500
and $DBred
$color-secondary-red-380
$color-secondary-cool-gray-133
$color-secondary-cool-gray-166
$color-secondary-cool-gray-250
$color-secondary-cool-gray-350
$color-secondary-cool-gray-450
$color-secondary-cool-gray-550
to-rem
and to-em
helper SCSS functions parameter expect values by type numberdata
-attributesdata-variant
attribute for buttonsnode-sass
dependency to sass
, which is officially its successor. We suggest that if you're still using node-sass
in your projects to even also do the move, which should be in general quite easy, compare to e.g. the instructions by the stackblitz team: https://developer.stackblitz.com/docs/platform/turbo/#how-do-i-migrate-to-dart-sass
Please keep in mind, that you would need to provide your node_modules
folder as a load path or include path (e.g. --load-path=node_modules
on the sass
CLI usage), see the migration guide
Your builds should most likely still work with node-sass
(at least if you're resolving the load path of node_modules
by yourself, e.g. with --include-path=node_modules
when using the CLI), but the support might break the sooner the later.DB UI Base
directly, so there's nothing we could deliver by our product for this. If you were referencing those files previously, please consume them from DB UI Base
from now on.db-
prefix. (see the migration guide)primary
, secondary
, feedback
, poi
and transportation
colors got this category (primary
, secondary
and transportation
) removed from their name, so e.g. $color-secondary-red-500
became $db-color-red-500
. (see the migration guide)--font-family-sans-serif
CSS variable has been moved to DB UI Base and is now called --db-font-family-base
dist/images/icons
to dist/icons
and even a better subfolder structure in there, and as well retrieving those by DB UI Base package, path node_modules/@db-ui/base/build/assets/icons/
.#icon
.--iconColor
to --db-icon-color
and from --iconPulseColor
to --db-icon-pulse-color
.source/_patterns/01-elements/link/link.scss
has been renamed to source/_patterns/01-elements/link/_links.scss
- you most likely haven't included this file directly, but the file within the enterprise
subdirectory, so this shouldn't be relevant for most of youtag
types (a.elm-tag
and input.elm-tag
) have been moved to a new pattern, as defined within the DB UX Design System specification: chips
(see the migration guide)$icons-path
in addition to $images-path
and $fonts-path
, as we might need to differentiate hereDB UI Base
to be an optional config, as it wouldn't get installed and people might want to use the SASS source files for compilationdetails
/summary
and dialog
elements reached great support in modern browsers these days, we're only including those for demo purposes from now on, but not as regular dependencies
any more.bulma
remains. While this is still a great framework, our codebase is now mature enough to even also work without it. [!350]Changelog
[2.0.0-48] - 2022-08-05
Changelog
[2.0.0-47] - 2022-07-15
font-weight
boldChangelog
[2.0.0-46] - 2022-07-13
--icon-margin-left
and --icon-margin-right
to --icon-margin-before
and --icon-margin-after
Changelog
[2.0.0-44] - 2022-06-30
Changelog
[2.0.0-43] - 2022-05-07
Toasts
, that is included in the new DB UX Design System as Notification
component anyhowpackage.json