@terrazzo/plugin-css 0.10.1 → 0.10.3
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 +15 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1474 -237
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @terrazzo/plugin-css
|
|
2
2
|
|
|
3
|
+
## 0.10.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#533](https://github.com/terrazzoapp/terrazzo/pull/533) [`e1a612f`](https://github.com/terrazzoapp/terrazzo/commit/e1a612f2297662b1dfd4ca517c83b9679960a5cf) Thanks [@pvignau](https://github.com/pvignau)! - Auto-install CSS plugin with Sass during init
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`6141d4f`](https://github.com/terrazzoapp/terrazzo/commit/6141d4f5a9790be73b314c517d9da010f237814e)]:
|
|
10
|
+
- @terrazzo/parser@0.10.3
|
|
11
|
+
|
|
12
|
+
## 0.10.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#521](https://github.com/terrazzoapp/terrazzo/pull/521) [`f0d909c`](https://github.com/terrazzoapp/terrazzo/commit/f0d909c78e5b41749437d52df2197ab85ebeea33) Thanks [@ciampo](https://github.com/ciampo)! - Add token $description as CSS comments
|
|
17
|
+
|
|
3
18
|
## 0.10.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -45,10 +45,14 @@ interface ModeSelector {
|
|
|
45
45
|
/** Provide CSS selectors to generate. (e.g.: `["@media (prefers-color-scheme: dark)", "[data-color-theme='dark']"]` ) */
|
|
46
46
|
selectors: string[];
|
|
47
47
|
}
|
|
48
|
+
interface CSSRuleDeclaration {
|
|
49
|
+
value: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
}
|
|
48
52
|
interface CSSRule {
|
|
49
53
|
selectors: string[];
|
|
50
54
|
nestedQuery?: string;
|
|
51
|
-
declarations: Record<string,
|
|
55
|
+
declarations: Record<string, CSSRuleDeclaration>;
|
|
52
56
|
}
|
|
53
57
|
/** Convert CSSRules into a formatted, indented CSS string */
|
|
54
58
|
declare function printRules(rules: CSSRule[]): string;
|
|
@@ -72,5 +76,5 @@ declare function cssPlugin(options?: CSSPluginOptions): Plugin;
|
|
|
72
76
|
//# sourceMappingURL=index.d.ts.map
|
|
73
77
|
|
|
74
78
|
//#endregion
|
|
75
|
-
export { BuildFormatOptions, CSSPluginOptions, CSSRule, FILE_PREFIX, FORMAT_ID, GetRuleOptions, ModeSelector, UtilityCSSGroup, UtilityCSSPrefix, cssPlugin as default, printRules };
|
|
79
|
+
export { BuildFormatOptions, CSSPluginOptions, CSSRule, CSSRuleDeclaration, FILE_PREFIX, FORMAT_ID, GetRuleOptions, ModeSelector, UtilityCSSGroup, UtilityCSSPrefix, cssPlugin as default, printRules };
|
|
76
80
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib.ts","../src/build/index.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;KAEY,eAAA;KAEA,gBAAA;AAFA,cAIC,SAAA,GAJc,KAAA;AAEf,cAIC,WAAA,GAJe,uJAAA;AAEf,UAMI,gBAAA,CANK;EAET;AAIb;;;EAS8B,QAEL,CAAA,EAAA,MAAA;EAAe;EAEH,OAAmB,CAAA,EAAA,MAAA,EAAA;EAAgB;EAEtC,aAAtB,CAAA,EANM,YAMN,EAAA;EAAM;EAkBD,YAAA,CAAA,EAAY,CAAA,KAAA,EAtBJ,eAsBI,EAAA,GAAA,MAAA;EAYZ;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib.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