tiny-essentials 1.10.2 → 1.11.0

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.
Files changed (56) hide show
  1. package/README.md +1 -1
  2. package/dist/{TinyEssentials.js → v1/TinyEssentials.js} +804 -0
  3. package/dist/v1/TinyEssentials.min.js +2 -0
  4. package/dist/v1/TinyNotifyCenter.js +461 -0
  5. package/dist/v1/TinyNotifyCenter.min.js +1 -0
  6. package/dist/v1/TinyToastNotify.js +417 -0
  7. package/dist/v1/TinyToastNotify.min.js +1 -0
  8. package/dist/v1/build/TinyNotifyCenter.cjs +7 -0
  9. package/dist/v1/build/TinyNotifyCenter.d.mts +3 -0
  10. package/dist/v1/build/TinyNotifyCenter.mjs +2 -0
  11. package/dist/v1/build/TinyToastNotify.cjs +7 -0
  12. package/dist/v1/build/TinyToastNotify.d.mts +3 -0
  13. package/dist/v1/build/TinyToastNotify.mjs +2 -0
  14. package/dist/v1/css/TinyNotify.css +350 -0
  15. package/dist/v1/css/TinyNotify.min.css +1 -0
  16. package/dist/v1/index.cjs +4 -0
  17. package/dist/v1/index.d.mts +3 -1
  18. package/dist/v1/index.mjs +3 -1
  19. package/dist/v1/libs/TinyNotifyCenter.cjs +422 -0
  20. package/dist/v1/libs/TinyNotifyCenter.d.mts +166 -0
  21. package/dist/v1/libs/TinyNotifyCenter.mjs +385 -0
  22. package/dist/v1/libs/TinyToastNotify.cjs +378 -0
  23. package/dist/v1/libs/TinyToastNotify.d.mts +157 -0
  24. package/dist/v1/libs/TinyToastNotify.mjs +332 -0
  25. package/docs/{README.md → v1/README.md} +2 -0
  26. package/docs/{basics → v1/basics}/text.md +2 -2
  27. package/docs/v1/libs/TinyNotifyCenter.md +291 -0
  28. package/docs/v1/libs/TinyToastNotify.md +290 -0
  29. package/package.json +4 -2
  30. package/dist/TinyEssentials.min.js +0 -2
  31. package/dist/v1/libs/TinyRateLimit.cjs +0 -196
  32. package/dist/v1/libs/TinyRateLimit.d.mts +0 -86
  33. package/dist/v1/libs/TinyRateLimit.mjs +0 -171
  34. /package/dist/{ColorSafeStringify.js → v1/ColorSafeStringify.js} +0 -0
  35. /package/dist/{ColorSafeStringify.min.js → v1/ColorSafeStringify.min.js} +0 -0
  36. /package/dist/{TinyBasicsEs.js → v1/TinyBasicsEs.js} +0 -0
  37. /package/dist/{TinyBasicsEs.min.js → v1/TinyBasicsEs.min.js} +0 -0
  38. /package/dist/{TinyBasicsEs.min.js.LICENSE.txt → v1/TinyBasicsEs.min.js.LICENSE.txt} +0 -0
  39. /package/dist/{TinyEssentials.min.js.LICENSE.txt → v1/TinyEssentials.min.js.LICENSE.txt} +0 -0
  40. /package/dist/{TinyLevelUp.js → v1/TinyLevelUp.js} +0 -0
  41. /package/dist/{TinyLevelUp.min.js → v1/TinyLevelUp.min.js} +0 -0
  42. /package/dist/{TinyPromiseQueue.js → v1/TinyPromiseQueue.js} +0 -0
  43. /package/dist/{TinyPromiseQueue.min.js → v1/TinyPromiseQueue.min.js} +0 -0
  44. /package/dist/{TinyRateLimiter.js → v1/TinyRateLimiter.js} +0 -0
  45. /package/dist/{TinyRateLimiter.min.js → v1/TinyRateLimiter.min.js} +0 -0
  46. /package/dist/{aiMarker.css → v1/css/aiMarker.css} +0 -0
  47. /package/dist/{aiMarker.min.css → v1/css/aiMarker.min.css} +0 -0
  48. /package/docs/{basics → v1/basics}/array.md +0 -0
  49. /package/docs/{basics → v1/basics}/asyncReplace.md +0 -0
  50. /package/docs/{basics → v1/basics}/clock.md +0 -0
  51. /package/docs/{basics → v1/basics}/objFilter.md +0 -0
  52. /package/docs/{basics → v1/basics}/simpleMath.md +0 -0
  53. /package/docs/{libs → v1/libs}/ColorSafeStringify.md +0 -0
  54. /package/docs/{libs → v1/libs}/TinyLevelUp.md +0 -0
  55. /package/docs/{libs → v1/libs}/TinyPromiseQueue.md +0 -0
  56. /package/docs/{libs → v1/libs}/TinyRateLimiter.md +0 -0
@@ -0,0 +1,417 @@
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ // The require scope
4
+ /******/ var __webpack_require__ = {};
5
+ /******/
6
+ /************************************************************************/
7
+ /******/ /* webpack/runtime/define property getters */
8
+ /******/ (() => {
9
+ /******/ // define getter functions for harmony exports
10
+ /******/ __webpack_require__.d = (exports, definition) => {
11
+ /******/ for(var key in definition) {
12
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14
+ /******/ }
15
+ /******/ }
16
+ /******/ };
17
+ /******/ })();
18
+ /******/
19
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
20
+ /******/ (() => {
21
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
22
+ /******/ })();
23
+ /******/
24
+ /************************************************************************/
25
+ var __webpack_exports__ = {};
26
+
27
+ // EXPORTS
28
+ __webpack_require__.d(__webpack_exports__, {
29
+ TinyToastNotify: () => (/* reexport */ libs_TinyToastNotify)
30
+ });
31
+
32
+ ;// ./src/v1/libs/TinyToastNotify.mjs
33
+ /**
34
+ * A callback function used to manually close a notification.
35
+ * Passed as a second argument to `onClick` handlers, allowing programmatic dismissal of the toast.
36
+ *
37
+ * @typedef {() => void} CloseToastFunc
38
+ */
39
+
40
+ /**
41
+ * Represents the data used to display a notification.
42
+ * Can be a plain string (used as the message), or an object with more customization options.
43
+ *
44
+ * @typedef {string | {
45
+ * message: string, // The main message to display
46
+ * title?: string, // Optional title to appear above the message
47
+ * onClick?: function(MouseEvent, CloseToastFunc): void, // Optional click handler for the notification
48
+ * html?: boolean, // Whether the message should be interpreted as raw HTML
49
+ * avatar?: string // Optional URL to an avatar image shown on the left
50
+ * }} NotifyData
51
+ */
52
+
53
+ /**
54
+ * A lightweight notification system designed to display timed messages inside a container.
55
+ * Supports positioning, timing customization, click actions, HTML content, and optional avatars.
56
+ *
57
+ * ## Features:
58
+ * - Positioning via `x` (`left`, `center`, `right`) and `y` (`top`, `bottom`).
59
+ * - Dynamic display time based on message length.
60
+ * - Optional `title`, `avatar`, `onClick`, and `html` message rendering.
61
+ * - Fade-out animation with customizable duration.
62
+ * - Rigid validation of inputs and internal state.
63
+ *
64
+ * ## Customization via setters:
65
+ * - `setX(position)` — horizontal alignment.
66
+ * - `setY(position)` — vertical alignment.
67
+ * - `setBaseDuration(ms)` — base visible time in milliseconds.
68
+ * - `setExtraPerChar(ms)` — extra time added per character.
69
+ * - `setFadeOutDuration(ms)` — fade-out animation duration in milliseconds.
70
+ *
71
+ * @class
72
+ */
73
+ class TinyToastNotify {
74
+ #y;
75
+ #x;
76
+ #baseDuration;
77
+ #extraPerChar;
78
+ #fadeOutDuration;
79
+ #container;
80
+
81
+ /**
82
+ * @param {'top'|'bottom'} y - 'top' or 'bottom'
83
+ * @param {'right'|'left'|'center'} x - 'right', 'left', or 'center'
84
+ * @param {number} baseDuration - Base display time in ms
85
+ * @param {number} extraPerChar - Extra ms per character
86
+ * @param {number} fadeOutDuration - Time in ms for fade-out effect
87
+ * @param {string} [selector='.notify-container'] - Base selector for container
88
+ */
89
+ constructor(
90
+ y = 'top',
91
+ x = 'right',
92
+ baseDuration = 3000,
93
+ extraPerChar = 50,
94
+ fadeOutDuration = 300,
95
+ selector = '.notify-container',
96
+ ) {
97
+ this.#validateY(y);
98
+ this.#validateX(x);
99
+ this.#validateTiming(baseDuration, 'baseDuration');
100
+ this.#validateTiming(extraPerChar, 'extraPerChar');
101
+ this.#validateTiming(fadeOutDuration, 'fadeOutDuration');
102
+
103
+ this.#y = y;
104
+ this.#x = x;
105
+ this.#baseDuration = baseDuration;
106
+ this.#extraPerChar = extraPerChar;
107
+ this.#fadeOutDuration = fadeOutDuration;
108
+ const container = document.querySelector(`${selector}.${y}.${x}`);
109
+
110
+ if (!(container instanceof HTMLElement)) {
111
+ this.#container = document.createElement('div');
112
+ this.#container.className = `notify-container ${y} ${x}`;
113
+ document.body.appendChild(this.#container);
114
+ } else this.#container = container;
115
+ }
116
+
117
+ /**
118
+ * Returns the notification container element.
119
+ * Ensures that the container is a valid HTMLElement.
120
+ *
121
+ * @returns {HTMLElement} The notification container.
122
+ * @throws {Error} If the container is not a valid HTMLElement.
123
+ */
124
+ getContainer() {
125
+ if (!(this.#container instanceof HTMLElement))
126
+ throw new Error('Container is not a valid HTMLElement.');
127
+ return this.#container;
128
+ }
129
+
130
+ /**
131
+ * Validates the vertical position value.
132
+ * Must be either 'top' or 'bottom'.
133
+ *
134
+ * @param {string} value - The vertical position to validate.
135
+ * @throws {Error} If the value is not 'top' or 'bottom'.
136
+ */
137
+ #validateY(value) {
138
+ if (!['top', 'bottom'].includes(value)) {
139
+ throw new Error(`Invalid vertical direction "${value}". Expected "top" or "bottom".`);
140
+ }
141
+ }
142
+
143
+ /**
144
+ * Validates the horizontal position value.
145
+ * Must be 'left', 'right', or 'center'.
146
+ *
147
+ * @param {string} value - The horizontal position to validate.
148
+ * @throws {Error} If the value is not one of the accepted directions.
149
+ */
150
+ #validateX(value) {
151
+ if (!['left', 'right', 'center'].includes(value)) {
152
+ throw new Error(
153
+ `Invalid horizontal position "${value}". Expected "left", "right" or "center".`,
154
+ );
155
+ }
156
+ }
157
+
158
+ /**
159
+ * Validates a numeric timing value.
160
+ * Must be a non-negative finite number.
161
+ *
162
+ * @param {number} value - The number to validate.
163
+ * @param {string} name - The name of the parameter (used for error messaging).
164
+ * @throws {Error} If the number is invalid.
165
+ */
166
+ #validateTiming(value, name) {
167
+ if (typeof value !== 'number' || value < 0 || !Number.isFinite(value)) {
168
+ throw new Error(
169
+ `Invalid value for "${name}": ${value}. Must be a non-negative finite number.`,
170
+ );
171
+ }
172
+ }
173
+
174
+ /**
175
+ * Returns the current vertical position.
176
+ *
177
+ * @returns {'top'|'bottom'} The vertical direction of the notification container.
178
+ */
179
+ getY() {
180
+ return this.#y;
181
+ }
182
+
183
+ /**
184
+ * Sets the vertical position of the notification container.
185
+ * Updates the container's class to reflect the new position.
186
+ *
187
+ * @param {'top'|'bottom'} value - The vertical direction to set.
188
+ * @throws {Error} If the value is invalid.
189
+ */
190
+ setY(value) {
191
+ this.#validateY(value);
192
+ const container = this.getContainer();
193
+ container.classList.remove(this.#y);
194
+ container.classList.add(value);
195
+
196
+ this.#y = value;
197
+ }
198
+
199
+ /**
200
+ * Returns the current horizontal position.
201
+ *
202
+ * @returns {'left'|'right'|'center'} The horizontal direction of the notification container.
203
+ */
204
+ getX() {
205
+ return this.#x;
206
+ }
207
+
208
+ /**
209
+ * Sets the horizontal position of the notification container.
210
+ * Updates the container's class to reflect the new position.
211
+ *
212
+ * @param {'left'|'right'|'center'} value - The horizontal direction to set.
213
+ * @throws {Error} If the value is invalid.
214
+ */
215
+ setX(value) {
216
+ this.#validateX(value);
217
+ const container = this.getContainer();
218
+ container.classList.remove(this.#x);
219
+ container.classList.add(value);
220
+
221
+ this.#x = value;
222
+ }
223
+
224
+ /**
225
+ * Returns the base duration for displaying the notification.
226
+ *
227
+ * @returns {number} Base time (in milliseconds) that a notification stays on screen.
228
+ */
229
+ getBaseDuration() {
230
+ return this.#baseDuration;
231
+ }
232
+
233
+ /**
234
+ * Sets the base duration for the notification display time.
235
+ *
236
+ * @param {number} value - Base display time in milliseconds.
237
+ * @throws {Error} If the value is not a valid non-negative finite number.
238
+ */
239
+ setBaseDuration(value) {
240
+ this.#validateTiming(value, 'baseDuration');
241
+ this.#baseDuration = value;
242
+ }
243
+
244
+ /**
245
+ * Returns the extra display time added per character.
246
+ *
247
+ * @returns {number} Extra time (in milliseconds) per character in the notification.
248
+ */
249
+ getExtraPerChar() {
250
+ return this.#extraPerChar;
251
+ }
252
+
253
+ /**
254
+ * Sets the additional display time per character.
255
+ *
256
+ * @param {number} value - Extra time in milliseconds per character.
257
+ * @throws {Error} If the value is not a valid non-negative finite number.
258
+ */
259
+ setExtraPerChar(value) {
260
+ this.#validateTiming(value, 'extraPerChar');
261
+ this.#extraPerChar = value;
262
+ }
263
+
264
+ /**
265
+ * Returns the fade-out duration.
266
+ *
267
+ * @returns {number} Time (in milliseconds) used for fade-out transition.
268
+ */
269
+ getFadeOutDuration() {
270
+ return this.#fadeOutDuration;
271
+ }
272
+
273
+ /**
274
+ * Sets the fade-out transition time for notifications.
275
+ *
276
+ * @param {number} value - Fade-out duration in milliseconds.
277
+ * @throws {Error} If the value is not a valid non-negative finite number.
278
+ */
279
+ setFadeOutDuration(value) {
280
+ this.#validateTiming(value, 'fadeOutDuration');
281
+ this.#fadeOutDuration = value;
282
+ }
283
+
284
+ /**
285
+ * Displays a notification for a time based on message length.
286
+ * Accepts a string or an object with:
287
+ * {
288
+ * message: string,
289
+ * title?: string,
290
+ * onClick?: function(MouseEvent, CloseToastFunc): void,
291
+ * html?: boolean,
292
+ * avatar?: string // Optional avatar image URL
293
+ * }
294
+ *
295
+ * @param {NotifyData} data
296
+ */
297
+ show(data) {
298
+ let message = '';
299
+ let title = '';
300
+ let onClick = null;
301
+ let useHTML = false;
302
+ let avatarUrl = null;
303
+
304
+ const notify = document.createElement('div');
305
+ notify.className = 'notify enter';
306
+
307
+ if (typeof data === 'string') {
308
+ message = data;
309
+ } else if (typeof data === 'object' && data !== null && typeof data.message === 'string') {
310
+ message = data.message;
311
+ title = typeof data.title === 'string' ? data.title : '';
312
+ useHTML = data.html === true;
313
+ avatarUrl = typeof data.avatar === 'string' ? data.avatar : null;
314
+
315
+ if (data.onClick !== undefined) {
316
+ if (typeof data.onClick !== 'function') {
317
+ throw new Error('onClick must be a function if defined');
318
+ }
319
+ onClick = data.onClick;
320
+ notify.classList.add('clickable');
321
+ }
322
+ } else {
323
+ throw new Error(
324
+ `Invalid argument for show(): expected string or { message: string, title?: string, onClick?: function, html?: boolean, avatar?: string }`,
325
+ );
326
+ }
327
+
328
+ // Add close button
329
+ const closeBtn = document.createElement('button');
330
+ closeBtn.innerHTML = '&times;';
331
+ closeBtn.className = 'close';
332
+ closeBtn.setAttribute('aria-label', 'Close');
333
+
334
+ // Optional hover effect
335
+ closeBtn.addEventListener('mouseenter', () => {
336
+ closeBtn.style.color = 'var(--notif-close-color-hover)';
337
+ });
338
+ closeBtn.addEventListener('mouseleave', () => {
339
+ closeBtn.style.color = 'var(--notif-close-color)';
340
+ });
341
+
342
+ // Avatar
343
+ if (avatarUrl) {
344
+ const avatar = document.createElement('img');
345
+ avatar.src = avatarUrl;
346
+ avatar.alt = 'avatar';
347
+ avatar.className = 'avatar';
348
+ notify.appendChild(avatar);
349
+ }
350
+
351
+ // Title
352
+ if (title) {
353
+ const titleElem = document.createElement('strong');
354
+ titleElem.textContent = title;
355
+ titleElem.style.display = 'block';
356
+ notify.appendChild(titleElem);
357
+ }
358
+
359
+ // Message
360
+ if (useHTML) {
361
+ const msgWrapper = document.createElement('div');
362
+ msgWrapper.innerHTML = message;
363
+ notify.appendChild(msgWrapper);
364
+ } else {
365
+ notify.appendChild(document.createTextNode(message));
366
+ }
367
+
368
+ notify.appendChild(closeBtn);
369
+ this.getContainer().appendChild(notify);
370
+
371
+ const visibleTime = this.#baseDuration + message.length * this.#extraPerChar;
372
+ const totalTime = visibleTime + this.#fadeOutDuration;
373
+
374
+ // Close logic
375
+ let removed = false;
376
+ const close = () => {
377
+ if (removed) return;
378
+ removed = true;
379
+ notify.classList.remove('enter', 'show');
380
+ notify.classList.add('exit');
381
+ setTimeout(() => notify.remove(), this.#fadeOutDuration);
382
+ };
383
+
384
+ // Click handler
385
+ if (typeof onClick === 'function') {
386
+ notify.addEventListener('click', (e) => {
387
+ if (e.target === closeBtn) return;
388
+ onClick(e, close);
389
+ });
390
+ }
391
+
392
+ // Close button click
393
+ closeBtn.addEventListener('click', (e) => {
394
+ e.stopPropagation();
395
+ close();
396
+ });
397
+
398
+ // Transition activation force soon after the element is added
399
+ setTimeout(() => {
400
+ notify.classList.remove('enter');
401
+ notify.classList.add('show');
402
+ }, 1);
403
+
404
+ setTimeout(() => close(), totalTime);
405
+ }
406
+ }
407
+
408
+ /* harmony default export */ const libs_TinyToastNotify = (TinyToastNotify);
409
+
410
+ ;// ./src/v1/build/TinyToastNotify.mjs
411
+
412
+
413
+
414
+
415
+ window.TinyToastNotify = __webpack_exports__.TinyToastNotify;
416
+ /******/ })()
417
+ ;
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var t={d:(e,i)=>{for(var a in i)t.o(i,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:i[a]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},e={};t.d(e,{TinyToastNotify:()=>i});const i=class{#t;#e;#i;#a;#n;#r;constructor(t="top",e="right",i=3e3,a=50,n=300,r=".notify-container"){this.#o(t),this.#s(e),this.#l(i,"baseDuration"),this.#l(a,"extraPerChar"),this.#l(n,"fadeOutDuration"),this.#t=t,this.#e=e,this.#i=i,this.#a=a,this.#n=n;const o=document.querySelector(`${r}.${t}.${e}`);o instanceof HTMLElement?this.#r=o:(this.#r=document.createElement("div"),this.#r.className=`notify-container ${t} ${e}`,document.body.appendChild(this.#r))}getContainer(){if(!(this.#r instanceof HTMLElement))throw new Error("Container is not a valid HTMLElement.");return this.#r}#o(t){if(!["top","bottom"].includes(t))throw new Error(`Invalid vertical direction "${t}". Expected "top" or "bottom".`)}#s(t){if(!["left","right","center"].includes(t))throw new Error(`Invalid horizontal position "${t}". Expected "left", "right" or "center".`)}#l(t,e){if("number"!=typeof t||t<0||!Number.isFinite(t))throw new Error(`Invalid value for "${e}": ${t}. Must be a non-negative finite number.`)}getY(){return this.#t}setY(t){this.#o(t);const e=this.getContainer();e.classList.remove(this.#t),e.classList.add(t),this.#t=t}getX(){return this.#e}setX(t){this.#s(t);const e=this.getContainer();e.classList.remove(this.#e),e.classList.add(t),this.#e=t}getBaseDuration(){return this.#i}setBaseDuration(t){this.#l(t,"baseDuration"),this.#i=t}getExtraPerChar(){return this.#a}setExtraPerChar(t){this.#l(t,"extraPerChar"),this.#a=t}getFadeOutDuration(){return this.#n}setFadeOutDuration(t){this.#l(t,"fadeOutDuration"),this.#n=t}show(t){let e="",i="",a=null,n=!1,r=null;const o=document.createElement("div");if(o.className="notify enter","string"==typeof t)e=t;else{if("object"!=typeof t||null===t||"string"!=typeof t.message)throw new Error("Invalid argument for show(): expected string or { message: string, title?: string, onClick?: function, html?: boolean, avatar?: string }");if(e=t.message,i="string"==typeof t.title?t.title:"",n=!0===t.html,r="string"==typeof t.avatar?t.avatar:null,void 0!==t.onClick){if("function"!=typeof t.onClick)throw new Error("onClick must be a function if defined");a=t.onClick,o.classList.add("clickable")}}const s=document.createElement("button");if(s.innerHTML="&times;",s.className="close",s.setAttribute("aria-label","Close"),s.addEventListener("mouseenter",(()=>{s.style.color="var(--notif-close-color-hover)"})),s.addEventListener("mouseleave",(()=>{s.style.color="var(--notif-close-color)"})),r){const t=document.createElement("img");t.src=r,t.alt="avatar",t.className="avatar",o.appendChild(t)}if(i){const t=document.createElement("strong");t.textContent=i,t.style.display="block",o.appendChild(t)}if(n){const t=document.createElement("div");t.innerHTML=e,o.appendChild(t)}else o.appendChild(document.createTextNode(e));o.appendChild(s),this.getContainer().appendChild(o);const l=this.#i+e.length*this.#a+this.#n;let c=!1;const d=()=>{c||(c=!0,o.classList.remove("enter","show"),o.classList.add("exit"),setTimeout((()=>o.remove()),this.#n))};"function"==typeof a&&o.addEventListener("click",(t=>{t.target!==s&&a(t,d)})),s.addEventListener("click",(t=>{t.stopPropagation(),d()})),setTimeout((()=>{o.classList.remove("enter"),o.classList.add("show")}),1),setTimeout((()=>d()),l)}};window.TinyToastNotify=e.TinyToastNotify})();
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var TinyNotifyCenter = require('../libs/TinyNotifyCenter.cjs');
4
+
5
+
6
+
7
+ exports.TinyNotifyCenter = TinyNotifyCenter;
@@ -0,0 +1,3 @@
1
+ export { TinyNotifyCenter };
2
+ import TinyNotifyCenter from '../libs/TinyNotifyCenter.mjs';
3
+ //# sourceMappingURL=TinyNotifyCenter.d.mts.map
@@ -0,0 +1,2 @@
1
+ import TinyNotifyCenter from '../libs/TinyNotifyCenter.mjs';
2
+ export { TinyNotifyCenter };
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var TinyToastNotify = require('../libs/TinyToastNotify.cjs');
4
+
5
+
6
+
7
+ exports.TinyToastNotify = TinyToastNotify;
@@ -0,0 +1,3 @@
1
+ export { TinyToastNotify };
2
+ import TinyToastNotify from '../libs/TinyToastNotify.mjs';
3
+ //# sourceMappingURL=TinyToastNotify.d.mts.map
@@ -0,0 +1,2 @@
1
+ import TinyToastNotify from '../libs/TinyToastNotify.mjs';
2
+ export { TinyToastNotify };