@ama-styling/style-dictionary 13.4.0-prerelease.32 → 13.4.0-prerelease.33

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 (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +10 -10
package/README.md CHANGED
@@ -82,15 +82,15 @@ or in a dedicated `.extensions.json` file (when the [o3r/json-parser/extensions]
82
82
 
83
83
  ### Available Otter Extensions
84
84
 
85
- | Extensions | Type | Description | Required hooks |
86
- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
87
- | o3rPrivate | `boolean` | Determine if the token is flagged as private | pre-processor: **o3r/pre-processor/extensions** <br />formatter: **o3r/css/variable** |
88
- | o3rImportant | `boolean` | Determine if the token should be flagged as important when generated | pre-processor: **o3r/pre-processor/extensions** <br />formatter: **o3r/css/variable** |
89
- | o3rScope | `string` | Scope to apply to the generated variable | pre-processor: **o3r/pre-processor/extensions** <br />formatter: **o3r/css/variable** |
90
- | o3rMetadata | [CMS Metadata](https://github.com/AmadeusITGroup/otter/blob/main/packages/%40ama-styling/style-dictionary/src/interfaces/style-dictionary.interface.mts) | Additional information to provide to the metadata if generated | pre-processor: **o3r/pre-processor/extensions** <br />formatter: **o3r/json/metadata** |
91
- | o3rUnit | `string` | Convert a numeric value from the specified unit to the new unit. It will add a unit to the tokens of type \"number\" for which the unit is not specified.<br />In the case of complex types (such as shadow, transition, etc...), the unit will be applied to all numeric types they contain. | pre-processor: **o3r/pre-processor/extensions** <br />transforms: **o3r/transform/unit** |
92
- | o3rRatio | `number` | Ratio to apply to the previous value. The ratio will only be applied to tokens of type \"number\" or to the first numbers determined in \"string\" like types.<br />In the case of complex types (such as shadow, transition, etc...), the ratio will be applied to all numeric types they contain. | pre-processor: **o3r/pre-processor/extensions** <br />transforms: **o3r/transform/ratio** |
93
- | o3rExpectOverride | `boolean` | Indicate that the token is expected to be overridden by external rules | pre-processor: **o3r/pre-processor/extensions** |
85
+ | Extensions | Type | Description | Required hooks |
86
+ | ----------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
87
+ | o3rPrivate | `boolean` | Determine if the token is flagged as private | pre-processor: **o3r/pre-processor/extensions** <br />formatter: **o3r/css/variable** |
88
+ | o3rImportant | `boolean` | Determine if the token should be flagged as important when generated | pre-processor: **o3r/pre-processor/extensions** <br />formatter: **o3r/css/variable** |
89
+ | o3rScope | `string` | Scope to apply to the generated variable | pre-processor: **o3r/pre-processor/extensions** <br />formatter: **o3r/css/variable** |
90
+ | o3rMetadata | [CMS Metadata](https://github.com/AmadeusITGroup/otter/blob/main/packages/%40ama-styling/style-dictionary/src/interfaces/style-dictionary-interface.mts) | Additional information to provide to the metadata if generated | pre-processor: **o3r/pre-processor/extensions** <br />formatter: **o3r/json/metadata** |
91
+ | o3rUnit | `string` | Convert a numeric value from the specified unit to the new unit. It will add a unit to the tokens of type \"number\" for which the unit is not specified.<br />In the case of complex types (such as shadow, transition, etc...), the unit will be applied to all numeric types they contain. | pre-processor: **o3r/pre-processor/extensions** <br />transforms: **o3r/transform/unit** |
92
+ | o3rRatio | `number` | Ratio to apply to the previous value. The ratio will only be applied to tokens of type \"number\" or to the first numbers determined in \"string\" like types.<br />In the case of complex types (such as shadow, transition, etc...), the ratio will be applied to all numeric types they contain. | pre-processor: **o3r/pre-processor/extensions** <br />transforms: **o3r/transform/ratio** |
93
+ | o3rExpectOverride | `boolean` | Indicate that the token is expected to be overridden by external rules | pre-processor: **o3r/pre-processor/extensions** |
94
94
 
95
95
  > [!WARNING]
96
96
  > The **required hooks** need to be registered to the [Style Dictionary configuration](https://styledictionary.com/reference/config/) to fully support the extension.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ama-styling/style-dictionary",
3
- "version": "13.4.0-prerelease.32",
3
+ "version": "13.4.0-prerelease.33",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -41,14 +41,14 @@
41
41
  "dependencies": {
42
42
  "@angular-devkit/architect": "~0.2003.0",
43
43
  "@angular-devkit/schematics": "~20.3.0",
44
- "@o3r/schematics": "~13.4.0-prerelease.32",
44
+ "@o3r/schematics": "~13.4.0-prerelease.33",
45
45
  "@schematics/angular": "~20.3.0",
46
46
  "tslib": "^2.6.2"
47
47
  },
48
48
  "peerDependencies": {
49
- "@o3r/core": "~13.4.0-prerelease.32",
50
- "@o3r/schematics": "~13.4.0-prerelease.32",
51
- "@o3r/telemetry": "~13.4.0-prerelease.32",
49
+ "@o3r/core": "~13.4.0-prerelease.33",
50
+ "@o3r/schematics": "~13.4.0-prerelease.33",
51
+ "@o3r/telemetry": "~13.4.0-prerelease.33",
52
52
  "style-dictionary": "^5.0.0",
53
53
  "type-fest": "^4.30.1"
54
54
  },
@@ -82,11 +82,11 @@
82
82
  "@nx/eslint-plugin": "~21.6.0",
83
83
  "@nx/jest": "~21.6.0",
84
84
  "@nx/js": "~21.6.0",
85
- "@o3r/build-helpers": "~13.4.0-prerelease.32",
86
- "@o3r/core": "~13.4.0-prerelease.32",
87
- "@o3r/eslint-plugin": "~13.4.0-prerelease.32",
88
- "@o3r/telemetry": "~13.4.0-prerelease.32",
89
- "@o3r/test-helpers": "~13.4.0-prerelease.32",
85
+ "@o3r/build-helpers": "~13.4.0-prerelease.33",
86
+ "@o3r/core": "~13.4.0-prerelease.33",
87
+ "@o3r/eslint-plugin": "~13.4.0-prerelease.33",
88
+ "@o3r/telemetry": "~13.4.0-prerelease.33",
89
+ "@o3r/test-helpers": "~13.4.0-prerelease.33",
90
90
  "@schematics/angular": "~20.3.0",
91
91
  "@stylistic/eslint-plugin": "~5.6.0",
92
92
  "@types/jest": "~29.5.2",