@terrazzo/plugin-sass 0.10.1 → 0.10.4

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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @terrazzo/plugin-sass
2
2
 
3
+ ## 0.10.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#551](https://github.com/terrazzoapp/terrazzo/pull/551) [`6096445`](https://github.com/terrazzoapp/terrazzo/commit/60964453dc0ba6cc3740b202c5af27a8b2c38edc) Thanks [@nlemoine](https://github.com/nlemoine)! - Fix token Sass function
8
+
9
+ - [#550](https://github.com/terrazzoapp/terrazzo/pull/550) [`936789e`](https://github.com/terrazzoapp/terrazzo/commit/936789eb0604c5d8adfa256f16322d11fd99da6a) Thanks [@nlemoine](https://github.com/nlemoine)! - Add support for color-scheme property
10
+
11
+ - Updated dependencies [[`936789e`](https://github.com/terrazzoapp/terrazzo/commit/936789eb0604c5d8adfa256f16322d11fd99da6a)]:
12
+ - @terrazzo/plugin-css@0.10.4
13
+
14
+ ## 0.10.3
15
+
16
+ ### Patch Changes
17
+
18
+ - [#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
19
+
20
+ - Updated dependencies [[`6141d4f`](https://github.com/terrazzoapp/terrazzo/commit/6141d4f5a9790be73b314c517d9da010f237814e)]:
21
+ - @terrazzo/parser@0.10.3
22
+
3
23
  ## 0.10.1
4
24
 
5
25
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -8,15 +8,12 @@ interface SassPluginOptions {
8
8
  /** Glob patterns to exclude tokens from output */
9
9
  exclude?: CSSPluginOptions['exclude'];
10
10
  }
11
- declare const FILE_HEADER = "////\n/// Autogenerated by \u26CB Terrazzo. DO NOT EDIT!\n////\n\n@use \"sass:list\";\n@use \"sass:map\";";
12
- declare const MIXIN_TOKEN = "@function token($tokenName) {\n @if map.has-key($__token-values, $tokenName) == false {\n @error 'No token named \"#{$tokenName}\"';\n }\n $_token: map.get($__token-values, $tokenName);\n @if map.has-key($_token, \"__tz-error\") {\n @error map.get($_token, \"__tz-error\");\n }\n @return map.get($_token);\n}";
11
+ declare const FILE_HEADER = "////\n/// Autogenerated by \u26CB Terrazzo. DO NOT EDIT!\n////\n\n@use \"sass:list\";\n@use \"sass:map\";\n@use \"sass:meta\";";
12
+ declare const MIXIN_TOKEN = "@function token($tokenName) {\n @if map.has-key($__token-values, $tokenName) == false {\n @error 'No token named \"#{$tokenName}\"';\n }\n $_token: map.get($__token-values, $tokenName);\n @if meta.type-of($_token) == map and map.has-key($_token, \"__tz-error\") {\n @error map.get($_token, \"__tz-error\");\n }\n\n @return $_token;\n}";
13
13
  declare const MIXIN_TYPOGRAPHY = "@mixin typography($tokenName, $modeName: \".\") {\n @if map.has-key($__token-typography-mixins, $tokenName) == false {\n @error 'No typography mixin named \"#{$tokenName}\"';\n }\n $_mixin: map.get($__token-typography-mixins, $tokenName);\n $_properties: map.get($_mixin, \".\");\n @if map.has-key($_mixin) {\n $_properties: map.get($_mixin);\n }\n @each $_property, $_value in $_properties {\n #{$_property}: #{$_value};\n }\n}";
14
- //# sourceMappingURL=lib.d.ts.map
15
14
  //#endregion
16
15
  //#region src/index.d.ts
17
16
  declare function pluginSass(options?: SassPluginOptions): Plugin;
18
- //# sourceMappingURL=index.d.ts.map
19
-
20
17
  //#endregion
21
18
  export { FILE_HEADER, MIXIN_TOKEN, MIXIN_TYPOGRAPHY, SassPluginOptions, pluginSass as default };
22
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;UAEiB,iBAAA;;aAEJ;EAFI;EAAiB,OAAA,CAAA,EAItB,gBAJsB,CAAA,SAAA,CAAA;;AAItB,cAGC,WAAA,GAHD,2GAAA;AAAgB,cAUf,WAAA,GAVe,kUAAA;AAGf,cAkBA,gBAAA,GAlBW,+bAAA;AAOxB;;;iBCVwB,UAAA,WAAqB,oBAAoB;ADJjE"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/lib.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;UAEiB,iBAAA;;aAEJ;EAFI;EAAiB,OAAA,CAAA,EAItB,gBAJsB,CAAA,SAAA,CAAA;;AAItB,cAGC,WAAA,GAHD,gIAAA;AAAgB,cAWf,WAAA,GAXe,4VAAA;AAGf,cAoBA,gBAAA,GApBW,+bAAA;;;iBCHA,UAAA,WAAqB,oBAAoB"}