@n8n/design-system 2.24.2 → 2.26.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/.turbo/turbo-build$colon$unchecked.log +127 -0
- package/biome.jsonc +5 -1
- package/dist/design-system.css +1 -1
- package/dist/emojiData-B2DmDStL.js +24848 -0
- package/dist/en-CQDOOTzf.js +2 -0
- package/dist/{en-cusRXFgs.js → en-CeiJ51z2.js} +77 -1
- package/dist/lucideIconData-D_Sr0JOU.js +22477 -0
- package/dist/n8n-design-system.es.js +15348 -14328
- package/dist/n8n-design-system.umd.js +74 -75
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/vite.config.mts +2 -0
- package/.turbo/turbo-build.log +0 -112
- package/dist/compact-Q0gG5s1Q.js +0 -4
- package/dist/en-CddpS_8k.js +0 -2
- /package/dist/{node-icons-VCyExEKH.js → node-icons-Cn_NF7qq.js} +0 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -7,6 +7,8 @@ export * from './types';
|
|
|
7
7
|
export * from './utils';
|
|
8
8
|
export * from './directives';
|
|
9
9
|
export type { IconOrEmoji } from './components/N8nIconPicker/types';
|
|
10
|
+
export { IconBodyLoaderKey, useInjectIconBodyLoader } from './composables/useIconBodyLoader';
|
|
11
|
+
export type { IconBodyLoader } from './composables/useIconBodyLoader';
|
|
10
12
|
export { default as N8nSelect2 } from './v2/components/Select/Select.vue';
|
|
11
13
|
export { default as N8nSelect2Item } from './v2/components/Select/SelectItem.vue';
|
|
12
14
|
export type * from './v2/components/Select/Select.types';
|
package/vite.config.mts
CHANGED
|
@@ -4,6 +4,7 @@ import { defineConfig, mergeConfig } from 'vite';
|
|
|
4
4
|
import icons from 'unplugin-icons/vite';
|
|
5
5
|
import { vitestConfig } from '@n8n/vitest-config/frontend';
|
|
6
6
|
import svgLoader from 'vite-svg-loader';
|
|
7
|
+
import { lucideIconsPlugin } from './src/icons/lucide/vite';
|
|
7
8
|
|
|
8
9
|
const packagesDir = resolve(__dirname, '..', '..', '..');
|
|
9
10
|
|
|
@@ -11,6 +12,7 @@ export default mergeConfig(
|
|
|
11
12
|
defineConfig({
|
|
12
13
|
plugins: [
|
|
13
14
|
vue(),
|
|
15
|
+
lucideIconsPlugin(),
|
|
14
16
|
svgLoader({
|
|
15
17
|
svgoConfig: {
|
|
16
18
|
plugins: [
|
package/.turbo/turbo-build.log
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> @n8n/design-system@2.24.2 build /home/runner/work/n8n/n8n/packages/frontend/@n8n/design-system
|
|
3
|
-
> vite build
|
|
4
|
-
|
|
5
|
-
[36mvite v8.0.2 [32mbuilding client environment for production...[36m[39m
|
|
6
|
-
[2K
|
|
7
|
-
rendering chunks...
|
|
8
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
9
|
-
511 | */
|
|
10
|
-
512 | /** @deprecated Use a semantic variant instead of success color */
|
|
11
|
-
513 | :global(.n8n-button--success) {
|
|
12
|
-
| ^
|
|
13
|
-
514 | --button--color--background: var(--color--success);
|
|
14
|
-
515 | --button--color--background-hover: var(--color--success--shade-1);[39m
|
|
15
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
16
|
-
520 | --button--shadow--active: 0 0 0 1px var(--color--success--shade-1);
|
|
17
|
-
521 | }
|
|
18
|
-
522 | :global(.n8n-button--success):disabled, :global(.n8n-button--success)[aria-disabled=true] {
|
|
19
|
-
| ^
|
|
20
|
-
523 | --button--color--background: var(--color--success--tint-3);
|
|
21
|
-
524 | --button--shadow: 0 0 0 1px var(--color--success--tint-3);[39m
|
|
22
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
23
|
-
520 | --button--shadow--active: 0 0 0 1px var(--color--success--shade-1);
|
|
24
|
-
521 | }
|
|
25
|
-
522 | :global(.n8n-button--success):disabled, :global(.n8n-button--success)[aria-disabled=true] {
|
|
26
|
-
| ^
|
|
27
|
-
523 | --button--color--background: var(--color--success--tint-3);
|
|
28
|
-
524 | --button--shadow: 0 0 0 1px var(--color--success--tint-3);[39m
|
|
29
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
30
|
-
526 |
|
|
31
|
-
527 | /** @deprecated Use a semantic variant instead of warning color */
|
|
32
|
-
528 | :global(.n8n-button--warning) {
|
|
33
|
-
| ^
|
|
34
|
-
529 | --button--color--background: var(--color--warning);
|
|
35
|
-
530 | --button--color--background-hover: var(--color--warning--shade-1);[39m
|
|
36
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
37
|
-
535 | --button--shadow--active: 0 0 0 1px var(--color--warning--shade-1);
|
|
38
|
-
536 | }
|
|
39
|
-
537 | :global(.n8n-button--warning):disabled, :global(.n8n-button--warning)[aria-disabled=true] {
|
|
40
|
-
| ^
|
|
41
|
-
538 | --button--color--background: var(--color--warning--tint-1);
|
|
42
|
-
539 | --button--shadow: 0 0 0 1px var(--color--warning--tint-1);[39m
|
|
43
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
44
|
-
535 | --button--shadow--active: 0 0 0 1px var(--color--warning--shade-1);
|
|
45
|
-
536 | }
|
|
46
|
-
537 | :global(.n8n-button--warning):disabled, :global(.n8n-button--warning)[aria-disabled=true] {
|
|
47
|
-
| ^
|
|
48
|
-
538 | --button--color--background: var(--color--warning--tint-1);
|
|
49
|
-
539 | --button--shadow: 0 0 0 1px var(--color--warning--tint-1);[39m
|
|
50
|
-
computing gzip size...
|
|
51
|
-
dist/design-system.css 238.84 kB │ gzip: 32.73 kB
|
|
52
|
-
dist/en-CddpS_8k.js 0.06 kB │ gzip: 0.08 kB
|
|
53
|
-
dist/en-cusRXFgs.js 7.45 kB │ gzip: 2.38 kB
|
|
54
|
-
dist/node-icons-VCyExEKH.js 50.40 kB │ gzip: 8.42 kB
|
|
55
|
-
dist/compact-Q0gG5s1Q.js 660.36 kB │ gzip: 87.46 kB
|
|
56
|
-
dist/n8n-design-system.es.js 2,445.01 kB │ gzip: 648.50 kB
|
|
57
|
-
|
|
58
|
-
[33m[33m[PLUGIN_TIMINGS] Warning:[0m Your build spent significant time in plugins. Here is a breakdown:
|
|
59
|
-
- unplugin-icons (57%)
|
|
60
|
-
- svg-loader (27%)
|
|
61
|
-
- vite:vue (11%)
|
|
62
|
-
See https://rolldown.rs/options/checks#plugintimings for more details.
|
|
63
|
-
[39m
|
|
64
|
-
[2K
|
|
65
|
-
rendering chunks...
|
|
66
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
67
|
-
511 | */
|
|
68
|
-
512 | /** @deprecated Use a semantic variant instead of success color */
|
|
69
|
-
513 | :global(.n8n-button--success) {
|
|
70
|
-
| ^
|
|
71
|
-
514 | --button--color--background: var(--color--success);
|
|
72
|
-
515 | --button--color--background-hover: var(--color--success--shade-1);[39m
|
|
73
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
74
|
-
520 | --button--shadow--active: 0 0 0 1px var(--color--success--shade-1);
|
|
75
|
-
521 | }
|
|
76
|
-
522 | :global(.n8n-button--success):disabled, :global(.n8n-button--success)[aria-disabled=true] {
|
|
77
|
-
| ^
|
|
78
|
-
523 | --button--color--background: var(--color--success--tint-3);
|
|
79
|
-
524 | --button--shadow: 0 0 0 1px var(--color--success--tint-3);[39m
|
|
80
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
81
|
-
520 | --button--shadow--active: 0 0 0 1px var(--color--success--shade-1);
|
|
82
|
-
521 | }
|
|
83
|
-
522 | :global(.n8n-button--success):disabled, :global(.n8n-button--success)[aria-disabled=true] {
|
|
84
|
-
| ^
|
|
85
|
-
523 | --button--color--background: var(--color--success--tint-3);
|
|
86
|
-
524 | --button--shadow: 0 0 0 1px var(--color--success--tint-3);[39m
|
|
87
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
88
|
-
526 |
|
|
89
|
-
527 | /** @deprecated Use a semantic variant instead of warning color */
|
|
90
|
-
528 | :global(.n8n-button--warning) {
|
|
91
|
-
| ^
|
|
92
|
-
529 | --button--color--background: var(--color--warning);
|
|
93
|
-
530 | --button--color--background-hover: var(--color--warning--shade-1);[39m
|
|
94
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
95
|
-
535 | --button--shadow--active: 0 0 0 1px var(--color--warning--shade-1);
|
|
96
|
-
536 | }
|
|
97
|
-
537 | :global(.n8n-button--warning):disabled, :global(.n8n-button--warning)[aria-disabled=true] {
|
|
98
|
-
| ^
|
|
99
|
-
538 | --button--color--background: var(--color--warning--tint-1);
|
|
100
|
-
539 | --button--shadow: 0 0 0 1px var(--color--warning--tint-1);[39m
|
|
101
|
-
[33m[lightningcss minify] 'global' is not recognized as a valid pseudo-class. Did you mean '::global' (pseudo-element) or is this a typo?
|
|
102
|
-
535 | --button--shadow--active: 0 0 0 1px var(--color--warning--shade-1);
|
|
103
|
-
536 | }
|
|
104
|
-
537 | :global(.n8n-button--warning):disabled, :global(.n8n-button--warning)[aria-disabled=true] {
|
|
105
|
-
| ^
|
|
106
|
-
538 | --button--color--background: var(--color--warning--tint-1);
|
|
107
|
-
539 | --button--shadow: 0 0 0 1px var(--color--warning--tint-1);[39m
|
|
108
|
-
computing gzip size...
|
|
109
|
-
dist/design-system.css 238.84 kB │ gzip: 32.73 kB
|
|
110
|
-
dist/n8n-design-system.umd.js 2,680.16 kB │ gzip: 685.05 kB
|
|
111
|
-
|
|
112
|
-
[32m✓ built in 7.17s[39m
|