@db-ux/core-components 1.0.0-test-13b991d

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.
Files changed (167) hide show
  1. package/README.md +107 -0
  2. package/build/assets/fonts/OFL.txt +93 -0
  3. package/build/assets/fonts/OpenSans-Bold-EU.woff2 +0 -0
  4. package/build/assets/fonts/OpenSans-Bold.ttf +0 -0
  5. package/build/assets/fonts/OpenSans-ExtraBold-EU.woff2 +0 -0
  6. package/build/assets/fonts/OpenSans-ExtraBold.ttf +0 -0
  7. package/build/assets/fonts/OpenSans-Light-EU.woff2 +0 -0
  8. package/build/assets/fonts/OpenSans-Light.ttf +0 -0
  9. package/build/assets/fonts/OpenSans-Medium-EU.woff2 +0 -0
  10. package/build/assets/fonts/OpenSans-Medium.ttf +0 -0
  11. package/build/assets/fonts/OpenSans-Regular-EU.woff2 +0 -0
  12. package/build/assets/fonts/OpenSans-Regular.ttf +0 -0
  13. package/build/assets/fonts/OpenSans-SemiBold-EU.woff2 +0 -0
  14. package/build/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  15. package/build/assets/fonts/README.md +23 -0
  16. package/build/assets/fonts/generate-eu-fonts.ts +46 -0
  17. package/build/assets/fonts/unicode-eu.txt +14 -0
  18. package/build/assets/icons/DB_LICENSE +253 -0
  19. package/build/assets/icons/LICENCES.json +153 -0
  20. package/build/assets/icons/arrow_down.svg +1 -0
  21. package/build/assets/icons/arrow_left.svg +1 -0
  22. package/build/assets/icons/arrow_right.svg +1 -0
  23. package/build/assets/icons/arrow_up.svg +1 -0
  24. package/build/assets/icons/arrow_up_right.svg +1 -0
  25. package/build/assets/icons/brand.svg +1 -0
  26. package/build/assets/icons/calendar.svg +5 -0
  27. package/build/assets/icons/check-circle.svg +1 -0
  28. package/build/assets/icons/check.svg +1 -0
  29. package/build/assets/icons/check_circle.svg +1 -0
  30. package/build/assets/icons/chevron_down.svg +1 -0
  31. package/build/assets/icons/chevron_left.svg +1 -0
  32. package/build/assets/icons/chevron_right.svg +1 -0
  33. package/build/assets/icons/chevron_up.svg +1 -0
  34. package/build/assets/icons/circle.svg +1 -0
  35. package/build/assets/icons/clock.svg +1 -0
  36. package/build/assets/icons/cross.svg +1 -0
  37. package/build/assets/icons/cross_circle.svg +1 -0
  38. package/build/assets/icons/exclamation_mark_circle.svg +1 -0
  39. package/build/assets/icons/exclamation_mark_triangle.svg +1 -0
  40. package/build/assets/icons/fonts/all/db-ux.woff2 +0 -0
  41. package/build/assets/icons/fonts/default/db-ux.woff2 +0 -0
  42. package/build/assets/icons/fonts/default_12/db-ux.woff2 +0 -0
  43. package/build/assets/icons/fonts/default_14/db-ux.woff2 +0 -0
  44. package/build/assets/icons/fonts/default_16/db-ux.woff2 +0 -0
  45. package/build/assets/icons/fonts/default_20/db-ux.woff2 +0 -0
  46. package/build/assets/icons/fonts/default_24/db-ux.woff2 +0 -0
  47. package/build/assets/icons/fonts/default_28/db-ux.woff2 +0 -0
  48. package/build/assets/icons/fonts/default_32/db-ux.woff2 +0 -0
  49. package/build/assets/icons/fonts/default_48/db-ux.woff2 +0 -0
  50. package/build/assets/icons/fonts/default_64/db-ux.woff2 +0 -0
  51. package/build/assets/icons/fonts/filled/db-ux.woff2 +0 -0
  52. package/build/assets/icons/fonts/filled_12/db-ux.woff2 +0 -0
  53. package/build/assets/icons/fonts/filled_14/db-ux.woff2 +0 -0
  54. package/build/assets/icons/fonts/filled_16/db-ux.woff2 +0 -0
  55. package/build/assets/icons/fonts/filled_20/db-ux.woff2 +0 -0
  56. package/build/assets/icons/fonts/filled_24/db-ux.woff2 +0 -0
  57. package/build/assets/icons/fonts/filled_28/db-ux.woff2 +0 -0
  58. package/build/assets/icons/fonts/filled_32/db-ux.woff2 +0 -0
  59. package/build/assets/icons/fonts/filled_48/db-ux.woff2 +0 -0
  60. package/build/assets/icons/fonts/filled_64/db-ux.woff2 +0 -0
  61. package/build/assets/icons/information_circle.svg +1 -0
  62. package/build/assets/icons/magnifying_glass.svg +1 -0
  63. package/build/assets/icons/menu.svg +1 -0
  64. package/build/assets/icons/minus.svg +1 -0
  65. package/build/assets/icons/plus.svg +1 -0
  66. package/build/assets/icons/resize_handle_corner.svg +1 -0
  67. package/build/assets/icons/x_placeholder.svg +1 -0
  68. package/build/components/accordion/accordion.css +78 -0
  69. package/build/components/accordion/accordion.scss +62 -0
  70. package/build/components/accordion-item/accordion-item.css +239 -0
  71. package/build/components/accordion-item/accordion-item.scss +73 -0
  72. package/build/components/badge/badge.css +253 -0
  73. package/build/components/badge/badge.scss +107 -0
  74. package/build/components/brand/brand.css +42 -0
  75. package/build/components/brand/brand.scss +32 -0
  76. package/build/components/button/button.css +165 -0
  77. package/build/components/button/button.scss +123 -0
  78. package/build/components/card/card.css +115 -0
  79. package/build/components/card/card.scss +56 -0
  80. package/build/components/checkbox/checkbox.css +476 -0
  81. package/build/components/checkbox/checkbox.scss +80 -0
  82. package/build/components/divider/divider.css +84 -0
  83. package/build/components/divider/divider.scss +56 -0
  84. package/build/components/drawer/drawer.css +303 -0
  85. package/build/components/drawer/drawer.scss +228 -0
  86. package/build/components/header/header.css +697 -0
  87. package/build/components/header/header.scss +246 -0
  88. package/build/components/icon/icon.css +24 -0
  89. package/build/components/icon/icon.scss +14 -0
  90. package/build/components/infotext/infotext.css +152 -0
  91. package/build/components/infotext/infotext.scss +54 -0
  92. package/build/components/input/input.css +712 -0
  93. package/build/components/input/input.scss +147 -0
  94. package/build/components/link/link.css +257 -0
  95. package/build/components/link/link.scss +60 -0
  96. package/build/components/navigation/navigation.css +218 -0
  97. package/build/components/navigation/navigation.scss +117 -0
  98. package/build/components/navigation-item/navigation-item.css +482 -0
  99. package/build/components/navigation-item/navigation-item.scss +310 -0
  100. package/build/components/notification/notification-grid-default.css +1 -0
  101. package/build/components/notification/notification-grid-default.scss +52 -0
  102. package/build/components/notification/notification-grid-non-overlay.css +1 -0
  103. package/build/components/notification/notification-grid-non-overlay.scss +66 -0
  104. package/build/components/notification/notification-grid-overlay.css +1 -0
  105. package/build/components/notification/notification-grid-overlay.scss +55 -0
  106. package/build/components/notification/notification.css +1173 -0
  107. package/build/components/notification/notification.scss +216 -0
  108. package/build/components/page/page.css +49 -0
  109. package/build/components/page/page.scss +52 -0
  110. package/build/components/popover/popover.css +291 -0
  111. package/build/components/popover/popover.scss +26 -0
  112. package/build/components/radio/radio.css +390 -0
  113. package/build/components/radio/radio.scss +49 -0
  114. package/build/components/section/section.css +38 -0
  115. package/build/components/section/section.scss +51 -0
  116. package/build/components/select/select.css +651 -0
  117. package/build/components/select/select.scss +83 -0
  118. package/build/components/stack/stack-web-component.css +93 -0
  119. package/build/components/stack/stack-web-component.scss +1 -0
  120. package/build/components/stack/stack.css +93 -0
  121. package/build/components/stack/stack.scss +5 -0
  122. package/build/components/switch/switch.css +901 -0
  123. package/build/components/switch/switch.scss +233 -0
  124. package/build/components/tab-item/tab-item.css +160 -0
  125. package/build/components/tab-item/tab-item.scss +135 -0
  126. package/build/components/tab-list/tab-list.css +202 -0
  127. package/build/components/tab-list/tab-list.scss +18 -0
  128. package/build/components/tab-panel/tab-panel.css +10 -0
  129. package/build/components/tab-panel/tab-panel.scss +5 -0
  130. package/build/components/tabs/tabs.css +358 -0
  131. package/build/components/tabs/tabs.scss +361 -0
  132. package/build/components/tag/tag.css +1544 -0
  133. package/build/components/tag/tag.scss +236 -0
  134. package/build/components/textarea/textarea.css +546 -0
  135. package/build/components/textarea/textarea.scss +86 -0
  136. package/build/components/tooltip/tooltip.css +346 -0
  137. package/build/components/tooltip/tooltip.scss +137 -0
  138. package/build/styles/absolute.css +1559 -0
  139. package/build/styles/absolute.scss +5 -0
  140. package/build/styles/component-animations.css +1 -0
  141. package/build/styles/component-animations.scss +17 -0
  142. package/build/styles/dialog-init.css +1 -0
  143. package/build/styles/dialog-init.scss +57 -0
  144. package/build/styles/index.css +615 -0
  145. package/build/styles/index.scss +32 -0
  146. package/build/styles/internal/_button-components.scss +8 -0
  147. package/build/styles/internal/_component.scss +79 -0
  148. package/build/styles/internal/_custom-elements.scss +7 -0
  149. package/build/styles/internal/_db-puls.scss +83 -0
  150. package/build/styles/internal/_form-components.scss +516 -0
  151. package/build/styles/internal/_icon-passing.scss +26 -0
  152. package/build/styles/internal/_link-components.scss +62 -0
  153. package/build/styles/internal/_popover-component.scss +213 -0
  154. package/build/styles/internal/_scrollbar.scss +93 -0
  155. package/build/styles/internal/_stack-components.scss +104 -0
  156. package/build/styles/internal/_tag-components.scss +234 -0
  157. package/build/styles/relative.css +1559 -0
  158. package/build/styles/relative.scss +15 -0
  159. package/build/styles/rollup.css +1559 -0
  160. package/build/styles/rollup.scss +5 -0
  161. package/build/styles/visually-hidden.css +1 -0
  162. package/build/styles/visually-hidden.scss +6 -0
  163. package/build/styles/wc-workarounds.css +1 -0
  164. package/build/styles/wc-workarounds.scss +12 -0
  165. package/build/styles/webpack.css +1559 -0
  166. package/build/styles/webpack.scss +5 -0
  167. package/package.json +62 -0
package/README.md ADDED
@@ -0,0 +1,107 @@
1
+ # @db-ux/core-components
2
+
3
+ ![Apache 2.0 license badge](https://img.shields.io/badge/License-Apache_2.0-blue.svg)
4
+ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
5
+ [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
6
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
7
+
8
+ A library containing all styles for components of [DB UX Design System v3](https://github.com/db-ux-design-system/core-web).
9
+
10
+ > **Note**
11
+ > Furthermore we currently support these additional JavaScript frameworks, with more coming soon:
12
+
13
+ - [Angular components](https://www.npmjs.com/package/@db-ux/ngx-core-components)
14
+ - [React components](https://www.npmjs.com/package/@db-ux/react-core-components)
15
+ - [Vue components](https://www.npmjs.com/package/@db-ux/v-core-components)
16
+ - [Web components](https://www.npmjs.com/package/@db-ux/wc-core-components)
17
+
18
+ Please take a look at your desired framework to retrieve more information.
19
+
20
+ For additional information besides the frameworks see our [Getting started](https://github.com/db-ux-design-system/core-web/tree/main/packages/components/docs/getting-started.md).
21
+
22
+ ---
23
+
24
+ If you just need the styling follow this:
25
+
26
+ ## Install
27
+
28
+ `npm i @db-ux/core-components`
29
+
30
+ ## Dependencies
31
+
32
+ Import the styles in `scss` or `css`. Based on your technology the file names could be different.
33
+
34
+ - `relative`: asset path point to `../assets`
35
+ - `webpack`: asset path point to `~@db-ux/core-foundations/assets`
36
+ - `rollup`: asset path point to `@db-ux/core-foundations/assets`
37
+
38
+ They are bundling all dependencies from [foundations](https://www.npmjs.com/package/@db-ux/core-foundations) and all [components](https://github.com/db-ux-design-system/core-web/blob/main/packages/components/src/styles/db-ux-components.scss) available.
39
+
40
+ **SCSS**
41
+
42
+ ```scss
43
+ // index.scss
44
+ @forward "@db-ux/core-components/build/styles/rollup";
45
+ ```
46
+
47
+ **CSS**
48
+
49
+ Within HTML files directly:
50
+
51
+ ```html
52
+ <!-- index.html //-->
53
+ <link rel="stylesheet" href="/styles/rollup.css" />
54
+ ```
55
+
56
+ Or within your JavaScript files, with the related bundler as a prefix (in this case rollup and equivalents like Vite):
57
+
58
+ ```js
59
+ // main.js
60
+ import "@db-ux/core-components/build/styles/rollup.css";
61
+ ```
62
+
63
+ ### Optimize dependencies
64
+
65
+ If you only need some of the components or some features from [`@db-ux/core-foundations`](https://www.npmjs.com/package/@db-ux/core-foundations), you shouldn't include the bundled file.
66
+ In the case you want to include only some components, and you could do it like this:
67
+
68
+ ```css
69
+ /* The theme contains all prop required for components like spacings, colors, ... */
70
+ @import "@db-ux/core-foundations/build/styles/default-theme.css";
71
+ /* The font include uses default font families based on your bundling paths (relative, absolute, webpack, rollup) */
72
+ @import "@db-ux/core-foundations/build/styles/fonts/include-rollup.css";
73
+ /* The required styles will normalize css and add focus and default font to body */
74
+ @import "@db-ux/core-foundations/build/styles/init/required.css";
75
+ /* The default root adds a default color space (neutral) and a density (regular) */
76
+ @import "@db-ux/core-foundations/build/styles/init/default-root.css";
77
+
78
+ /* Optional: Add animations / transitions for components */
79
+ @import "@db-ux/core-components/build/styles/component-animations.css";
80
+
81
+ /* Optional: Add data-icon/data-icon-after to global attributes to enable icons for components */
82
+ @import "@db-ux/core-foundations/build/styles/icons/include-rollup.css";
83
+
84
+ /* Optional: Add components */
85
+ @import "@db-ux/core-components/build/components/button/button.css";
86
+ @import "@db-ux/core-components/build/components/input/input.css";
87
+ ```
88
+
89
+ ## Deutsche Bahn brand
90
+
91
+ As we'd like to perfectly support our users and customers on their digital journey, the usage of Deutsche Bahn brand and trademarks are bound of clear guidelines and restrictions even when being used with the code that we're provide with this product; Deutsche Bahn fully reserves all rights regarding the Deutsche Bahn brand, even though that we're providing the code of DB UX Design System products free to use and release it under the Apache 2.0 license.
92
+ Please have a look at our brand portal at <https://marketingportal.extranet.deutschebahn.com/> for any further questions and whom to contact on any brand issues.
93
+
94
+ You must remove or replace any Deutsche Bahn brand and design assets as well as protected characteristics and trademarks. We're even also planning to provide a neutral theme that would make it much easier for you to use our product without the trademarks by Deutsche Bahn.
95
+
96
+ ## Contributions
97
+
98
+ Contributions are very welcome, please refer to the [contribution guide](https://github.com/db-ux-design-system/core-web/blob/main/CONTRIBUTING.md).
99
+
100
+ ## Code of conduct
101
+
102
+ We as members, contributors, and leaders pledge to make participation in our
103
+ community a harassment-free experience for everyone – have a look at our [Contributor Covenant Code of Conduct](https://github.com/db-ux-design-system/core-web/blob/main/CODE-OF-CONDUCT.md).
104
+
105
+ ## License
106
+
107
+ This project is licensed under [Apache-2.0](LICENSE).
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://openfontlicense.org
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,23 @@
1
+ # Generate fonts
2
+
3
+ To generate optimal fonts we use [fonttools](https://github.com/fonttools/fonttools). To use the tools you need python installed:
4
+
5
+ 1. Install [python](https://docs.python-guide.org/starting/installation/#installation) and [ensure that you can run Python from the command line](https://packaging.python.org/en/latest/tutorials/installing-packages/#ensure-you-can-run-python-from-the-command-line)
6
+ 2. Install fonttools: `pip3 install fonttools`
7
+ 3. Install brotli: `pip3 install brotli`
8
+
9
+ Afterward, you can generate a font by running the following command:
10
+
11
+ ```shell
12
+ pyftsubset OpenSans-Regular.ttf --layout-features=* --flavor=woff2 --unicodes-file=unicode-eu.txt --output-file=OpenSans-Regular-EU.woff2
13
+ ```
14
+
15
+ ## Local development
16
+
17
+ You can use `packages/foundations/assets/fonts/generate-eu-fonts.ts` to generate all fonts inside this directory. To do so, run the following command:
18
+
19
+ ```shell
20
+ tsx packages/foundations/assets/fonts/generate-eu-fonts.ts
21
+ ```
22
+
23
+ To check if everything works fine you can check all glyphs with an [opentype.js.org glyph inspector tool](https://opentype.js.org/glyph-inspector.html).
@@ -0,0 +1,46 @@
1
+ import { exec } from 'node:child_process';
2
+ import { promisify } from 'node:util';
3
+ import { glob } from 'glob';
4
+
5
+ import { dirname } from 'path';
6
+ import { fileURLToPath } from 'url';
7
+
8
+ const __filename = fileURLToPath(import.meta.url);
9
+ const __dirname = dirname(__filename).replaceAll('\\', '/');
10
+
11
+ const execAsync = promisify(exec);
12
+
13
+ const generateFonts = async () => {
14
+ console.log('Generating EU fonts...');
15
+ try {
16
+ await execAsync('pyftsubset --help');
17
+ } catch (e) {
18
+ console.warn(
19
+ 'You need to install pyftsubset. Check packages/foundations/assets/fonts/README.md for more information.'
20
+ );
21
+ }
22
+
23
+ try {
24
+ const files = await glob(`${__dirname}/*.ttf`);
25
+ const commands = files.map((file) =>
26
+ [
27
+ 'pyftsubset',
28
+ file,
29
+ '--layout-features=*',
30
+ '--flavor=woff2',
31
+ `--unicodes-file=${__dirname}/unicode-eu.txt`,
32
+ `--output-file=${file.replace('.ttf', '-EU.woff2')}`
33
+ ].join(' ')
34
+ );
35
+
36
+ for (const command of commands) {
37
+ const { stdout, stderr } = await execAsync(command);
38
+ if (stdout) console.log(`stdout: ${stdout}`);
39
+ if (stderr) console.error(`stderr: ${stderr}`);
40
+ }
41
+ } catch (error) {
42
+ console.error(`Error: ${error.message}`);
43
+ }
44
+ };
45
+
46
+ void generateFonts();
@@ -0,0 +1,14 @@
1
+ # compare to https://symbl.cc/de/unicode-table/
2
+ U+0000-024F # Latin (all)
3
+ U+0020,U+0009,U+000A,U+000D # white space characters
4
+ U+00E4,U+00F6,U+00FC,U+00DF # German characters
5
+ U+00E9, U+00E8, U+00EA, U+00E0, U+00E7, U+0153 # French characters
6
+ U+00E0, U+00E8, U+00E9, U+00F2, U+00F9, U+00EC, U+00C0, U+00C8, U+00C9, U+00D2, U+00D9, U+00CC # Italian characters
7
+ U+FB00, U+FB01, U+FB02, U+FB03, U+FB04, U+FB05, U+FB06 # ligatures
8
+ U+00E1, U+00E9, U+00ED, U+00F3, U+00FA, U+00F1, U+00BF, U+00A1 # Spanish characters
9
+ U+00E5, U+00F8, U+00E6, U+00C5, U+00D8, U+00C6 # Scandinavian characters
10
+ U+0104, U+0105, U+0106, U+0107, U+0118, U+0119, U+0141, U+0142, U+0143, U+0144, U+015A, U+015B, U+0179, U+017A, U+017B, U+017C # Polish characters
11
+ U+010C, U+010D, U+010E, U+010F, U+011A, U+011B, U+0147, U+0148, U+0158, U+0159, U+0160, U+0161, U+0164, U+0165, U+016E, U+016F, U+017D, U+017E # Czech characters
12
+ U+00E9, U+00E8, U+00EB, U+00E4, U+00FC, U+00F6, U+00EF, U+00C9, U+00C8, U+00CB, U+00C4, U+00DC, U+00D6, U+00CF # Netherlands characters
13
+ U+0391-03A9, U+03B1-03C9 # Greek characters
14
+ U+0410-042F, U+0430-044F # Cyrillic characters
@@ -0,0 +1,253 @@
1
+ The DB source code is licensed under the Apache License, Version 2.0, January 2004;
2
+ you may not use this file except in compliance with the License. You may obtain a copy
3
+ of the Apache License at https://apache.org/licenses/LICENSE-2.0. The DB source code
4
+ does not include any DB specific design assets like fonts, icons, trademarks, brandings, etc.
5
+
6
+ All Deutsche Bahn AG (hereinafter “DB”) specific design assets like fonts, icons,
7
+ trademarks, brandings, etc. (hereinafter “DB Designs”) are licensed under the following
8
+ license agreement (the “DB Designs License”):
9
+
10
+ - The DB Designs may only be used by external users who are acting as contractors or
11
+ service providers for DB or a group company by virtue of a contractual relationship and
12
+ use the DB Designs in this context ("User"). A license agreement with third parties who
13
+ are not in a contractual relationship with DB or a group company is not possible.
14
+ - DB is and remains the owner or holds the exclusive usage rights to the DB Designs.
15
+ DB grants the User a royalty-free, non-exclusive, non-transferable, and non-sublicensable
16
+ right, limited geographically, temporally, and in content to the duration and purposes
17
+ of the contractual relationship with DB or a group company, to use the DB Designs in
18
+ accordance with this license agreement.
19
+ - The User may use the DB Designs only in connection with or for the fulfillment of
20
+ orders and/or services that they provide for DB or a group company. Any other use,
21
+ particularly for private personal purposes or for unauthorized third parties, is
22
+ prohibited. The User may not sublicense, distribute, or otherwise make the DB Designs
23
+ accessible to third parties who are not part of DB AG or a group company, unless this
24
+ is expressly permitted by the underlying contractual relationship between the User and
25
+ DB or the group company. The User may not modify, alter, convert, edit, reverse engineer,
26
+ or decompile the DB Designs; in particular, they may not make any graphical changes
27
+ and/or alter, remove, or add technical functions. Editing or using the DB Designs in
28
+ an altered form is only permitted with the express prior written consent of DB.
29
+ - Unless required by applicable law or agreed to in writing, DB provides the DB Designs
30
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
31
+ implied, including, without limitation, any warranties or conditions of title,
32
+ non-infringement, merchantability, or fitness for a particular purpose. DB is only liable
33
+ in cases of intent or gross negligence, within the framework of mandatory statutory
34
+ liability provisions, particularly the Product Liability Act, as well as for damages
35
+ arising from injury to life, body, or health of individuals. In cases of gross negligence,
36
+ liability is limited to typical and foreseeable damages. This limitation of liability also
37
+ applies in favor of group companies as well as in favor of vicarious agents of DB and
38
+ its group companies.
39
+ - This DB Designs License automatically ends at the time when the underlying contractual
40
+ relationship between the user and DB or a group company ends. DB may terminate this
41
+ DB Designs License at any time without notice for good cause, in particular, if the User
42
+ violates this DB Designs License and does not cease the violation within a reasonable
43
+ period after a warning. The User is obligated to cease using the DB Designs immediately
44
+ upon termination of this DB Designs License and to delete all DB Designs and related files
45
+ in their possession or installed on their systems, as well as any backup copies, without delay.
46
+ - If any provision of this agreement is or becomes invalid or unenforceable, the remaining
47
+ provisions of this agreement shall remain unaffected. In place of the invalid or unenforceable
48
+ provision, a provision shall be deemed agreed upon that comes closest to the economic purpose
49
+ of the invalid or unenforceable provision in a legally permissible manner. The same applies in
50
+ the event of a gap in the agreement. This DB Designs License is governed by and construed in
51
+ accordance with the laws of Germany, excluding conflicts of law rules and principles.
52
+
53
+ Apache License
54
+ Version 2.0, January 2004
55
+ http://www.apache.org/licenses/
56
+
57
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
58
+
59
+ 1. Definitions.
60
+
61
+ "License" shall mean the terms and conditions for use, reproduction,
62
+ and distribution as defined by Sections 1 through 9 of this document.
63
+
64
+ "Licensor" shall mean the copyright owner or entity authorized by
65
+ the copyright owner that is granting the License.
66
+
67
+ "Legal Entity" shall mean the union of the acting entity and all
68
+ other entities that control, are controlled by, or are under common
69
+ control with that entity. For the purposes of this definition,
70
+ "control" means (i) the power, direct or indirect, to cause the
71
+ direction or management of such entity, whether by contract or
72
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
73
+ outstanding shares, or (iii) beneficial ownership of such entity.
74
+
75
+ "You" (or "Your") shall mean an individual or Legal Entity
76
+ exercising permissions granted by this License.
77
+
78
+ "Source" form shall mean the preferred form for making modifications,
79
+ including but not limited to software source code, documentation
80
+ source, and configuration files.
81
+
82
+ "Object" form shall mean any form resulting from mechanical
83
+ transformation or translation of a Source form, including but
84
+ not limited to compiled object code, generated documentation,
85
+ and conversions to other media types.
86
+
87
+ "Work" shall mean the work of authorship, whether in Source or
88
+ Object form, made available under the License, as indicated by a
89
+ copyright notice that is included in or attached to the work
90
+ (an example is provided in the Appendix below).
91
+
92
+ "Derivative Works" shall mean any work, whether in Source or Object
93
+ form, that is based on (or derived from) the Work and for which the
94
+ editorial revisions, annotations, elaborations, or other modifications
95
+ represent, as a whole, an original work of authorship. For the purposes
96
+ of this License, Derivative Works shall not include works that remain
97
+ separable from, or merely link (or bind by name) to the interfaces of,
98
+ the Work and Derivative Works thereof.
99
+
100
+ "Contribution" shall mean any work of authorship, including
101
+ the original version of the Work and any modifications or additions
102
+ to that Work or Derivative Works thereof, that is intentionally
103
+ submitted to Licensor for inclusion in the Work by the copyright owner
104
+ or by an individual or Legal Entity authorized to submit on behalf of
105
+ the copyright owner. For the purposes of this definition, "submitted"
106
+ means any form of electronic, verbal, or written communication sent
107
+ to the Licensor or its representatives, including but not limited to
108
+ communication on electronic mailing lists, source code control systems,
109
+ and issue tracking systems that are managed by, or on behalf of, the
110
+ Licensor for the purpose of discussing and improving the Work, but
111
+ excluding communication that is conspicuously marked or otherwise
112
+ designated in writing by the copyright owner as "Not a Contribution."
113
+
114
+ "Contributor" shall mean Licensor and any individual or Legal Entity
115
+ on behalf of whom a Contribution has been received by Licensor and
116
+ subsequently incorporated within the Work.
117
+
118
+ 2. Grant of Copyright License. Subject to the terms and conditions of
119
+ this License, each Contributor hereby grants to You a perpetual,
120
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
121
+ copyright license to reproduce, prepare Derivative Works of,
122
+ publicly display, publicly perform, sublicense, and distribute the
123
+ Work and such Derivative Works in Source or Object form.
124
+
125
+ 3. Grant of Patent License. Subject to the terms and conditions of
126
+ this License, each Contributor hereby grants to You a perpetual,
127
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
128
+ (except as stated in this section) patent license to make, have made,
129
+ use, offer to sell, sell, import, and otherwise transfer the Work,
130
+ where such license applies only to those patent claims licensable
131
+ by such Contributor that are necessarily infringed by their
132
+ Contribution(s) alone or by combination of their Contribution(s)
133
+ with the Work to which such Contribution(s) was submitted. If You
134
+ institute patent litigation against any entity (including a
135
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
136
+ or a Contribution incorporated within the Work constitutes direct
137
+ or contributory patent infringement, then any patent licenses
138
+ granted to You under this License for that Work shall terminate
139
+ as of the date such litigation is filed.
140
+
141
+ 4. Redistribution. You may reproduce and distribute copies of the
142
+ Work or Derivative Works thereof in any medium, with or without
143
+ modifications, and in Source or Object form, provided that You
144
+ meet the following conditions:
145
+
146
+ (a) You must give any other recipients of the Work or
147
+ Derivative Works a copy of this License; and
148
+
149
+ (b) You must cause any modified files to carry prominent notices
150
+ stating that You changed the files; and
151
+
152
+ (c) You must retain, in the Source form of any Derivative Works
153
+ that You distribute, all copyright, patent, trademark, and
154
+ attribution notices from the Source form of the Work,
155
+ excluding those notices that do not pertain to any part of
156
+ the Derivative Works; and
157
+
158
+ (d) If the Work includes a "NOTICE" text file as part of its
159
+ distribution, then any Derivative Works that You distribute must
160
+ include a readable copy of the attribution notices contained
161
+ within such NOTICE file, excluding those notices that do not
162
+ pertain to any part of the Derivative Works, in at least one
163
+ of the following places: within a NOTICE text file distributed
164
+ as part of the Derivative Works; within the Source form or
165
+ documentation, if provided along with the Derivative Works; or,
166
+ within a display generated by the Derivative Works, if and
167
+ wherever such third-party notices normally appear. The contents
168
+ of the NOTICE file are for informational purposes only and
169
+ do not modify the License. You may add Your own attribution
170
+ notices within Derivative Works that You distribute, alongside
171
+ or as an addendum to the NOTICE text from the Work, provided
172
+ that such additional attribution notices cannot be construed
173
+ as modifying the License.
174
+
175
+ You may add Your own copyright statement to Your modifications and
176
+ may provide additional or different license terms and conditions
177
+ for use, reproduction, or distribution of Your modifications, or
178
+ for any such Derivative Works as a whole, provided Your use,
179
+ reproduction, and distribution of the Work otherwise complies with
180
+ the conditions stated in this License.
181
+
182
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
183
+ any Contribution intentionally submitted for inclusion in the Work
184
+ by You to the Licensor shall be under the terms and conditions of
185
+ this License, without any additional terms or conditions.
186
+ Notwithstanding the above, nothing herein shall supersede or modify
187
+ the terms of any separate license agreement you may have executed
188
+ with Licensor regarding such Contributions.
189
+
190
+ 6. Trademarks. This License does not grant permission to use the trade
191
+ names, trademarks, service marks, or product names of the Licensor,
192
+ except as required for reasonable and customary use in describing the
193
+ origin of the Work and reproducing the content of the NOTICE file.
194
+
195
+ 7. Disclaimer of Warranty. Unless required by applicable law or
196
+ agreed to in writing, Licensor provides the Work (and each
197
+ Contributor provides its Contributions) on an "AS IS" BASIS,
198
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
199
+ implied, including, without limitation, any warranties or conditions
200
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
201
+ PARTICULAR PURPOSE. You are solely responsible for determining the
202
+ appropriateness of using or redistributing the Work and assume any
203
+ risks associated with Your exercise of permissions under this License.
204
+
205
+ 8. Limitation of Liability. In no event and under no legal theory,
206
+ whether in tort (including negligence), contract, or otherwise,
207
+ unless required by applicable law (such as deliberate and grossly
208
+ negligent acts) or agreed to in writing, shall any Contributor be
209
+ liable to You for damages, including any direct, indirect, special,
210
+ incidental, or consequential damages of any character arising as a
211
+ result of this License or out of the use or inability to use the
212
+ Work (including but not limited to damages for loss of goodwill,
213
+ work stoppage, computer failure or malfunction, or any and all
214
+ other commercial damages or losses), even if such Contributor
215
+ has been advised of the possibility of such damages.
216
+
217
+ 9. Accepting Warranty or Additional Liability. While redistributing
218
+ the Work or Derivative Works thereof, You may choose to offer,
219
+ and charge a fee for, acceptance of support, warranty, indemnity,
220
+ or other liability obligations and/or rights consistent with this
221
+ License. However, in accepting such obligations, You may act only
222
+ on Your own behalf and on Your sole responsibility, not on behalf
223
+ of any other Contributor, and only if You agree to indemnify,
224
+ defend, and hold each Contributor harmless for any liability
225
+ incurred by, or claims asserted against, such Contributor by reason
226
+ of your accepting any such warranty or additional liability.
227
+
228
+ END OF TERMS AND CONDITIONS
229
+
230
+ APPENDIX: How to apply the Apache License to your work.
231
+
232
+ To apply the Apache License to your work, attach the following
233
+ boilerplate notice, with the fields enclosed by brackets "[]"
234
+ replaced with your own identifying information. (Don't include
235
+ the brackets!) The text should be enclosed in the appropriate
236
+ comment syntax for the file format. We also recommend that a
237
+ file or class name and description of purpose be included on the
238
+ same "printed page" as the copyright notice for easier
239
+ identification within third-party archives.
240
+
241
+ Copyright [yyyy] [name of copyright owner]
242
+
243
+ Licensed under the Apache License, Version 2.0 (the "License");
244
+ you may not use this file except in compliance with the License.
245
+ You may obtain a copy of the License at
246
+
247
+ http://www.apache.org/licenses/LICENSE-2.0
248
+
249
+ Unless required by applicable law or agreed to in writing, software
250
+ distributed under the License is distributed on an "AS IS" BASIS,
251
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
252
+ See the License for the specific language governing permissions and
253
+ limitations under the License.