tiny-essentials 1.26.2 → 1.26.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.
@@ -0,0 +1,4 @@
1
+ ### 🌟 New Features & Enhancements
2
+
3
+ * **Introducing `made-by-semi-ai` Class:** Added full support for the new `.made-by-semi-ai` class. Now you can easily style elements that are partially generated or assisted by AI tools! 🛠️
4
+ * **Expanded Tag Coverage:** The stylesheet now directly targets and affects the custom `<ai>` and `<semi-ai>` HTML tags. This ensures a much more seamless and automatic integration without needing extra wrapper classes. 🏷️
@@ -73,6 +73,23 @@ function toTitleCaseLowerFirst(str) {
73
73
  * If executed outside of a browser environment (e.g., in Node.js), the function logs an error and exits.
74
74
  * If the `<body>` is not available at the moment the shortcut is triggered, a warning is logged.
75
75
  *
76
+ * -------------------------------------------------
77
+ *
78
+ * Any content wrapped inside an `<ai>example</ai>` or `<span class="made-by-ai"></span>` tag was generated purely by artificial intelligence,
79
+ * without any direct or indirect human intervention during the content generation process.
80
+ *
81
+ * -------------------------------------------------
82
+ *
83
+ * Any content wrapped inside a `<semi-ai>example</semi-ai>` or `<span class="made-by-semi-ai"></span>` tag was partially generated by artificial
84
+ * intelligence. In this case, the context of the message was fully shaped by a human source guiding how the content should be written (i.e.,
85
+ * transforming a purely human text into a polished version enhanced by AI).
86
+ *
87
+ * These texts are characterized as improved versions of original human work, where the AI is strictly utilized to enhance the
88
+ * structure of a human-written text. This tag does **not** apply to texts translated by AI (or any other non-AI translation tools),
89
+ * nor does it apply to scenarios where an AI minimally refines an existing text by acting solely as a spell checker or basic grammar corrector.
90
+ *
91
+ * -------------------------------------------------
92
+ *
76
93
  * @param {Object} [config={}] - Configuration object.
77
94
  * @param {string} [config.key='a'] - The lowercase character key to be used in combination with `Ctrl` and `Alt`.
78
95
  * @param {string} [config.className='detect-made-by-ai'] - The CSS class to toggle on the `<body>` element.
@@ -44,6 +44,23 @@ export function toTitleCaseLowerFirst(str: string): string;
44
44
  * If executed outside of a browser environment (e.g., in Node.js), the function logs an error and exits.
45
45
  * If the `<body>` is not available at the moment the shortcut is triggered, a warning is logged.
46
46
  *
47
+ * -------------------------------------------------
48
+ *
49
+ * Any content wrapped inside an `<ai>example</ai>` or `<span class="made-by-ai"></span>` tag was generated purely by artificial intelligence,
50
+ * without any direct or indirect human intervention during the content generation process.
51
+ *
52
+ * -------------------------------------------------
53
+ *
54
+ * Any content wrapped inside a `<semi-ai>example</semi-ai>` or `<span class="made-by-semi-ai"></span>` tag was partially generated by artificial
55
+ * intelligence. In this case, the context of the message was fully shaped by a human source guiding how the content should be written (i.e.,
56
+ * transforming a purely human text into a polished version enhanced by AI).
57
+ *
58
+ * These texts are characterized as improved versions of original human work, where the AI is strictly utilized to enhance the
59
+ * structure of a human-written text. This tag does **not** apply to texts translated by AI (or any other non-AI translation tools),
60
+ * nor does it apply to scenarios where an AI minimally refines an existing text by acting solely as a spell checker or basic grammar corrector.
61
+ *
62
+ * -------------------------------------------------
63
+ *
47
64
  * @param {Object} [config={}] - Configuration object.
48
65
  * @param {string} [config.key='a'] - The lowercase character key to be used in combination with `Ctrl` and `Alt`.
49
66
  * @param {string} [config.className='detect-made-by-ai'] - The CSS class to toggle on the `<body>` element.
@@ -62,6 +62,23 @@ export function toTitleCaseLowerFirst(str) {
62
62
  * If executed outside of a browser environment (e.g., in Node.js), the function logs an error and exits.
63
63
  * If the `<body>` is not available at the moment the shortcut is triggered, a warning is logged.
64
64
  *
65
+ * -------------------------------------------------
66
+ *
67
+ * Any content wrapped inside an `<ai>example</ai>` or `<span class="made-by-ai"></span>` tag was generated purely by artificial intelligence,
68
+ * without any direct or indirect human intervention during the content generation process.
69
+ *
70
+ * -------------------------------------------------
71
+ *
72
+ * Any content wrapped inside a `<semi-ai>example</semi-ai>` or `<span class="made-by-semi-ai"></span>` tag was partially generated by artificial
73
+ * intelligence. In this case, the context of the message was fully shaped by a human source guiding how the content should be written (i.e.,
74
+ * transforming a purely human text into a polished version enhanced by AI).
75
+ *
76
+ * These texts are characterized as improved versions of original human work, where the AI is strictly utilized to enhance the
77
+ * structure of a human-written text. This tag does **not** apply to texts translated by AI (or any other non-AI translation tools),
78
+ * nor does it apply to scenarios where an AI minimally refines an existing text by acting solely as a spell checker or basic grammar corrector.
79
+ *
80
+ * -------------------------------------------------
81
+ *
65
82
  * @param {Object} [config={}] - Configuration object.
66
83
  * @param {string} [config.key='a'] - The lowercase character key to be used in combination with `Ctrl` and `Alt`.
67
84
  * @param {string} [config.className='detect-made-by-ai'] - The CSS class to toggle on the `<body>` element.
@@ -1 +1 @@
1
- body.detect-made-by-ai .made-by-ai{color:#ff0;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}
1
+ :root{--ai-text-color: yellow;--semi-ai-text-color: deepskyblue;--ai-text-shadow-color: #000}ai,semi-ai{display:inline}body.detect-made-by-ai .made-by-ai,body.detect-made-by-ai .made-by-semi-ai,body.detect-made-by-ai ai,body.detect-made-by-ai semi-ai{text-shadow:-1px -1px 0 var(--ai-text-shadow-color),1px -1px 0 var(--ai-text-shadow-color),-1px 1px 0 var(--ai-text-shadow-color),1px 1px 0 var(--ai-text-shadow-color)}body.detect-made-by-ai .made-by-ai,body.detect-made-by-ai ai{color:var(--ai-text-color)}body.detect-made-by-ai .made-by-semi-ai,body.detect-made-by-ai semi-ai{color:var(--semi-ai-text-color)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-essentials",
3
- "version": "1.26.2",
3
+ "version": "1.26.3",
4
4
  "description": "Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.",
5
5
  "bin": {
6
6
  "tiny-essentials-fork": "./TinyFork.mjs"