@baloise/ds-styles 0.0.5 → 0.0.6-snapshot.31-c372201
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/README.md +33 -42
- package/bin/index.mjs +9 -9
- package/css/all.css +1 -1
- package/css/all.css.map +1 -1
- package/css/baloise-design-system.css +1 -1
- package/css/baloise-design-system.css.map +1 -1
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/themes/compact.css +1 -1
- package/css/utilities/all.css +1 -1
- package/css/utilities/background.css +1 -1
- package/css/utilities/border.css +1 -1
- package/css/utilities/elevation.css +1 -1
- package/css/utilities/flex.css +1 -1
- package/css/utilities/grid.css +1 -1
- package/css/utilities/interaction.css +1 -1
- package/css/utilities/layout.css +1 -1
- package/css/utilities/sizing.css +1 -1
- package/css/utilities/spacing.css +1 -1
- package/css/utilities/typography.css +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,45 +1,36 @@
|
|
|
1
1
|
<a href="https://design.baloise.dev" target="blank">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/baloise/design-system/main/resources/images/banner.svg?sanitize=true" alt="
|
|
2
|
+
<img src="https://raw.githubusercontent.com/baloise/design-system/main/resources/images/banner.svg?sanitize=true" alt="Design System" />
|
|
3
3
|
</a>
|
|
4
4
|
|
|
5
|
-
<br
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
| [Maps](https://design.baloise.dev) |  | Google Maps styles and icons. |
|
|
38
|
-
| [Fonts](https://design.baloise.dev) |  | Web-Font of the design system. |
|
|
39
|
-
| [Testing](https://design.baloise.dev) |  | Testing package with custom and overridden commands for each component. |
|
|
40
|
-
|
|
41
|
-
CI PR
|
|
42
|
-
Release
|
|
43
|
-
Snapshot
|
|
44
|
-
Nightly
|
|
45
|
-
Visual Base
|
|
5
|
+
<br />
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
The Baloise Design System consists of reusable components and a clearly defined visual style, that can be assembled together to build any number of applications.
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://github.com/baloise/design-system/actions/workflows/continuous.yml">
|
|
13
|
+
<img src="https://github.com/baloise/design-system/actions/workflows/continuous.yml/badge.svg?branch=main" alt="Continuous" />
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://www.npmjs.com/package/@baloise/ds-core">
|
|
16
|
+
<img src="https://img.shields.io/npm/v/@baloise/ds-core" alt="NPM" />
|
|
17
|
+
</a>
|
|
18
|
+
<a href="https://www.npmjs.com/package/@baloise/ds-core">
|
|
19
|
+
<img src="https://img.shields.io/bundlephobia/min/@baloise/ds-core" alt="Bundle Size" />
|
|
20
|
+
</a>
|
|
21
|
+
<a href="https://webnamespaces.org">
|
|
22
|
+
<img src="https://img.shields.io/static/v1?label=webnamespaces.org&color=blue&message=bal" alt="Registred on webnamespaces.org" />
|
|
23
|
+
</a>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<h3 align="center">
|
|
27
|
+
<a href="https://design.baloise.dev/?path=/docs/development-getting-started--documentation">Quickstart</a>
|
|
28
|
+
<span> · </span>
|
|
29
|
+
<a href="https://design.baloise.dev">
|
|
30
|
+
Documentation
|
|
31
|
+
</a>
|
|
32
|
+
<span> · </span>
|
|
33
|
+
<a href="https://design.baloise.dev/?path=/docs/contributing--documentation">Contribute</a>
|
|
34
|
+
<span> · </span>
|
|
35
|
+
<a href="https://github.com/baloise/design-system/blob/main/CHANGELOG.md">Changelog</a>
|
|
36
|
+
</h3>
|
package/bin/index.mjs
CHANGED
|
@@ -176,10 +176,10 @@ const main = async () => {
|
|
|
176
176
|
async function migrateComponentStylesSheet({ log, isDirectory, directoryPath, filePath }) {
|
|
177
177
|
const files = []
|
|
178
178
|
if (isDirectory) {
|
|
179
|
-
files.push(path.join(directoryPath, '**', '*.sass'))
|
|
180
|
-
files.push(path.join(directoryPath, '**', '*.scss'))
|
|
179
|
+
files.push(path.join(directoryPath, '**', '*.sass').replace(/\\/g, '/'))
|
|
180
|
+
files.push(path.join(directoryPath, '**', '*.scss').replace(/\\/g, '/'))
|
|
181
181
|
} else {
|
|
182
|
-
files.push(filePath)
|
|
182
|
+
files.push(filePath.replace(/\\/g, '/'))
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
try {
|
|
@@ -201,10 +201,10 @@ async function migrateComponentStylesSheet({ log, isDirectory, directoryPath, fi
|
|
|
201
201
|
async function migrateCSSVariables({ log, isDirectory, directoryPath, filePath }) {
|
|
202
202
|
const files = []
|
|
203
203
|
if (isDirectory) {
|
|
204
|
-
files.push(path.join(directoryPath, '**', '*.sass'))
|
|
205
|
-
files.push(path.join(directoryPath, '**', '*.scss'))
|
|
204
|
+
files.push(path.join(directoryPath, '**', '*.sass').replace(/\\/g, '/'))
|
|
205
|
+
files.push(path.join(directoryPath, '**', '*.scss').replace(/\\/g, '/'))
|
|
206
206
|
} else {
|
|
207
|
-
files.push(filePath)
|
|
207
|
+
files.push(filePath.replace(/\\/g, '/'))
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
try {
|
|
@@ -234,7 +234,7 @@ async function migrateCSSVariables({ log, isDirectory, directoryPath, filePath }
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
async function migrateGlobalStyleSheet({ globalStyleSheetPath, log }) {
|
|
237
|
-
const files = globalStyleSheetPath
|
|
237
|
+
const files = globalStyleSheetPath.replace(/\\/g, '/')
|
|
238
238
|
try {
|
|
239
239
|
const result = await replace({
|
|
240
240
|
files,
|
|
@@ -359,9 +359,9 @@ async function migrateInlineTemplates({ filePath, log, utilReplacers }) {
|
|
|
359
359
|
async function migrateHtmlFiles({ filePath, log, utilReplacers }) {
|
|
360
360
|
// check if path is directly one file
|
|
361
361
|
const isFile = filePath.trim().endsWith('.html')
|
|
362
|
-
let files = filePath
|
|
362
|
+
let files = filePath.replace(/\\/g, '/')
|
|
363
363
|
if (!isFile) {
|
|
364
|
-
files = path.join(`${files}`, '**', '*.html')
|
|
364
|
+
files = path.join(`${files}`, '**', '*.html'.replace(/\\/g, '/'))
|
|
365
365
|
}
|
|
366
366
|
|
|
367
367
|
try {
|
package/css/all.css
CHANGED
|
@@ -600,7 +600,7 @@ fieldset {
|
|
|
600
600
|
}
|
|
601
601
|
/**
|
|
602
602
|
* Do not edit directly
|
|
603
|
-
* Generated on
|
|
603
|
+
* Generated on Mon, 04 Mar 2024 14:51:50 GMT
|
|
604
604
|
*/
|
|
605
605
|
:root {
|
|
606
606
|
--bal-text-shadow-normal: 0px 0px 4px rgba(0, 0, 0, 0.15), 0px 4px 12px rgba(0, 0, 0, 0.25), 0px 0px 80px rgba(0, 0, 0, 0.5); /* Increases readability when used on a image background. */
|