duck-dev-lib 0.0.9 → 0.0.11

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,121 @@
1
+ var tabs = {
2
+ buttons: "Buttons",
3
+ loaders: "Loaders",
4
+ tabs: "Tabs"
5
+ };
6
+ var buttons = {
7
+ title: "Duck Dev UI Library - Button Components",
8
+ glideOver: {
9
+ title: "Button Glide Over",
10
+ description: "Button with animated arrow that \"slides out\" on hover. Perfect for calls to action (CTA) and navigation elements.",
11
+ usage: "Usage:",
12
+ inputs: "Input Parameters:",
13
+ inputTextButton: "button text",
14
+ inputColorButton: "color scheme (White, Gray, Dark, Violet, Orange). Default: White",
15
+ inputPadding: "internal padding. Default: '10px 24px'",
16
+ required: "required",
17
+ examples: "Examples:",
18
+ exampleWhite: "White (default)",
19
+ exampleViolet: "Violet",
20
+ exampleOrange: "Orange",
21
+ exampleGray: "Gray",
22
+ exampleDark: "Dark"
23
+ },
24
+ blurLift: {
25
+ title: "Button Blur Lift",
26
+ description: "Button with blur effect and text \"lifting\" on hover. On hover, the main text blurs and alternative text appears. Perfect for interactive elements with dual messages.",
27
+ usage: "Usage:",
28
+ inputs: "Input Parameters:",
29
+ inputTextButton: "main button text",
30
+ inputHoverText: "text that appears on hover. If not specified, textButton is used",
31
+ inputColorButton: "color scheme (White, Gray, Dark, Violet, Orange). Default: White",
32
+ inputPadding: "internal padding. Default: '10px 24px'",
33
+ required: "required",
34
+ examples: "Examples:",
35
+ exampleWhiteHover: "White with hover text",
36
+ exampleViolet: "Violet",
37
+ exampleOrange: "Orange",
38
+ exampleGray: "Gray",
39
+ exampleDark: "Dark"
40
+ }
41
+ };
42
+ var loaders = {
43
+ title: "Duck Dev UI Library - Loader Components",
44
+ classic: {
45
+ title: "Loader Classic",
46
+ description: "Classic animated spinner with rotating circular border. Perfect for indicating content loading, asynchronous operations, and waiting for server responses.",
47
+ usage: "Usage:",
48
+ inputs: "Input Parameters:",
49
+ inputNone: "Component has no input parameters",
50
+ inputCss: "Size and color can be configured via CSS variables",
51
+ examples: "Examples:",
52
+ exampleStandard: "Standard view"
53
+ },
54
+ textBubble: {
55
+ title: "Loader Text Bubble",
56
+ description: "Animated loader with \"Load ng\" text and bubble effect. Perfect for creating unique visual experience when loading Angular applications. Text animates with appearance and color change effects.",
57
+ usage: "Usage:",
58
+ inputs: "Input Parameters:",
59
+ inputNone: "Component has no input parameters",
60
+ inputFixed: "Displays fixed text \"Load ng\"",
61
+ inputCss: "Styling via CSS",
62
+ examples: "Examples:",
63
+ exampleStandard: "Standard view"
64
+ },
65
+ threeDots: {
66
+ title: "Loader Three Dots",
67
+ description: "Loader with three dots animation. Simple and minimalist loading indicator that works well in limited space. (Component in development)",
68
+ usage: "Usage:",
69
+ inputs: "Input Parameters:",
70
+ inputNone: "Component has no input parameters",
71
+ inputCss: "Configuration via CSS",
72
+ examples: "Examples:"
73
+ }
74
+ };
75
+ var tabsComponent = {
76
+ title: "Duck Dev UI Library - Tabs Component",
77
+ tab: {
78
+ title: "Duck Dev Tab",
79
+ description: "Tab component with animated transitions between content. Supports signal-based input/output, automatic switching with left/right animation depending on direction. Perfect for organizing content into categories and creating interactive interfaces.",
80
+ usage: "Usage:",
81
+ usageText1: "To use the component, import DuckDevTab and DuckDevTabItem from 'duck-dev-lib' library.",
82
+ usageText2: "Create an array of tabs with id and label fields, pass it to the component via input [tabs].",
83
+ usageText3: "Use ng-content to place tab content inside the component.",
84
+ inputs: "Input Parameters:",
85
+ inputTabs: "array of objects of type DuckDevTabItem[] with fields:",
86
+ inputTabsId: "unique tab identifier",
87
+ inputTabsLabel: "text on tab button",
88
+ inputTabsContent: "additional data",
89
+ required: "required",
90
+ optional: "optional",
91
+ outputs: "Output Events:",
92
+ outputTabChange: "event that fires when switching tabs. Returns the current active tab object (DuckDevTabItem)",
93
+ features: "Features:",
94
+ feature1: "Animated transitions between tabs (slide left/right)",
95
+ feature2: "Animated active tab indicator",
96
+ feature3: "Signal-based architecture (input/output functions instead of decorators)",
97
+ feature4: "Automatic animation direction detection",
98
+ feature5: "ng-content support for content placement",
99
+ feature6: "Modern Angular syntax (new directives)",
100
+ feature7: "Responsive design",
101
+ api: "TypeScript interface DuckDevTabItem:",
102
+ apiId: "unique tab identifier",
103
+ apiLabel: "text on tab button",
104
+ apiContent: "optional additional data",
105
+ implementation: "Integration Example:",
106
+ implementation1: "Import DuckDevTab and DuckDevTabItem from 'duck-dev-lib'",
107
+ implementation2: "Create an array of tabs in the component",
108
+ implementation3: "Use signal to store active tab",
109
+ implementation4: "Handle tabChange event to switch content",
110
+ implementation5: "Place tab content inside the component using conditional blocks"
111
+ }
112
+ };
113
+ var en = {
114
+ tabs: tabs,
115
+ buttons: buttons,
116
+ loaders: loaders,
117
+ tabsComponent: tabsComponent
118
+ };
119
+
120
+ export { buttons, en as default, loaders, tabs, tabsComponent };
121
+ //# sourceMappingURL=duck-dev-lib-en-Bp-dlVHg.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duck-dev-lib-en-Bp-dlVHg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,121 @@
1
+ var tabs = {
2
+ buttons: "Кнопки",
3
+ loaders: "Загрузчики",
4
+ tabs: "Вкладки"
5
+ };
6
+ var buttons = {
7
+ title: "Duck Dev UI Library - Компоненты кнопок",
8
+ glideOver: {
9
+ title: "Button Glide Over",
10
+ description: "Кнопка с анимированной стрелкой, которая \"выезжает\" при наведении. Идеально подходит для призывов к действию (CTA) и навигационных элементов.",
11
+ usage: "Использование:",
12
+ inputs: "Входные параметры:",
13
+ inputTextButton: "текст на кнопке",
14
+ inputColorButton: "цветовая схема (White, Gray, Dark, Violet, Orange). По умолчанию: White",
15
+ inputPadding: "внутренние отступы. По умолчанию: '10px 24px'",
16
+ required: "обязательный",
17
+ examples: "Примеры:",
18
+ exampleWhite: "White (по умолчанию)",
19
+ exampleViolet: "Violet",
20
+ exampleOrange: "Orange",
21
+ exampleGray: "Gray",
22
+ exampleDark: "Dark"
23
+ },
24
+ blurLift: {
25
+ title: "Button Blur Lift",
26
+ description: "Кнопка с эффектом размытия и \"подъема\" текста при наведении. При наведении основной текст размывается и появляется альтернативный текст. Отлично подходит для интерактивных элементов с двойным сообщением.",
27
+ usage: "Использование:",
28
+ inputs: "Входные параметры:",
29
+ inputTextButton: "основной текст кнопки",
30
+ inputHoverText: "текст, который появляется при наведении. Если не указан, используется textButton",
31
+ inputColorButton: "цветовая схема (White, Gray, Dark, Violet, Orange). По умолчанию: White",
32
+ inputPadding: "внутренние отступы. По умолчанию: '10px 24px'",
33
+ required: "обязательный",
34
+ examples: "Примеры:",
35
+ exampleWhiteHover: "White с hover текстом",
36
+ exampleViolet: "Violet",
37
+ exampleOrange: "Orange",
38
+ exampleGray: "Gray",
39
+ exampleDark: "Dark"
40
+ }
41
+ };
42
+ var loaders = {
43
+ title: "Duck Dev UI Library - Компоненты загрузки (Loaders)",
44
+ classic: {
45
+ title: "Loader Classic",
46
+ description: "Классический анимированный спиннер с вращающейся круговой границей. Идеально подходит для индикации загрузки контента, асинхронных операций и ожидания ответа от сервера.",
47
+ usage: "Использование:",
48
+ inputs: "Входные параметры:",
49
+ inputNone: "Компонент не имеет входных параметров",
50
+ inputCss: "Размер и цвет можно настроить через CSS переменные",
51
+ examples: "Примеры:",
52
+ exampleStandard: "Стандартный вид"
53
+ },
54
+ textBubble: {
55
+ title: "Loader Text Bubble",
56
+ description: "Анимированный загрузчик с текстом \"Load ng\" и эффектом пузырей. Отлично подходит для создания уникального визуального опыта при загрузке Angular-приложений. Текст анимируется с эффектом появления и изменения цвета.",
57
+ usage: "Использование:",
58
+ inputs: "Входные параметры:",
59
+ inputNone: "Компонент не имеет входных параметров",
60
+ inputFixed: "Отображает фиксированный текст \"Load ng\"",
61
+ inputCss: "Стилизация через CSS",
62
+ examples: "Примеры:",
63
+ exampleStandard: "Стандартный вид"
64
+ },
65
+ threeDots: {
66
+ title: "Loader Three Dots",
67
+ description: "Загрузчик с анимацией трех точек. Простой и минималистичный индикатор загрузки, который хорошо работает в ограниченном пространстве. (Компонент в разработке)",
68
+ usage: "Использование:",
69
+ inputs: "Входные параметры:",
70
+ inputNone: "Компонент не имеет входных параметров",
71
+ inputCss: "Настройка через CSS",
72
+ examples: "Примеры:"
73
+ }
74
+ };
75
+ var tabsComponent = {
76
+ title: "Duck Dev UI Library - Компонент вкладок (Tabs)",
77
+ tab: {
78
+ title: "Duck Dev Tab",
79
+ description: "Компонент вкладок с анимированными переходами между контентом. Поддерживает signal-based input/output, автоматическое переключение с анимацией влево/вправо в зависимости от направления. Идеально подходит для организации контента в категории и создания интерактивных интерфейсов.",
80
+ usage: "Использование:",
81
+ usageText1: "Для использования компонента импортируйте DuckDevTab и DuckDevTabItem из библиотеки 'duck-dev-lib'.",
82
+ usageText2: "Создайте массив вкладок с полями id и label, передайте его в компонент через input [tabs].",
83
+ usageText3: "Используйте ng-content для размещения контента вкладок внутри компонента.",
84
+ inputs: "Входные параметры:",
85
+ inputTabs: "массив объектов типа DuckDevTabItem[] с полями:",
86
+ inputTabsId: "уникальный идентификатор вкладки",
87
+ inputTabsLabel: "текст на кнопке вкладки",
88
+ inputTabsContent: "дополнительные данные",
89
+ required: "обязательный",
90
+ optional: "опционально",
91
+ outputs: "Выходные события:",
92
+ outputTabChange: "событие, которое срабатывает при переключении вкладки. Возвращает объект текущей активной вкладки (DuckDevTabItem)",
93
+ features: "Особенности:",
94
+ feature1: "Анимированные переходы между вкладками (слайд влево/вправо)",
95
+ feature2: "Анимированный индикатор активной вкладки",
96
+ feature3: "Signal-based архитектура (input/output функции вместо декораторов)",
97
+ feature4: "Автоматическое определение направления анимации",
98
+ feature5: "Поддержка ng-content для размещения контента",
99
+ feature6: "Современный синтаксис Angular (новые директивы)",
100
+ feature7: "Адаптивный дизайн",
101
+ api: "TypeScript интерфейс DuckDevTabItem:",
102
+ apiId: "уникальный идентификатор вкладки",
103
+ apiLabel: "текст на кнопке вкладки",
104
+ apiContent: "опциональные дополнительные данные",
105
+ implementation: "Пример интеграции:",
106
+ implementation1: "Импортируйте DuckDevTab и DuckDevTabItem из 'duck-dev-lib'",
107
+ implementation2: "Создайте массив вкладок в компоненте",
108
+ implementation3: "Используйте signal для хранения активной вкладки",
109
+ implementation4: "Обработайте событие tabChange для переключения контента",
110
+ implementation5: "Разместите контент вкладок внутри компонента используя условные блоки"
111
+ }
112
+ };
113
+ var ru = {
114
+ tabs: tabs,
115
+ buttons: buttons,
116
+ loaders: loaders,
117
+ tabsComponent: tabsComponent
118
+ };
119
+
120
+ export { buttons, ru as default, loaders, tabs, tabsComponent };
121
+ //# sourceMappingURL=duck-dev-lib-ru-BESv0nFL.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duck-dev-lib-ru-BESv0nFL.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}