@n8n/design-system 2.40.0 → 2.41.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.
- package/dist/components/N8nActionDropdown/ActionDropdown.types.d.ts +1 -0
- package/dist/components/N8nBadge/Badge.type.d.ts +13 -0
- package/dist/components/N8nBadge/Badge.vue.d.ts +10 -13
- package/dist/components/N8nBreadcrumbs/Breadcrumbs.vue.d.ts +1 -1
- package/dist/components/N8nButtonList/ButtonList.types.d.ts +2 -0
- package/dist/components/N8nButtonList/ButtonList.vue.d.ts +1 -0
- package/dist/components/N8nButtonList/index.d.ts +1 -1
- package/dist/components/N8nChatInput/ChatInput.vue.d.ts +2 -0
- package/dist/components/N8nContextMenu/ContextMenu.constants.d.ts +4 -0
- package/dist/components/N8nContextMenu/ContextMenu.types.d.ts +105 -0
- package/dist/components/N8nContextMenu/ContextMenu.utils.d.ts +5 -0
- package/dist/components/N8nContextMenu/ContextMenu.vue.d.ts +25 -0
- package/dist/components/N8nContextMenu/ContextMenuBody.vue.d.ts +23 -0
- package/dist/components/N8nContextMenu/ContextMenuItem.vue.d.ts +23 -0
- package/dist/components/N8nContextMenu/ContextMenuItemContent.vue.d.ts +26 -0
- package/dist/components/N8nContextMenu/ContextMenuNodes.vue.d.ts +21 -0
- package/dist/components/N8nContextMenu/index.d.ts +3 -0
- package/dist/components/N8nDialog/Dialog.vue.d.ts +1 -0
- package/dist/components/N8nDropdownMenu/DropdownMenu.types.d.ts +28 -0
- package/dist/components/N8nDropdownMenu/DropdownMenu.vue.d.ts +2 -0
- package/dist/components/N8nDropdownMenu/DropdownMenuItem.vue.d.ts +2 -1
- package/dist/components/N8nDropdownMenu/DropdownMenuItems.vue.d.ts +2 -1
- package/dist/components/N8nDropdownMenu/DropdownMenuSearchableContent.vue.d.ts +6 -2
- package/dist/components/N8nDropdownMenu/index.d.ts +1 -1
- package/dist/components/N8nIcon/icons.d.ts +3 -0
- package/dist/components/N8nMarkdownEditor/MarkdownEditor.types.d.ts +2 -0
- package/dist/components/N8nMarkdownEditor/MarkdownEditor.vue.d.ts +1 -0
- package/dist/components/N8nMarkdownEditor/MarkdownEditorExpandedViewButton.vue.d.ts +18 -0
- package/dist/components/N8nMarkdownEditor/MarkdownEditorToolbar.vue.d.ts +4 -0
- package/dist/components/N8nSelect/Select.vue.d.ts +2 -2
- package/dist/components/N8nSelectedItemsInfo/SelectedItemsInfo.vue.d.ts +22 -0
- package/dist/components/N8nSelectedItemsInfo/index.d.ts +3 -0
- package/dist/components/N8nTimeAgo/TimeAgo.vue.d.ts +12 -0
- package/dist/components/N8nTimeAgo/index.d.ts +3 -0
- package/dist/components/index.d.ts +12 -4
- package/dist/css/mixins/motion.scss +10 -0
- package/dist/{en-BVSQYf2U.js → en-CY7wsD9g.js} +11 -1
- package/dist/index.js +6518 -5221
- package/dist/style.css +1 -1
- package/dist/theme.css +1 -1
- package/dist/types/index.d.ts +0 -1
- package/package.json +5 -3
- package/dist/components/N8nActionPill/ActionPill.vue.d.ts +0 -32
- package/dist/types/badge.d.ts +0 -3
- /package/dist/components/{PreviewTag/PreviewTag.vue.d.ts → PreviewBadge/PreviewBadge.vue.d.ts} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface TimeAgoProps {
|
|
2
|
+
date: string;
|
|
3
|
+
capitalize?: boolean;
|
|
4
|
+
locale?: string;
|
|
5
|
+
live?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<TimeAgoProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TimeAgoProps> & Readonly<{}>, {
|
|
8
|
+
capitalize: boolean;
|
|
9
|
+
live: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -8,12 +8,17 @@ export { default as N8nActionToggle } from './N8nActionToggle';
|
|
|
8
8
|
export { default as N8nDropdownMenu } from './N8nDropdownMenu/DropdownMenu.vue';
|
|
9
9
|
export { default as N8nDropdownMenuItem } from './N8nDropdownMenu/DropdownMenuItem.vue';
|
|
10
10
|
export { useDropdownSearch } from './N8nDropdownMenu/composables/useDropdownSearch';
|
|
11
|
+
export { default as N8nContextMenu } from './N8nContextMenu/ContextMenu.vue';
|
|
12
|
+
export { default as N8nContextMenuItem } from './N8nContextMenu/ContextMenuItem.vue';
|
|
13
|
+
export type { ContextMenuId, ContextMenuItem, ContextMenuRadio, ContextMenuCheckbox, ContextMenuGroup, ContextMenuSubmenu, ContextMenuRadioGroup, ContextMenuNode, ContextMenuLeaf, ContextMenuProps, ContextMenuEmits, ContextMenuSlots, ContextMenuItemProps, ContextMenuItemEmits, ContextMenuItemSlots, } from './N8nContextMenu/ContextMenu.types';
|
|
11
14
|
export { default as N8nAiModelSelectorDropdown } from './N8nAiModelSelectorDropdown';
|
|
12
15
|
export type { AiModelSelectorMenuItem, AiModelSelectorMenuItemData, } from './N8nAiModelSelectorDropdown';
|
|
13
|
-
export type { DropdownMenuProps, DropdownMenuItemProps, DropdownMenuSlots, DropdownMenuItemSlots, DropdownMenuEmits, DropdownMenuTrigger, DropdownMenuPlacement, } from './N8nDropdownMenu/DropdownMenu.types';
|
|
16
|
+
export type { DropdownMenuProps, DropdownMenuItemProps, DropdownMenuSlots, DropdownMenuItemSlots, DropdownMenuEmits, DropdownMenuExposed, DropdownMenuSearchMode, DropdownMenuTrigger, DropdownMenuPlacement, } from './N8nDropdownMenu/DropdownMenu.types';
|
|
14
17
|
export { default as N8nAlert } from './N8nAlert';
|
|
15
18
|
export { default as N8nAvatar } from './N8nAvatar';
|
|
16
19
|
export { default as N8nBadge } from './N8nBadge';
|
|
20
|
+
export { BADGE_SIZE, BADGE_VARIANT } from './N8nBadge/Badge.type';
|
|
21
|
+
export type { BadgeProps, BadgeSize, BadgeVariant } from './N8nBadge/Badge.type';
|
|
17
22
|
export { default as N8nBlockUi } from './N8nBlockUi';
|
|
18
23
|
export { default as N8nButton } from './N8nButton';
|
|
19
24
|
export { default as N8nSetupPanel } from './N8nSetupPanel/SetupPanel.vue';
|
|
@@ -21,7 +26,7 @@ export type { SetupPanelItem, SetupPanelProps } from './N8nSetupPanel/SetupPanel
|
|
|
21
26
|
export { default as N8nSetupConnection } from './N8nSetupConnection/SetupConnection.vue';
|
|
22
27
|
export type { SetupConnectionProps } from './N8nSetupConnection/SetupConnection.types';
|
|
23
28
|
export { default as N8nButtonList } from './N8nButtonList';
|
|
24
|
-
export type { ButtonListOrientation, ButtonListProps } from './N8nButtonList';
|
|
29
|
+
export type { ButtonListOrientation, ButtonListProps, ButtonListVariant } from './N8nButtonList';
|
|
25
30
|
export { default as N8nCallout } from './N8nCallout';
|
|
26
31
|
export { default as N8nCanvasThinkingPill } from './CanvasThinkingPill';
|
|
27
32
|
export { default as N8nCanvasPill } from './CanvasPill';
|
|
@@ -66,6 +71,8 @@ export { default as N8nOption } from './N8nOption';
|
|
|
66
71
|
export { default as N8nPagination } from './N8nPagination';
|
|
67
72
|
export { default as N8nSectionHeader } from './N8nSectionHeader';
|
|
68
73
|
export { default as N8nSelectableList } from './N8nSelectableList';
|
|
74
|
+
export { default as N8nSelectedItemsInfo } from './N8nSelectedItemsInfo';
|
|
75
|
+
export type { SelectedItemsInfoProps } from './N8nSelectedItemsInfo';
|
|
69
76
|
export { default as N8nSettingsLayout } from './N8nSettingsLayout';
|
|
70
77
|
export type { SettingsLayoutProps } from './N8nSettingsLayout';
|
|
71
78
|
export { default as N8nSettingsPageHeader } from './N8nSettingsPageHeader';
|
|
@@ -80,8 +87,7 @@ export { default as N8nSettingsSaveBar } from './N8nSettingsSaveBar';
|
|
|
80
87
|
export type { SettingsSaveBarProps } from './N8nSettingsSaveBar';
|
|
81
88
|
export { default as N8nSettingsSection } from './N8nSettingsSection';
|
|
82
89
|
export type { SettingsSectionProps } from './N8nSettingsSection';
|
|
83
|
-
export { default as
|
|
84
|
-
export { default as N8nActionPill } from './N8nActionPill/ActionPill.vue';
|
|
90
|
+
export { default as N8nPreviewBadge } from './PreviewBadge/PreviewBadge.vue';
|
|
85
91
|
export { default as N8nPopover } from './N8nPopover';
|
|
86
92
|
export { default as N8nPopoverReka } from './N8nPopover';
|
|
87
93
|
export { default as N8nChatInput, useChatInputAutoFocus, type ChatInputAutoFocusOptions, type ChatInputAutoFocusTarget, } from './N8nChatInput';
|
|
@@ -108,6 +114,8 @@ export { default as N8nTabs } from './N8nTabs';
|
|
|
108
114
|
export { default as N8nTag } from './N8nTag';
|
|
109
115
|
export { default as N8nTags } from './N8nTags';
|
|
110
116
|
export { default as N8nText } from './N8nText';
|
|
117
|
+
export { default as N8nTimeAgo } from './N8nTimeAgo';
|
|
118
|
+
export type { TimeAgoProps } from './N8nTimeAgo';
|
|
111
119
|
export { default as N8nTooltip } from './N8nTooltip';
|
|
112
120
|
export type { N8nTooltipProps, N8nTooltipSlots } from './N8nTooltip';
|
|
113
121
|
export { default as N8nAiActivityStepButton } from './N8nAiActivityStepButton';
|
|
@@ -209,10 +209,12 @@ $blur-motion-easing: cubic-bezier(0.32, 0.72, 0, 1);
|
|
|
209
209
|
from {
|
|
210
210
|
opacity: 0;
|
|
211
211
|
transform: translateY(var(--animation--fade-in--translate, 8px));
|
|
212
|
+
filter: blur(var(--animation--fade-in--blur, var(--spacing--5xs)));
|
|
212
213
|
}
|
|
213
214
|
to {
|
|
214
215
|
opacity: 1;
|
|
215
216
|
transform: translateY(0);
|
|
217
|
+
filter: blur(0);
|
|
216
218
|
}
|
|
217
219
|
}
|
|
218
220
|
|
|
@@ -370,10 +372,12 @@ $blur-motion-easing: cubic-bezier(0.32, 0.72, 0, 1);
|
|
|
370
372
|
from {
|
|
371
373
|
opacity: 0;
|
|
372
374
|
transform: translateY(var(--animation--fade-in-up--translate, var(--spacing--4xs)));
|
|
375
|
+
filter: blur(var(--animation--fade-in-up--blur, var(--spacing--5xs)));
|
|
373
376
|
}
|
|
374
377
|
to {
|
|
375
378
|
opacity: 1;
|
|
376
379
|
transform: translateY(0);
|
|
380
|
+
filter: blur(0);
|
|
377
381
|
}
|
|
378
382
|
}
|
|
379
383
|
|
|
@@ -392,10 +396,12 @@ $blur-motion-easing: cubic-bezier(0.32, 0.72, 0, 1);
|
|
|
392
396
|
transform: translateY(
|
|
393
397
|
calc(-1 * var(--animation--fade-in-down--translate, var(--spacing--4xs)))
|
|
394
398
|
);
|
|
399
|
+
filter: blur(var(--animation--fade-in-down--blur, var(--spacing--5xs)));
|
|
395
400
|
}
|
|
396
401
|
to {
|
|
397
402
|
opacity: 1;
|
|
398
403
|
transform: translateY(0);
|
|
404
|
+
filter: blur(0);
|
|
399
405
|
}
|
|
400
406
|
}
|
|
401
407
|
|
|
@@ -414,10 +420,12 @@ $blur-motion-easing: cubic-bezier(0.32, 0.72, 0, 1);
|
|
|
414
420
|
transform: translateX(
|
|
415
421
|
calc(-1 * var(--animation--fade-in-left--translate, var(--spacing--4xs)))
|
|
416
422
|
);
|
|
423
|
+
filter: blur(var(--animation--fade-in-left--blur, var(--spacing--5xs)));
|
|
417
424
|
}
|
|
418
425
|
to {
|
|
419
426
|
opacity: 1;
|
|
420
427
|
transform: translateX(0);
|
|
428
|
+
filter: blur(0);
|
|
421
429
|
}
|
|
422
430
|
}
|
|
423
431
|
|
|
@@ -434,10 +442,12 @@ $blur-motion-easing: cubic-bezier(0.32, 0.72, 0, 1);
|
|
|
434
442
|
from {
|
|
435
443
|
opacity: 0;
|
|
436
444
|
transform: translateX(var(--animation--fade-in-right--translate, var(--spacing--4xs)));
|
|
445
|
+
filter: blur(var(--animation--fade-in-right--blur, var(--spacing--5xs)));
|
|
437
446
|
}
|
|
438
447
|
to {
|
|
439
448
|
opacity: 1;
|
|
440
449
|
transform: translateX(0);
|
|
450
|
+
filter: blur(0);
|
|
441
451
|
}
|
|
442
452
|
}
|
|
443
453
|
|
|
@@ -16,6 +16,8 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = {
|
|
|
16
16
|
"generic.cancel": "Cancel",
|
|
17
17
|
"generic.close": "Close",
|
|
18
18
|
"generic.moreInfo": "More info",
|
|
19
|
+
"generic.delete": "Delete",
|
|
20
|
+
"menuItem.new": "New",
|
|
19
21
|
"aiModelSelector.credentialsMissing": "Credentials missing",
|
|
20
22
|
"nds.auth.roles.owner": "Owner",
|
|
21
23
|
"nds.userInfo.you": "(you)",
|
|
@@ -47,6 +49,10 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = {
|
|
|
47
49
|
"pagination.pageSizeOption": "{size}/page",
|
|
48
50
|
"pagination.goTo": "Go to",
|
|
49
51
|
"pagination.goToPage": "Go to page",
|
|
52
|
+
"selectedItemsInfo.selectedOne": "{count} row selected",
|
|
53
|
+
"selectedItemsInfo.selectedMany": "{count} rows selected",
|
|
54
|
+
"selectedItemsInfo.clearSelection": "Clear selection",
|
|
55
|
+
"contextMenu.noItems": "No items",
|
|
50
56
|
"codeDiff.couldNotReplace": "Could not replace code",
|
|
51
57
|
"codeDiff.codeReplaced": "Code replaced",
|
|
52
58
|
"codeDiff.replaceMyCode": "Replace my code",
|
|
@@ -59,7 +65,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = {
|
|
|
59
65
|
"codeBlock.copyFailed": "Couldn't copy code. Try again or copy it manually.",
|
|
60
66
|
"codeBlock.expand": "Expand code",
|
|
61
67
|
"codeBlock.collapse": "Collapse code",
|
|
62
|
-
"
|
|
68
|
+
"previewBadge.preview": "Preview",
|
|
63
69
|
"askAssistantButton.askAssistant": "n8n AI",
|
|
64
70
|
"assistantChat.builder.name": "AI Builder",
|
|
65
71
|
"assistantChat.builder.generatingFinalWorkflow": "Generating final workflow...",
|
|
@@ -194,6 +200,7 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = {
|
|
|
194
200
|
"iconPicker.emojiSection.symbols": "Symbols",
|
|
195
201
|
"iconPicker.emojiSection.flags": "Flags",
|
|
196
202
|
"actionDropdown.activator": "Actions",
|
|
203
|
+
"breadcrumbs.showMoreItems": "Show more items",
|
|
197
204
|
"askAssistantChat.close": "Close",
|
|
198
205
|
"sendStopButton.stop": "Stop",
|
|
199
206
|
"sendStopButton.send": "Send",
|
|
@@ -240,6 +247,9 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = {
|
|
|
240
247
|
"markdownEditor.formattedMarkdownView": "Formatted view",
|
|
241
248
|
"markdownEditor.expand": "Expand editor",
|
|
242
249
|
"markdownEditor.collapse": "Collapse editor",
|
|
250
|
+
"markdownEditor.openExpandedView": "Expand editor",
|
|
251
|
+
"markdownEditor.closeExpandedView": "Collapse editor",
|
|
252
|
+
"markdownEditor.expandedViewTitle": "Markdown editor",
|
|
243
253
|
"markdownEditor.linkDialogTitle": "Add link",
|
|
244
254
|
"markdownEditor.linkUrl": "Link URL",
|
|
245
255
|
"markdownEditor.linkPlaceholder": "https://example.com",
|