duck-dev-lib 0.0.27 → 0.0.29
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/fesm2022/{duck-dev-lib-en-AryRCkw5.mjs → duck-dev-lib-en-BfbNUZFJ.mjs} +39 -2
- package/fesm2022/{duck-dev-lib-ru-D_msyug7.mjs.map → duck-dev-lib-en-BfbNUZFJ.mjs.map} +1 -1
- package/fesm2022/{duck-dev-lib-ru-D_msyug7.mjs → duck-dev-lib-ru-06o10qCz.mjs} +3 -1
- package/fesm2022/{duck-dev-lib-en-AryRCkw5.mjs.map → duck-dev-lib-ru-06o10qCz.mjs.map} +1 -1
- package/fesm2022/duck-dev-lib.mjs +86 -20
- package/fesm2022/duck-dev-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/types/duck-dev-lib.d.ts +17 -5
|
@@ -8,8 +8,44 @@ var tabs = {
|
|
|
8
8
|
input: "Input",
|
|
9
9
|
notifications: "Notifications",
|
|
10
10
|
badge: "Badges",
|
|
11
|
+
slider: "Slider",
|
|
12
|
+
tooltip: "Tooltip",
|
|
11
13
|
directives: "Directives"
|
|
12
14
|
};
|
|
15
|
+
var tooltipDoc = {
|
|
16
|
+
title: "Duck Dev UI Library - Tooltip",
|
|
17
|
+
basic: {
|
|
18
|
+
title: "Tooltip component",
|
|
19
|
+
description: "A small hint that appears near an element on hover or focus. Uses the same color palette as other components (see Badge colors). Supports 12 placements and delayed close to prevent flicker when moving the cursor between the element and the tooltip.",
|
|
20
|
+
usage: "Usage:",
|
|
21
|
+
inputs: "Input Parameters:",
|
|
22
|
+
examples: "Examples:"
|
|
23
|
+
},
|
|
24
|
+
inputsDesc: {
|
|
25
|
+
text: "<b>text</b>: string — the text inside the tooltip. Use translation keys with the Transloco pipe to localize.",
|
|
26
|
+
color: "<b>color</b>: AccentEnumColor — palette color (e.g. 'Violet', 'Orange', 'White', 'Gray', 'Dark').",
|
|
27
|
+
placement: "<b>placement</b>: 'top' | 'bottom' | 'right' | 'left' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end' — position relative to the trigger.",
|
|
28
|
+
delay: "<b>delayCloseMs</b>: number — delay in milliseconds before the tooltip closes after mouse leaves or focus is lost."
|
|
29
|
+
},
|
|
30
|
+
examples: {
|
|
31
|
+
basic: "Basic",
|
|
32
|
+
violetTop: "Violet (top)",
|
|
33
|
+
orangeRight: "Orange (right)",
|
|
34
|
+
leftStart: "Left-start (gray)",
|
|
35
|
+
bottomEnd: "Bottom-end (white)",
|
|
36
|
+
hover: "Hover me"
|
|
37
|
+
},
|
|
38
|
+
examplesText: {
|
|
39
|
+
basic: "This is a tooltip",
|
|
40
|
+
top: "Tooltip on top",
|
|
41
|
+
right: "Tooltip on the right",
|
|
42
|
+
leftStart: "Tooltip left-start",
|
|
43
|
+
bottomEnd: "Tooltip bottom-end"
|
|
44
|
+
},
|
|
45
|
+
snippets: {
|
|
46
|
+
hello: "Hello tooltip"
|
|
47
|
+
}
|
|
48
|
+
};
|
|
13
49
|
var notifications = {
|
|
14
50
|
title: "Duck Dev UI Library - Notifications",
|
|
15
51
|
quickDemo: "Show notification",
|
|
@@ -429,6 +465,7 @@ var cardDoc = {
|
|
|
429
465
|
};
|
|
430
466
|
var en = {
|
|
431
467
|
tabs: tabs,
|
|
468
|
+
tooltipDoc: tooltipDoc,
|
|
432
469
|
notifications: notifications,
|
|
433
470
|
slider: slider,
|
|
434
471
|
buttons: buttons,
|
|
@@ -442,5 +479,5 @@ var en = {
|
|
|
442
479
|
cardDoc: cardDoc
|
|
443
480
|
};
|
|
444
481
|
|
|
445
|
-
export { accordionDoc, badgeDoc, buttons, cardDoc, en as default, directivesDoc, inputComponent, loaders, notifications, slider, svgComponent, tabs, tabsComponent };
|
|
446
|
-
//# sourceMappingURL=duck-dev-lib-en-
|
|
482
|
+
export { accordionDoc, badgeDoc, buttons, cardDoc, en as default, directivesDoc, inputComponent, loaders, notifications, slider, svgComponent, tabs, tabsComponent, tooltipDoc };
|
|
483
|
+
//# sourceMappingURL=duck-dev-lib-en-BfbNUZFJ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duck-dev-lib-
|
|
1
|
+
{"version":3,"file":"duck-dev-lib-en-BfbNUZFJ.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -8,6 +8,8 @@ var tabs = {
|
|
|
8
8
|
input: "Вввод",
|
|
9
9
|
notifications: "Уведомления",
|
|
10
10
|
badge: "Бейджи",
|
|
11
|
+
slider: "Слайдер",
|
|
12
|
+
tooltip: "Подсказка",
|
|
11
13
|
directives: "Директивы"
|
|
12
14
|
};
|
|
13
15
|
var notifications = {
|
|
@@ -443,4 +445,4 @@ var ru = {
|
|
|
443
445
|
};
|
|
444
446
|
|
|
445
447
|
export { accordionDoc, badgeDoc, buttons, cardDoc, ru as default, directivesDoc, inputComponent, loaders, notifications, slider, svgComponent, tabs, tabsComponent };
|
|
446
|
-
//# sourceMappingURL=duck-dev-lib-ru-
|
|
448
|
+
//# sourceMappingURL=duck-dev-lib-ru-06o10qCz.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duck-dev-lib-
|
|
1
|
+
{"version":3,"file":"duck-dev-lib-ru-06o10qCz.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|