You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add CSS Module support in Fable projects ([#11](https://github.com/zanaptak/TypedCssClasses/pull/11)) @alfonsogarciacaro
6
-
- See fableCssModule parameter
5
+
## 1.0.0 (2021-07-30)
6
+
7
+
- Add [`fableCssModule`](https://github.com/zanaptak/TypedCssClasses/blob/main/doc/configuration.md#fablecssmodule) parameter for CSS Module support in Fable projects ([#11](https://github.com/zanaptak/TypedCssClasses/pull/11)) @alfonsogarciacaro
7
8
- Fix stale cache data when changing `naming` and `nameCollisions` parameters ([#12](https://github.com/zanaptak/TypedCssClasses/issues/12))
8
9
9
10
## 0.4.0 (2020-07-26)
@@ -18,17 +19,17 @@
18
19
19
20
## 0.3.0 (2020-07-14)
20
21
21
-
- Add configurable external command capability for CSS preprocessing ([#4](https://github.com/zanaptak/TypedCssClasses/issues/4))
22
+
- Add configurable [external command](https://github.com/zanaptak/TypedCssClasses/blob/main/doc/configuration.md#external-command-support-for-css-preprocessing) capability for CSS preprocessing ([#4](https://github.com/zanaptak/TypedCssClasses/issues/4))
-__Breaking change__: Target .NET Standard 2.0 only, per Type Provider SDK guidance (may affect very old build chains)
27
-
-__Breaking change__: The environment variable and OS-specific parameter support may affect existing parameter values if they use the same syntax. See the `osDelimiters` and `expandVariables` options to address this.
28
+
-__Breaking change__: The environment variable and OS-specific parameter support may affect existing parameter values if they use the same syntax. See the [`osDelimiters`](https://github.com/zanaptak/TypedCssClasses/blob/main/doc/configuration.md#osdelimiters) and [`expandVariables`](https://github.com/zanaptak/TypedCssClasses/blob/main/doc/configuration.md#expandvariables) options to address this.
28
29
29
30
## 0.2.0 (2019-09-27)
30
31
31
-
- Add `nameCollisions` parameter for handling duplicate property names ([#1](https://github.com/zanaptak/TypedCssClasses/issues/1))
32
+
- Add [`nameCollisions`](https://github.com/zanaptak/TypedCssClasses/blob/main/doc/configuration.md#namecollisions) parameter for handling duplicate property names ([#1](https://github.com/zanaptak/TypedCssClasses/issues/1))
32
33
33
34
## 0.1.0 (2019-08-21)
34
35
@@ -37,7 +38,7 @@
37
38
38
39
## 0.0.3 (2019-08-10)
39
40
40
-
- Add GetProperties method providing seq of generated properties
41
+
- Add [`getProperties`](https://github.com/zanaptak/TypedCssClasses/blob/main/doc/configuration.md#getproperties) option providing seq of generated properties, useful for code generation
Preconfigured sample projects to see it in action and use as a starting point:
69
71
70
-
-[Fable Sass sample](https://github.com/zanaptak/TypedCssClasses/tree/master/sample/FableSass) - Demonstrates TypedCssClasses with Sass compilation in a Fable project.
72
+
-[Fable Sass sample](https://github.com/zanaptak/TypedCssClasses/tree/main/sample/FableSass) - Demonstrates TypedCssClasses with Sass compilation in a Fable project.
71
73
72
-
-[Fable Tailwind sample](https://github.com/zanaptak/TypedCssClasses/tree/master/sample/FableTailwind) - Demonstrates TypedCssClasses with Tailwind CSS in a Fable project.
74
+
-[Fable Tailwind sample](https://github.com/zanaptak/TypedCssClasses/tree/main/sample/FableTailwind) - Demonstrates TypedCssClasses with Tailwind CSS in a Fable project.
73
75
74
76
## Getting started
75
77
@@ -92,9 +94,11 @@ type css = CssClasses<"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bo
92
94
let x = css.``display-1``
93
95
```
94
96
97
+
It should work with any IDE that supports type providers. (Tested in Visual Studio Code with Ionide-fsharp extension on Windows and Linux, and in Visual Studio on Windows.)
98
+
95
99
## Configuration
96
100
97
-
See the [configuration instructions](doc/configuration.md) for full details on configuration parameters to customize the behavior of the type provider.
101
+
See the [configuration instructions](https://github.com/zanaptak/TypedCssClasses/blob/main/doc/configuration.md) for full details on configuration parameters to customize the behavior of the type provider.
98
102
99
103
## Notes
100
104
@@ -104,4 +108,4 @@ Web URLs are expected to use static CDN or otherwise unchanging content and are
104
108
105
109
If using Fable 2.x, update fable-compiler to version 2.3.17 or later to avoid an issue with the type provider failing to resolve relative file paths.
106
110
107
-
CSS `@import` rules are not processed internally by the type provider. If desired, they can be processed via external command; see the [TestWithFable test project](https://github.com/zanaptak/TypedCssClasses/tree/master/test/TestWithFable) for an example using [PostCSS](https://postcss.org/) with the [postcss-import](https://github.com/postcss/postcss-import) plugin.
111
+
CSS `@import` rules are not processed internally by the type provider. If desired, they can be processed via external command; see the [TestWithFable test project](https://github.com/zanaptak/TypedCssClasses/tree/main/test/TestWithFable) for an example using [PostCSS](https://postcss.org/) with the [postcss-import](https://github.com/postcss/postcss-import) plugin.
@@ -21,7 +23,7 @@ type css = CssClasses<"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bo
21
23
let x = css.``display-1``
22
24
```
23
25
24
-
This capability should work with any IDE that supports type providers. (Tested on Visual Studio Code with Ionide-fsharp extension on Windows and Linux, and Visual Studio 2019 on Windows.)
26
+
It should work with any IDE that supports type providers. (Tested in Visual Studio Code with Ionide-fsharp extension on Windows and Linux, and in Visual Studio on Windows.)
25
27
26
28
## External command support for CSS preprocessing
27
29
@@ -71,10 +73,6 @@ If the `source` parameter specifies a local file, the type provider will monitor
71
73
72
74
If a `commandFile` is specified, any leading lines from the output of the command that exactly specify a local file path will also be watched.
0 commit comments