@n8n/design-system 2.28.2 → 2.29.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@n8n/design-system",
4
- "version": "2.28.2",
4
+ "version": "2.29.0",
5
5
  "main": "src/index.ts",
6
6
  "import": "src/index.ts",
7
7
  "license": "SEE LICENSE IN LICENSE.md",
package/src/index.ts CHANGED
@@ -20,6 +20,8 @@ export { default as N8nLoading2 } from './v2/components/Loading/Loading.vue';
20
20
  export type * from './v2/components/Loading/Loading.types';
21
21
  export { default as N8nInputNumber2 } from './v2/components/InputNumber/InputNumber.vue';
22
22
  export type * from './v2/components/InputNumber/InputNumber.types';
23
+ export { default as N8nTree2 } from './v2/components/Tree/Tree.vue';
24
+ export type * from './v2/components/Tree/Tree.types';
23
25
  export { default as N8nSwitch2 } from './components/N8nSwitch/Switch.vue';
24
26
  export type * from './components/N8nSwitch/Switch.types';
25
27
  export { createPasswordRules } from './components/N8nFormInput/validators';
@@ -0,0 +1,7 @@
1
+ .root {
2
+ --tree-item-height: var(--spacing--xl);
3
+ --tree-icon-size: var(--spacing--lg);
4
+ --tree-item-padding-block: var(--spacing--4xs);
5
+ --tree-item-padding-inline: var(--tree-item-padding-block);
6
+ --tree-indent-unit: calc(var(--tree-item-padding-inline) + var(--tree-icon-size));
7
+ }