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
-**types:** ⚠️ Flatten And & Or groups by directly using and/or as property name ([ec80478](https://github.com/tmlmt/cooklang-parser/commit/ec80478))
10
+
11
+
Before:
12
+
13
+
```
14
+
{
15
+
type: "or", // or "and"
16
+
entries: [ ... ]
17
+
}
18
+
```
19
+
20
+
After:
21
+
22
+
```
23
+
{
24
+
or: [ ... ] // or and: [ ... ]
25
+
}
26
+
27
+
### 🚀 Enhancements
28
+
29
+
- **Recipe:** New universal `getIngredientQuantities` method to filter by section, step and/or user choices ([04e61f6](https://github.com/tmlmt/cooklang-parser/commit/04e61f6))
30
+
- **ShoppingList:** Enhance ingredient handling with AND groups and ensure choices are provided for recipes with alternatives ([f5ef123](https://github.com/tmlmt/cooklang-parser/commit/f5ef123))
31
+
- **Helpers:** Add isAlternativeSelected function to determine selected ingredient alternatives ([2c5af2a](https://github.com/tmlmt/cooklang-parser/commit/2c5af2a))
32
+
33
+
### 📖 Documentation
34
+
35
+
- **Recipe:** Fix description of `choices` property ([b9169ac](https://github.com/tmlmt/cooklang-parser/commit/b9169ac))
36
+
- **playground:** Dynamically render user choices for alternatives ingredients ([2eea3c0](https://github.com/tmlmt/cooklang-parser/commit/2eea3c0))
37
+
38
+
### 🎨 Styles
39
+
40
+
- **types:** ⚠️ Flatten And & Or groups by directly using and/or as property name ([ec80478](https://github.com/tmlmt/cooklang-parser/commit/ec80478))
41
+
42
+
### ❤️ Contributors
43
+
44
+
- Thomas Lamant ([@tmlmt](https://github.com/tmlmt))
0 commit comments