tiny-essentials 1.24.3 β†’ 1.24.5

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/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  <div align="center">
2
+ <img src="./test/img/banner/tiny-essentials.jpg" alt="banner" />
2
3
  <p>
3
4
  <a href="https://discord.gg/TgHdvJd"><img src="https://img.shields.io/discord/413193536188579841?color=7289da&logo=discord&logoColor=white" alt="Discord server" /></a>
4
5
  <a href="https://www.npmjs.com/package/tiny-essentials"><img src="https://img.shields.io/npm/v/tiny-essentials.svg?maxAge=3600" alt="NPM version" /></a>
@@ -0,0 +1,71 @@
1
+ ### πŸ”§ TinySimpleDice Improvements & API Refinements
2
+
3
+ This update focuses heavily on enhancing the **TinySimpleDice** system, improving both internal stability and developer-facing clarity. Version **1.24.4** brings expanded dice-expression support, a new tokenizer system, richer typings, better internal transparency.
4
+
5
+ ---
6
+
7
+ ## 🎲 Major Dice System Enhancements
8
+
9
+ ### **βœ”οΈ Multi-Dice Support (`3d6`, `4d10`, etc.)**
10
+
11
+ Dice expressions now support quantity-based patterns.
12
+ Instead of treating `d6` as a single roll only, TinySimpleDice now correctly resolves:
13
+
14
+ * `3d6`
15
+ * `2d10`
16
+ * `5d4`
17
+ …each consuming multiple values and aggregating the total automatically.
18
+
19
+ This change improves compatibility with traditional tabletop dice notation.
20
+
21
+ ---
22
+
23
+ ## ✨ New Tokenization Engine
24
+
25
+ ### **βœ”οΈ `tokenizeValues()`**
26
+
27
+ Introduced a new function that:
28
+
29
+ * Replaces dice expressions with computed values
30
+ * Tokenizes expressions into numbers and operators
31
+ * Supports structured evaluation workflows
32
+ * Produces arrays like:
33
+
34
+ ```js
35
+ [7, "+", 4, "-", 5]
36
+ ```
37
+
38
+ This makes expression parsing safer and dramatically more predictable.
39
+
40
+ ---
41
+
42
+ ## πŸ“š Improved Documentation (jsDoc)
43
+
44
+ This release includes extensive documentation improvements:
45
+
46
+ * More precise descriptions of dice evaluation steps
47
+ * Clearer examples demonstrating multi-dice behavior
48
+ * Better internal documentation for each transformation stage
49
+ * Expanded jsDoc for:
50
+
51
+ * `ApplyDiceModifiersResult`
52
+ * `ApplyDiceModifiersStep`
53
+ * `DiceModifiersValues`
54
+ * Tokenization helpers
55
+ * Dice pattern matchers
56
+ … and new examples added across all typedefs.
57
+
58
+ These changes improve IDE IntelliSense and reduce onboarding friction for new contributors.
59
+
60
+ ---
61
+
62
+ ## πŸ›  Future-Proofing
63
+
64
+ These internal changes create a foundation for future features such as:
65
+
66
+ * Roll history tracking
67
+ * Expression rewriting
68
+ * AST-based dice evaluation
69
+ * Modifier chaining
70
+
71
+ **Full Changelog**: https://github.com/JasminDreasond/Tiny-Essentials/compare/1.24.3...1.24.4
@@ -0,0 +1,18 @@
1
+ # πŸš€ Release Note – TinyHtmlElems Update ✨
2
+
3
+ This update addresses missing element mappings within the `TinyHtmlElems` class. The following input element classes, which were previously implemented but not exposed through the static interface, have now been properly added:
4
+
5
+ ### βœ… Newly Added Static Element Bindings
6
+
7
+ * `static CheckboxInput = TinyHtmlCheckboxInput;` 🟩
8
+ * `static RadioInput = TinyHtmlRadioInput;` πŸ”˜
9
+
10
+ ### πŸ“… Additional Date & Time Input Types
11
+
12
+ * `static DateInput = TinyHtmlDateInput;` πŸ“†
13
+ * `static DateTimeInput = TinyHtmlDateTimeInput;` πŸ•˜
14
+ * `static MonthInput = TinyHtmlMonthInput;` πŸ—“οΈ
15
+ * `static TimeInput = TinyHtmlTimeInput;` ⏱️
16
+ * `static WeekInput = TinyHtmlWeekInput;` πŸ—“οΈβž•
17
+
18
+ **Full Changelog**: https://github.com/JasminDreasond/Tiny-Essentials/compare/1.24.4...1.24.5