@n8n/design-system 2.35.3 → 2.36.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 (73) hide show
  1. package/dist/components/N8nDatatable/Datatable.vue.d.ts +1 -1
  2. package/dist/components/N8nFormInput/FormInput.vue.d.ts +1 -1
  3. package/dist/components/N8nIcon/icons.d.ts +1 -0
  4. package/dist/components/N8nIconPicker/IconPicker.utils.d.ts +13 -0
  5. package/dist/components/N8nIconPicker/IconPicker.vue.d.ts +13 -5
  6. package/dist/components/N8nIconPicker/useIconPickerSearch.d.ts +1 -2
  7. package/dist/components/N8nPagination/Pagination.types.d.ts +24 -0
  8. package/dist/components/N8nPagination/Pagination.vue.d.ts +34 -52
  9. package/dist/components/N8nPagination/index.d.ts +2 -0
  10. package/dist/components/N8nPagination/reka-ui.d.ts +2 -0
  11. package/dist/components/N8nSelect/Select.vue.d.ts +7 -7
  12. package/dist/components/N8nToggle/Toggle.vue.d.ts +4 -0
  13. package/dist/css/_tokens.scss +4 -0
  14. package/dist/css/common/var.scss +0 -22
  15. package/dist/css/dialog.scss +8 -23
  16. package/dist/css/index.scss +0 -1
  17. package/dist/css/loading.scss +9 -7
  18. package/dist/css/message-box.scss +8 -23
  19. package/dist/css/mixins/_floating-item.scss +13 -0
  20. package/dist/css/mixins/_popover.scss +80 -0
  21. package/dist/css/mixins/index.scss +2 -0
  22. package/dist/css/mixins/mixins.scss +30 -0
  23. package/dist/css/mixins/motion.scss +7 -0
  24. package/dist/css/skeleton.scss +4 -0
  25. package/dist/{en-Dvx8tZIA.js → en-BrDOZbhj.js} +15 -2
  26. package/dist/icons/lucide/index.d.ts +2 -0
  27. package/dist/icons/lucide/index.js +26 -25
  28. package/dist/index.d.ts +9 -6
  29. package/dist/index.js +9347 -8495
  30. package/dist/{lucideIconData-B3lNk4Jv.js → lucideIconData-CKJ1do82.js} +2 -2
  31. package/dist/plugin-DT0YTbz-.js +35 -0
  32. package/dist/plugin.js +2 -0
  33. package/dist/style.css +1 -1
  34. package/dist/theme.css +1 -1
  35. package/dist/useIconBodyLoader-TKQVcLVc.js +8 -0
  36. package/dist/v2/components/Combobox/Combobox.types.d.ts +67 -0
  37. package/dist/v2/components/Combobox/Combobox.vue.d.ts +304 -0
  38. package/dist/v2/components/Combobox/ComboboxItem.vue.d.ts +17 -0
  39. package/dist/v2/components/Combobox/index.d.ts +3 -0
  40. package/dist/v2/components/Combobox/reka-ui.d.ts +2 -0
  41. package/dist/v2/components/TagsInput/TagsInput.types.d.ts +7 -3
  42. package/dist/v2/components/TagsInput/TagsInput.vue.d.ts +6 -3
  43. package/package.json +9 -5
  44. package/dist/components/N8nRadioButtons/RadioButtons.types.d.ts +0 -13
  45. package/dist/css/pagination.scss +0 -534
  46. package/dist/en-CIboFQvZ.js +0 -2
  47. package/dist/v2/components/Pagination/Pagination.types.d.ts +0 -49
  48. package/dist/v2/components/Pagination/Pagination.vue.d.ts +0 -45
  49. /package/dist/{v2/components/RadioGroup → components/N8nRadioGroup}/RadioGroup.types.d.ts +0 -0
  50. /package/dist/{v2/components/RadioGroup → components/N8nRadioGroup}/RadioGroup.vue.d.ts +0 -0
  51. /package/dist/{v2/components/RadioGroup → components/N8nRadioGroup}/RadioGroupItem.types.d.ts +0 -0
  52. /package/dist/{v2/components/RadioGroup → components/N8nRadioGroup}/RadioGroupItem.vue.d.ts +0 -0
  53. /package/dist/{v2/components/RadioGroup → components/N8nRadioGroup}/index.d.ts +0 -0
  54. /package/dist/{v2/components/RadioGroup → components/N8nRadioGroup}/radio-group-context.d.ts +0 -0
  55. /package/dist/{v2/components/RadioGroup → components/N8nRadioGroup}/reka-ui.d.ts +0 -0
  56. /package/dist/{emojiData-DjghW_MV.js → emojiData-zOxnhmb7.js} +0 -0
  57. /package/dist/{lucide-icons-bucket-0-_FAUqb7V.js → lucide-icons-bucket-0-DqyR_rVv.js} +0 -0
  58. /package/dist/{lucide-icons-bucket-1-Di6-h4oX.js → lucide-icons-bucket-1-Bm-V3uZ6.js} +0 -0
  59. /package/dist/{lucide-icons-bucket-10-Cbet_3-P.js → lucide-icons-bucket-10-DiRCwi50.js} +0 -0
  60. /package/dist/{lucide-icons-bucket-11-DXByO0iR.js → lucide-icons-bucket-11-Ds8QwYDh.js} +0 -0
  61. /package/dist/{lucide-icons-bucket-12-BgdKhqIx.js → lucide-icons-bucket-12-D9Z8UvgY.js} +0 -0
  62. /package/dist/{lucide-icons-bucket-13-CPZPIjuP.js → lucide-icons-bucket-13-C9gGGcMo.js} +0 -0
  63. /package/dist/{lucide-icons-bucket-14-CoBYaDIN.js → lucide-icons-bucket-14-BWliLnR1.js} +0 -0
  64. /package/dist/{lucide-icons-bucket-15-eHHlEyaM.js → lucide-icons-bucket-15-CLY5CBLS.js} +0 -0
  65. /package/dist/{lucide-icons-bucket-2-1f3EoyT5.js → lucide-icons-bucket-2-CbY7fxwP.js} +0 -0
  66. /package/dist/{lucide-icons-bucket-3-GJHLvy9q.js → lucide-icons-bucket-3-BETKMrI1.js} +0 -0
  67. /package/dist/{lucide-icons-bucket-4-4gywAul8.js → lucide-icons-bucket-4-BPArXNh5.js} +0 -0
  68. /package/dist/{lucide-icons-bucket-5-4iCem2l-.js → lucide-icons-bucket-5-BieAWTJB.js} +0 -0
  69. /package/dist/{lucide-icons-bucket-6-iE4ywa_E.js → lucide-icons-bucket-6-AleswO1A.js} +0 -0
  70. /package/dist/{lucide-icons-bucket-7-BPXrMpDj.js → lucide-icons-bucket-7-D80iZbJz.js} +0 -0
  71. /package/dist/{lucide-icons-bucket-8-DbHwuUDR.js → lucide-icons-bucket-8-pvdXrKbw.js} +0 -0
  72. /package/dist/{lucide-icons-bucket-9-DYv2gFrZ.js → lucide-icons-bucket-9-by9vBB8Z.js} +0 -0
  73. /package/dist/{node-icons-C_zc8eJj.js → node-icons-CaKBLFvs.js} +0 -0
@@ -1,3 +1,10 @@
1
+ @mixin reduced-motion {
2
+ @media (prefers-reduced-motion: reduce) {
3
+ animation: none;
4
+ transition: none;
5
+ }
6
+ }
7
+
1
8
  // Shimmer - animated gradient for loading/skeleton states
2
9
  @mixin shimmer {
3
10
  background: linear-gradient(
@@ -1,3 +1,5 @@
1
+ @use 'mixins/motion';
2
+
1
3
  .el-skeleton {
2
4
  width: 100%;
3
5
  }
@@ -78,6 +80,8 @@
78
80
  background-size: 400% 100%;
79
81
  -webkit-animation: el-skeleton-loading 1.4s ease infinite;
80
82
  animation: el-skeleton-loading 1.4s ease infinite;
83
+
84
+ @include motion.reduced-motion;
81
85
  }
82
86
 
83
87
  @-webkit-keyframes el-skeleton-loading {
@@ -1,5 +1,6 @@
1
+ import { i as e } from "./plugin-DT0YTbz-.js";
1
2
  //#region src/locale/lang/en.ts
2
- var e = {
3
+ var t = /* @__PURE__ */ e({ default: () => n }), n = {
3
4
  "generic.retry": "Retry",
4
5
  "generic.cancel": "Cancel",
5
6
  "generic.close": "Close",
@@ -23,6 +24,13 @@ var e = {
23
24
  "sticky.markdownHint": "You can style with <a href=\"https://docs.n8n.io/workflows/components/sticky-notes/\" target=\"_blank\">Markdown</a>",
24
25
  "tags.showMore": (e) => `+${e} more`,
25
26
  "datatable.pageSize": "Page size",
27
+ "pagination.previousPage": "Previous page",
28
+ "pagination.nextPage": "Next page",
29
+ "pagination.total": "Total {total}",
30
+ "pagination.pageSize": "Page size",
31
+ "pagination.pageSizeOption": "{size}/page",
32
+ "pagination.goTo": "Go to",
33
+ "pagination.goToPage": "Go to page",
26
34
  "codeDiff.couldNotReplace": "Could not replace code",
27
35
  "codeDiff.codeReplaced": "Code replaced",
28
36
  "codeDiff.replaceMyCode": "Replace my code",
@@ -186,6 +194,11 @@ var e = {
186
194
  "collapsiblePanel.expand": "Expand",
187
195
  "collapsiblePanel.dragToReorder": "Drag to reorder",
188
196
  "collapsiblePanel.delete": "Delete",
197
+ "combobox.clearSelection": "Clear selection",
198
+ "combobox.showPopup": "Show popup",
199
+ "combobox.placeholder": "Select an option",
200
+ "combobox.emptyText": "No results found.",
201
+ "tagsInput.removeTag": "Remove {tag}",
189
202
  "markdownEditor.bold": "Bold",
190
203
  "markdownEditor.italic": "Italic",
191
204
  "markdownEditor.strikethrough": "Strikethrough",
@@ -226,4 +239,4 @@ var e = {
226
239
  "aiAssistant.versionCard.restoreModal.restore": "Restore"
227
240
  };
228
241
  //#endregion
229
- export { e as t };
242
+ export { t as n, n as t };
@@ -1,2 +1,4 @@
1
1
  import { IconBodyLoader } from '../../composables/useIconBodyLoader';
2
+ export { IconBodyLoaderKey } from '../../composables/useIconBodyLoader';
3
+ export type { IconBodyLoader } from '../../composables/useIconBodyLoader';
2
4
  export declare const loadLucideIconBody: IconBodyLoader;
@@ -1,37 +1,38 @@
1
+ import { t as e } from "../../useIconBodyLoader-TKQVcLVc.js";
1
2
  //#region \0virtual:lucide-icons
2
- var e = [
3
- () => import("../../lucide-icons-bucket-0-_FAUqb7V.js"),
4
- () => import("../../lucide-icons-bucket-1-Di6-h4oX.js"),
5
- () => import("../../lucide-icons-bucket-2-1f3EoyT5.js"),
6
- () => import("../../lucide-icons-bucket-3-GJHLvy9q.js"),
7
- () => import("../../lucide-icons-bucket-4-4gywAul8.js"),
8
- () => import("../../lucide-icons-bucket-5-4iCem2l-.js"),
9
- () => import("../../lucide-icons-bucket-6-iE4ywa_E.js"),
10
- () => import("../../lucide-icons-bucket-7-BPXrMpDj.js"),
11
- () => import("../../lucide-icons-bucket-8-DbHwuUDR.js"),
12
- () => import("../../lucide-icons-bucket-9-DYv2gFrZ.js"),
13
- () => import("../../lucide-icons-bucket-10-Cbet_3-P.js"),
14
- () => import("../../lucide-icons-bucket-11-DXByO0iR.js"),
15
- () => import("../../lucide-icons-bucket-12-BgdKhqIx.js"),
16
- () => import("../../lucide-icons-bucket-13-CPZPIjuP.js"),
17
- () => import("../../lucide-icons-bucket-14-CoBYaDIN.js"),
18
- () => import("../../lucide-icons-bucket-15-eHHlEyaM.js")
3
+ var t = [
4
+ () => import("../../lucide-icons-bucket-0-DqyR_rVv.js"),
5
+ () => import("../../lucide-icons-bucket-1-Bm-V3uZ6.js"),
6
+ () => import("../../lucide-icons-bucket-2-CbY7fxwP.js"),
7
+ () => import("../../lucide-icons-bucket-3-BETKMrI1.js"),
8
+ () => import("../../lucide-icons-bucket-4-BPArXNh5.js"),
9
+ () => import("../../lucide-icons-bucket-5-BieAWTJB.js"),
10
+ () => import("../../lucide-icons-bucket-6-AleswO1A.js"),
11
+ () => import("../../lucide-icons-bucket-7-D80iZbJz.js"),
12
+ () => import("../../lucide-icons-bucket-8-pvdXrKbw.js"),
13
+ () => import("../../lucide-icons-bucket-9-by9vBB8Z.js"),
14
+ () => import("../../lucide-icons-bucket-10-DiRCwi50.js"),
15
+ () => import("../../lucide-icons-bucket-11-Ds8QwYDh.js"),
16
+ () => import("../../lucide-icons-bucket-12-D9Z8UvgY.js"),
17
+ () => import("../../lucide-icons-bucket-13-C9gGGcMo.js"),
18
+ () => import("../../lucide-icons-bucket-14-BWliLnR1.js"),
19
+ () => import("../../lucide-icons-bucket-15-CLY5CBLS.js")
19
20
  ];
20
- function t(e) {
21
+ function n(e) {
21
22
  let t = 2166136261;
22
23
  for (let n = 0; n < e.length; n++) t ^= e.charCodeAt(n), t = Math.imul(t, 16777619);
23
24
  return (t >>> 0) % 16;
24
25
  }
25
26
  //#endregion
26
27
  //#region src/icons/lucide/index.ts
27
- var n = /* @__PURE__ */ new Map(), r = async (r) => {
28
- let i = t(r), a = n.get(i);
28
+ var r = /* @__PURE__ */ new Map(), i = async (e) => {
29
+ let i = n(e), a = r.get(i);
29
30
  if (!a) {
30
- let t = e[i];
31
- if (!t) return null;
32
- a = t().then((e) => e.default), n.set(i, a), a.catch(() => n.delete(i));
31
+ let e = t[i];
32
+ if (!e) return null;
33
+ a = e().then((e) => e.default), r.set(i, a), a.catch(() => r.delete(i));
33
34
  }
34
- return (await a)[r] ?? null;
35
+ return (await a)[e] ?? null;
35
36
  };
36
37
  //#endregion
37
- export { r as loadLucideIconBody };
38
+ export { e as IconBodyLoaderKey, i as loadLucideIconBody };
package/dist/index.d.ts CHANGED
@@ -16,18 +16,21 @@ export { default as N8nSelect2Item } from './v2/components/Select/SelectItem.vue
16
16
  export type * from './v2/components/Select/Select.types';
17
17
  export { default as N8nCheckbox } from './v2/components/Checkbox/Checkbox.vue';
18
18
  export type * from './v2/components/Checkbox/Checkbox.types';
19
- export { default as N8nPagination2 } from './v2/components/Pagination/Pagination.vue';
20
- export type * from './v2/components/Pagination/Pagination.types';
19
+ export type * from './components/N8nPagination/Pagination.types';
21
20
  export { default as N8nLoading2 } from './v2/components/Loading/Loading.vue';
22
21
  export type * from './v2/components/Loading/Loading.types';
23
22
  export { default as N8nInputNumber2 } from './v2/components/InputNumber/InputNumber.vue';
24
23
  export type * from './v2/components/InputNumber/InputNumber.types';
25
- export { default as N8nRadioGroupItem } from './v2/components/RadioGroup/RadioGroupItem.vue';
26
- export { default as N8nRadioGroup } from './v2/components/RadioGroup/RadioGroup.vue';
27
- export type * from './v2/components/RadioGroup/RadioGroupItem.types';
28
- export type * from './v2/components/RadioGroup/RadioGroup.types';
24
+ export { default as N8nRadioGroupItem } from './components/N8nRadioGroup/RadioGroupItem.vue';
25
+ export { default as N8nRadioGroup } from './components/N8nRadioGroup/RadioGroup.vue';
26
+ export type * from './components/N8nRadioGroup/RadioGroupItem.types';
27
+ export type * from './components/N8nRadioGroup/RadioGroup.types';
29
28
  export { default as N8nTree2 } from './v2/components/Tree/Tree.vue';
30
29
  export type * from './v2/components/Tree/Tree.types';
30
+ export { default as N8nCombobox2 } from './v2/components/Combobox/Combobox.vue';
31
+ export { default as N8nCombobox2Item } from './v2/components/Combobox/ComboboxItem.vue';
32
+ export type { ComboboxItemProps } from 'reka-ui';
33
+ export type { ComboboxEmits, ComboboxGroupItem, ComboboxItem, ComboboxItemSlots, ComboboxOptionBase, ComboboxProps, ComboboxSeparatorItem, ComboboxSizes, ComboboxSlots, ComboboxStructuralItem, ComboboxValue, } from './v2/components/Combobox/Combobox.types';
31
34
  export { default as N8nTagsInput2 } from './v2/components/TagsInput/TagsInput.vue';
32
35
  export { TagsInputInput, TagsInputItemDelete, TagsInputItemText, } from './v2/components/TagsInput/reka-ui';
33
36
  export type * from './v2/components/TagsInput/TagsInput.types';