@breadstone-infrastructure/style-dictionary 0.0.71 → 0.0.73
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 +26 -0
- package/README.md +33 -33
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
## 0.0.71 (2025-06-30)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- add missing newline at end of package.json ([73866991d5](https://github.com/RueDeRennes/mosaik/commit/73866991d5))
|
|
6
|
+
|
|
7
|
+
## 0.0.70 (2025-06-28)
|
|
8
|
+
|
|
9
|
+
### 🩹 Fixes
|
|
10
|
+
|
|
11
|
+
- update background color to transparent for page header and menu components; update release script to version 0.0.70 ([e8e7c124a4](https://github.com/RueDeRennes/mosaik/commit/e8e7c124a4))
|
|
12
|
+
|
|
13
|
+
## 0.0.69 (2025-06-26)
|
|
14
|
+
|
|
15
|
+
This was a version bump only for style-dictionary-plugins to align it with other projects, there were no code changes.
|
|
16
|
+
|
|
17
|
+
## 0.0.68 (2025-06-26)
|
|
18
|
+
|
|
19
|
+
### 🚀 Features
|
|
20
|
+
|
|
21
|
+
- add copyExecutorsJson script and update build commands ([0a0aba85b9](https://github.com/RueDeRennes/mosaik/commit/0a0aba85b9))
|
|
22
|
+
|
|
23
|
+
## 0.0.67 (2025-06-26)
|
|
24
|
+
|
|
25
|
+
This was a version bump only for style-dictionary-plugins to align it with other projects, there were no code changes.
|
|
26
|
+
|
|
1
27
|
## 0.0.66 (2025-06-25)
|
|
2
28
|
|
|
3
29
|
This was a version bump only for style-dictionary-plugins to align it with other projects, there were no code changes.
|
package/README.md
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
# @breadstone-infrastructure/style-dictionary
|
|
1
|
+
# 📦 @breadstone-infrastructure/style-dictionary
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
| Package Status | Source |
|
|
4
|
+
|----------------|--------|
|
|
5
|
+
| [](https://www.npmjs.com/package/@breadstone-infrastructure/style-dictionary) | [infra/style-dictionary-plugins](../../infra/style-dictionary-plugins) |
|
|
6
|
+
|
|
7
|
+
> Style Dictionary Plugins for Breadstone projects.
|
|
8
|
+
> Reusable transforms and preprocessors for [Style Dictionary](https://amzn.github.io/style-dictionary/) to support advanced design token workflows.
|
|
5
9
|
|
|
6
10
|
---
|
|
7
11
|
|
|
8
|
-
##
|
|
12
|
+
## 📁 Project Structure
|
|
9
13
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- **Nx Workspace**: Part of a monorepo for scalable development.
|
|
14
|
+
Part of the monorepo [`mosaik`](https://github.com/RueDeRennes/mosaik)
|
|
15
|
+
Package path: `infra/style-dictionary-plugins`
|
|
16
|
+
Version: see [npm](https://www.npmjs.com/package/@breadstone-infrastructure/style-dictionary)
|
|
17
|
+
License: MIT
|
|
15
18
|
|
|
16
19
|
---
|
|
17
20
|
|
|
18
|
-
## Installation
|
|
21
|
+
## 📦 Installation
|
|
19
22
|
|
|
20
|
-
```
|
|
23
|
+
```bash
|
|
21
24
|
yarn add @breadstone-infrastructure/style-dictionary
|
|
22
25
|
# or
|
|
23
26
|
npm install @breadstone-infrastructure/style-dictionary
|
|
@@ -25,7 +28,7 @@ npm install @breadstone-infrastructure/style-dictionary
|
|
|
25
28
|
|
|
26
29
|
---
|
|
27
30
|
|
|
28
|
-
## Usage
|
|
31
|
+
## 🔧 Usage
|
|
29
32
|
|
|
30
33
|
In your Style Dictionary config:
|
|
31
34
|
|
|
@@ -56,40 +59,37 @@ StyleDictionary.registerPreprocessor(lintPreprocessor);
|
|
|
56
59
|
|
|
57
60
|
---
|
|
58
61
|
|
|
59
|
-
##
|
|
62
|
+
## ⚙️ Features
|
|
60
63
|
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
- **listTransform**: Converts arrays to SCSS list syntax.
|
|
66
|
-
- **letterSpacingTransform**: Calculates letter spacing from tracking/spacing attributes.
|
|
64
|
+
- Custom transforms: shadow, gradient, list, letter spacing, name transforms
|
|
65
|
+
- Preprocessors: lint and expand tokens before transformation
|
|
66
|
+
- TypeScript-first: fully typed
|
|
67
|
+
- Nx Workspace: part of a monorepo for scalable development
|
|
67
68
|
|
|
68
69
|
---
|
|
69
70
|
|
|
70
|
-
##
|
|
71
|
+
## 🛠 Recommendations
|
|
71
72
|
|
|
72
|
-
-
|
|
73
|
-
-
|
|
73
|
+
- Use with [Style Dictionary](https://amzn.github.io/style-dictionary/) for design token management.
|
|
74
|
+
- Integrate into your Nx workspace for design system automation.
|
|
74
75
|
|
|
75
76
|
---
|
|
76
77
|
|
|
77
|
-
##
|
|
78
|
+
## 📦 Publishing
|
|
78
79
|
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
const { shadowCssTransform, expandShadowPreprocessor } = require('@breadstone-infrastructure/style-dictionary');
|
|
82
|
-
|
|
83
|
-
module.exports = {
|
|
84
|
-
// ...
|
|
85
|
-
preprocessors: [expandShadowPreprocessor],
|
|
86
|
-
transforms: ['shadow/css'],
|
|
87
|
-
// ...
|
|
88
|
-
};
|
|
80
|
+
```bash
|
|
81
|
+
yarn nx run style-dictionary-plugins:publish
|
|
89
82
|
```
|
|
90
83
|
|
|
91
84
|
---
|
|
92
85
|
|
|
86
|
+
## 📄 License
|
|
87
|
+
|
|
88
|
+
MIT © Breadstone
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
---
|
|
92
|
+
|
|
93
93
|
## Development
|
|
94
94
|
|
|
95
95
|
This package is part of the Breadstone Nx monorepo.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone-infrastructure/style-dictionary",
|
|
3
3
|
"description": "Common style-dictionary classes and functions",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.73",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
7
7
|
"repository": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"module": "./Index.js",
|
|
14
14
|
"types": "./Index.d.ts",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@breadstone-infrastructure/utilities": "^0.0.
|
|
16
|
+
"@breadstone-infrastructure/utilities": "^0.0.73",
|
|
17
17
|
"style-dictionary": "^4.4.0"
|
|
18
18
|
}
|
|
19
19
|
}
|