Skip to content

Commit 1405f91

Browse files
authored
Merge branch 'main' into fix-preserve-whitespaces-infotext
2 parents e75a7bd + 3454d30 commit 1405f91

File tree

17 files changed

+533
-329
lines changed

17 files changed

+533
-329
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,27 @@ designers, and content authors build, maintain, and scale best-of-class digital
3232
| [@db-ux/v-core-components](https://github.com/db-ux-design-system/core-web/tree/main/output/vue) | Native Vue 3 components | [![@db-ux/v-core-components on Npmjs](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Fdb-ux-design-system%2Fcore-web%2Freleases%2Flatest&query=%24.tag_name&label=npm&color=ed1c24 "npm version")](https://npmjs.com/package/@db-ux/v-core-components "DB UX Design System – on NPM") |
3333
| [@db-ux/wc-core-components](https://github.com/db-ux-design-system/core-web/tree/main/output/stencil) | Web Components | [![@db-ux/wc-core-components on Npmjs](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Fdb-ux-design-system%2Fcore-web%2Freleases%2Flatest&query=%24.tag_name&label=npm&color=ed1c24 "npm version")](https://npmjs.com/package/@db-ux/wc-core-components "DB UX Design System – on NPM") |
3434

35+
### Which package should I choose?
36+
37+
**For JavaScript framework-specific components**: Choose your framework package (React, Angular, Vue, Web Components) which includes styling and JavaScript behavior.
38+
39+
**For other users**: Use `@db-ux/core-components` - it includes everything you need (foundations + component styles).
40+
41+
**For design tokens only**: Use `@db-ux/core-foundations` if you only need colors, spacing, fonts, and icons without pre-built component styles.
42+
3543
## How to use
3644

37-
Install your preferred package via npm or yarn e.g. `npm i @db-ux/react-core-components`.
45+
1. **Install your preferred package** via npm or yarn:
46+
- For React: `npm i @db-ux/react-core-components`
47+
- For Angular: `npm i @db-ux/ngx-core-components`
48+
- For Vue: `npm i @db-ux/v-core-components`
49+
- For Web Components: `npm i @db-ux/wc-core-components`
50+
- For styling only: `npm i @db-ux/core-components`
51+
52+
2. **Include the CSS styles** as described in the "Styling Dependencies" section of each package's `README`.
53+
54+
> **💡 Note**: All framework packages automatically include the necessary foundation styles - you don't need to install `@db-ux/core-foundations` separately!
3855
39-
Afterwards, you need to include the specific CSS or SCSS files to apply the styles of DB UX Design System (Version 3), as described in the "Styling Dependencies" section of each package's `README`.
4056
We even provide some [examples of integrations](https://github.com/db-ux-design-system/examples).
4157

4258
### DB Theme
14 KB
Loading

__snapshots__/input/showcase/chromium-highContrast/should-have-same-aria-snapshot/DBInput-should-have-same-aria-snapshot.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,17 @@
196196
- status
197197
- text: Label
198198
- button "Label"
199+
- status
200+
- link "Datalist / Typeahead Examples"
201+
- text: Search Cities
202+
- combobox "Search Cities"
203+
- status
204+
- text: Search Countries
205+
- combobox "Search Countries"
206+
- status
207+
- text: Search Products
208+
- combobox "Search Products"
209+
- status
210+
- text: Search Stations
211+
- combobox "Search Stations"
199212
- status
14 KB
Loading

__snapshots__/input/showcase/chromium/should-have-same-aria-snapshot/DBInput-should-have-same-aria-snapshot.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,17 @@
196196
- status
197197
- text: Label
198198
- button "Label"
199+
- status
200+
- link "Datalist / Typeahead Examples"
201+
- text: Search Cities
202+
- combobox "Search Cities"
203+
- status
204+
- text: Search Countries
205+
- combobox "Search Countries"
206+
- status
207+
- text: Search Products
208+
- combobox "Search Products"
209+
- status
210+
- text: Search Stations
211+
- combobox "Search Stations"
199212
- status
26.8 KB
Loading

__snapshots__/input/showcase/firefox/should-have-same-aria-snapshot/DBInput-should-have-same-aria-snapshot.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,17 @@
196196
- status
197197
- text: Label
198198
- button "Label"
199+
- status
200+
- link "Datalist / Typeahead Examples"
201+
- text: Search Cities
202+
- combobox "Search Cities"
203+
- status
204+
- text: Search Countries
205+
- combobox "Search Countries"
206+
- status
207+
- text: Search Products
208+
- combobox "Search Products"
209+
- status
210+
- text: Search Stations
211+
- combobox "Search Stations"
199212
- status
16.7 KB
Loading

__snapshots__/input/showcase/mobile-chrome/should-have-same-aria-snapshot/DBInput-should-have-same-aria-snapshot.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,17 @@
196196
- status
197197
- text: Label
198198
- button "Label"
199+
- status
200+
- link "Datalist / Typeahead Examples"
201+
- text: Search Cities
202+
- combobox "Search Cities"
203+
- status
204+
- text: Search Countries
205+
- combobox "Search Countries"
206+
- status
207+
- text: Search Products
208+
- combobox "Search Products"
209+
- status
210+
- text: Search Stations
211+
- combobox "Search Stations"
199212
- status
23 KB
Loading

0 commit comments

Comments
 (0)